]> sourceware.org Git - glibc.git/blame - ChangeLog
Clean up allocrtsig code.
[glibc.git] / ChangeLog
CommitLineData
59ff172f
RM
12015-01-08 Roland McGrath <roland@hack.frob.com>
2
08734ccd
RM
3 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4 already defined.
5 [__SIGRTMIN] (init): Function removed.
6 [__SIGRTMIN] (initialized): Variable removed.
7 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
12 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
14 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
18 * sysdeps/nptl/allocrtsig.c: New file.
19 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21 * sysdeps/generic/testrtsig.h: File removed.
22
7b052e33
RM
23 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25
cc40d25e
RM
26 * nptl/nptl-init.c (pthread_functions): Conditionalize
27 .ptr__nptl_setxid initialization on [SIGSETXID].
28
9287adf0
RM
29 * sysdeps/nptl/sys/procfs.h: New file.
30 * nptl_db/Makefile (headers): Add it.
31 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
32
59ff172f
RM
33 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
35 * nptl/pthread_attr_setaffinity.c: Include it.
36 * nptl/pthread_setattr_default_np.c: Likewise.
37 * nptl/check-cpuset.h: New file.
38
b9205857
RH
392015-01-08 Richard Henderson <rth@redhat.com>
40
41 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
42 (CFLAGS-tst-execstack-prog.c): Likewise.
43 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
44
1a0a8d15
CLT
452015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
46 Sandra Loosemore <sandra@codesourcery.com>
47 Andrew Jenner <andrew@codesourcery.com>
48 Joseph Myers <joseph@codesourcery.com>
49 Nathan Sidwell <nathan@codesourcery.com>
50
51 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
52 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
53 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
54 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
55 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
56 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
57 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
58 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
59 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
60 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
61 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
62 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
63 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
64 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
65 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
66 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
67 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
68
dd6e8af6
AZ
692015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70
71 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
72 timespec struct member in syscall macro.
73 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
74 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
75 first timeval struct member in syscall macro.
76 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
77
8116321f
JM
782015-01-07 Joseph Myers <joseph@codesourcery.com>
79
80 [BZ #17748]
81 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
82 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
83 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
84 __feupdateenv and define as weak alias of __feupdateenv. Use
85 libm_hidden_weak.
86 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
87 libm_hidden_def.
88 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
89 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
90 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
91 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
92 libm_hidden_def.
93 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
94 __feupdateenv and define as weak alias of __feupdateenv. Use
95 libm_hidden_weak.
96 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
97 libm_hidden_def.
98 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
99 __feupdateenv and define as weak alias of __feupdateenv. Use
100 libm_hidden_weak.
101 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
102 libm_hidden_def.
103 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
104 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
105 (__feupdateenv): Likewise.
106 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
107 __feupdateenv and define as weak alias of __feupdateenv. Use
108 libm_hidden_weak.
109 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
110 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
111 libm_hidden_def.
112 * sysdeps/tile/math_private.h (__feupdateenv): New inline
113 function.
114 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
115 libm_hidden_def.
116 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
117 __feupdateenv instead of feupdateenv.
118 (default_libc_feupdateenv_test): Likewise.
119 (libc_feresetround_ctx): Likewise.
120
882dfe18
AZ
1212015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122
123 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
124 prototype.
125
39a12f8d
CM
1262015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
127
128 * posix/regcomp.c (parse_bracket_exp): Initialize type to
129 COLL_SYM in a couple of places to avoid uninitialized variable
130 wanings on tilegx gcc 4.8.2.
131
dc400d7b
RE
1322015-01-07 Richard Earnshaw <rearnsha@arm.com>
133
134 * sysdeps/aarch64/strcpy.S: New file.
135 * sysdeps/aarch64/stpcpy.S: New file.
136 * NEWS: Updated.
137
ec582ca0
RE
1382015-01-07 Richard Earnshaw <rearnsha@arm.com>
139
140 * sysdeps/aarch64/strrchr.S: New file.
141 * NEWS: Updated.
142
d5b1c5ed
EB
1432015-01-07 Eric Biggers <ebiggers3@gmail.com>
144
145 [BZ #17658]
146 * stdlib/setenv.c: Fix memory leak when setting large,
147 duplicate string.
148
fb87ee96
VN
1492015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
150
60f046a8 151 [BZ #17273]
fb87ee96
VN
152 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
153 and tabs from buffer before parsing fstab entry.
154 * misc/tst-mntent.c (main): Add test for mount entry with
155 trailing spaces and tabs.
156
cd42798a
JM
1572015-01-06 Joseph Myers <joseph@codesourcery.com>
158
01238691
JM
159 [BZ #17748]
160 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
161 * math/fesetround.c (fesetround): Rename to __fesetround and
162 define as weak alias of __fesetround. Use libm_hidden_weak.
163 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
164 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
165 * sysdeps/arm/fesetround.c (fesetround): Likewise.
166 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
167 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
168 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
169 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
170 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
171 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
172 __fesetround_inline.
173 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
174 __fesetround_inline instead of __fesetround.
175 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
176 __fesetround and define as weak alias of __fesetround. Use
177 libm_hidden_weak. Call __fesetround_inline instead of
178 __fesetround.
179 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
180 __fesetround and define as weak alias of __fesetround. Use
181 libm_hidden_weak.
182 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
183 Likewise.
184 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
185 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
186 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
187 * sysdeps/tile/math_private.h (__fesetround): New inline function.
188 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
189 __fesetround and define as weak alias of __fesetround. Use
190 libm_hidden_weak.
191 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
192 __fesetround instead of fesetround.
193 (default_libc_feholdexcept_setround): Likewise.
194 (libc_feholdsetround_ctx): Likewise.
195 (libc_feholdsetround_noex_ctx): Likewise.
196
cd42798a
JM
197 [BZ #17748]
198 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
199 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
200 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
201 and define as weak alias of __fesetenv. Use libm_hidden_weak.
202 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
203 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
204 define as weak alias of __fesetenv. Use libm_hidden_weak.
205 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
206 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
207 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
208 define as weak alias of __fesetenv. Use libm_hidden_weak.
209 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
210 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
211 define as weak alias of __fesetenv. Use libm_hidden_weak.
212 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
213 libm_hidden_def.
214 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
215 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
216 Likewise.
217 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
218 define as weak alias of __fesetenv. Use libm_hidden_weak.
219 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
220 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
221 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
222 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
223 and define as weak alias of __fesetenv. Use libm_hidden_weak.
224 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
225 __fesetenv instead of fesetenv.
226 (libc_feresetround_noex_ctx): Likewise.
227 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
228 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
229 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
230 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
231 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
232 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
233 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
234 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
235 (__feupdateenv): Likewise.
236 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
237 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
238 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
239 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
240
38949026
AJ
2412015-01-06 Aurelien Jarno <aurelien@aurel32.net>
242
1cf98e27 243 [BZ #17806]
38949026
AJ
244 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
245 addresses have been freed.
246
5fe55e9c
AJ
2472015-01-06 Aurelien Jarno <aurelien@aurel32.net>
248
249 * resolv/res_init.c (__res_vinit): Improve comments about nserv
250 and nservall.
251
dc8ab018
OB
2522015-01-06 Ondřej Bílka <neleai@seznam.cz>
253
254 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
255 Clean up check_pf allocation pattern. addresses
256
14bb4e57
AZ
2572015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
258
259 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
260 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
261 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
262 * nptl/pthread_exit.c (__pthread_exit): Likewise.
263 * nptl/pthread_join.c (pthread_join): Likewise.
264 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
265 * sysdeps/posix/waitid.c (__waitid): Likewise.
266 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
267 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
268 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
269 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
270 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
271 Likewise.
272 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
273 (__libc_pread64): Likewise.
274 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
275 (__libc_pwrite): Likewise.
276 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
277 (__libc_pwrite64): Likewsie.
278 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
279 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
280 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
281 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
282 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
283 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
284 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
286 Likewise.
287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
288 (__libc_pread64): Likewise.
289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
290 Likewise.
291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
292 (__libc_pwrite64): Likewise.
293 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
294 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
295 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
296 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
297 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
298 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
299 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
300 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
301 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
302 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
303 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
304 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
305 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
306 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
307 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
308 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
309 Likewise.
310
10a5e112
AS
3112015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
312
313 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
314 (CFLAGS-test-double.c): Likewise.
315 (CFLAGS-test-ldouble.c): Likewise.
316 (CPPFLAGS-test-ifloat.c): Likewise.
317 (CPPFLAGS-test-idouble.c): Likewise.
318 (CPPFLAGS-test-ildoubl.c): Likewise.
319 (CFLAGS-test-test-fenv.c): Remove variable.
320 (CFLAGS-test-misc.c): Likewise.
321
57ada0e7
L
3222015-01-06 H.J. Lu <hongjiu.lu@intel.com>
323
324 [BZ #17797]
325 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
326 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
327 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
328 CLOCKS_PER_SEC == 1000000.
329 * time/clocktest.c (main): Replace %ld with %jd and cast to
330 intmax_t.
331
46abb64d
RM
3322015-01-05 Roland McGrath <roland@hack.frob.com>
333
334 * sysdeps/generic/unwind-resume.h: New file.
335 * sysdeps/gnu/unwind-resume.c: Include it.
336 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
337 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
338 argument list.
339 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
340 global rather than static.
341 (_Unwind_Resume): Update user.
342 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
343 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
344 rather than static. Add __attribute__ ((cold)).
345 (_Unwind_Resume, __gcc_personality_v0): Update callers.
346 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
347 * sysdeps/arm/arm-unwind-resume.S: New file.
348 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
349 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
350 * sysdeps/arm/Makefile [$(subdir) = csu]
351 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
352 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
353 Add rt-arm-unwind-resume.
354 [$(subdir) = nptl]
355 (libpthread-sysdep_routines, libpthread-shared-only-routines):
356 Add pt-arm-unwind-resume.
357 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
358 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
359
ef9faf13
JM
3602015-01-05 Joseph Myers <joseph@codesourcery.com>
361
362 [BZ #17748]
363 * include/fenv.h (__feholdexcept): Declare. Use
364 libm_hidden_proto.
365 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
366 define as weak alias of __feholdexcept. Use libm_hidden_weak.
367 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
368 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
369 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
370 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
371 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
372 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
373 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
374 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
375 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
376 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
377 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
378 (feholdexcept): Likewise.
379 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
380 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
381 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
382 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
383 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
384 __feholdexcept instead of feholdexcept.
385 (default_libc_feholdexcept_setround): Likewise.
386
295a453e
SE
3872015-01-05 Steve Ellcey <sellcey@imgtec.com>
388
389 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
390 to avoid using stl/str to align destination.
391
882c4b9f
SE
3922015-01-05 Steve Ellcey <sellcey@imgtec.com>
393
394 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
395
ac4c11f5
JM
3962015-01-05 Joseph Myers <joseph@codesourcery.com>
397
398 [BZ #17796]
399 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
400 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
401 Define as weak alias not strong alias.
402
03403e30
SE
4032015-01-05 Steve Ellcey <sellcey@imgtec.com>
404
405 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
406 bltzal with addiupc.
407 (RTLD_START): Ditto.
408
1dca195e
CM
4092015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
410
7ea793f3
CM
411 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
412 for __vdso_* functions in declarations.
413 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
414 definitions.
415 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
416 INTERNAL_VSYSCALL): Use struct return types to check for error.
417
1dca195e
CM
418 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
419 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
420 function with cast from llround().
421 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
422 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
423 Define.
424
a287953a
JM
4252015-01-05 Joseph Myers <joseph@codesourcery.com>
426
ab70da77
JM
427 [BZ #17793]
428 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
429 Define as weak alias not strong alias.
430
b8986484
JM
431 [BZ #17635]
432 * ctype/ctype-c99.c: New file. isblank implementation moved from
433 ...
434 * ctype/ctype-extn.c: ... here.
435 (__isblank_l): Move to ...
436 * ctype/ctype-c99_l.c: ... here. New file.
437 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
438 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
439 Remove variable.
440 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
441 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
442 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
443 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
444 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
445
a287953a
JM
446 [BZ #17777]
447 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
448 (posix_fadvise64): Define as weak alias not strong alias.
449 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
450 (posix_fallocate64): Likewise.
451 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
452 Remove variable.
453 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
454 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
455 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
456 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
457 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
458
b1efe3bb
MF
4592015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
460
461 [BZ #16191]
462 * NEWS: Mention bug fix.
463 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
464 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
465 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
466 (HOST_STACK_END_ADDR): Likewise.
467
9706dc5f
JM
4682015-01-02 Joseph Myers <joseph@codesourcery.com>
469
b93c2205
JM
470 [BZ #17748]
471 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
472 * math/fegetround.c (fegetround): Rename to __fegetround and
473 define as weak alias of __fegetround. Use libm_hidden_weak.
474 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
475 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
476 * sysdeps/arm/fegetround.c (fegetround): Likewise.
477 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
478 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
479 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
480 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
481 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
482 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
483 Undefine after rather than before function definition; use
484 parentheses around function name in definition.
485 (__fegetround): Also undefine macro after function definition.
486 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
487 __fegetround and define as weak alias of __fegetround. Use
488 libm_hidden_weak. Do not undefine as macro.
489 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
490 Likewise.
491 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
492 __fegetround and define as weak alias of __fegetround. Use
493 libm_hidden_weak.
494 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
495 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
496 * sysdeps/tile/math_private.h (__fegetround): New inline function.
497 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
498 __fegetround and define as weak alias of __fegetround. Use
499 libm_hidden_weak.
500 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
501 __fegetround instead of fegetround.
502
253a59cc
JM
503 [BZ #17782]
504 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
505 Condition macro definition on [__USE_MISC].
506
27dae011
JM
507 [BZ #17781]
508 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
509 (struct sigaction): Change type of sa_flags field to int.
510
172019c0
JM
511 [BZ #17780]
512 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
513 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
514 __glibc_reserved0.
515
522ad1d6
JM
516 * nptl/version.c (banner): Use single year in copyright notice.
517
9706dc5f
JM
518 * NEWS: Update copyright dates.
519 * catgets/gencat.c (print_version): Likewise.
520 * csu/version.c (banner): Likewise.
521 * debug/catchsegv.sh: Likewise.
522 * debug/pcprofiledump.c (print_version): Likewise.
523 * debug/xtrace.sh (do_version): Likewise.
524 * elf/ldconfig.c (print_version): Likewise.
525 * elf/ldd.bash.in: Likewise.
526 * elf/pldd.c (print_version): Likewise.
527 * elf/sotruss.sh: Likewise.
528 * elf/sprof.c (print_version): Likewise.
529 * iconv/iconv_prog.c (print_version): Likewise.
530 * iconv/iconvconfig.c (print_version): Likewise.
531 * locale/programs/locale.c (print_version): Likewise.
532 * locale/programs/localedef.c (print_version): Likewise.
533 * login/programs/pt_chown.c (print_version): Likewise.
534 * malloc/memusage.sh (do_version): Likewise.
535 * malloc/memusagestat.c (print_version): Likewise.
536 * malloc/mtrace.pl: Likewise.
537 * manual/libc.texinfo: Likewise.
538 * nptl/version.c (banner): Likewise.
539 * nscd/nscd.c (print_version): Likewise.
540 * nss/getent.c (print_version): Likewise.
541 * nss/makedb.c (print_version): Likewise.
542 * posix/getconf.c (main): Likewise.
543 * scripts/test-installation.pl: Likewise.
544 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
545
b8607aac
WN
5462015-01-02 Will Newton <will.newton@linaro.org>
547
548 * sysdeps/arm/armv7/configure: Removed.
549 * sysdeps/arm/armv7/configure.ac: Likewise.
550
b168057a
JM
5512015-01-02 Joseph Myers <joseph@codesourcery.com>
552
553 * All files with FSF copyright notices: Update copyright dates
554 using scripts/update-copyrights.
555 * intl/plural.c: Regenerated.
556 * locale/programs/charmap-kw.h: Likewise.
557 * locale/programs/locfile-kw.h: Likewise.
558
b217c15f
SP
5592015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
560
561 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
562
73a268c7
JM
5632014-12-31 Joseph Myers <joseph@codesourcery.com>
564
565 [BZ #17748]
566 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
567 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
568 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
569 and define as weak alias of __fegetenv. Use libm_hidden_weak.
570 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
571 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
572 define as weak alias of __fegetenv. Use libm_hidden_weak.
573 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
574 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
575 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
576 define as weak alias of __fegetenv. Use libm_hidden_weak.
577 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
578 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
579 define as weak alias of __fegetenv. Use libm_hidden_weak.
580 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
581 libm_hidden_def.
582 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
583 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
584 Likewise.
585 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
586 define as weak alias of __fegetenv. Use libm_hidden_weak.
587 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
588 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
589 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
590 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
591 and define as weak alias of __fegetenv. Use libm_hidden_weak.
592 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
593 __fegetenv instead of fegetenv.
594 (libc_feholdsetround_noex_ctx): Likewise.
595
0bd95672
MF
5962014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
597
598 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
599 (Elf_MIPS_ABIFlags_v0): New structure.
600 (EF_MIPS_FP64): Define.
601 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
602 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
603 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
604 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
605 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
606 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
607 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
608 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
609 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
610 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
611 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
612 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
613 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
614 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
615 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
616 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
617 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
618 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
619 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
620 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
621 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
622 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
623 field.
624 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
625 EF_MIPS_FP64.
626 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
627 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
628 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
629 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
630 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
631 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
632 * sysdeps/mips/tst-abi-interlink.c: Likewise.
633 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
634 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
635 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
636 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
637 record the current FP ABI extension.
638 (mips-mode-switch): Define to show if kernel headers support mode
639 switching.
640 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
641 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
642 supported SYSV ABI version to 3.
643 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
644 feature.
645
f59ad976
RS
6462014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
647 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
648
649 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
650 path.
651 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
652
4a3d3999
JM
6532014-12-31 Joseph Myers <joseph@codesourcery.com>
654
655 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
656 __fegetround and redefine to call __fegetround. Remove condition
657 on [!__NO_MATH_INLINES].
658 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
659 function.
660 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
661 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
662 Remove macro.
663 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
664 instead of <fenv_libc.h>.
665 (__llrintl): Call fegetround instead of __fegetround.
666 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
667 instead of <fenv_libc.h>.
668 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
669 (__lrintl): Call fegetround instead of __fegetround.
670 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
671 instead of <fenv_libc.h>.
672 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
673 (__rintl): Call fegetround instead of __fegetround.
674
195f3afc
SP
6752014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
676
677 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
678 arrays.
679
7062bd42
L
6802014-12-30 H.J. Lu <hongjiu.lu@intel.com>
681
682 [BZ #17775]
683 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
684 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
685 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
686
07256e18
AS
6872014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
688
689 * sysdeps/i386/tls-macros.h: Include <features.h>.
690 (TLS_LE): Use non-PIC version for GCC >= 5.0.
691 (TLS_IE): Likewise.
692 (TLS_LD): Likewise.
693 (TLS_GD): Likewise.
694 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
695 define for GCC >= 5.0.
696
1ff950ad
CM
6972014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
698
699 * math/test-fenv.c (test_single_exception, set_single_exc,
700 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
701 feexcp_mask_test, feenable_test, fe_single_test): Add
702 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
703 case where they are not used.
704 * math/libm-test.inc: Likewise.
705 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
706 unused in the absence of FP rounding/exception support.
707 * stdio-common/tst-printf-round.c: Likewise.
708 * stdlib/tst-strtod-round.c: Likewise.
709 * stdlib/tst-strtod-underflow.c: Likewise.
710
0747f818
JM
7112014-12-30 Joseph Myers <joseph@codesourcery.com>
712
713 [BZ #17723]
714 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
715 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
716 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
717 __feraiseexcept and define as weak alias of __feraiseexcept. Use
718 libm_hidden_weak.
719 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
720 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
721 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
722 libm_hidden_def.
723 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
724 __feraiseexcept and define as weak alias of __feraiseexcept. Use
725 libm_hidden_weak.
726 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
727 Likewise.
728 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
729 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
730 __feraiseexcept and define as weak alias of __feraiseexcept. Use
731 libm_hidden_weak.
732 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
733 libm_hidden_def.
734 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
735 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
736 (__feraiseexcept): Likewise.
737 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
738 __feraiseexcept and define as weak alias of __feraiseexcept. Use
739 libm_hidden_weak.
740 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
741 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
742 libm_hidden_def.
743 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
744 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
745 Use libm_hidden_def.
746 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
747 libm_hidden_def.
748 (feraiseexcept): Define as weak not strong alias. Use
749 libm_hidden_weak.
750 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
751 New inline function. Factored out of ...
752 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
753 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
754 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
755 feraiseexcept.
756 * math/w_acos.c (__acos): Likewise.
757 * math/w_asin.c (__asin): Likewise.
758 * math/w_ilogb.c (__ilogb): Likewise.
759 * math/w_j0.c (y0): Likewise.
760 * math/w_j1.c (y1): Likewise.
761 * math/w_jn.c (yn): Likewise.
762 * math/w_log.c (__log): Likewise.
763 * math/w_log10.c (__log10): Likewise.
764 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
765 * sysdeps/aarch64/fpu/math_private.h
766 (libc_feupdateenv_test_aarch64): Likewise.
767 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
768 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
769 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
770 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
771 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
772 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
773 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
774 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
775 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
776 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
777
8d2b2763
L
7782014-12-30 H.J. Lu <hongjiu.lu@intel.com>
779
780 [BZ #17732]
781 * io/test-utime.c (main): Replace %ld with %jd and cast to
782 intmax_t.
41fad830 783 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
784 * nptl/tst-mutex5.c: Include <stdint.h>.
785 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
786 * posix/tst-regex.c (run_test): Likewise.
787 (run_test_backwards): Likewise.
5d619de4
L
788 * rt/tst-clock.c: Include <stdint.h>.
789 (clock_test): Replace %ld with %jd and cast to intmax_t.
790 * rt/tst-cpuclock1.c: Include <stdint.h>.
791 (do_test): Replace %lu with %ju and cast to uintmax_t.
792 * rt/tst-cpuclock2.c: Include <stdint.h>.
793 (do_test): Replace %lu with %ju and cast to uintmax_t.
794 * rt/tst-mqueue1.c: Include <stdint.h>.
795 (check_attrs): Replace %ld with %jd and cast to intmax_t.
796 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
797 intmax_t.
798 * rt/tst-mqueue4.c (do_test): Likewise.
799 * rt/tst-timer4.c: Include <stdint.h>.
800 (check_ts): Replace %ld with %jd and cast to intmax_t.
801 (do_test): Likewise.
ad86fbc3
L
802 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
803 and cast to intmax_t.
37f46900 804 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
805 * time/clocktest.c (main): Likewise.
806 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 807 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 808
8b4416d8
AS
8092014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
810 H.J. Lu <hongjiu.lu@intel.com>
811
812 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
813 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
814 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
815 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
816 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
817 version if bit_Fast_Unaligned_Load is set.
818 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
819 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
820 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
821 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
822 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
823 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
825 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
826 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
827 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
828 to 4.
829 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
830 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
831 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
832 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
833
e47b8d3b
CM
8342014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
835
6d6d7fde
CM
836 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
837 instead of #if to avoid a Wundef warning.
838 * stdlib/tst-limits.c (do_test): Likewise.
839
cd2c37c9
CM
840 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
841 parallel other exception macros.
842 (fegetenv): Convert from macro to extern inline so that it applies
843 retroactively to inline functions already seen by the compiler.
844 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
845
e47b8d3b
CM
846 * posix/Makefile (before-compile): Use $(objpfx) for
847 posix-conf-vars-def.h.
848
4a6aca7b
SP
8492014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
850
7910c2ae
SP
851 * posix/getconf.c (main): Use size_t for type of I.
852 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
853 NSPEC.
854
50cbbaa9
SP
855 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
856 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
857 * posix/posix-envs.def: Likewise.
858 * sysdeps/posix/sysconf.c: Likewise.
859 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
860 (specs): Remove array.
861 * scripts/gen-posix-conf-vars.awk: Support generation of specs
862 array.
863
3b566046
SP
864 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
865 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
866 (__sysconf): Use CONF_IS_* macros.
867
4a6aca7b
SP
868 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
869 ($(objpfx)posix-conf-vars-def.h): New target.
870 * posix/posix-conf-vars.list: New file.
871 * posix/posix-conf-vars.h: New file.
872 * posix/confstr.c: Include posix-conf-vars.h.
873 (confstr): Use CONF_IS_* macros.
874 * posix/posix-envs.def: Include posix-conf-vars.h. Use
875 CONF_IS_* macros.
876 * scripts/gen-posix-conf-vars.awk: New file.
877
7c1395a7
CM
8782014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
879
0025b4cc
CM
880 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
881 fegetround): Add no-op macros to avoid linknamespace issues.
882
d8aaf74b
CM
883 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
884 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
885
5d24aa60
CM
886 * sysdeps/unix/sysv/linux/tile/sysdep.h
887 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
888 assembly-specific section to avoid a redefinition warning.
889
7c1395a7
CM
890 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
891 long before casting to pointer to avoid a cast warning.
892
3c87c616
CM
8932014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
894
895 * sysdeps/tile/tilegx/Implies: New file.
896
f559d8cf
RE
8972014-12-23 Richard Earnshaw <rearnsha@arm.com>
898
899 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
900
7d81e8d6
FW
9012014-12-23 Florian Weimer <fweimer@redhat.com>
902
903 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
904
90aa3d09
JM
9052014-12-22 Joseph Myers <joseph@codesourcery.com>
906
907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
908 not define.
909 * sysdeps/unix/sysv/linux/utimes.c: Do not include
910 <kernel-features.h>.
911 (__utimes) [__NR_utimes]: Make code unconditional.
912 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
913 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
914 (__ASSUME_UTIMES): Do not undefine.
915 * sysdeps/unix/sysv/linux/tile/kernel-features.h
916 (__ASSUME_UTIMES): Likewise.
917 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
918 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
919 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
920 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
921
4c0c0e2a
SE
9222014-12-22 Steve Ellcey <sellcey@imgtec.com>
923
924 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
925
0dacd7a3
CM
9262014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
927
b638f96a
CM
928 [BZ #17747]
929 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
930 alias to weak alias for j0l, y0l.
931 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
932 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
933
0dacd7a3
CM
934 [BZ #17746]
935 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
936 conversion.
937
528479c4
SE
9382014-12-22 Steve Ellcey <sellcey@imgtec.com>
939
940 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
941 to zero if not already defined.
942
f56f9124
JM
9432014-12-22 Joseph Myers <joseph@codesourcery.com>
944
945 [BZ #17724]
946 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
947 (__kernel_standard_f): Remove. Moved to k_standardf.c.
948 (__kernel_standard_l): Remove. Moved to k_standardl.c with
949 (char *) casts added.
950 * sysdeps/ieee754/k_standardf.c: New file.
951 * sysdeps/ieee754/k_standardl.c: Likewise.
952 * math/Makefile (libm-support): Remove k_standard.
953 (libm-calls): Add k_standard.
954
8622d556
WD
9552014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
956
957 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
958 Optimize to avoid an unnecessary FPCR read.
959
f3806bdb
WD
9602014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
961
962 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
963 Optimize to reduce FPCR/FPSR accesses.
964
9b47df58
WD
9652014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
966
967 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
968 Call libc_fetestexcept_aarch64.
969
97be3cac
WD
9702014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
971
972 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
973 Call libc_fesetround_aarch64.
974
935ab817
JM
9752014-12-22 Joseph Myers <joseph@codesourcery.com>
976
977 [BZ #17733]
978 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
979 (__bind): Do not define as weak alias.
980 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
981 define.
982 (__getsockname): Do not define as weak alias.
983
cc8623f1
WN
9842014-12-22 Will Newton <will.newton@linaro.org>
985
986 * manual/install.texi: Document that we require bison 2.7
987 or above.
988 * INSTALL: Regenerate.
989 * configure.ac: Use AC_CHECK_PROG_VER instead of
990 AC_PATH_PROG when checking for bison and check for
991 version 2.7 or above.
992 * configure: Regenerate.
993
a19ca65a
CM
9942014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
995
92901170 996 [BZ #17745]
e969965a
CM
997 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
998 * sysdeps/tile/ffsll.c (ffsll): To here.
999
a19ca65a
CM
1000 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1001
050f7298
L
10022014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1005 if not defined.
1006 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1007 definition.
1008 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1009 hidden ___tls_get_addr.
1010 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1011 hidden __tls_get_addr.
1012 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1013 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1014 Likewise.
1015
6df5547e
AS
10162014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1017
1018 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1019 _dl_init call.
1020
7432d613
L
10212014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1022
1023 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1024 from "call _dl_init@PLT".
1025 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1026
98fe149e
AK
10272014-12-21 Anders Kaseorg <andersk@mit.edu>
1028
1029 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1030 guarantees.
1031
d12455f5
CM
10322014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1033
1034 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1035
95dee05f
CM
10362014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1037
92901170 1038 [BZ #17744]
95dee05f
CM
1039 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1040 strnlen.
1041
2ef4b74a
SE
10422014-12-19 Steve Ellcey <sellcey@imgtec.com>
1043
1044 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1045 of multu on MIPSr6.
1046 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1047 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1048 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1049 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1050 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1051
10522014-12-19 Steve Ellcey <sellcey@imgtec.com>
1053
1054 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1055 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1056 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1057 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1058 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1059 mips32r6/mips64r6.
1060 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1061
3eb38795
OB
10622014-12-19 Ondřej Bílka <neleai@seznam.cz>
1063
1064 * string/strncat.c (STRNCAT): Simplify implementation.
1065
6d4188dd
DM
10662014-12-19 David S. Miller <davem@davemloft.net>
1067
0d4ba8be
DM
1068 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1069 access the quad as both a long double and as a series of 4 words.
1070
6d4188dd
DM
1071 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1072 link_map->l_info array access.
1073
4ef91cdc
CM
10742014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1075
804c54f7
CM
1076 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1077
4ef91cdc
CM
1078 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1079 * math/atest-exp2.c (TIMEOUT): Likewise.
1080 * math/atest-sincos.c (TIMEOUT): Likewise.
1081
afd176d6
L
10822014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1085 -Wno-error with -fno-builtin-lround.
1086
a4a43a90
TR
10872014-12-19 Torvald Riegel <triegel@redhat.com>
1088
1089 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1090 Contains futex constants and functions moved over from ...
1091 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1092 <lowlevellock-futex.h>.
1093 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1094 (lll_timedwait_tid): Add comments and parentheses around macro
1095 arguments.
1096
76f71081
TR
10972014-12-19 Torvald Riegel <triegel@redhat.com>
1098
1099 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1100 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1101 (__lll_private_flag): Remove.
1102 (lll_futex_wait): Likewise.
1103 (lll_futex_timed_wait): Likewise.
1104 (lll_futex_wake): Likewise.
1105 (lll_futex_requeue): Likewise.
1106 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1107 (__lll_timedwait_tid): Spell out argument names.
1108 (lll_timedwait_tid): Add comments and parentheses around macro
1109 arguments.
1110 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1111 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1112
6b814909
TR
11132014-12-19 Torvald Riegel <triegel@redhat.com>
1114
1115 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1116 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1117 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1118 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1119 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1120 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1121 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1122 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1123 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1124 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1126 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1127 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1128 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1129 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1130 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1131 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1132 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1133 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1134
9cd4d4ab
L
11352014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1136
1137 * sysdeps/x86_64/x32/Makefile: New file.
1138
c9c1a2d0
L
11392014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1142 1L with (mp_limb_t) 1.
1143
af102d95
RM
11442014-12-17 Roland McGrath <roland@hack.frob.com>
1145
dd690454
RM
1146 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1147 * nptl/libc_pthread_init.c: ... here.
1148 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1149 * nptl/register-atfork.c: ... here.
1150
74eb826c
RM
1151 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1152 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1153 Use assert_perror to check its return value.
1154 (__gai_create_helper_thread): Likewise.
1155
c9ce306b
RM
1156 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1157
af102d95
RM
1158 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1159
8ac5a76a
JM
11602014-12-17 Joseph Myers <joseph@codesourcery.com>
1161
ea41469b
JM
1162 [BZ #17725]
1163 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1164 __profil_counter.
1165 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1166 Likewise.
1167 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1168 Likewise.
1169 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1170 Likewise.
1171 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1172 (profil_counter): Likewise.
1173 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1174 (profil_counter): Likewise.
1175 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1176 Likewise.
1177 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1178 Likewise.
1179 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1180 (profil_counter): Likewise.
1181 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1182 Likewise.
1183 [!__profil_counter] (profil_counter): Define as weak alias of
1184 __profil_counter.
1185 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1186 (profil_counter): Rename to __profil_counter.
1187 [!__profil_counter] (profil_counter): Define as weak alias of
1188 __profil_counter.
1189 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1190 (profil_counter): Rename to __profil_counter.
1191 [!__profil_counter] (profil_counter): Define as weak alias of
1192 __profil_counter.
1193 * sysdeps/posix/profil.c: Update comment referring to
1194 profil_counter.
1195 (__profil): Use __profil_counter instead of profil_counter.
1196 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1197 __profil_counter. Use __profil_counter_ushort and
1198 __profil_counter_uint in definitions.
1199 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1200 instead of profil_counter_uint and profil_counter_ushort.
1201
8ac5a76a
JM
1202 [BZ #17722]
1203 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1204 define as weak alias of __inet_makeaddr.
1205 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1206 as weak alias of __inet_addr.
1207 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1208 as weak alias of __inet_pton. Use libc_hidden_weak.
1209 * include/arpa/inet.h (__inet_pton): Declare. Use
1210 libc_hidden_proto.
1211 (inet_makeaddr): Don't use libc_hidden_proto.
1212 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1213 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1214 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1215 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1216 Remove variable.
1217 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1218 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1219
66ce3cb1
SE
12202014-12-17 Steve Ellcey <sellcey@imgtec.com>
1221
1222 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1223
d22ce01b
SL
12242014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1225
1226 * stdio-common/bug-vfprintf-nargs.c (do_test):
1227 Cast value to intptr_t to avoid format warning
1228 for usage with PRIdPTR printing macro.
1229
eca2772b
SL
12302014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1231
1232 * libio/tst-widetext.c (do_test):
1233 Use format type %td instead of %Zd for ptrdiff_t
1234 in order to avoid format warning.
1235
bdf079da
AS
12362014-12-17 Andreas Schwab <schwab@suse.de>
1237
1238 * nscd/mem.c (gc): Add size_t cast to match printf format.
1239
3eb5d2fc
RM
12402014-12-16 Roland McGrath <roland@hack.frob.com>
1241
1242 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1243 (init): Apply PTR_MANGLE to pointers before storing them.
1244 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1245 before using them.
1246
d003ada2
JM
12472014-12-16 Joseph Myers <joseph@codesourcery.com>
1248
380292ba
JM
1249 [BZ #17719]
1250 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1251 define as weak alias of __memrchr.
1252 (__memrchr): Do not define as strong alias of memrchr.
1253 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1254 Remove variable.
1255 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1256 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1257 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1258
9a44d530
JM
1259 [BZ #17717]
1260 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1261 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1262 (if_indextoname): Rename to __if_indextoname and define as weak
1263 alias of __if_indextoname. Use libc_hidden_weak.
1264 (if_freenameindex): Rename to __if_freenameindex and define as
1265 weak alias of __if_freenameindex.
1266 (if_nameindex): Rename to __if_nameindex and define as weak alias
1267 of __if_nameindex.
1268 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1269 __if_nametoindex and define as weak alias of __if_nametoindex.
1270 Use libc_hidden_weak.
1271 (if_freenameindex): Rename to __if_freenameindex and define as
1272 weak alias of __if_freenameindex.
1273 (if_nameindex): Rename to __if_nameindex and define as weak alias
1274 of __if_nameindex.
1275 (if_indextoname): Rename to __if_indextoname and define as weak
1276 alias of __if_indextoname. Use libc_hidden_weak.
1277 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1278 __if_nametoindex and define as weak alias of __if_nametoindex.
1279 Use libc_hidden_weak.
1280 (if_freenameindex): Rename to __if_freenameindex and define as
1281 weak alias of __if_freenameindex. Use libc_hidden_weak.
1282 (if_nameindex_netlink): Use __if_freenameindex instead of
1283 if_freenameindex.
1284 (if_nameindex): Rename to __if_nameindex and define as weak alias
1285 of __if_nameindex. Use libc_hidden_weak.
1286 (if_indextoname): Rename to __if_indextoname and define as weak
1287 alias of __if_indextoname. Use libc_hidden_weak.
1288 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1289 libc_hidden_proto.
1290 [!_ISOMAC] (__if_freenameindex): Likewise.
1291 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1292 if_nametoindex.
1293 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1294 variable.
1295 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1296 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1297 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1298 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1299 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1300 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1301 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1302
d003ada2
JM
1303 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1304 Remove variable.
1305 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1306 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1307
a0d424ef
SP
13082014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1309
0cd85520
SP
1310 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1311 subscript above bounds'
1312
a0d424ef
SP
1313 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1314 bounds.
1315
0e426475
AS
13162014-12-16 Arjun Shankar <arjun.is@lostca.se>
1317
8b460906
AS
1318 * libio/tst-fopenloc.c: Use test-skeleton.c.
1319
fa13e15b
AS
1320 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1321 (entry): Rename to ITEM.
1322 (do_test, comp): Adjust.
1323
0e426475
AS
1324 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1325
4f646bce
TR
13262014-12-16 Torvald Riegel <triegel@redhat.com>
1327
1328 * string/tester.c: Include <libc-internal.h>.
1329 (test_memset): Ignore -Wmemset-transposed-args.
1330
a07c4427
TR
13312014-12-16 Torvald Riegel <triegel@redhat.com>
1332
1333 * misc/tst-mntent2.c (do_test): Fix warning.
1334
1469f466
TR
13352014-12-16 Torvald Riegel <triegel@redhat.com>
1336
1337 * elf/tst-unique4lib.cc(a): Mark as used.
1338
11e3417a
FW
13392014-12-16 Florian Weimer <fweimer@redhat.com>
1340
1341 [BZ #17630]
1342 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1343 names.
1344
ae61fc7b
AM
13452014-12-16 Allan McRae <allan@archlinux.org>
1346
1347 * stdio-common/Makefile (tests): Re-add bug26.
1348
363a9899
OB
13492014-12-15 Ondřej Bílka <neleai@seznam.cz>
1350
1351 [BZ #17657]
1352 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1353 static array.
1354
d52c62df
TR
13552014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1356
1357 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1358 (__lll_lock_wait): Likewise.
1359 (__lll_timedlock_wait): Likewise.
1360 (__lll_timedwait_tid): Likewise.
1361 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1362 (__lll_robust_timedlock_wait): Likewise.
1363 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1364 (lll_cond_trylock): Likewise.
1365 (__lll_lock): Likewise.
1366 (__lll_robust_lock): Likewise.
1367 (__lll_cond_lock): Likewise.
1368 (lll_robust_cond_lock): Likewise.
1369 (__lll_timedlock): Likewise.
1370 (__lll_robust_timedlock): Likewise.
1371 (__lll_unlock): Likewise.
1372 (__lll_robust_unlock): Likewise.
1373 (lll_wait_tid): Likewise.
1374 (lll_timedwait_tid): Likewise.
1375
045a6bcd
TR
13762014-12-15 Torvald Riegel <triegel@redhat.com>
1377
1378 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1379
7f786dc1
TR
13802014-12-15 Torvald Riegel <triegel@redhat.com>
1381
1382 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1383
e7e21cba
AZ
13842014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1385
1386 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1387 * stdio-common/tst-sprintf.c: Likewise.
1388
bc89c0fc
TR
13892014-12-15 Torvald Riegel <triegel@redhat.com>
1390
1391 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1392
a5357b7c
JL
13932014-12-15 Jeff Law <law@redhat.com>
1394
1395 [BZ #16617]
1396 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1397 on the heap. (CVE-2012-3406)
1398 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1399 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1400 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1401
3a12c70f
WN
14022014-12-15 Will Newton <will.newton@linaro.org>
1403
1404 * manual/install.texi: Bump required version of texinfo
1405 to 4.7 from 4.5.
1406 * INSTALL: Regenerated.
1407 * configure.ac: Check for makeinfo version 4.7 and above.
1408 * configure: Regenerated.
1409
e4f639e4
RM
14102014-12-12 Roland McGrath <roland@hack.frob.com>
1411
1412 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1413 PREFIX, string constant to insert between directory and name.
1414 * sysdeps/posix/shm_open.c: Update caller.
1415 * sysdeps/posix/shm_unlink.c: Likewise.
1416 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1417 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1418 (SEM_SHM_PREFIX): New macro.
1419 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1420 [$(have-thread-library) = no].
1421 * nptl/Makefile (libpthread-routines): Add shm-directory.
1422 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1423 * sysdeps/nptl/shm-directory.h: New file.
1424 * sysdeps/posix/shm-directory.c
1425 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1426 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1427 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1428 INTERNAL_SYSCALL.
1429 (__where_is_shmfs): Function removed.
1430 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1431 Variables removed.
1432 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1433 Use SHM_GET_NAME.
1434 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1435
1436 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1437 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1438 unconditional for use inside libpthread.
1439 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1440
439c43f6
RM
14412014-12-12 Roland McGrath <roland@hack.frob.com>
1442
c76d1ff5
RM
1443 * nptl/pthread_getaffinity.c: New file.
1444 * nptl/pthread_setaffinity.c: New file.
1445 * nptl/pthread_getname.c: New file.
1446 * nptl/pthread_setname.c: New file.
1447
439c43f6
RM
1448 * nptl/pthread_create.c (START_THREAD_DEFN)
1449 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1450
48e435cd
SL
14512014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1452 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * resolv/res_send.c (send_vc): Disable warning resplen may
1455 be used uninitialized.
1456
9d9c0019
SL
14572014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1458
1459 * nptl/tst-mutex6.c
1460 (ATTR_NULL): New define checks ATTR against NULL.
1461 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1462 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1463
9173840b
JL
14642014-12-11 James Lemke <jwlemke@codesourcery.com>
1465
1466 [BZ #17581]
1467 * malloc/hooks.c
1468 (mem2mem_check): Revert my previous change.
1469 (malloc_check_get_size): Revert my previous change.
1470 (mem2chunk_check): Revert my previous change.
1471
78e21c5d
RM
14722014-12-11 Roland McGrath <roland@hack.frob.com>
1473
1474 * sysdeps/posix/shm-directory.c: New file.
1475 * sysdeps/posix/shm-directory.h: New file.
1476 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1477 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1478 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1479 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1480 Transmute EPERM to EACCES.
1481 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1482 from ...
1483 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1484 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1485
f82c43af
KK
14862014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1487
1488 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1489 pointer and cast to uintptr_t.
1490 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1491 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1492 Add cast to avoid warning.
1493 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1494
fc00cf7b
JM
14952014-12-11 Joseph Myers <joseph@codesourcery.com>
1496
1497 * nptl/semaphore.h: Move to ...
1498 * sysdeps/pthread/semaphore.h: ... here.
1499 * Makefile (installed-headers): Change nptl/semaphore.h to
1500 sysdeps/pthread/semaphore.h.
1501
1c4053db
RM
15022014-12-11 Roland McGrath <roland@hack.frob.com>
1503
73b0c1a1
RM
1504 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1505 generated error format strings.
1506
1c4053db
RM
1507 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1508 -Wformat-extra-args warnings for scanf formats.
1509 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1510 test of zero-length format (duh).
1511 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1512 corner-case scanf format test.
1513 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1514 generated fprintf format string.
1515 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1516 corner-case sprintf format tests.
1517 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1518 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1519 -Wformat-extra-args warnings throughout.
1520 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1521 (CFLAGS-scanf4.c): Likewise.
1522 (CFLAGS-scanf7.c): Likewise.
1523 (CFLAGS-tst-sprintf.c): Likewise.
1524 (CFLAGS-tst-printf.c): Likewise.
1525 (CFLAGS-tst-printfsz.c): Likewise.
1526
47d51f4f
JM
15272014-12-11 Joseph Myers <joseph@codesourcery.com>
1528
a1edbf3c
JM
1529 * include/cpio.h: New file.
1530 * include/fmtmsg.h: Likewise.
1531
47d51f4f
JM
1532 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1533 corresponding format argument to size_t.
1534 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1535 arguments.
1536 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1537 corresponding format argument to size_t.
1538 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1539 arguments.
1540 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1541 corresponding format argument to size_t.
1542 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1543 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1544 (CFLAGS-tst-mbswcs2.c): Likewise.
1545 (CFLAGS-tst-mbswcs3.c): Likewise.
1546 (CFLAGS-tst-mbswcs4.c): Likewise.
1547 (CFLAGS-tst-mbswcs5.c): Likewise.
1548 (CFLAGS-tst-trans.c): Likewise
1549
e9813cfb
RM
15502014-12-11 Roland McGrath <roland@hack.frob.com>
1551
1552 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1553 rather than assuming they won't contain any '%'s.
1554
f627ca82
CM
15552014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1556
1557 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1558 inhibit_loop_to_libcall to avoid recursive calls.
1559 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1560 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1561
7f296942
AZ
15622014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1563
1564 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1565 prototype.
1566
d0276e18
SE
15672014-12-11 Steve Ellcey <sellcey@imgtec.com>
1568
1569 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1570 integer value instead of boolean.
1571
fc56e970
SE
15722014-12-11 Steve Ellcey <sellcey@imgtec.com>
1573
1574 * malloc/malloc.c: Fix powerof2 check.
1575
40e53917
SL
15762014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1577
1578 * locale/programs/locfile.h (maybe_swap_uint32):
1579 Remove inline and add unused attribute.
1580
1ea166df
SL
15812014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1582
9d9c0019 1583 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
1584 Truncating assembler expression to a .long expression.
1585
acf869f4
AS
15862014-12-11 Andreas Schwab <schwab@suse.de>
1587
1588 * elf/rtld.c (struct map_args): Constify str member.
1589 (do_preload): Constify fname argument.
1590
9d969099
AZ
15912014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592
1593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1594 constants definition.
1595
da5bcaa4
AS
15962014-12-11 Andreas Schwab <schwab@suse.de>
1597
b0a3c164
AS
1598 [BZ #16657]
1599 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1600 FORCE_ELISION instead of DO_ELISION.
1601 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1602 Remove.
1603 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1604 Likewise.
1605
da5bcaa4
AS
1606 * iconvdata/gconv-modules: Remove duplicate entry.
1607
6d248857
WN
16082014-12-11 Will Newton <will.newton@linaro.org>
1609
1610 Merge gettext 0.19.3 into intl/.
1611
1612 This involves a number of cosmetic changes to comments
1613 and ANSI function definitions and prototypes throughout
1614 all the files. The gettext copyright header is used but
1615 with the date ranges taken from the glibc copy.
1616
1617 * NEWS: Add gettext merge to 2.21.
1618 * intl/bindtextdom.c: Switch to gettext copyright.
1619 Use ANSI definitions and prototypes.
1620 Use gl_* locking primitives rather than __libc_* ones.
1621 Use __builtin_expect rather than __glibc_likely/unlikely.
1622 * intl/dcgettext.c: Switch to gettext copyright.
1623 Use ANSI definitions and prototypes.
1624 * intl/dcigettext.c: Switch to gettext copyright.
1625 Use ANSI definitions and prototypes.
1626 (INTDIV0_RAISES_SIGFPE): New define.
1627 Use gl_* locking primitives rather than __libc_* ones.
1628 Include eval-plural.h instead of plural-eval.c.
1629 Use __builtin_expect rather than __glibc_likely/unlikely.
1630 * intl/dcngettext.c: Switch to gettext copyright.
1631 Use ANSI definitions and prototypes.
1632 * intl/dgettext.c: Likewise.
1633 * intl/dngettext.c: Likewise.
1634 * intl/plural-eval.c: Renamed to...
1635 * intl/eval-plural.h: ...this.
1636 * intl/explodename.c: Switch to gettext copyright.
1637 Use ANSI definitions and prototypes.
1638 (_nl_explode_name): Use strchr instead of __rawmemchr.
1639 * intl/finddomain.c: Switch to gettext copyright.
1640 Use ANSI definitions and prototypes.
1641 Use gl_* locking primitives rather than __libc_* ones.
1642 (_nl_find_domain): Use malloc rather than alloca for
1643 allocation of temporary locale name.
1644 * intl/gettext.c: Switch to gettext copyright.
1645 Use ANSI definitions and prototypes.
1646 * intl/gettextP.h: Switch to gettext copyright.
1647 Use ANSI definitions and prototypes.
1648 Use gl_* locking primitives rather than __libc_* ones.
1649 * intl/gmo.h: Switch to gettext copyright.
1650 (struct sysdep_string): Move struct segment_pair outside of
1651 struct definition.
1652 * intl/hash-string.c: Use ANSI definitions and prototypes.
1653 * intl/hash-string.h: Switch to gettext copyright.
1654 Use ANSI definitions and prototypes.
1655 * intl/l10nflist.c: Switch to gettext copyright.
1656 Use ANSI definitions and prototypes.
1657 (_nl_normalize_codeset): Avoid integer overflow.
1658 * intl/loadinfo.h: Switch to gettext copyright.
1659 Use ANSI definitions and prototypes.
1660 (LIBINTL_DLL_EXPORTED): New define.
1661 (PATH_SEPARATOR): New define.
1662 * intl/loadmsgcat.c: Switch to gettext copyright.
1663 * intl/localealias.c: Switch to gettext copyright.
1664 Use ANSI definitions and prototypes.
1665 (_nl_expand_alias): Use PATH_SEPARATOR.
1666 * intl/ngettext.c: Switch to gettext copyright.
1667 Use ANSI definitions and prototypes.
1668 * intl/plural-exp.c: Likewise.
1669 * intl/plural-exp.h: Switch to gettext copyright.
1670 Use ANSI definitions and prototypes.
1671 (struct expression): Move definition of enum operator outside
1672 of struct definition.
1673 * intl/plural.c: Regenerate.
1674 * intl/plural.y: Switch to gettext copyright.
1675 Use ANSI definitions and prototypes.
1676 Port to bison 3.0.
1677 * intl/textdomain.c: Switch to gettext copyright.
1678 Use ANSI definitions and prototypes.
1679 Use gl_* locking primitives rather than __libc_* ones.
1680
48c43298
SE
16812014-12-10 Steve Ellcey <sellcey@imgtec.com>
1682
1683 * debug/warning-nop.c: Add used atrribute.
1684
2b89bce9
JM
16852014-12-10 Joseph Myers <joseph@codesourcery.com>
1686
c153ac9f
JM
1687 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1688
2b89bce9
JM
1689 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1690 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1691 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1692
2cfbdb9a
JM
16932014-12-10 Joseph Myers <joseph@codesourcery.com>
1694 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1695
1696 [BZ #17634]
1697 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1698 Undefine after defining function. Define as weak alias of
1699 __wcschr. Use libc_hidden_weak.
1700 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1701 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1702 (libc_hidden_def): Also define __GI___wcschr alias.
1703 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1704 __wcschr and define as weak alias of __wcschr.
1705 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1706 __wcschr.
1707 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1708 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1709 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1710 libc_hidden_weak. Do not use libc_hidden_def.
1711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1712 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1713 __GI___wcschr alias.
1714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1715 [IS_IN (libc)] (wcschr): Define as macro expanding to
1716 __redirect_wcschr.
1717 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1718 [IS_IN (libc)] (__wcschr_power6): Likewise.
1719 [IS_IN (libc)] (__wcschr_power7): Likewise.
1720 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1721 instead of wcschr.
1722 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1723 __libc_wcschr.
1724 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1725 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1726 __wcschr and define as weak alias of __wcschr. Use
1727 libc_hidden_builtin_def.
1728 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1729 as weak alias of __wcschr. Use libc_hidden_weak.
1730 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1731 wcschr.
1732 * time/era.c (_nl_init_era_entries): Likewise.
1733 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1734 variable.
1735 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1736 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1737
1b8bf351
JM
17382014-12-10 Joseph Myers <joseph@codesourcery.com>
1739
1740 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1741 format for long int variable.
1742
f5f46d51
AK
17432014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1744
1745 [BZ #10672]
07008f7d 1746 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
1747 qsort stable.
1748
217a74a8
AS
17492014-12-10 Andreas Schwab <schwab@suse.de>
1750
1751 [BZ #12847]
1752 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1753 user-controlled locks.
1754
aa76a5c7
RE
17552014-12-10 Richard Earnshaw <rearnsha@arm.com>
1756
1757 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1758 register.
1759
2084e7ca
JM
17602014-12-10 Joseph Myers <joseph@codesourcery.com>
1761
a4ecc9eb
JM
1762 * configure.ac (--disable-werror): New configure option.
1763 (enable_werror): New AC_SUBST.
1764 * configure: Regenerated.
1765 * config.make.in (enable-werror): New variable.
1766 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1767 -Wno-error=undef.
1768 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1769 * manual/install.texi (Configuring and compiling): Document
1770 --disable-werror.
1771 * INSTALL: Regenerated.
1772 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1773 (CFLAGS-tst-chk2.c): Likewise.
1774 (CFLAGS-tst-chk3.c): Likewise.
1775 (CFLAGS-tst-chk4.cc): Likewise.
1776 (CFLAGS-tst-chk5.cc): Likewise.
1777 (CFLAGS-tst-chk6.cc): Likewise.
1778 (CFLAGS-tst-lfschk1.c): Likewise.
1779 (CFLAGS-tst-lfschk2.c): Likewise.
1780 (CFLAGS-tst-lfschk3.c): Likewise.
1781 (CFLAGS-tst-lfschk4.cc): Likewise.
1782 (CFLAGS-tst-lfschk5.cc): Likewise.
1783 (CFLAGS-tst-lfschk6.cc): Likewise.
1784
0f88636c
JM
1785 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1786 (main): Disable -Wdeprecated-declarations around calls to
1787 register_printf_function.
1788
c81e9deb
JM
1789 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1790 (do_test): Disable -Wdiv-by-zero around some calls to
1791 fwrite_unlocked and fread_unlocked.
1792
2084e7ca
JM
1793 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1794 (DIAG_POP_NEEDS_COMMENT): Likewise.
1795 (_DIAG_STR1): Likewise.
1796 (_DIAG_STR): Likewise.
1797 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1798 * stdio-common/bug21.c: Include <libc-internal.h>.
1799 (do_test): Disable -Wformat around call to sscanf.
1800 * stdio-common/scanf14.c: Include <libc-internal.h>.
1801 (main): Disable -Wformat around some calls to scanf functions.
1802
df7ecc6b
TR
18032014-12-09 Torvald Riegel <triegel@redhat.com>
1804
1805 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1806
2aa3862e
AZ
18072014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808
1809 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1810 stack variable alignment.
1811
c5c2b7c3
JM
18122014-12-06 Joseph Myers <joseph@codesourcery.com>
1813
1814 [BZ #17682]
1815 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1816 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1817 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1818 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1819 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1820 __getrlimit instead of getrlimit.
1821 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1822 __gettimeofday instead of gettimeofday.
1823 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1824 Likewise.
1825 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1826 Likewise.
1827 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1828 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1829 Remove variable.
1830 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1831 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1832
9752c3cd
AZ
18332014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1834
1835 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1836 for wide-character tests.
1837
4bee4cd9
RM
18382014-12-04 Roland McGrath <roland@hack.frob.com>
1839
1840 * io/openat64.c: #include <libc-internal.h>
1841 (__openat64): Prototypify. Use ignore_value on MODE.
1842 * io/openat.c: Likewise.
1843 * misc/reboot.c: #include <libc-internal.h>
1844 (reboot): Prototypify. Use ignore_value on HOWTO.
1845 * misc/ptrace.c: #include <libc-internal.h>
1846 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1847
84dbedb6
JM
18482014-12-04 Joseph Myers <joseph@codesourcery.com>
1849
1850 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1851 XPG4, UNIX98 and XOPEN2K.
1852 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1853 Remove variable.
1854 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1855
b7a3e1c4 18562014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 1857
af50dfc1 1858 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
1859 * libio/iofopen.c: Likewise.
1860 * libio/wfileops.c: Likewise.
1861
fe8b4d98
SP
1862 [BZ #17653]
1863 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1864 offset on EOF.
1865 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1866 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1867 (fgets_func): Function pointer to fgets and fgetws.
1868 (do_ftell_test): Add test to verify ftell value after read
1869 EOF.
1870 (do_test): Set fgets_func.
1871
61b4f792
SP
1872 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1873 O_TRUNC flag for w and w+ modes.
1874 (do_rewind_test): Likewise.
1875 (do_ftell_test): Likewise.
1876 (do_write_test): Likewise.
1877
be349d70
SP
1878 [BZ #17647]
1879 * libio/fileops.c (do_ftell): Seek only when there are
1880 unflushed writes.
1881 * libio/wfileops.c (do_ftell_wide): Likewise.
1882 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1883 test case.
1884 (do_one_test): Call it.
1885
e3d6dba5
JM
18862014-12-03 Joseph Myers <joseph@codesourcery.com>
1887
1888 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1889 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1890 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1891 Remove variable.
1892 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1893 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1894 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1895
7f994279
JM
18962014-12-02 Joseph Myers <joseph@codesourcery.com>
1897
28a91e8f
JM
1898 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1899 Remove variable.
1900 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1901
7f994279
JM
1902 [BZ #17668]
1903 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1904 as weak alias of __getifaddrs. Use libc_hidden_weak.
1905 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1906 __freeifaddrs. Use libc_hidden_weak.
1907 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1908 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1909 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1910 __freeifaddrs. Use libc_hidden_weak.
1911 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1912 __getifaddrs and define as weak alias of __getifaddrs. Use
1913 libc_hidden_weak.
1914 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1915 __freeifaddrs. Use libc_hidden_weak.
1916 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1917 Remove variable.
1918 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1919 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1920
bbe4c142
PJ
19212014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1922
1923 [BZ #17601]
1924 * sysdeps/mips/start.S (__start): Use indirect jump to call
1925 __libc_start_main.
1926
66cadc05
JM
19272014-12-02 Joseph Myers <joseph@codesourcery.com>
1928
909e16d9
JM
1929 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1930
4e0b9016
JM
1931 * nptl/tst-mutex1.c: Include <stdbool.h>.
1932 [!ATTR] (ATTR_NULL): New macro.
1933 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1934 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1935 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1936
b1aff6a4
JM
1937 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1938 to char *.
1939
266865c0
JM
1940 [BZ #17665]
1941 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1942 Change conditional to [__USE_MISC].
1943
84e5e756
JM
1944 [BZ #17664]
1945 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1946 fgets_unlocked.
1947 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1948 __fgets_unlocked.
1949 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1950 fgets_unlocked.
1951 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1952 Remove variable.
1953 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1954 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1955 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1956 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1957 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1958 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1959 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1960 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1961 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1962
66cadc05
JM
1963 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1964
2e8a2de2 19652014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
1966
1967 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1968 Remove strpbrk objects.
1969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1970 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1971 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1972 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1973 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1974 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1975
bb2542e0
AZ
1976 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1977 Remove strcspn objects.
1978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1979 (__libc_ifunc_impl_list): Remove strcspn implementation.
1980 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1981 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1982 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1983 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
1984
1985 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1986 Remove strspn objetcs.
1987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1988 (__libc_ifunc_impl_list): Remove strspn implementation.
1989 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1990 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1991 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1992 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1993
08f1e1d2
JL
19942014-12-01 James Lemke <jwlemke@codesourcery.com>
1995
1996 [BZ #17581]
1997 * malloc/hooks.c
1998 (mem2mem_check): Add a terminator to the chain of checking blocks.
1999 (malloc_check_get_size): Use it here.
2000 (mem2chunk_check): Ditto.
2001
a8a7d7d2
RS
20022014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2003
2004 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2005 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2006
97114a38
CD
20072014-11-29 Carlos O'Donell <carlos@redhat.com>
2008
c8dc1727
CD
2009 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2010
6d03458e
CD
2011 * nptl/nptl-init.c: Include libc-internal.h.
2012 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2013
97114a38
CD
2014 * elf/ldconfig.c (search_dir): Expand comment.
2015
0e7e69ba
JM
20162014-11-29 Joseph Myers <joseph@codesourcery.com>
2017
2018 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2019 variable.
2020 (linknamespace-symlist-stdlibs-tests): Likewise.
2021 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2022 instead of $(objpfx)symlist-stdlibs.
2023 (linknamespace-libs-isoc): New variable.
2024 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2025 (linknamespace-libs-ISO): New variable.
2026 (linknamespace-libs-ISO99): Likewise.
2027 (linknamespace-libs-ISO11): Likewise.
2028 (linknamespace-libs-XPG3): Likewise.
2029 (linknamespace-libs-XPG4): Likewise.
2030 (linknamespace-libs-POSIX): Likewise.
2031 (linknamespace-libs-UNIX98): Likewise.
2032 (linknamespace-libs-XOPEN2K): Likewise.
2033 (linknamespace-libs-POSIX2008): Likewise.
2034 (linknamespace-libs-XOPEN2K8): Likewise.
2035 ($(objpfx)symlist-stdlibs): Replace by
2036 $(linknamespace-symlist-stdlibs-tests). Use
2037 $(linknamespace-libs-$*) as set of libraries.
2038 ($(linknamespace-header-tests)): Update dependencies. Use
2039 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2040 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2041 * conform/linknamespace.pl: Remove comment about considering
2042 definitions of symbols from irrelevant libraries.
2043
d8dd0080
L
20442014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 [BZ #13862]
2047 * elf/dl-tls.c: Include <atomic.h>.
2048 (oom): Remove #ifdef SHARED/#endif.
2049 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2050 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2051 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2052 big enough.
2053 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2054 * nptl/Makefile (tests): Add tst-stack4.
2055 (modules-names): Add tst-stack4mod.
2056 ($(objpfx)tst-stack4): New.
2057 (tst-stack4mod.sos): Likewise.
2058 ($(objpfx)tst-stack4.out): Likewise.
2059 ($(tst-stack4mod.sos)): Likewise.
2060 (clean): Likewise.
2061 * nptl/tst-stack4.c: New file.
2062 * nptl/tst-stack4mod.c: Likewise.
2063
167da422
B
20642014-11-27 J. Brown <jb999@gmx.de>
2065
2066 * sysdeps/x86/bits/string.h: Add recent CPUs.
2067
9114625b
JM
20682014-11-27 Joseph Myers <joseph@codesourcery.com>
2069
6b5189eb
JM
2070 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2071 sigblock.
2072
49051f8e
JM
2073 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2074 feof.
2075
9114625b
JM
2076 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2077 variable.
2078
e7300fef
SL
20792014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2080
2081 * nscd/connections.c: Include libc-internal.h because of macro
2082 usage ignore_value.
2083
1721f0a4
SP
20842014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2085
2086 * string/bits/string3.h (__warn_memset_zero_len): Don't
2087 declare for gcc newer than 5.0.
2088 (memset): Don't test for zero-length __LEN for gcc newer than
2089 5.0.
2090
be970916
JM
20912014-11-27 Joseph Myers <joseph@codesourcery.com>
2092
d88548f4
JM
2093 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2094 size_t for %zu format.
2095
be970916
JM
2096 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2097 difference, not %ju.
2098
3b20fd5c
JM
20992014-11-26 Joseph Myers <joseph@codesourcery.com>
2100
8915eace
JM
2101 * include/libc-internal.h (ignore_value): New macro.
2102 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2103 with ignore_value.
2104
f1a5a0e3
JM
2105 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2106 definition.
2107
59ef1715
JM
2108 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2109 pthread_cleanup_push to void *.
2110
a6f3079b
JM
2111 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2112 Undefine.
2113
706688aa
JM
2114 [BZ #16619]
2115 [BZ #16740]
2116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2117 instead of 1L << 52.
2118
12da14a5
JM
2119 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2120 * libio/bug-rewind2.c (do_test): Likewise.
2121
bd5dadac
JM
2122 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2123 * debug/test-strcpy_chk-ifunc.c: Likewise.
2124 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2125 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2126 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2127 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2128 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2129 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2130 * Rules [$(multi-arch) = no] (tests): Do not filter out
2131 $(tests-ifunc).
2132 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2133 * debug/Makefile (tests-ifunc): Remove variable.
2134 (tests): Do not add $(tests-ifunc).
2135 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2136 (tests): Do not add $(tests-ifunc).
2137 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2138 [TEST_IFUNC]: Remove conditionals.
2139 * string/test-string.h (TEST_IFUNC): Remove macro.
2140 [TEST_IFUNC]: Remove conditionals.
2141
3b20fd5c
JM
2142 * string/test-strchr.c [!WIDE] (L): New macro.
2143 [WIDE] (L): Likewise.
2144 (check1): Use CHAR instead of char. Use L on string and character
2145 constants.
2146
704f7947
AZ
21472014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2148
2149 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2150 tests.
2151 * sysdeps/powerpc/bits/atomic.h
2152 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2153 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2154 (atomic_exchange_and_add_acq): Likewise.
2155 (atomic_exchange_and_add_rel): Likewise.
2156 * sysdeps/powerpc/powerpc32/bits/atomic.h
2157 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2158 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2159 * sysdeps/powerpc/powerpc64/bits/atomic.h
2160 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2161 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2162
cdcb42d7
TR
21632014-11-26 Torvald Riegel <triegel@redhat.com>
2164
2165 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2166 Change synchronization of __sched_fifo_min_prio and
2167 __sched_fifo_max_prio.
2168 * nptl/pthread_mutexattr_getprioceiling.c
2169 (pthread_mutexattr_getprioceiling): Likewise.
2170 * nptl/pthread_mutexattr_setprioceiling.c
2171 (pthread_mutexattr_setprioceiling): Likewise.
2172 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2173 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2174 Likewise.
2175
c82f5c0c
JM
21762014-11-26 Joseph Myers <joseph@codesourcery.com>
2177
2178 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2179 void.
2180
439e1ad6
JM
21812014-11-25 Joseph Myers <joseph@codesourcery.com>
2182
2183 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2184 third argument const.
2185
b1eda10e
PE
21862014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2187
2188 fnmatch: work around GCC compiler warning bug with uninit var
2189 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2190 This works around a bug with x86-64 GCC 4.9.2 and earlier
2191 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2192 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2193 used uninitialized in this function [-Wmaybe-uninitialized]".
2194
bde2667a
JM
21952014-11-25 Joseph Myers <joseph@codesourcery.com>
2196
2197 * posix/bug-regex31.c (main): Return RES not 0.
2198
5fbb5691
AB
21992014-11-25 Anton Blanchard <anton@samba.org>
2200
2201 * sysdeps/powerpc/bits/atomic.h
2202 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2203
467fec0b
BM
22042014-11-24 Sterling Augustine <saugustine@google.com>
2205
2206 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2207
e9ff8efb
RC
22082014-11-24 Ryan Cumming <etaoins@gmail.com>
2209
2210 [BZ #17608]
2211 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2212
9744496f
JM
22132014-11-24 Joseph Myers <joseph@codesourcery.com>
2214
2215 [BZ #17633]
2216 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2217 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2218 variable.
2219 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2220 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2221
6423d475
WD
22222014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2223
2224 * string/strncpy.c (strncpy): Improve performance by using memset.
2225
22262014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2227
2228 * string/strcpy.c (strcpy):
2229 Improve performance by using strlen and memcpy.
2230
5d178c37
LH
22312014-11-24 Leonhard Holz <leonhard.holz@web.de>
2232
2233 * string/strcoll_l.c (get_next_seq): __always_inline.
2234 * string/strcoll_l.c (do_compare): __always_inline.
2235
279bc5b3
SP
22362014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2237
7a9ebfa1
SP
2238 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2239 defined.
2240 * include/mqueue.h: Likewise.
2241 * include/stdlib.h: Likewise.
2242
4f41c682
SP
2243 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2244 (get_null_defines): Adjust.
2245 * sunrpc/Makefile: Adjust comment.
2246 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2247 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2248 (CFLAGS-interp.c): Likewise.
2249 (CFLAGS-ldconfig.c): Likewise.
2250 (CPPFLAGS-.os): Likewise.
2251 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2252 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2253 * extra-modules.mk (extra-modules.mk): Likewise.
2254 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2255 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2256 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2257 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2258 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2259 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2260 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2261 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2262 * iconvdata/Makefile (CPPFLAGS): Likewise.
2263 (cpp-srcs-left): Add libof for all iconvdata routines.
2264 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2265 * include/assert.h: Likewise.
2266 * include/ctype.h: Likewise.
2267 * include/errno.h: Likewise.
2268 * include/libc-symbols.h: Likewise.
2269 * include/math.h: Likewise.
2270 * include/netdb.h: Likewise.
2271 * include/resolv.h: Likewise.
2272 * include/stdio.h: Likewise.
2273 * include/stdlib.h: Likewise.
2274 * include/string.h: Likewise.
2275 * include/sys/stat.h: Likewise.
2276 * include/wctype.h: Likewise.
2277 * intl/l10nflist.c: Likewise.
2278 * libidn/idn-stub.c: Likewise.
2279 * libio/libioP.h: Likewise.
2280 * nptl/libc_multiple_threads.c: Likewise.
2281 * nptl/pthreadP.h: Likewise.
2282 * posix/regex_internal.h: Likewise.
2283 * resolv/res_hconf.c: Likewise.
2284 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2285 * sysdeps/arm/memmove.S: Likewise.
2286 * sysdeps/arm/sysdep.h: Likewise.
2287 * sysdeps/generic/_itoa.h: Likewise.
2288 * sysdeps/generic/symbol-hacks.h: Likewise.
2289 * sysdeps/gnu/errlist.awk: Likewise.
2290 * sysdeps/gnu/errlist.c: Likewise.
2291 * sysdeps/i386/i586/memcpy.S: Likewise.
2292 * sysdeps/i386/i586/memset.S: Likewise.
2293 * sysdeps/i386/i686/memcpy.S: Likewise.
2294 * sysdeps/i386/i686/memmove.S: Likewise.
2295 * sysdeps/i386/i686/mempcpy.S: Likewise.
2296 * sysdeps/i386/i686/memset.S: Likewise.
2297 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2298 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2299 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2300 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2301 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2302 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2303 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2304 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2305 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2306 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2307 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2308 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2309 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2310 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2311 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2312 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2313 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2314 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2315 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2316 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2317 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2318 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2320 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2321 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2323 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2324 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2325 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2326 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2327 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2330 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2331 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2333 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2334 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2335 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2336 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2337 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2338 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2339 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2340 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2341 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2342 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2343 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2344 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2345 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2346 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2347 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2348 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2349 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2350 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2351 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2352 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2353 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2354 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2355 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2356 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2357 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2358 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2359 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2360 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2361 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2362 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2363 * sysdeps/posix/closedir.c: Likewise.
2364 * sysdeps/posix/opendir.c: Likewise.
2365 * sysdeps/posix/readdir.c: Likewise.
2366 * sysdeps/posix/rewinddir.c: Likewise.
2367 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2368 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2369 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2370 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2371 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2373 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2378 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2379 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2380 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2382 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2383 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2384 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2385 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2386 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2387 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2389 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2393 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2395 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2402 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2403 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2404 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2405 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2406 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2407 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2408 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2409 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2410 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2411 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2412 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2413 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2414 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2415 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2416 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2417 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2418 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2419 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2420 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2421 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2422 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2423 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2424 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2425 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2426 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2427 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2428 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2429 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2430 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2431 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2432 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2433 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2434 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2435 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2436 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2437 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2438 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2439 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2440 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2441 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2442 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2443 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2444 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2445 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2446 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2447 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2448 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2449 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2450 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2451 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2452 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2453 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2454 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2455 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2456 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2457 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2458 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2459 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2460 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2463 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2465 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2466 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2467 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2468 * sysdeps/unix/alpha/sysdep.S: Likewise.
2469 * sysdeps/unix/alpha/sysdep.h: Likewise.
2470 * sysdeps/unix/make-syscalls.sh: Likewise.
2471 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2473 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2474 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2475 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2476 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2477 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2478 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2479 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2480 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2481 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2482 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2483 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2484 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2485 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2486 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2487 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2488 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2489 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2490 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2491 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2492 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2493 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2494 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2495 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2496 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2500 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2501 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2502 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2505 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2508 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2509 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2510 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2511 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2512 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2513 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2514 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2515 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2518 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2521 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2522 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2523 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2524 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2525 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2526 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2527 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2529 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2530 * sysdeps/x86_64/memcpy.S: Likewise.
2531 * sysdeps/x86_64/memmove.c: Likewise.
2532 * sysdeps/x86_64/memset.S: Likewise.
2533 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2534 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2535 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2536 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2537 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2539 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2540 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2541 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2542 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2543 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2544 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2545 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2546 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2547 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2548 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2549 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2550 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2551 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2552 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2553 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2554 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2555 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2557 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2558 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2559 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2560 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2561 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2562 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2563 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2564 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2565 * sysdeps/x86_64/strcmp.S: Likewise.
2566
76ca86a5
SP
2567 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2568
a3848485
SP
2569 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2570 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2571 * elf/rtld-Rules: Likewise.
2572 * elf/setup-vdso.h: Likewise.
2573 * include/assert.h: Likewise.
2574 * include/bits/stdlib-float.h: Likewise.
2575 * include/errno.h: Likewise.
2576 * include/sys/stat.h: Likewise.
2577 * include/unistd.h: Likewise.
2578 * sysdeps/aarch64/setjmp.S: Likewise.
2579 * sysdeps/alpha/setjmp.S: Likewise.
2580 * sysdeps/arm/__longjmp.S: Likewise.
2581 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2582 * sysdeps/arm/setjmp.S: Likewise.
2583 * sysdeps/arm/sysdep.h: Likewise.
2584 * sysdeps/generic/_itoa.h: Likewise.
2585 * sysdeps/generic/dl-sysdep.h: Likewise.
2586 * sysdeps/generic/ldsodefs.h: Likewise.
2587 * sysdeps/i386/dl-tls.h: Likewise.
2588 * sysdeps/i386/setjmp.S: Likewise.
2589 * sysdeps/m68k/setjmp.c: Likewise.
2590 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2591 * sysdeps/mach/hurd/opendir.c: Likewise.
2592 * sysdeps/posix/getcwd.c: Likewise.
2593 * sysdeps/posix/opendir.c: Likewise.
2594 * sysdeps/posix/profil.c: Likewise.
2595 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2596 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2597 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2598 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2599 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2600 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2601 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2602 * sysdeps/s390/dl-tls.h: Likewise.
2603 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2604 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2605 * sysdeps/sh/sh3/setjmp.S: Likewise.
2606 * sysdeps/sh/sh4/setjmp.S: Likewise.
2607 * sysdeps/unix/alpha/sysdep.h: Likewise.
2608 * sysdeps/unix/arm/sysdep.S: Likewise.
2609 * sysdeps/unix/i386/sysdep.S: Likewise.
2610 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2611 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2612 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2613 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2614 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2615 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2616 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2617 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2618 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2619 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2620 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2621 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2622 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2625 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2628 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2629 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2630 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2632 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2633 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2634 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2637 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2638 * sysdeps/x86_64/setjmp.S: Likewise.
2639
a109996e
SP
2640 * include/math.h: Use IS_IN instead of IS_IN_libm.
2641 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2642 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2643 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2644 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2645 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2646 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2647 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2648 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2650 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2651 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2652 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2653 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2654 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2655 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2656 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2657 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2658 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2659 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2660 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2661 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2662 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2663 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2664 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2665 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2666 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2667 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2668 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2669 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2670 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2671 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2672 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2673 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2675 Likewise.
2676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2677 Likewise.
2678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2679 Likewise.
2680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2681 Likewise.
2682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2683 Likewise.
2684 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2685 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2686 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2687 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2688 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2689 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2695 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2696 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2697 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2698 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2699 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2700 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2701 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2702 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2703 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2704 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2705 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2706 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2707 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2708 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2710 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2711
ce9f10f7
SP
2712 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2713 * nptl/pthreadP.h: Likewise.
2714 * nptl_db/structs.def: Likewise.
2715 * sysdeps/arm/sysdep.h: Likewise.
2716 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2717 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2718 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2719 * sysdeps/unix/alpha/sysdep.h: Likewise.
2720 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2721 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2722 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2723 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2724 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2725 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2726 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2727 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2728 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2729 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2730 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2731 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2732 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2733 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2738 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2741 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2742 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2743 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2744 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2745 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2746
016afc75
SP
2747 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2748 * nptl/pthreadP.h: Likewise.
2749 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2750 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2751 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2752 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2753 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2754 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2755 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2756 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2757 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2758 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2759 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2760 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2762 Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2764 Likewise.
2765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2767 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2770 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2771 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2772 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2773
9b42a0b3
SP
2774 * dlfcn/dladdr.c: Use IS_IN.
2775 * dlfcn/dladdr1.c: Likewise.
2776 * dlfcn/dlclose.c: Likewise.
2777 * dlfcn/dlerror.c: Likewise.
2778 * dlfcn/dlinfo.c: Likewise.
2779 * dlfcn/dlmopen.c: Likewise.
2780 * dlfcn/dlopen.c: Likewise.
2781 * dlfcn/dlsym.c: Likewise.
2782 * dlfcn/dlvsym.c: Likewise.
2783
85f36372
SP
2784 * include/ifaddrs.h: Use IS_IN.
2785 * inet/check_pf.c: Likewise.
2786 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2787 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2788
fb6784e3
SP
2789 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2790 IS_IN_ldconfig.
2791 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2792 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2793
2886d2d1
SP
2794 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2795 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2796 IS_IN (libc).
2797
9a484857
SP
2798 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2799
a10178bd
SP
2800 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2801 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2802 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2803 * include/libc-symbols.h (IS_IN_LIB): New macro.
2804 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2805 * include/netdb.h: Likewise.
2806 * include/stap-probe.h: Remove all uses of IN_LIB.
2807
279bc5b3
SP
2808 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2809 instead of IN_MODULE.
2810 * include/libc-symbols.h (IN_MODULE): Define using
2811 MODULE_NAME.
2812 (PASTE_NAME, PASTE_NAME1): New macros.
2813 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2814 of IN_LIB.
2815 (STAP_PROBE_ASM): Likewise.
2816
e0cfa510
ST
28172014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2818
2819 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2820 __mach_init in dlopened libc.
2821
34d97d87
MF
28222014-11-22 Mike Frysinger <vapier@gentoo.org>
2823
2824 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2825 * sysdeps/arm/preconfigure: Regenerate.
2826
33cd1f74
RM
28272014-11-21 Roland McGrath <roland@hack.frob.com>
2828
2829 * nptl/pthread_create.c (__pthread_create_2_1): Set
2830 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2831 when copying values from IATTR into PD.
2832
8c230039
WN
28332014-11-21 Will Newton <will.newton@linaro.org>
2834 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2835
6d3db89b
AP
2836 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2837 Refactor inline-asm. Also add comment.
2838
01194ba1
WN
2839 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2840 ElfW macro instead of hardcoded Elf64 types.
2841 (la_aarch64_gnu_pltenter): Likewise.
2842 * sysdeps/aarch64/dl-machine.h
2843 (elf_machine_runtime_setup): Use ElfW(Addr).
2844
8c230039
WN
2845 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2846 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2847 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2848 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2849 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2850 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2851 (R_AARCH64_TLS_DTPMOD): This.
2852 (R_AARCH64_TLS_DTPREL64): Rename to ...
2853 (R_AARCH64_TLS_DTPREL): This.
2854 (R_AARCH64_TLS_TPREL64): Rename to ...
2855 (R_AARCH64_TLS_TPREL): This.
2856 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2857 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2858 R_AARCH64_TLS_TPREL64.
2859 (elf_machine_rela): Likewise.
2860
0d79fa53
TR
28612014-11-21 Torvald Riegel <triegel@redhat.com>
2862
2863 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2864 by setting it to 0. 64b atomics are not supported currently.
2865
b59d114b
AO
28662014-11-21 Alexandre Oliva <aoliva@redhat.com>
2867
2868 [BZ #16469]
2869 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2870 search domain names.
2871
f3d945d5
AO
28722014-11-21 Alexandre Oliva <aoliva@redhat.com>
2873
2874 [BZ #16469]
2875 * NEWS: Update.
2876 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2877 trailing dot.
2878 * posix/tst-getaddrinfo5.c: New.
2879 * posix/Makefile (tests): Add it.
2880
49698902
AO
28812014-11-21 Alexandre Oliva <aoliva@redhat.com>
2882
2883 [BZ #14498]
2884 * NEWS: Fixed.
2885 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2886 after parsing line but before break_if_match.
2887 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2888 if there is a protocol mismatch.
2889
81959214
MS
28902014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2891
2892 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2893 because the potential race is on the user-supplied stream.
2894
7729e0e9
AO
28952014-11-21 Alexandre Oliva <aoliva@redhat.com>
2896
2897 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2898 string literal if not passed a buffer.
2899 * manual/job.texi (ctermid): Update reasoning, note deviation
2900 from posix, suggest mtasurace when not passed a buffer, for
2901 future non-preliminary safety notes.
2902
a4ea5e28
AO
29032014-11-21 Alexandre Oliva <aoliva@redhat.com>
2904
2905 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2906 of not passing it a buffer.
2907 Reported by Peng Haitao.
2908
a2b581cb
AO
29092014-11-21 Alexandre Oliva <aoliva@redhat.com>
2910
2911 * manual/Makefile ($(objpfx)stamp-summary): Require
2912 check-safety.sh to pass.
2913 * manual/check-safety.sh: Wish for verification that every
2914 @deftypefn and @deftypefun is followed by a @safety remark.
2915
f214ff74
RM
29162014-11-20 Roland McGrath <roland@hack.frob.com>
2917
7f0dfae0
RM
2918 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2919
2f531bbb
RM
2920 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2921 PTHREAD_CANCEL_ASYNCHRONOUS.
2922 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2923 send SIGCANCEL.
2924
f214ff74
RM
2925 * nptl/default-sched.h: New file.
2926 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2927 * nptl/pthread_create.c: Include it.
2928 (__pthread_create_2_1): Use collect_default_sched instead of making
2929 Linux syscalls here directly.
2930
e37c91d4
TR
29312014-11-20 Torvald Riegel <triegel@redhat.com>
2932
2933 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2934 __pthread_once): Use C11 atomics.
2935
1eccfecd
TR
29362014-11-20 Torvald Riegel <triegel@redhat.com>
2937
2938 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2939
ff871426
TR
29402014-11-20 Torvald Riegel <triegel@redhat.com>
2941
2942 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2943 atomic_thread_fence_acquire, atomic_thread_fence_release,
2944 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2945 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2946 atomic_compare_exchange_weak_relaxed,
2947 atomic_compare_exchange_weak_acquire,
2948 atomic_compare_exchange_weak_release,
2949 atomic_exchange_acquire, atomic_exchange_release,
2950 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2951 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2952 atomic_fetch_and_acquire,
2953 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2954
1ea339b6
TR
29552014-11-20 Torvald Riegel <triegel@redhat.com>
2956
2957 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2958 USE_ATOMIC_COMPILER_BUILTINS): Define.
2959 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2960 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2961 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2962 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2963 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2964 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2965 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2966 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2967 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2968 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2969 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2970 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2971 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2972 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2973 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2974 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2975 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2976 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2977 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2978 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2979 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2980 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2981 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2982 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2983 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2984 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2985 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2986 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2987 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2988 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2989 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2990 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2991 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2992 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2993 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2994 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2995 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2996 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2997 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2998 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2999
cbd463e2
RM
30002014-11-19 Roland McGrath <roland@hack.frob.com>
3001
d960211f
RM
3002 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3003 the sched_priority value here. It was already checked when the user
3004 called pthread_attr_setschedparam.
3005
cbd463e2
RM
3006 * nptl/tst-bad-schedattr.c: New file.
3007 * nptl/Makefile (tests): Add it.
3008
a39208bd
CD
30092014-11-19 Carlos O'Donell <carlos@redhat.com>
3010 Florian Weimer <fweimer@redhat.com>
3011 Joseph Myers <joseph@codesourcery.com>
3012 Adam Conrad <adconrad@0c3.net>
3013 Andreas Schwab <schwab@suse.de>
3014 Brooks <bmoses@google.com>
3015
3016 [BZ #17625]
3017 * wordexp-test.c (__dso_handle): Add prototype.
3018 (__register_atfork): Likewise.
3019 (__app_register_atfork): New function.
3020 (registered_forks): New global.
3021 (register_fork): New function.
3022 (test_case): Add 3 new tests for WRDE_CMDSUB.
3023 (main): Call __app_register_atfork.
3024 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3025 fork count is non-zero fail the test.
3026 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3027 is set.
3028 (parse_dollars): Remove check for WRDE_NOCMD.
3029 (parse_dquote): Likewise.
3030
9cd47470
SP
30312014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3032
130ac68c
SP
3033 * Makeconfig (built-modules): List non-library modules to be
3034 built.
3035 (module-cppflags): Include libc-modules.h for
3036 everything except shlib-versions.v.i.
3037 (CPPFLAGS): Use it.
3038 (before-compile): Add libc-modules.h.
3039 ($(common-objpfx)libc-modules.h,
3040 $(common-objpfx)libc-modules.stmp): New targets.
3041 (common-generated): Add libc-modules.h and libc-modules.stmp.
3042 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3043 * include/libc-symbols.h: Don't include libc-modules.h.
3044 * include/libc-modules.h: Remove file.
3045 * scripts/gen-libc-modules.awk: New script to generate
3046 libc-modules.h.
3047 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3048 Depend on libc-modules.stmp.
3049
286663c3
SP
3050 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3051
9cd47470
SP
3052 * Makeconfig (in-module): Get value of libof set for the
3053 translation unit.
3054 (CPPFLAGS): Use $(in-module).
3055 * Makerules: Don't suffix routine names for nonlib.
3056 * include/libc-modules.h: New file.
3057 * include/libc-symbols.h: Include libc-modules.h
3058 (IS_IN): New macro to replace IS_IN_* macros.
3059 * elf/Makefile: Set libof-* for each routine.
3060 * elf/rtld-Rules: Likewise.
3061 * extra-modules.mk: Likewise.
3062 * iconv/Makefile: Likewise.
3063 * iconvdata/Makefile: Likewise.
3064 * locale/Makefile: Likewise.
3065 * malloc/Makefile: Likewise.
3066 * nss/Makefile: Likewise.
3067 * sysdeps/gnu/Makefile: Likewise.
3068 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3069 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3070 * sysdeps/s390/s390-64/Makefile: Likewise.
3071 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3072 CPPFLAGS for nscd instead of nonlib.
3073
32fed10f
RM
30742014-11-18 Roland McGrath <roland@hack.frob.com>
3075
d71035bd
RM
3076 * nptl/createthread.c: New file.
3077
6540b991
RM
3078 * nptl/createthread.c: Moved ...
3079 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3080
32fed10f
RM
3081 * nptl/createthread.c: Add proper top-line comment.
3082 (do_clone): Folded into ...
3083 (create_thread): ... here. Take new arguments STOPPED_START and
3084 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3085 increment __nptl_threads, do event-reporting logic, do
3086 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3087 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3088 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3089 just send SIGCANCEL.
3090 * nptl/pthread_create.c: Forward-declare create_thread before
3091 including createthread.c.
3092 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3093 declaration, and new macro START_THREAD_SELF to replace argument.
3094 Remove return statement.
3095 (report_thread_creation): New function.
3096 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3097 synchronization logic, and __nptl_nthreads increment here, around
3098 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3099 PD->parent_cancelhandling here, before create_thread. When
3100 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3101 __deallocate_stack, and ENOMEM translation here.
3102
107a5bf0
JM
31032014-11-18 Joseph Myers <joseph@codesourcery.com>
3104
3105 [BZ #17616]
3106 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3107 (mptwo): Rename to __mptwo.
3108 (__inv): Use __mptwo instead of mptwo.
3109 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3110 (mptwo): Rename to __mptwo.
3111 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3112 of mpone and __mptwo instead of mptwo.
3113 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3114 instead of mpone.
3115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3116 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3117 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3118 of mpone and __mptwo instead of mptwo.
3119 (__mpranred): Use __mpone instead of mpone.
3120 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3121 variable.
3122 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3123 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3124 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3125 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3126 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3127 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3128 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3129 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3130 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3131 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3132 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3133 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3134 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3135 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3136 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3137 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3138 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3139 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3140 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3141
3b679ab3
TV
31422014-11-18 Tom de Vries <tom@codesoucery.com>
3143
3144 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3145 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3146
31472014-11-17 Richard Henderson <rth@redhat.com>
3148
3149 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3150 (_FP_PACK_RAW_2): Remove.
3151 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3152 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3153 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3154 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3155 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3156 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3157 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3158 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3159 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3160 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3161 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3162 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3163 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3164 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3165 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3166 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3167
0781a777
RM
31682014-11-14 Roland McGrath <roland@hack.frob.com>
3169
3170 * signal/signal.h [__USE_MISC]
3171 (struct sigvec): Remove type.
3172 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3173 (sigvec): Remove declaration.
3174 * sysdeps/posix/sigvec.c: Moved ...
3175 * signal/sigvec.c: ... here, replacing old file.
3176 (struct sigvec): New type, copied from old signal.h definition.
3177 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3178 (__sigvec): Convert definition to prototype.
3179 (sigvec): Replace weak_alias with compat_symbol.
3180 * signal/Versions (libc: GLIBC_2.21): New version set.
3181 * include/signal.h: Remove __sigvec declaration.
3182 * sysdeps/unix/bsd/sigvec.c: Remove file.
3183 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3184 * manual/signal.texi (BSD Handler): Remove subsection.
3185 Move siginterrupt up to ...
3186 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3187 (Blocking in BSD): Fold subsection into its parent.
3188 * NEWS: Mention sigvec removal.
3189
a4733812
JM
31902014-11-14 Joseph Myers <joseph@codesourcery.com>
3191
5ae4fe60
JM
3192 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3193 (DLA_FMS): Make definition conditional only on [__FMA4__].
3194 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3195 definition.
3196
6a0dd472
JM
3197 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3198 Make definition conditional only on [PROF].
3199 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3200 definition.
3201 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3202 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3203
a4733812
JM
3204 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3205 !__GNUC__].
3206 * include/signal.h (__sigpause): Move declaration above call to
3207 libc_hidden_proto.
3208 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3209 variable.
3210 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3211 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3212
cf7246dd
DM
32132014-11-14 David S. Miller <davem@davemloft.net>
3214
3215 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3216 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3217
c1b0aadc
JM
32182014-11-14 Joseph Myers <joseph@codesourcery.com>
3219
4863355a
JM
3220 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3221 * configure: Regenerated.
3222 * manual/install.texi (Tools for Compilation): Document a
3223 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3224 compiler verified to work.
3225 * INSTALL: Regenerated.
3226
c1b0aadc
JM
3227 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3228 redeclare with asm name.
3229 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3230 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3231 including <string.h>.
3232 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3233 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3234 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3235 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3236 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3237 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3238 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3239
2a1cfd94
JM
32402014-11-13 Joseph Myers <joseph@codesourcery.com>
3241
bf438382
JM
3242 * stdlib/strtol.c (__strtol): Use prototype definition.
3243
2a1cfd94
JM
3244 [BZ #17594]
3245 * stdlib/strtol.c (SYM__): New macro.
3246 (SYM__1): Likewise.
3247 (__strtol): Likewise.
3248 (strtol): Rename to __strtol and define as weak alias of
3249 __strtol. Use libc_hidden_weak.
3250
20ed0d26
SL
32512014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3252
3253 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3254 Use numbered labels in inline assembly.
3255
53244a4e
SL
32562014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3257
3258 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3259 Add setjmp LIBC_PROBE.
3260 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3261 Likewise.
3262 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3263 Add longjmp, longjmp_target LIBC_PROBE.
3264 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3265 Likewise.
3266
47df8251
SL
32672014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3268
3269 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3270 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3271 to get rid of unused variable warning.
3272
618cebef
SL
32732014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3274
3275 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3276 Check for unwind_backtrace == NULL only in SHARED case.
3277 (__backchain_backtrace): Compile only in SHARED case.
3278 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3279 Likewise.
3280 (__backchain_backtrace): Declare as static.
3281
c6aab2cb
RM
32822014-11-12 Roland McGrath <roland@hack.frob.com>
3283
3284 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3285 (__libc_multiple_threads_ptr): Variable moved ...
3286 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3287
5a6fa4d7
JM
32882014-11-12 Joseph Myers <joseph@codesourcery.com>
3289
24f4f825
JM
3290 * conform/GlibcConform.pm: New file.
3291 * conform/conformtest.pl: Use GlibcConform module.
3292 * conform/linknamespace.pl: New file.
3293 * conform/list-header-symbols.pl: Likewise.
3294 * conform/Makefile (linknamespace-symlists-base): New variable.
3295 (linknamespace-symlists-tests): Likewise.
3296 (linknamespace-header-base): Likewise.
3297 (linknamespace-header-tests): Likewise.
3298 (tests-special): Add new tests.
3299 ($(linknamespace-symlists-tests)): New rule.
3300 (linknamespace-libs): New variable.
3301 ($(objpfx)symlist-stdlibs): New rule.
3302 ($(linknamespace-header-tests)): Likewise.
3303 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3304 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3305 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3306 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3307 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3308 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3309 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3310 (test-xfail-ISO/math.h/linknamespace): Likewise.
3311 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3312 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3313 (test-xfail-ISO/time.h/linknamespace): Likewise.
3314 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3315 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3316 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3317 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3318 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3319 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3320 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3321 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3322 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3323 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3324 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3325 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3326 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3327 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3328 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3329 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3330 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3331 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3332 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3333 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3334 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3335 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3336 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3337 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3338 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3339 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3340 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3341 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3342 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3343 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3344 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3345 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3346 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3347 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3348 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3349 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3350 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3351 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3352 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3353 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3354 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3355 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3356 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3357 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3358 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3359 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3360 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3361 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3362 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3363 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3364 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3365 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3366 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3367 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3368 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3369 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3370 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3371 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3372 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3373 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3374 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3375 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3376 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3377 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3378 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3379 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3380 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3381 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3382 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3383 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3384 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3385 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3386 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3387 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3388 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3389 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3390 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3391 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3392 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3393 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3394 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3395 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3396 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3397 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3398 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3399 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3400 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3401 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3402 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3403 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3404 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3405 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3406 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3407 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3408 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3409 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3410 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3411 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3412 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3413 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3414 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3415 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3416 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3417 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3418 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3419 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3420 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3421 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3422 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3423 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3424 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3425 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3426 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3427 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3428 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3429 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3430 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3431 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3432 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3433 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3434 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3435 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3436 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3437 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3438 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3439 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3440 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3441 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3442 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3443 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3444 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3445 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3446 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3447 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3448 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3449 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3450 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3451 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3452 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3453 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3454 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3455 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3456 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3457 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3458 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3459 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3460 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3461 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3462 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3463 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3464
cc67478e
JM
3465 [BZ #17589]
3466 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3467 of fgets_unlocked.
3468
9975e3d3
JM
3469 [BZ #17585]
3470 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3471 (memmem): Rename to __memmem and define as weak alias of
3472 __memmem. Use libc_hidden_weak.
3473 (__memmem): Use libc_hidden_def.
3474 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3475 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3476 memmem.
3477
c4eae752
JM
3478 [BZ #17582]
3479 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3480 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3481 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3482 and define as weak alias of __fgets_unlocked. Use
3483 libc_hidden_weak.
3484 (__fgets_unlocked): Use libc_hidden_def.
3485 * include/stdio.h (__fgets_unlocked): Declare. Use
3486 libc_hidden_proto.
3487 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3488 __fgets_unlocked instead of fgets_unlocked.
3489 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3490 (GET_NPROCS_CONF_PARSER): Likewise.
3491 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3492 (GET_NPROCS_CONF_PARSER): Likewise.
3493
01cad84e
JM
3494 [BZ #17574]
3495 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3496 weak alias of __wmemset. Use libc_hidden_weak.
3497 (__wmemset): Use libc_hidden_def.
3498 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3499 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3500 of wmemset.
3501
939da411
JM
3502 [BZ #17573]
3503 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3504 with asm name __mempcpy.
3505 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3506
293d9a41
JM
3507 [BZ #17572]
3508 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3509 and define as weak alias of __rawmemchr.
3510 (__rawmemchr): Do not define as strong alias of rawmemchr.
3511
bef8fd60
JM
3512 [BZ #17571]
3513 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3514 alias of __qsort_r.
3515 (qsort): Call __qsort_r instead of qsort_r.
3516 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3517 (__qsort_r): Declare. Call libc_hidden_proto.
3518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3519 instead of qsort_r.
3520 * nscd/gai.c (__qsort_r): Define to qsort_r.
3521 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3522 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3523 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3524
c52ff39e
JM
3525 [BZ #17570]
3526 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3527 define as weak alias of __malloc_info.
3528
2f5c1b00
JM
3529 [BZ #17584]
3530 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3531 as weak alias of __rewinddir. Don't use libc_hidden_def.
3532 (__rewinddir): Use libc_hidden_def.
3533 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3534 as weak alias of __rewinddir. Don't use libc_hidden_def.
3535 (__rewinddir): Use libc_hidden_def.
3536 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3537 weak alias of __rewinddir. Don't use libc_hidden_def.
3538 (__rewinddir): Use libc_hidden_def.
3539 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3540 (__rewinddir): Use libc_hidden_proto.
3541 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3542 rewinddir.
3543 (__getcwd): Use __rewinddir instead of rewinddir.
3544
5a6fa4d7
JM
3545 [BZ #17583]
3546 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3547 alias of __fileno. Use libc_hidden_weak.
3548 (__fileno): Use libc_hidden_def.
3549 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3550 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3551 alias of __ftello.
3552 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3553 __ftello.
3554 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3555 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3556 libc_hidden_def.
3557 (fread_unlocked): Don't use libc_hidden_ver.
3558 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3559 and define as weak alias of __fread_unlocked. Don't use
3560 libc_hidden_def.
3561 (__fread_unlocked): Use libc_hidden_def.
3562 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3563 (ftello): Don't use libc_hidden_proto.
3564 (__ftello): Declare. Use libc_hidden_proto.
3565 (fread_unlocked): Don't use libc_hidden_proto.
3566 (__fread_unlocked): Declare. Use libc_hidden_proto.
3567 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3568 and __ftello instead of fileno, fread_unlocked and ftello.
3569
2581b98e
SP
35702012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3571
3572 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3573 GOT12.
3574 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3575 Likewise.
3576 (_dl_start_user): Likewise.
3577 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3578
533bb7c2
SP
35792014-11-12 Carlos O'Donell <carlos@redhat.com>
3580 Siddhesh Poyarekar <siddhesh@redhat.com>
3581
3582 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3583 Move argv and envp down instead of moving argc up.
3584 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3585
fffa1cf8
LH
35862014-11-12 Leonhard Holz <leonhard.holz@web.de>
3587
3588 [BZ #17506]
3589 * test-skeleton.c (main): Return successful if one of
3590 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3591 * string/tst-strcoll-overflow.c: Define expected status.
3592
fb89b46d
TU
35932014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3594
3595 [BZ #17475]
3596 * locale/iso-639.def: Define Bhili and Tulu language codes.
3597
5c40c3ba
AH
35982014-11-11 Alan Hayward <alan.hayward@arm.com>
3599
3600 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3601
b17fe01b 36022014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
3603
3604 [BZ #17555]
3605 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3606
bd805071
AS
36072014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3608
3609 * configure.ac: Updated check of minimal required version to
3610 2.22.
3611 * manual/install.texi (Tools for Compilation): Updated version
3612 number.
3613 * configure: Regenerated.
3614 * INSTALL: Likewise.
3615
1400983e
AS
36162014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3617
3618 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3619 __tls_get_addr.
3620
2c46a66a
JM
36212014-11-07 Joseph Myers <joseph@codesourcery.com>
3622
3623 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3624 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3625 (__waitpid): Don't define as alias. Use libc_hidden_def not
3626 libc_hidden_weak.
3627 (waitpid): Define as alias of __waitpid.
3628 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3629 __waitpid.
3630 (__waitpid): Don't define as alias. Use libc_hidden_def not
3631 libc_hidden_weak.
3632 (waitpid): Define as alias of __waitpid.
3633 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3634 __libc_waitpid alias.
3635 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3636 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3637 Likewise.
3638 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3639 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3640 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3641 alias.
3642 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3643 __waitpid.
3644 (__waitpid): Don't define as alias. Use libc_hidden_def not
3645 libc_hidden_weak.
3646 (waitpid): Define as alias of __waitpid.
3647
da53d6db
CD
36482014-11-06 Carlos O'Donell <carlos@redhat.com>
3649
a2887bdb
CD
3650 * manual/llio.texi: Add comment that write safety has been
3651 fixed in Linux.
3652
da53d6db
CD
3653 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3654 (localplt-build-dso): Add elf/ld.so.
3655 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3656 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3657 and free for ld.so.
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3659 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3661 Likewise.
3662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3663 Likewise.
3664 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3665 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3666 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3667 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3668 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3669 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3670 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3671 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3672 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3673 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3674 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3675
9cf27b8d
JM
36762014-11-05 Joseph Myers <joseph@codesourcery.com>
3677
3678 [BZ #14132]
3679 * include/libc-symbols.h (INTUSE): Remove macro.
3680 (INTDEF): Likewise.
3681 (INTVARDEF): Likewise.
3682 (_INTVARDEF): Likewise.
3683 (INTDEF2): Likewise.
3684 (INTVARDEF2): Likewise.
3685 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3686 rtld_hidden_def instead of INTVARDEF.
3687 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3688 (_dl_starting_up_internal): Remove declaration.
3689 (_dl_starting_up): Use rtld_hidden_proto.
3690 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3691 declaration.
3692 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3693 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3694 _dl_starting_up.
3695 * elf/dl-writev.h (_dl_writev): Likewise.
3696 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3697 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3698 _dl_starting_up_internal.
3699
af83568d
AZ
37002014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3701
3702 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3703 test-skeleton.c.
3704
b01ee67c
WN
37052014-11-05 Will Newton <will.newton@linaro.org>
3706
3707 * benchtests/Makefile: (bench-malloc): Add malloc thread
3708 scalability benchmark.
3709 * benchtests/bench-malloc-threads.c: New file.
3710
be9d4ccc
RE
37112014-11-05 Richard Earnshaw <rearnsha@arm.com>
3712
3713 * sysdeps/aarch64/strchrnul.S: New file.
3714
7110166d
AZ
37152014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3716
3717 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3718 definition.
3719 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3720 Likwise.
3721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3722 Likewise.
3723 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3724 Likewise.
3725 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3726 Likewise.
3727 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3728 Likewise.
3729
37302014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
3731
3732 * catgets/test-gencat.c: Use test-skeleton.c.
3733 * catgets/tst-catgets.c: Likewise.
3734 * csu/tst-empty.c: Likewise.
3735 * elf/tst-audit2.c: Likewise.
3736 * elf/tst-global1.c: Likewise.
3737 * elf/tst-pathopt.c: Likewise.
3738 * elf/tst-piemod1.c: Likewise.
3739 * elf/tst-tls10.c: Likewise.
3740 * elf/tst-tls11.c: Likewise.
3741 * elf/tst-tls12.c: Likewise.
3742 * gnulib/tst-gcc.c: Likewise.
3743 * iconvdata/tst-e2big.c: Likewise.
3744 * iconvdata/tst-loading.c: Likewise.
3745 * iconv/tst-iconv1.c: Likewise.
3746 * iconv/tst-iconv2.c: Likewise.
3747 * inet/test-inet6_opt.c: Likewise.
3748 * inet/tst-gethnm.c: Likewise.
3749 * inet/tst-network.c: Likewise.
3750 * inet/tst-ntoa.c: Likewise.
3751 * intl/tst-codeset.c: Likewise.
3752 * intl/tst-gettext2.c: Likewise.
3753 * intl/tst-gettext3.c: Likewise.
3754 * intl/tst-ngettext.c: Likewise.
3755 * intl/tst-translit.c: Likewise.
3756 * io/test-stat.c: Likewise.
3757 * libio/test-fmemopen.c: Likewise.
3758 * libio/tst-freopen.c: Likewise.
3759 * libio/tst-sscanf.c: Likewise.
3760 * libio/tst-ungetwc1.c: Likewise.
3761 * libio/tst-ungetwc2.c: Likewise.
3762 * libio/tst-widetext.c: Likewise.
3763 * localedata/tst-ctype.c: Likewise.
3764 * localedata/tst-digits.c: Likewise.
3765 * localedata/tst-leaks.c: Likewise.
3766 * localedata/tst-mbswcs1.c: Likewise.
3767 * localedata/tst-mbswcs2.c: Likewise.
3768 * localedata/tst-mbswcs3.c: Likewise.
3769 * localedata/tst-mbswcs4.c: Likewise.
3770 * localedata/tst-mbswcs5.c: Likewise.
3771 * localedata/tst-setlocale.c: Likewise.
3772 * localedata/tst-trans.c: Likewise.
3773 * localedata/tst-wctype.c: Likewise.
3774 * localedata/tst-xlocale1.c: Likewise.
3775 * login/tst-grantpt.c: Likewise.
3776 * malloc/tst-calloc.c: Likewise.
3777 * malloc/tst-malloc.c: Likewise.
3778 * malloc/tst-mallocstate.c: Likewise.
3779 * malloc/tst-mcheck.c: Likewise.
3780 * malloc/tst-mtrace.c: Likewise.
3781 * malloc/tst-obstack.c: Likewise.
3782 * math/atest-exp2.c: Likewise.
3783 * math/atest-exp.c: Likewise.
3784 * math/atest-sincos.c: Likewise.
3785 * math/test-matherr.c: Likewise.
3786 * math/test-misc.c: Likewise.
3787 * math/test-powl.c: Likewise.
3788 * math/tst-definitions.c: Likewise.
3789 * misc/tst-dirname.c: Likewise.
3790 * misc/tst-efgcvt.c: Likewise.
3791 * misc/tst-fdset.c: Likewise.
3792 * misc/tst-hsearch.c: Likewise.
3793 * misc/tst-mntent2.c: Likewise.
3794 * nptl/tst-sem7.c: Likewise.
3795 * nptl/tst-sem8.c: Likewise.
3796 * nptl/tst-sem9.c: Likewise.
3797 * nss/test-netdb.c: Likewise.
3798 * posix/tst-fnmatch.c: Likewise.
3799 * posix/tst-getlogin.c: Likewise.
3800 * posix/tst-gnuglob.c: Likewise.
3801 * posix/tst-mmap.c: Likewise.
3802 * pwd/tst-getpw.c: Likewise.
3803 * resolv/tst-inet_ntop.c: Likewise.
3804 * rt/tst-timer.c: Likewise.
3805 * stdio-common/test-fseek.c: Likewise.
3806 * stdio-common/test-popen.c: Likewise.
3807 * stdio-common/test-vfprintf.c: Likewise.
3808 * stdio-common/tst-cookie.c: Likewise.
3809 * stdio-common/tst-fileno.c: Likewise.
3810 * stdio-common/tst-gets.c: Likewise.
3811 * stdio-common/tst-obprintf.c: Likewise.
3812 * stdio-common/tst-perror.c: Likewise.
3813 * stdio-common/tst-sprintf2.c: Likewise.
3814 * stdio-common/tst-sprintf3.c: Likewise.
3815 * stdio-common/tst-sprintf.c: Likewise.
3816 * stdio-common/tst-swprintf.c: Likewise.
3817 * stdio-common/tst-tmpnam.c: Likewise.
3818 * stdio-common/tst-unbputc.c: Likewise.
3819 * stdio-common/tst-wc-printf.c: Likewise.
3820 * stdlib/tst-environ.c: Likewise.
3821 * stdlib/tst-fmtmsg.c: Likewise.
3822 * stdlib/tst-limits.c: Likewise.
3823 * stdlib/tst-rand48-2.c: Likewise.
3824 * stdlib/tst-rand48.c: Likewise.
3825 * stdlib/tst-random2.c: Likewise.
3826 * stdlib/tst-random.c: Likewise.
3827 * stdlib/tst-strtol.c: Likewise.
3828 * stdlib/tst-strtoll.c: Likewise.
3829 * stdlib/tst-tls-atexit.c: Likewise.
3830 * stdlib/tst-xpg-basename.c: Likewise.
3831 * string/test-ffs.c: Likewise.
3832 * string/tst-bswap.c: Likewise.
3833 * string/tst-inlcall.c: Likewise.
3834 * string/tst-strtok.c: Likewise.
3835 * string/tst-strxfrm.c: Likewise.
3836 * sysdeps/x86_64/tst-audit10.c: Likewise.
3837 * sysdeps/x86_64/tst-audit3.c: Likewise.
3838 * sysdeps/x86_64/tst-audit4.c: Likewise.
3839 * sysdeps/x86_64/tst-audit5.c: Likewise.
3840 * time/tst-ftime_l.c: Likewise.
3841 * time/tst-getdate.c: Likewise.
3842 * time/tst-mktime3.c: Likewise.
3843 * time/tst-mktime.c: Likewise.
3844 * time/tst-posixtz.c: Likewise.
3845 * time/tst-strptime2.c: Likewise.
3846 * time/tst-strptime3.c: Likewise.
3847 * wcsmbs/tst-btowc.c: Likewise.
3848 * wcsmbs/tst-mbrtowc.c: Likewise.
3849 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3850 * wcsmbs/tst-wchar-h.c: Likewise.
3851 * wcsmbs/tst-wcpncpy.c: Likewise.
3852 * wcsmbs/tst-wcrtomb.c: Likewise.
3853 * wcsmbs/tst-wcsnlen.c: Likewise.
3854 * wcsmbs/tst-wcstof.c: Likewise.
3855
2004e7fb
JM
38562014-11-04 Joseph Myers <joseph@codesourcery.com>
3857
ab97ee8f
JM
3858 [BZ #14132]
3859 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3860 INTDEF.
3861 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3862 declaration.
3863 (_dl_mcount): Use rtld_hidden_proto.
3864 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3865 _dl_mcount.
3866 * elf/rtld.c (_rtld_global_ro): Likewise.
3867
c5684fdb
JM
3868 [BZ #14132]
3869 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3870 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3871 of _dl_init_internal.
3872 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3873 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3874 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3875 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3876 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3877 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3878 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3879 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3880 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3881 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3882 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3883 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3884 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3885 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3886 * sysdeps/tile/dl-start.S (_start): Likewise.
3887 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3888 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3889
4243cbea
JM
3890 [BZ #14132]
3891 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3892 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3893 (rtld_progname): Make macro definition unconditional.
3894 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3895 INTDEF.
3896 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3897 (dl_main): Likewise.
3898 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3899 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3900 instead of _dl_argv_internal.
3901 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3902 __GI__dl_argv instead of INTUSE(_dl_argv).
3903 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3904 __GI__dl_argv instead of _dl_argv_internal.
3905
2004e7fb
JM
3906 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3907 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3908 macro.
3909 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3910 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3911 New macro.
3912 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3913 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3914 macro.
3915 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3916 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3917
97827bfc
AS
39182014-11-04 Andreas Schwab <schwab@suse.de>
3919
3920 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3921
5e4df284
AZ
39222014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923
3924 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3925 mtvsrd instruction in binary form.
3926
04b76b5a
AS
39272014-11-03 Andreas Schwab <schwab@suse.de>
3928
3929 [BZ #17522]
3930 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3931 for less than MB_LEN_MAX use a local buffer of that size.
3932 * libio/tst-fputws.c: New file.
3933 * libio/Makefile (tests): Add tst-fputws.
3934
4c6da7da
JM
39352014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3936
3937 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3938 the size of the fpu_fr.fpu_dregs[] array.
3939
1679ba8e
JM
39402014-11-01 Joseph Myers <joseph@codesourcery.com>
3941
3942 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3943 (__nanosleep): Do not define as alias.
3944 (nanosleep): Define as alias of __nanosleep.
3945 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3946 __libc_nanosleep name.
3947
2626c183
JM
39482014-10-31 Joseph Myers <joseph@codesourcery.com>
3949
3950 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3951 install.texi in comment.
3952
7f981fc2
TR
39532014-10-31 Torvald Riegel <triegel@redhat.com>
3954
3955 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3956 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3957 ... add here and use lwsync or sync ...
3958 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3959 ... and add here using lwsync.
3960
d6f373d2
MF
39612014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3962
3963 * elf/dl-machine-reject-phdr.h: New file.
3964 * elf/dl-load.c: #include that.
3965 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3966 if that returned true.
3967
67c37987
RM
39682014-10-31 Roland McGrath <roland@hack.frob.com>
3969
3970 [BZ #17496]
3971 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3972 gen-as-const-headers chunk. Add a big scare comment after the last
3973 safe place to touch before-compile.
3974
94a42455 39752014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 3976
f3f5d895
JM
3977 * manual/install.texi (Tools for Compilation): Update autoconf
3978 version requirements.
3979 * INSTALL: Regenerated.
3980
f62ff286
JM
3981 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3982 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3983 (__libc_pselect): Likewise.
94a42455
JM
3984
3985 [BZ #14138]
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3990
ff9dbdc0
TR
39912014-10-31 Torvald Riegel <triegel@redhat.com>
3992
3993 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3994 correct barrier instruction.
3995 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3996 Likewise.
3997 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3998 Likewise.
3999
b4f66884
RM
40002014-10-30 Roland McGrath <roland@hack.frob.com>
4001
4002 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4003 after defining inlines. Instead, just use parens to defeat macro
4004 expansion of __isctype in its declaration.
4005
e19c95fd
JM
40062014-10-30 Joseph Myers <joseph@codesourcery.com>
4007
4008 * include/sys/uio.h (__libc_readv): Remove declaration.
4009 (__libc_writev): Likewise.
4010 * misc/readv.c (__libc_readv): Rename to __readv.
4011 (__readv): Do not define as alias.
4012 (readv): Define as alias of __readv.
4013 * misc/writev.c (__libc_writev): Rename to __writev.
4014 (__writev): Do not define as alias.
4015 (writev): Define as alias of __writev.
4016 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4017 (__readv): Do not define as alias.
4018 (readv): Define unconditionally as alias of __readv.
4019 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4020 (__writev): Do not define as alias.
4021 (writev): Define unconditionally as alias of __writev.
4022 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4023 name.
4024 (writev): Do not define __libc_writev name.
4025
65b00b6c
RM
40262014-10-30 Roland McGrath <roland@hack.frob.com>
4027
4028 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4029 (convert_charseq): New function, broken out of ...
4030 (use_from_charmap): ... here. Call it.
4031 (use_to_charmap): Use convert_charseq and free instead of duplicating
4032 its code with a variable-length stack struct.
4033
d4e157aa
JM
40342014-10-30 Joseph Myers <joseph@codesourcery.com>
4035
4036 * include/fcntl.h (__libc_creat): Remove declaration.
4037 * io/creat.c (__libc_creat): Rename to creat.
4038 (creat): Do not define as alias.
4039 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4040 of creat instead of __libc_creat.
4041 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4042 to creat.
4043 (creat): Do not define as alias.
4044 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4045 __libc_creat.
4046 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4047 __libc_creat name.
4048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4049 Likewise.
4050
0c6891a0
CD
40512014-10-29 Carlos O'Donell <carlos@redhat.com>
4052
4053 * manual/llio.texi: Add comments discussing why write() may be
4054 considered MT-unsafe on Linux.
4055
cc00cece
CD
40562014-10-28 Carlos O'Donell <carlos@redhat.com>
4057
4058 * dl-load.c (local_strdup): Remove.
4059 (expand_dynamic_string_token): Use __strdup.
4060 (decompose_rpath): Likewise.
4061 (_dl_map_object): Likewise.
4062
51e623f2
JM
40632014-10-28 Joseph Myers <joseph@codesourcery.com>
4064
4065 [BZ #14132]
4066 * sysdeps/generic/unwind-dw2-fde.c
4067 (__register_frame_info_bases_internal): Do not declare.
4068 (__register_frame_info_table_bases_internal): Likewise.
4069 (__deregister_frame_info_bases_internal): Likewise.
4070 (__register_frame_info_bases): Declare and use hidden_proto before
4071 definition. Use hidden_def instead of INTDEF.
4072 (__register_frame_info_table_bases): Likewise.
4073 (__deregister_frame_info_bases): Likewise.
4074 (__register_frame_info): Do not use INTUSE.
4075 (__register_frame): Likewise.
4076 (__register_frame_info_table): Likewise.
4077 (__register_frame_table): Likewise.
4078 (__deregister_frame_info): Likewise.
4079 (__deregister_frame): Likewise.
4080
03d41216
GC
40812014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4082
4083 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4084 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4085 not undefine.
4086 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4087 Likewise.
4088 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4089 Likewise.
4090
a4b3624d
JM
40912014-10-27 Joseph Myers <joseph@codesourcery.com>
4092
4093 [BZ #14138]
4094 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4095 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4096 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4097 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4098 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4099 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4100 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4101 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4102 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4103 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4104 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4105 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4106 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4107 syscall.
4108 (setfsuid): Likewise.
4109 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4110 (setfsuid): Likewise.
4111 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4112 (setfsuid): Likewise.
4113 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4114 Likewise.
4115 (setfsuid): Likewise.
4116 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4117 (setfsuid): Likewise.
4118 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4119 Likewise.
4120 (setfsuid): Likewise.
4121
3574f2fd
AS
41222014-10-27 Andreas Schwab <schwab@suse.de>
4123
4124 [BZ #17501]
4125 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4126 check for Slow_SSE4_2 feature bit.
4127 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4128 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4129 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4130 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4131
70996a37
RM
41322014-10-24 Roland McGrath <roland@hack.frob.com>
4133
461a7b1e
RM
4134 * configure.ac: Validate compiler version with a empirical test of
4135 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4136 $CC -v output.
4137 * configure: Regenerated.
4138
70996a37
RM
4139 * inet/htons.c (htons): Prototypify.
4140 * inet/htonl.c (htonl): Likewise.
4141
e80514b5
WD
41422014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4143
4144 * string/strncat.c (strncat): Improve performance by using strlen.
4145
6e46de42
WD
41462014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4147
4148 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4149
6a9ad2fa
WD
41502014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4151
4152 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4153 Call libc_fetestexcept_aarch64.
4154
1c8810ed
WD
41552014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4156
4157 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4158 Call libc_feholdexcept_aarch64.
4159
8b1af712
WD
41602014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4161
4162 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4163 Call get_rounding_mode.
4164
a7b00c11
WD
41652014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4166
4167 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4168 Simplify logic.
4169
3a84f1a6
WD
41702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4171
4172 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4173 Simplify logic.
4174
48eb7a94
JM
41752014-10-24 Joseph Myers <joseph@codesourcery.com>
4176
c8bc4038
JM
4177 [BZ #14138]
4178 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4179 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4180 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4181 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4182 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4183 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4184 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4185 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4186 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4187 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4188 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4189 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4190 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4191 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4192 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4193 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4194 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4195 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4196 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4197 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4198 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4199 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4200 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4201 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4202 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4203 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4204 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4205 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4206 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4207 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4208 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4209 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4210 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4211 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4212 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4213 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4215 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4216 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4217 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4218 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4219 syscall.
4220 (geteuid): Likewise.
4221 (getgid): Likewise.
4222 (getuid): Likewise.
4223 (getresgid): Likewise.
4224 (getresuid): Likewise.
4225 (getgroups): Likewise.
4226 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4227 (geteuid): Likewise.
4228 (getgid): Likewise.
4229 (getuid): Likewise.
4230 (getresgid): Likewise.
4231 (getresuid): Likewise.
4232 (getgroups): Likewise.
4233 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4234 (geteuid): Likewise.
4235 (getgid): Likewise.
4236 (getuid): Likewise.
4237 (getresgid): Likewise.
4238 (getresuid): Likewise.
4239 (getgroups): Likewise.
4240 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4241 Likewise.
4242 (geteuid): Likewise.
4243 (getgid): Likewise.
4244 (getuid): Likewise.
4245 (getresgid): Likewise.
4246 (getresuid): Likewise.
4247 (getgroups): Likewise.
4248 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4249 (geteuid): Likewise.
4250 (getgid): Likewise.
4251 (getuid): Likewise.
4252 (getresgid): Likewise.
4253 (getresuid): Likewise.
4254 (getgroups): Likewise.
4255 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4256 Likewise.
4257 (geteuid): Likewise.
4258 (getgid): Likewise.
4259 (getuid): Likewise.
4260 (getgroups): Likewise.
4261
48eb7a94
JM
4262 [BZ #14138]
4263 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4264 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4265 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4266 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4267 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4268 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4269 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4270 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4271 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4272 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4273 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4274 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4275 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4276 __chown.
4277 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4278 (lchown): Likewise.
4279 (fchown): Likewise.
4280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4281 Likewise.
4282 (lchown): Likewise.
4283 (fchown): Likewise.
4284 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4285 (lchown): Likewise.
4286 (fchown): Likewise.
4287 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4288 Likewise.
4289 (lchown): Likewise.
4290 (fchown): Likewise.
4291
ea9a7c8b
WD
42922014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4293
4294 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4295 Simplify logic.
4296
e226de33
WD
42972014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4298
4299 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4300 Cleanup logic.
4301
6e3d8ed3
WD
43022014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4303
4304 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4305 Remove unused include.
4306
eb04247d
WD
43072014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4308
4309 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4310 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4311 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4312 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4313
13d84554
CD
43142014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4315 Helge Deller <deller@gmx.de>
4316
4317 [BZ #17508]
4318 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4319 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4320 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4321
15f9c5df
JM
43222014-10-23 Joseph Myers <joseph@codesourcery.com>
4323
4324 [BZ #14132]
4325 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4326 Remove macro definition.
4327 (__ashrdi3_v_glibc20): Likewise.
4328 (__lshrdi3_v_glibc20): Likewise.
4329 (__cmpdi2_v_glibc20): Likewise.
4330 (__ucmpdi2_v_glibc20): Likewise.
4331 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4332 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4333 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4334 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4335 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4336 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4337
c6dfed24
RM
43382014-10-22 Roland McGrath <roland@hack.frob.com>
4339
4340 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4341 old GNU extension [0] syntax.
4342 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4343 alloca rather than an array member with variable length.
4344 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4345 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4346 (parse_opt): ... here. Likewise use alloca there.
4347 Validate the -i argument before checking for rootness.
4348 (send_shutdown): New function, broken out of ...
4349 (parse_opt): ... here.
4350
8c2b1ed8
RM
43512014-10-22 Roland McGrath <roland@hack.frob.com>
4352
4353 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4354 macro to get at the _rt_local_ro field.
4355 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4356 ([PIC] case) or _dl_hwcap ([!PIC] case).
4357 * sysdeps/arm/setjmp.S: Likewise.
4358
4359 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4360 * sysdeps/arm/configure.ac: New check to define it.
4361 * sysdeps/arm/configure: Regenerated.
4362 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4363 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4364 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4365 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4366 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4367 Use move/movt pair instead of a load.
4368 (LDST_GLOBAL): Macro removed.
4369 (LDR_GLOBAL): New macro replaces it.
4370 (LDR_HIDDEN): New macro.
4371 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4372 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4373
4374 * setjmp/tst-setjmp-static.c: New file.
4375 * setjmp/Makefile (tests): Add it.
4376 (tests-static): New variable.
4377
b5af9297
MR
43782014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4379
4380 [BZ #17485]
4381 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4382
a13d0d74
JM
43832014-10-21 Joseph Myers <joseph@codesourcery.com>
4384
4385 [BZ #14132]
4386 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4387
f05e73f6
RM
43882014-10-21 Roland McGrath <roland@hack.frob.com>
4389
4390 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4391
6ab1d1ea
RM
43922014-10-20 Roland McGrath <roland@hack.frob.com>
4393
4394 * io/fts.c (dirent_not_directory): New function.
4395 (fts_build): Call it.
4396
ab49e763
RM
43972014-10-20 Roland McGrath <roland@hack.frob.com>
4398
e436eb79
RM
4399 * nptl/version.c (__nptl_main): Use normal __write rather than
4400 INTERNAL_SYSCALL.
4401 (banner): Update copyright years.
4402
6af246cf
RM
4403 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4404 gettimeofday.
4405 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4406 * nptl/pthread_cond_timedwait.c: Likewise.
4407 * nptl/pthread_mutex_timedlock.c: Likewise.
4408 * nptl/sem_timedwait.c: Likewise.
4409
ab49e763
RM
4410 * sysdeps/nptl/bits/libc-lock.h
4411 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4412 (__libc_lock_init_recursive): Return void, not 0.
4413 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4414 (__libc_rwlock_init): Likewise.
4415 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4416
f50277c1
TR
44172014-10-20 Torvald Riegel <triegel@redhat.com>
4418
4419 [BZ #15215]
4420 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4421 (__pthread_once_slow): ... here.
4422 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4423 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4424
63668b70
TR
44252014-10-20 Torvald Riegel <triegel@redhat.com>
4426
4427 [BZ #15215]
4428 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4429 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4430 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4431 * nptl/pthread_once.c (__pthread_once): Likewise.
4432 Update comments.
4433
42b7f5d4
JM
44342014-10-20 Joseph Myers <joseph@codesourcery.com>
4435
4436 [BZ #14138]
4437 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4438 name.
4439 (writev): Use __libc_writev as strong name.
4440 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4441 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4442
b0643088
RM
44432014-10-17 Roland McGrath <roland@hack.frob.com>
4444
114c4e09
RM
4445 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4446
674b8978
RM
4447 * sysdeps/i386/nptl/tls.h
4448 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4449 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4450 New macros.
4451 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4452 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4453 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4454 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4455 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4456 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4457
184ee940
RM
4458 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4459 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4460 on [__NR_futex].
4461 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4462 broken out of ...
4463 (__pthread_mutex_init): ... here. Call it.
4464 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4465 Conditionalize PI cases on [__NR_futex].
4466 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4467 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4468 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4469
327ae257
RM
4470 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4471 conditional on [SIGSETXID].
4472 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4473 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4474 is defined. Likewise for SIGSETXID.
4475 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4476 Conditionalize definitions on [SIGSETXID].
4477 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4478 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4479 unblocking on [SIGCANCEL].
4480
b0643088
RM
4481 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4482 [__NR_set_robust_list].
4483
33cc770b
SP
44842014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4485
4486 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4487 (do_compare): Likewise.
4488
0742aef6
LH
44892014-10-17 Leonhard Holz <leonhard.holz@web.de>
4490
4491 [BZ #15884]
4492 * string/strcoll_l.c: Don't include stdio.h.
4493 (coll_seq): Remove members idxarr and rulearr.
4494 (get_next_seq_cached): Remove function.
4495 (get_next_seq): Likewise.
4496 (get_next_seq_nocache): Rename to get_next_seq.
4497 (do_compare): Remove function.
4498 (do_compare_nocache): Rename to do_compare.
4499 (STRCOLL): Remove weight and rules cache.
4500
ee54ce44
RM
45012014-10-16 Roland McGrath <roland@hack.frob.com>
4502
4503 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4504 * sysdeps/arm/sfp-machine.h: ... to here.
4505 * sysdeps/arm/Implies: Remove arm/soft-fp.
4506
a75d3b02
JM
45072014-10-14 Joseph Myers <joseph@codesourcery.com>
4508
4509 * conform/data/sys/utsname.h-data (*_t): Allow.
4510 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4511 [POSIX] (WEXITED): Do not expect constant.
4512 [POSIX] (WSTOPPED): Likewise.
4513 [POSIX] (WNOHANG): Likewise.
4514 [POSIX] (WNOWAIT): Likewise.
4515 [POSIX] (siginfo_t): Do not expect type or elements.
4516 [POSIX] (pid_t): Do not expect type.
4517 [POSIX] (signal.h): Do not allow header.
4518 [POSIX] (sys/resource.h): Likewise.
4519 [POSIX] (si_*): Do not allow pattern.
4520 [POSIX] (W*): Likewise.
4521 [POSIX] (P_*): Likewise.
4522 [POSIX] (BUS_*): Likewise.
4523 [POSIX] (CLD_*): Likewise.
4524 [POSIX] (FPE_*): Likewise.
4525 [POSIX] (ILL_*): Likewise.
4526 [POSIX] (POLL_*): Likewise.
4527 [POSIX] (SEGV_*): Likewise.
4528 [POSIX] (SI_*): Likewise.
4529 [POSIX] (TRAP_*): Likewise.
4530 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4531 variable.
4532
fda389c8
SP
45332014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4534
4535 [BZ #12926]
4536 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4537 infinite loop when __recvmsg returns 0.
4538
6bc6bd3b
JM
45392014-10-10 Joseph Myers <joseph@codesourcery.com>
4540
fcb32af1
JM
4541 * CANCEL-FCT-WAIVE: Remove file.
4542 * CANCEL-FILE-WAIVE: Likewise.
4543
6bc6bd3b
JM
4544 [BZ #14132]
4545 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4546 instead of INTVARDEF.
4547 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4548 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4549 rtld_hidden_data_def instead of INTVARDEF.
4550 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4551 * elf/dl-deps.c (expand_dst): Likewise.
4552 * elf/dl-load.c (_dl_dst_count): Likewise.
4553 (_dl_dst_substitute): Likewise.
4554 (decompose_rpath): Likewise.
4555 (_dl_init_paths): Likewise.
4556 (open_path): Likewise.
4557 (_dl_map_object): Likewise.
4558 * elf/rtld.c (dl_main): Likewise.
4559 (process_dl_audit): Likewise.
4560 (process_envvars): Likewise.
4561 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4562 Remove declaration.
4563 (__libc_enable_secure): Use rtld_hidden_proto.
4564
b8c80a7e
KS
45652014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4566
4567 * elf/dl-load.c
4568 (add_path): New function broken out of _dl_rtld_di_serinfo.
4569 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4570
ff12c11f
JM
45712014-10-09 Joseph Myers <joseph@codesourcery.com>
4572
5c0508a3
JM
4573 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4574 parentheses around macro arguments.
4575 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4576 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4577 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4578 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4579 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4580 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4581 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4582 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4583 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4584 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4585 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4586 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4587 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4588 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4589 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4590 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4591 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4592 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4594 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4595 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4596 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4597 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4598 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4599 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4600 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4601 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4602 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4603 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4604 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4605 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4606 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4607 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4608 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4609 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4610 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4611 Likewise.
4612 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4613 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4614 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4615 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4616 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4617 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4618 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4619 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4620 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4621 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4622 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4623 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4624 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4625 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4626 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4627 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4628 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4629 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4630 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4631 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4632 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4633 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4634 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4635 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4636 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4637 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4638 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4639 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4640 (_FP_FRAC_SRS_1): Likewise.
4641 (_FP_FRAC_CLZ_1): Likewise.
4642 (_FP_MUL_MEAT_1_imm): Likewise.
4643 (_FP_MUL_MEAT_1_wide): Likewise.
4644 (_FP_MUL_MEAT_1_hard): Likewise.
4645 (_FP_SQRT_MEAT_1): Likewise.
4646 (_FP_FRAC_ASSEMBLE_1): Likewise.
4647 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4648 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4649 (__FP_CLZ_2): Likewise.
4650 (_FP_MUL_MEAT_2_wide): Likewise.
4651 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4652 (_FP_MUL_MEAT_2_gmp): Likewise.
4653 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4654 (_FP_SQRT_MEAT_2): Likewise.
4655 (_FP_FRAC_ASSEMBLE_2): Likewise.
4656 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4657 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4658 (_FP_FRAC_CLZ_4): Likewise.
4659 (_FP_MUL_MEAT_4_wide): Likewise.
4660 (_FP_MUL_MEAT_4_gmp): Likewise.
4661 (_FP_SQRT_MEAT_4): Likewise.
4662 (_FP_FRAC_ASSEMBLE_4): Likewise.
4663 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4664 * soft-fp/op-common.h (_FP_CMP): Likewise.
4665 (_FP_CMP_EQ): Likewise.
4666 (_FP_CMP_UNORD): Likewise.
4667 (_FP_TO_INT): Likewise.
4668 (_FP_FROM_INT): Likewise.
4669 [!__FP_CLZ] (__FP_CLZ): Likewise.
4670 (_FP_DIV_HELP_imm): Likewise.
4671 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4672 Likewise.
4673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4674 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4675 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4676 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4677 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4678 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4679 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4680 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4683 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4684 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4685 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4686 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4687 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4688 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4689 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4690 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4692 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4694 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4695 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4696 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4697 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4698 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4699 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4700 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4701 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4702 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4703 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4704 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4705 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4706 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4707 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4708 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4709 (FP_UNPACK_RAW_SP): Likewise.
4710 (FP_PACK_RAW_S): Likewise.
4711 (FP_PACK_RAW_SP): Likewise.
4712 (FP_UNPACK_S): Likewise.
4713 (FP_UNPACK_SP): Likewise.
4714 (FP_UNPACK_SEMIRAW_S): Likewise.
4715 (FP_UNPACK_SEMIRAW_SP): Likewise.
4716 (FP_PACK_S): Likewise.
4717 (FP_PACK_SP): Likewise.
4718 (FP_PACK_SEMIRAW_S): Likewise.
4719 (FP_PACK_SEMIRAW_SP): Likewise.
4720 (_FP_SQRT_MEAT_S): Likewise.
4721 (FP_CMP_S): Likewise.
4722 (FP_CMP_EQ_S): Likewise.
4723 (FP_CMP_UNORD_S): Likewise.
4724 (FP_TO_INT_S): Likewise.
4725 (FP_FROM_INT_S): Likewise.
4726
a736ec37
JM
4727 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4728
ff12c11f
JM
4729 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4730 (FP_EX_INVALID_IMZ): Likewise.
4731 (FP_EX_INVALID_IMZ_FMA): Likewise.
4732 (FP_EX_INVALID_ISI): Likewise.
4733 (FP_EX_INVALID_ZDZ): Likewise.
4734 (FP_EX_INVALID_IDI): Likewise.
4735 (FP_EX_INVALID_SQRT): Likewise.
4736 (FP_EX_INVALID_CVI): Likewise.
4737 (FP_EX_INVALID_VC): Likewise.
4738 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4739 "invalid" exceptions.
4740 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4741 (_FP_ADD_INTERNAL): Likewise.
4742 (_FP_MUL): Likewise.
4743 (_FP_FMA): Likewise.
4744 (_FP_DIV): Likewise.
4745 (_FP_CMP_CHECK_NAN): Likewise.
4746 (_FP_SQRT): Likewise.
4747 (_FP_TO_INT): Likewise.
4748 (FP_EXTEND): Likewise.
4749
b6dcfe8c
AM
47502014-10-09 Allan McRae <allan@archlinux.org>
4751
4752 * po/fr.po: Update French translation from translation project.
4753
2d6a47ba
JM
47542014-10-09 Joseph Myers <joseph@codesourcery.com>
4755
cb831245
JM
4756 [BZ #14132]
4757 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4758 of INTDEF.
4759 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4760 (__cxa_atexit): Use libc_hidden_proto.
4761 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4762
5deeb190
JM
4763 [BZ #14132]
4764 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4765 declaration.
4766 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4767 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4768 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4769 [!_ISOMAC] (__iswctype_internal): Likewise.
4770 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4771 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4772 alias.
4773 (fcntl): Remove __fcntl_internal alias.
4774 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4775 __connect_internal alias.
4776 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4777 Likewise.
4778
454ac701
JM
4779 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4780 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4781 FP_DENORM_ZERO.
4782 (_FP_CHECK_FLUSH_ZERO): New macro.
4783 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4784 (_FP_CMP): Likewise.
4785 (_FP_CMP_EQ): Likewise.
4786 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4787 FP_DENORM_ZERO.
4788 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4789 (FP_TRUNC): Likewise.
4790
0022e688
JM
4791 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4792 treated as invalid conversion, not as normal exponent.
4793
73e28d9c
JM
4794 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4795 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4796 (_FP_CMP_EQ): Likewise.
4797 (_FP_CMP_UNORD): Likewise.
4798 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4799 (FP_CMP_EQ_D): Likewise.
4800 (FP_CMP_UNORD_D): Likewise.
4801 * soft-fp/extended.h (FP_CMP_E): Likewise.
4802 (FP_CMP_EQ_E): Likewise.
4803 (FP_CMP_UNORD_E): Likewise.
4804 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4805 (FP_CMP_EQ_Q): Likewise.
4806 (FP_CMP_UNORD_Q): Likewise.
4807 * soft-fp/single.h (FP_CMP_S): Likewise.
4808 (FP_CMP_EQ_S): Likewise.
4809 (FP_CMP_UNORD_S): Likewise.
4810 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4811 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4812 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4813 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4814 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4815 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4816 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4817 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4818 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4819 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4820 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4821 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4822 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4823 to FP_CMP_Q.
4824 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4825 FP_CMP_Q.
4826 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4827 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4828 FP_CMP_EQ_Q.
4829 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4830 FP_CMP_Q.
4831 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4832 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4833 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4834 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4835 FP_CMP_EQ_Q.
4836 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4837 FP_CMP_Q.
4838 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4839 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4840 FP_CMP_EQ_Q.
4841 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4842 FP_CMP_Q.
4843 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4844 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4845 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4846 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4847 FP_CMP_EQ_Q.
4848
43059f42
JM
4849 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4850 a subnormal result, set the underflow exception if trapping on
4851 underflow is enabled.
4852 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4853 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4854 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4855 redefine to 0.
4856 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4857 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4858 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4859 * soft-fp/extendxftf2.c (__extendxftf2): Use
4860 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4861
2d6a47ba
JM
4862 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4863 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4864 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4865 FP_HANDLE_EXCEPTIONS.
4866 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4867 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4868 FP_HANDLE_EXCEPTIONS.
4869 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4870 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4871 FP_HANDLE_EXCEPTIONS.
4872 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4873 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4874 FP_HANDLE_EXCEPTIONS.
4875
620f462e
JM
48762014-10-08 Joseph Myers <joseph@codesourcery.com>
4877
4878 [BZ #14132]
4879 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4880 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4881 use INTUSE.
4882 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4883 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4884 Remove alias.
4885 (__adjtimex): Define using libc_hidden_ver.
4886 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4887 Remove declaration.
4888 (ntp_gettime): Call __adjtimex directly.
4889 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4890 Remove declaration.
4891 (ntp_gettimex): Call __adjtimex directly.
4892 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4893 __adjtimex_internal alias.
4894
c763c5d2
RM
48952014-10-08 Roland McGrath <roland@hack.frob.com>
4896
4897 [BZ #17460]
4898 * nscd/nscd.c (more_help): Rewrite list of tables collection
4899 using xstrdup and asprintf.
4900
4901 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4902
7b8fb2b8
RM
49032014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4904 Roland McGrath <roland@hack.frob.com>
4905
4906 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4907 (do_lookup_unique): ... local function 'enter' here; update callers.
4908
abb280f7
JM
49092014-10-06 Joseph Myers <joseph@codesourcery.com>
4910
f7b42517
JM
4911 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4912 compat_symbol calls on [SHARED].
4913 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4914 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4915 Remove.
4916 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4917 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4918 (oldsetrlimit): Remove.
4919 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4921 (lchown): New syscall entry.
4922 (oldsetrlimit): Remove.
4923 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4925 (oldsetrlimit): Remove.
4926 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4927
abb280f7
JM
4928 [BZ #14138]
4929 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4930 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4931 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4932 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4933 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4934 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4935 (fchown): Likewise.
4936 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4937 (fchown): Likewise.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4939 Likewise.
4940
47d46237
AZ
49412014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4942
4943 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4944 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4945 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4946 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4947 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4948 Likewise.
4949 (__old_sem_post): Likewise.
4950
49512014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 4952
845a7343
CM
4953 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4954 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4955 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4956 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4957 Use INLINE_VSYSCALL macro.
4958 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4959 __vdso_clock_gettime.
4960 * sysdeps/unix/sysv/linux/tile/init-first.c
4961 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4962 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4963 __vdso_clock_gettime.
4964
83d641ef
CM
4965 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4966 to set up frame more cleanly.
4967
d9cd52e6
CM
4968 * sysdeps/tile/memcmp.c: New file.
4969
4b68ea11
CM
4970 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4971
c86f7b80
CM
4972 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4973 * sysdeps/tile/tilegx/strcasestr.c: New file.
4974 * sysdeps/tile/tilegx/strnlen.c: New file.
4975 * sysdeps/tile/tilegx/strstr.c: New file.
4976
1c4c1a6f
CM
4977 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4978
99d86ea3
AS
49792014-10-06 Arjun Shankar <arjun.is@lostca.se>
4980
4981 * nptl/tst-setuid3.c: Write errors to stdout.
4982
06210a44
KS
49832014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4984
4985 * elf/dl-deps.c
4986 (preload): New functions broken out of _dl_map_object_deps.
4987 (_dl_map_object_deps): Remove a nested function. Update call sites.
4988
6268f532
JM
49892014-10-01 Joseph Myers <joseph@codesourcery.com>
4990
4991 [BZ #14138]
4992 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4993 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4994
b925285f
SE
49952014-10-01 Steve Ellcey <sellcey@mips.com>
4996
4997 * sysdeps/mips/strcmp.S: New.
4998
754a15c6
JM
49992014-09-30 Joseph Myers <joseph@codesourcery.com>
5000
5001 [BZ #14138]
5002 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5003 (linkat): Likewise.
5004 (mkdirat): Likewise.
5005 (readlinkat): Likewise.
5006 (renameat): Likewise.
5007 (symlinkat): Likewise.
5008 (unlinkat): Likewise.
5009 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5010 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5011 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5012 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5013 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5014 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5015 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5016
85bb81c9
WN
50172014-09-30 Will Newton <will.newton@linaro.org>
5018
dc6fe23b
WN
5019 * math/math.h: Define long double math functions if
5020 _LIBC_TEST is defined.
5021 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5022
85bb81c9
WN
5023 * localedata/Makefile: Move assignment to tests-special
5024 into an ifdef testing run-built-tests.
5025 * timezone/Makefile: Likewise.
5026
b7e02da4
JM
50272014-09-29 Joseph Myers <joseph@codesourcery.com>
5028
5029 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5030 with $(BASH) not $(SHELL).
5031
62058ce6
CD
50322014-09-29 Carlos O'Donell <carlos@redhat.com>
5033 Matthew LeGendre <legendre1@llnl.gov>
5034
5035 [BZ #17411]
5036 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5037 l_reloc_result.
5038
8e257a29
KS
50392014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5040
5041 * stdio-common/printf_fp.c
5042 (hack_digit): New function, broken out of ...
5043 (__printf_fp): ... local function here. Update call sites.
5044 hack_digit now takes an additional parameter that is a pointer
5045 to a struct of the referenced locals. Those locals moved inside
5046 the struct and references updated.
5047
f4a58f0d
L
50482014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5049
5050 * aclocal.m4: Require autoconf 2.69.
5051 * configure: Regenerated.
5052 * sysdeps/aarch64/configure: Likewise.
5053 * sysdeps/alpha/configure: Likewise.
5054 * sysdeps/arm/armv7/configure: Likewise.
5055 * sysdeps/arm/configure: Likewise.
5056 * sysdeps/ia64/configure: Likewise.
5057 * sysdeps/mach/configure: Likewise.
5058 * sysdeps/mips/configure: Likewise.
5059 * sysdeps/s390/configure: Likewise.
5060 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5062
5063 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5064 file.
5065 * sysdeps/ia64/configure.ac: Likewise.
5066
93ae1eba
JM
50672014-09-26 Joseph Myers <joseph@codesourcery.com>
5068
1810d3ab
JM
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5070 specify symbol version for ld.so. Do not include entry for
5071 libpthread.
5072 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5073 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5074 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5075
93ae1eba
JM
5076 [BZ #14171]
5077 * Makeconfig [$(build-shared) = yes]
5078 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5079 makefiles.
5080 [$(build-shared) = yes && $(soversions.mk-done) = t]
5081 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5082 [$(build-shared) = yes && $(soversions.mk-done) = t]
5083 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5084 to Makerules.
5085 [$(build-shared) = yes && $(soversions.mk-done) = t]
5086 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5087 here.
5088 [$(build-shared) = yes && $(soversions.mk-done) = t]
5089 (common-generated): Don't append gnu/lib-names.h and
5090 gnu/lib-names.stmp here.
5091 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5092 (lib-names-h-abi): New variable.
5093 [$(build-shared) = yes && $(soversions.mk-done) = t]
5094 (lib-names-stmp-abi): Likewise.
5095 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5096 abi-variants] (before-compile): Append
5097 $(common-objpfx)$(lib-names-h-abi).
5098 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5099 abi-variants] (common-generated): Append gnu/lib-names.h.
5100 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5101 abi-variants] (install-others-nosubdir): Depend on
5102 $(inst_includedir)/$(lib-names-h-abi).
5103 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5104 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5105 [$(build-shared) = yes && $(soversions.mk-done) = t]
5106 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5107 [$(build-shared) = yes && $(soversions.mk-done) = t]
5108 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5109 [$(build-shared) = yes && $(soversions.mk-done) = t]
5110 (common-generated): Append $(lib-names-h-abi) and
5111 $(lib-names-stmp-abi).
5112 * scripts/lib-names.awk: Do not handle multi being set.
5113 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5114 Remove variable.
5115 (abi-lp64_be-ld-soname): Likewise.
5116 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5117 Likewise.
5118 (abi-hard-ld-soname): Likewise.
5119 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5120 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5121 Remove variable.
5122 (abi-o32_hard-ld-soname): Likewise.
5123 (abi-o32_soft_2008-ld-soname): Likewise.
5124 (abi-o32_hard_2008-ld-soname): Likewise.
5125 (abi-n32_soft-ld-soname): Likewise.
5126 (abi-n32_hard-ld-soname): Likewise.
5127 (abi-n32_soft_2008-ld-soname): Likewise.
5128 (abi-n32_hard_2008-ld-soname): Likewise.
5129 (abi-n64_soft-ld-soname): Likewise.
5130 (abi-n64_hard-ld-soname): Likewise.
5131 (abi-n64_soft_2008-ld-soname): Likewise.
5132 (abi-n64_hard_2008-ld-soname): Likewise.
5133 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5134 Likewise.
5135 (abi-64-v2-ld-soname): Likewise.
5136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5137 ld.so entries.
5138 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5139 variable.
5140 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5141 entry.
5142 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5143 variable.
5144 (abi-64-ld-soname): Likewise.
5145 (abi-x32-ld-soname): Likewise.
5146 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5147 entry.
5148 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5149
68870f12
JM
51502014-09-23 Joseph Myers <joseph@codesourcery.com>
5151
5152 [BZ #14138]
5153 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5154 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5155 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5156 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5157 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5158 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5159 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5160 syscall entry for GLIBC_2.2 symbol version.
5161 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5162 Likewise.
5163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5164 (setrlimit): Likewise.
5165 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5166 Likewise.
5167
ea58f202
WN
51682014-09-23 Will Newton <will.newton@linaro.org>
5169
5170 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5171 _LINUX_ARM_SYSDEP_H include guard too.
5172 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5173 define.
5174
69eb9a18
RV
51752014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5176
5177 * sysdeps/unix/sysv/linux/eventfd.c:
5178 Make first argument unsigned.
5179 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5180 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5181
20e5a5f7
OB
51822014-09-20 Ondřej Bílka <neleai@seznam.cz>
5183
5184 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5185 * socket/sys/socket.h: Likewise
5186 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5187
d3c827e7
AK
51882014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5189
5190 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5191
fe1cc35a
AS
51922014-09-17 Arjun Shankar <arjun.is@lostca.se>
5193
5194 * time/tst-ftime.c: New test.
5195 * time/Makefile (tests): Add tst-ftime.
5196
4e8afe69
JM
51972014-09-17 Joseph Myers <joseph@codesourcery.com>
5198
c4fe3ea7
JM
5199 * soft-fp/extended.h: Fix comment formatting.
5200 * soft-fp/op-1.h: Likewise.
5201 * soft-fp/op-2.h: Likewise.
5202 * soft-fp/op-4.h: Likewise.
5203 * soft-fp/op-8.h: Likewise.
5204 * soft-fp/op-common.h: Likewise.
5205 * soft-fp/soft-fp.h: Likewise.
5206
4e8afe69
JM
5207 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5208
af296fcd
JM
52092014-09-16 Joseph Myers <joseph@codesourcery.com>
5210
5211 [BZ #6652]
5212 * Makeconfig (soversions-default-setname): Remove variable.
5213 ($(common-objpfx)soversions.i): Don't pass default_setname to
5214 soversions.awk.
5215 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5216 oldest_abi to abi-versions.awk.
5217 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5218 * config.make.in (oldest-abi): Remove variable.
5219 * configure.ac (--enable-oldest-abi): Remove configure option.
5220 * configure: Regenerated.
5221 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5222 text.
5223 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5224 * scripts/soversions.awk: Do not handle default_setname variable.
5225 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5226 variable.
5227 * sysdeps/mach/hurd/configure: Regenerated.
5228 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5229 variable.
5230 * sysdeps/unix/sysv/linux/configure: Regenerated.
5231
545583d6
SP
52322014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5233
d330b980
SP
5234 * elf/Makefile (CFLAGS-interp.c): Remove.
5235 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5236 path string.
5237 * elf/interp.c: Include generated runtime-linker.h
5238
02657da2
SP
5239 * Makerules (lib%.so): Don't include $(+interp) in
5240 prerequisites.
5241 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5242 * dlfcn/eval.c: Remove file.
5243
653b1080
SP
5244 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5245 macros.
5246
602f80ec
SP
5247 [BZ #17266]
5248 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5249 4.2 and newer.
5250
545583d6
SP
5251 [BZ #17370]
5252 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5253
884ddc50
SP
52542014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5255 Jakub Jelinek <jakub@redhat.com>
5256
5257 [BZ #17266]
5258 * libio/stdio.h: Check definition of __fortify_function
5259 instead of __extern_always_inline to include bits/stdio2.h.
5260 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5261 check if __extern_always_inline is defined.
5262 [__USE_MISC || __USE_XOPEN]: Likewise.
5263 [__USE_ISOC99] Likewise.
5264 * misc/sys/cdefs.h (__fortify_function): Define only if
5265 __extern_always_inline is defined.
5266 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5267 __extern_always_inline and __extern_inline only for g++-4.3
5268 and newer or a compatible gcc.
5269
a7b87268
AS
52702014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5271
5272 [BZ #17371]
5273 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5274 last change to handle zero prefix length.
5275
3f41521d
SP
52762014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5277
61fe374a
SP
5278 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5279 _SC_REGEX_VERSION.
5280
3f41521d
SP
5281 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5282 _POSIX_RAW_SOCKETS.
5283
d8f879ee
AM
52842014-09-13 Allan McRae <allan@archlinux.org>
5285
5286 * po/ru.po: Update Russian translation from translation project.
5287
c079afb7
RM
52882014-09-12 Roland McGrath <roland@hack.frob.com>
5289
a62b3c15
RM
5290 * locale/programs/locale.c (show_locale_vars): Inline local function
5291 into its sole call site. Clean up some style nits.
5292 (print_item): New function, broken out of ...
5293 (show_info): ... local function here. Clean up style nits.
5294
d7e49b19
RM
5295 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5296 out of ...
5297 (set_class_defaults): ... local function set_default here.
5298 Define set_default as a macro locally to pass constant parameters.
5299 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5300 rather than a shared local.
5301
c079afb7
RM
5302 * stdlib/rpmatch.c (try): New function, broken out of ...
5303 (rpmatch): ... local function here. Also, prototypify definition.
5304
0bd72468
JM
53052014-09-12 Joseph Myers <joseph@codesourcery.com>
5306
ba90e050
JM
5307 * scripts/soversions.awk: Do not handle configuration names.
5308 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5309 vendor and os variables to soversions.awk.
5310 * configure.ac: Do not modify gnu-* host_os.
5311 * configure: Regenerated
5312 * shlib-versions: Remove first column with configuration names.
5313 * nptl/shlib-versions: Likewise.
5314 * nptl_db/shlib-versions: Likewise.
5315 * sysdeps/hppa/shlib-versions: Likewise.
5316 * sysdeps/m68k/shlib-versions: Likewise.
5317 * sysdeps/mach/hurd/shlib-versions: Likewise.
5318 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5319 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5320 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5321 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5322 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5323 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5324 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5325 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5327 Likewise.
5328 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5329 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5330 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5331 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5332 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5333 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5334 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5335 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5336
73a39112
JM
5337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5338 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5340 Regenerated.
5341 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5343 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5344
c729e7c1
JM
5345 * shlib-versions: Remove OS-specific entries. Moved to files in
5346 sysdeps.
5347 * sysdeps/mach/hurd/shlib-versions: New file.
5348 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5349
dc932a24
JM
5350 * nptl/shlib-versions: Remove architecture-specific entries.
5351 Moved to files in sysdeps.
5352 * shlib-versions: Likewise.
5353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5354 file.
5355 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5356 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5357 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5358 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5359
0bd72468
JM
5360 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5361 (UDP_NO_CHECK6_RX): Likewise.
5362
920238e0
SP
53632014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5364
5365 * sysdeps/posix/sysconf.c (__sysconf): Spell
5366 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5367
ba7b4d29
FW
53682014-08-12 Florian Weimer <fweimer@redhat.com>
5369
5370 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5371 loading.
5372 * iconv/Versions (__gconv_transliterate): Export for use from
5373 gconv modules.
5374 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5375 (struct __gconv_trans_data, __gconv_trans_fct,
5376 __gconv_trans_context_fct, __gconv_trans_query_fct,
5377 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5378 definitions.
5379 (struct __gconv_step_data): Remove __trans member.
5380 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5381 longer hidden. Remove unused trans_data argument.
5382 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5383 (__gconv_translit_find): Remove declaration.
5384 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5385 prototype.
5386 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5387 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5388 trans_data argument. Add hidden definition.
5389 (__gconv_translit_find): Remove.
5390 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5391 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5392 * iconv/skeleton.c: Remove transliteration initialization.
5393 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5394 __gconv_step_data initialization.
5395 * libio/iofwide.c (__libio_translit_): Remove.
5396 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5397 * wcsmbs/btowc.c (__btowc): Likewise.
5398 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5399 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5400 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5401 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5402 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5403 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5404 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5405 * wcsmbs/wctob.c (wctob): Likewise.
5406
5379aebd
SP
54072014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5408
5409 [BZ #16194]
5410 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5411 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5412 register usage.
5413 * sysdeps/x86/Makefile: Adjust.
5414
8c0ab919
RM
54152014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5416 Roland McGrath <roland@hack.frob.com>
5417
5418 * locale/weight.h: Add include guard.
5419 (findidx): Make static rather than auto; take new parameters
5420 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5421 * locale/weightwc.h: Likewise.
5422 * posix/fnmatch_loop.c
5423 (FCT): Change type of EXTRA from int32_t to wint_t.
5424 Don't include either header inside the function.
5425 Call FINDIDX rather than findidx, and pass new arguments.
5426 #undef FINDIDX at the end of the file.
5427 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5428 FINDIDX before including fnmatch_loop.c for the non-wide version.
5429 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5430 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5431 for the wide version.
5432 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5433 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5434 Pass new arguments to findidx.
5435 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5436 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5437 Don't #include it inside the function. Pass new arguments to findidx.
5438 * posix/regex_internal.h
5439 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5440 (re_string_elem_size_at): Don't #include it inside the function.
5441 Pass new arguments to findidx.
5442 * string/strcoll_l.c: #include WEIGHT_H at top level.
5443 (get_next_seq): Don't #include it inside the function.
5444 Pass new arguments to findidx.
5445 (get_next_seq_nocache): Likewise.
5446 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5447 (STRXFRM): Don't #include it inside the function.
5448 Pass new arguments to findidx.
5449
52ffbdf2
FW
54502014-09-11 Florian Weimer <fweimer@redhat.com>
5451
5452 [BZ #17344]
5453 * malloc/malloc.c (unlink): Turn asserts into a call to
5454 malloc_printerr.
5455
984c0ea9
TL
54562014-09-11 Tim Lammens <tim.lammens@gmail.com>
5457
5458 [BZ #17370]
5459 * libio/wfileops (do_ftell_wide): Free OUT.
5460
3daee107
CM
54612014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5462
5463 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5464
58b930ae
SP
54652014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5466
5467 [BZ #17363]
5468 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5469 group if the current group is empty.
5470
3b473fec
AZ
54712014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472
71ae8647
AZ
5473 * benchtests/bench-memset.c (test_main): Add more test from size
5474 from 32 to 512 bytes.
5475 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5476 Add POWER8 memset object.
5477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5478 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5479 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5480 implementation.
5481 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5482 Likewise.
5483 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5484 multiarch POWER8 memset optimization.
5485 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5486 POWER8 memset optimization.
5487
3b473fec
AZ
5488 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5489 Remove bzero multiarch objects.
5490 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5491 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5492 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5493 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5494 Remove define.
5495 [__bzero]: Redefine to specific name.
5496 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5497 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5498 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5499 define.
5500 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5501 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5502
e6fb9587
FW
55032014-09-10 Florian Weimer <fweimer@redhat.com>
5504
5505 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5506 warnings into errors.
5507
5508 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5509 __cxa_thread_atexit_impl prototype.
5510
9d3a350b
SE
55112014-09-09 Steve Ellcey <sellcey@mips.com>
5512
5513 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5514 Fix capitalization of error message.
5515
0febba23
SE
55162014-09-09 Steve Ellcey <sellcey@mips.com>
5517
5518 * sysdeps/mips/preconfigure: Modify ABI tests.
5519
645a0e9c
CD
55202014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5521
5522 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5523
d83f0734
CD
55242014-09-07 Roland McGrath <roland@hack.frob.com>
5525 Carlos O'Donell <carlos@systemhalted.org>
5526
5527 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5528 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5529 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5530 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5531 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5532 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5533 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5534 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5535 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5536 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5537 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5538 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5539 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5540 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5541 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5542 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5543 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5544 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5545 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5546 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5547 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5548 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5549 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5550 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5551 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5552 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5553 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5554 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5555 Deconditionalize the code that was previously under [RESET_PID].
5556 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5557 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5558 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5559 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5560 include sysdep.h.
5561
21c83793
AM
55622014-09-08 Allan McRae <allan@archlinux.org>
5563
5564 * version.h (RELEASE): Set to "development".
5565 (VERSION): Set to "2.20.90"
5566
1cd9b65c
AM
55672014-09-07 Allan McRae <allan@archlinux.org
5568
b8079dd0
AM
5569 * version.h (RELEASE): Set to "stable".
5570 (VERSION): Set to "2.20"
5571 * include/features.h (__GLIBC_MINOR__): Set to 20.
5572
c46303ef
AM
5573 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5574 Liebler.
5575
1cd9b65c
AM
5576 * po/ko.po: Update Korean translation from translation project.
5577
8622092d
CM
55782014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5579
5580 [BZ #17354]
5581 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5582 macro for handling signed relocations.
5583
41488498
FW
55842014-09-03 Florian Weimer <fweimer@redhat.com>
5585
5586 [BZ #17325]
5587 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5588 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5589 assert.
5590 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5591 * iconvdata/ibm935.c (BODY): Likewise.
5592 * iconvdata/ibm937.c (BODY): Likewise.
5593 * iconvdata/ibm939.c (BODY): Likewise.
5594 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5595 assert.
5596 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5597 script.
5598 * iconvdata/run-iconv-test.sh: New test loop for checking for
5599 decoder crashers.
5600
a78b712d
KR
56012014-09-02 Khem Raj <raj.khem@gmail.com>
5602
5603 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5604 libm_hidden_ver.
5605
cb08abc6
AM
56062014-09-01 Allan McRae <allan@archlinux.org>
5607
2c31e102
AM
5608 * po/eo.po: Update Esperanto translation from translation project.
5609
cb08abc6
AM
5610 * po/ca.po: Update Catalan translation from translation project.
5611
17a62de1
ST
56122014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5613
5614 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5615 __proc_dostop call.
5616
9570bc53
MW
56172014-08-27 Mark Wielaard <mjw@redhat.com>
5618
5619 [BZ #17319]
5620 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5621 to call set_thread_area instead of hand written asm.
5622 (__NR_set_thread_area): Removed define.
5623 (TLS_FLAG_WRITABLE): Likewise.
5624 (__ASSUME_SET_THREAD_AREA): Remove check.
5625 (TLS_EBX_ARG): Remove define.
5626 (TLS_LOAD_EBX): Likewise.
5627
b0f955c9
ST
56282014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5629
5630 Simplify atomicity of socket creation in bind.
5631
5632 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5633 looking up the name after linking the file.
5634
529bf515
AM
56352014-08-27 Allan McRae <allan@archlinux.org>
5636
5637 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5638
a1a6a401
FW
56392014-08-26 Florian Weimer <fweimer@redhat.com>
5640
5641 [BZ #17187]
5642 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5643 trans_compare, open_translit, __gconv_translit_find):
5644 Remove module loading code.
5645
686ab290
AM
56462014-08-26 Allan McRae <allan@archlinux.org>
5647
e4e7cfd2
AM
5648 * po/vi.po: Update Vietnamese translation from translation project.
5649
6aa09f71
AM
5650 * po/uk.po: Update Ukrainian translation from translation project.
5651
edc0660e
AM
5652 * po/fr.po: Update French translation from translation project.
5653
7eea72ac
AM
5654 * po/ru.po: Update Russian translation from translation project.
5655
93c49eff
AM
5656 * po/pl.po: Update Polish translation from translation project.
5657
46acaf63
AM
5658 * po/cs.po: Update Czech translation from translation project.
5659
a9f5ce98
AM
5660 * po/de.po: Update German translation from translation project.
5661
373f2b78
AM
5662 * po/bg.po: Update Bulgarian translation from translation project.
5663
e7548bd8
AM
5664 * po/sv.po: Update Sweedish translation from translation project.
5665
c526bf4d
AM
5666 * po/nl.po: Update Dutch translation from translation project.
5667
686ab290
AM
5668 * po/es.po: Update Spanish translation from translation project.
5669
eb72478a
SP
56702014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5671
dd763fdb
SP
5672 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5673
318c7a58
SP
5674 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5675 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5676 (CPPFLAGS-iconvconfig): Likewise.
5677 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5678
eb72478a
SP
5679 * include/libc-symbols.h: Remove unnecessary check for
5680 NOT_IN_libc.
5681 * nptl/pthreadP.h: Likewise.
5682 * sysdeps/aarch64/setjmp.S: Likewise.
5683 * sysdeps/alpha/setjmp.S: Likewise.
5684 * sysdeps/arm/sysdep.h: Likewise.
5685 * sysdeps/i386/setjmp.S: Likewise.
5686 * sysdeps/m68k/setjmp.c: Likewise.
5687 * sysdeps/posix/getcwd.c: Likewise.
5688 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5689 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5690 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5691 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5692 * sysdeps/sh/sh3/setjmp.S: Likewise.
5693 * sysdeps/sh/sh4/setjmp.S: Likewise.
5694 * sysdeps/unix/alpha/sysdep.h: Likewise.
5695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5697 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5698 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5701 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5703 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5706 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5708 * sysdeps/x86_64/setjmp.S: Likewise.
5709
d44a052c
JM
57102014-08-13 Joseph Myers <joseph@codesourcery.com>
5711
5712 [BZ #17263]
5713 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5714 <stdint.h>.
5715 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5716 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5717
508ce3ac
SP
57182014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5719
e44c8b0e
SP
5720 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5721
508ce3ac
SP
5722 [BZ #17262]
5723 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5724 and __x86_64__ when disabling x87 inline functions.
5725
b4acef1f
L
57262014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5727
5728 [BZ #17259]
5729 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5730 asm statement with __cpuid_count.
5731
61b1ef6e
MF
57322014-08-12 Mike Frysinger <vapier@gentoo.org>
5733
5734 * configure.ac: Change __ehdr_start code to dereference the struct.
5735 Run readelf on the output to look for relocations.
5736 * configure: Regenerated.
5737
898c62f4
JM
57382014-08-12 Joseph Myers <joseph@codesourcery.com>
5739
5740 [BZ #17261]
5741 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5742 value to 0.
5743 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5744
9a8a5720
RM
57452014-08-12 Roland McGrath <roland@hack.frob.com>
5746
5747 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5748
4e75751c
BO
57492014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5750
5751 [BZ #16892]
5752 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5753 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5754
bb2ce416
SA
57552014-08-12 Sean Anderson <seanga2@gmail.com>
5756
5757 * malloc/malloc.c: Fix typo in comment.
5758
7950a4ee
AM
57592014-08-09 Allan McRae <allan@archlinux.org>
5760
5761 * Regenerate libc.po.
5762
f469c49f
MF
57632014-08-08 Mike Frysinger <vapier@gentoo.org>
5764
5765 * intl/tst-gettext2.sh: Check every lang file for creation.
5766
656b84c2
WD
57672014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5768
5769 * sysdeps/aarch64/fpu/math_private.h
5770 (libc_feholdsetround_noex_aarch64_ctx): New function.
5771
538e9e45
W
57722014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5773
5774 * sysdeps/arm/armv6/strcpy.S (strcpy):
5775 Fix performance issue in misaligned cases.
5776
d4795e4a
AZ
57772014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5778
5779 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5780 Move definition from termios.h.
5781 (struct termio): Likewise.
5782 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5783 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5784 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5785 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5786 Likewise.
5787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5788 Move definition to ioctl-types.h
5789 (struct termio): Likewise.
5790 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5791 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5792 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5793 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5794 Likewise.
5795
64accb62
RH
57962014-08-05 Richard Henderson <rth@redhat.com>
5797
27bb6dc0
RH
5798 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5799 exceptions.
5800 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5801 Add fraiseexcpt.
5802 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5803 Use __feraiseexcept.
5804 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5805 Protect libm symbols with IS_IN_libm.
5806
64accb62
RH
5807 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5808
e5292691
BO
58092014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5810
5811 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5812
5b4bd2d4
WN
58132014-08-04 Will Newton <will.newton@linaro.org>
5814
5815 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5816 file.
5817
fcadaeef
MF
58182014-08-04 Mike Frysinger <vapier@gentoo.org>
5819
5820 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5821 variants for each function.
5822
43a94c64
RM
58232014-08-04 Roland McGrath <roland@hack.frob.com>
5824
5825 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5826 appended ...
5827 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5828 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5829 appended ...
5830 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5831 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5832 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5833 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5834 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5835 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5836 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5837 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5838 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5839 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5852 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5856 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5857 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5858 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5859 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5860 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5861 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5862 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5864 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5865 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5866 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5867 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5868 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5869 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5870 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5871 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5872 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5873 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5874 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5875 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5876 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5877 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5878 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5879 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5880 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5881 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5882 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5883 Update #include.
5884 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5885 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5886
8f3c1fa4
RM
58872014-08-04 Roland McGrath <roland@hack.frob.com>
5888
5889 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5890 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5891 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5892 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5893 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5894 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5895
ca08746f
RM
58962014-08-04 Roland McGrath <roland@hack.frob.com>
5897
5898 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5899 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5900 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5901 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5902
9c925ff9
RM
59032014-08-04 Roland McGrath <roland@hack.frob.com>
5904
5905 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5906 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5907 (__libc_vfork): Define function under this name.
5908 (__vfork): Define as an alias.
5909 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5910 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5911
e641054c
RM
59122014-08-04 Roland McGrath <roland@hack.frob.com>
5913
5914 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5915 that was previously under [RESET_PID].
5916 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5917
dacdc867
AS
59182014-08-04 Andreas Schwab <schwab@suse.de>
5919
5920 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5921
41f725ff
MF
59222014-08-03 Mike Frysinger <vapier@gentoo.org>
5923
5924 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5925 (main): Likewise.
5926
277cfb31
RM
59272014-08-01 Roland McGrath <roland@hack.frob.com>
5928
5929 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5930
4896f049
RH
59312014-08-01 Richard Henderon <rth@redhat.com>
5932
5933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5934 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5935 typo in exact zero test.
5936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5937 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5939
6f64e7d7
RM
59402014-08-01 Roland McGrath <roland@hack.frob.com>
5941
5942 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5943 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5944 * sysdeps/arm/sysdep.h: ... here.
5945 [!__ASSEMBLER__]: Include <stdint.h>.
5946
3f3dd810
SP
59472014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5948
a476ac4b
SP
5949 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5950 (HAVE_WCTYPE_H): Likewise.
5951 (HAVE_ISWCTYPE): Likewise.
5952 (ENABLE_NLS): Likewise.
5953 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5954 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5955
78dd658a
SP
5956 * posix/regex_internal.c: Check if DEBUG is defined and is
5957 set.
5958
3f3dd810
SP
5959 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5960 (HAVE_MBSRTOWCS): Likewise.
5961 * posix/fnmatch.c: Include string.h unconditionally.
5962
95ee7fb1
SL
59632014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5964
5965 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5966 reversal.
5967
23fe486b
RM
59682014-07-31 Roland McGrath <roland@hack.frob.com>
5969
f61a113f
RM
5970 * sysdeps/generic/safe-fatal.h: New file.
5971 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5972 * nptl/forward.c: Include it.
5973 (__pthread_unwind): Use __safe_fatal as default action, rather
5974 than a bogus use of INTERNAL_SYSCALL that could never work.
5975
9fe7e787
RM
5976 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5977 * configure.ac (libc_cv_builtin_trap): New test.
5978 * configure: Regenerated.
5979 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5980 (ABORT_INSTRUCTION): Define using __builtin_trap.
5981
23fe486b
RM
5982 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5983 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5984 * sysdeps/nptl/nptl-signals.h: New file.
5985 * nptl/pthreadP.h: Include <nptl-signals.h>.
5986
f349489e
SL
59872014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5988
5989 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5990 (ONE_DIRECTION): Define.
5991 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5992 (ONE_DIRECTION): Define.
5993 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5994 (ONE_DIRECTION): Define.
5995
2f438e20
SL
59962014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5997
5998 * sysdeps/s390/Makefile: Delete file.
5999 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6000 * sysdeps/s390/__longjmp.c: Delete file.
6001 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6002 Remove fields __flags and __reserved.
6003 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6004 and add versioning.
6005 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6006 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6007 * sysdeps/s390/rtld-setjmp.S: Likewise.
6008 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6009 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6010 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6011 * sysdeps/s390/s390-32/setjmp.S: ... here.
6012 Add versioning.
6013 (__sigsetjmp): Remove setting __flags field.
6014 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6015 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6016 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6017 * sysdeps/s390/s390-64/setjmp.S: ... here.
6018 Add versioning.
6019 (__sigsetjmp): Remove setting __flags field.
6020 * sysdeps/s390/setjmp.S: Delete file.
6021 * sysdeps/s390/sigjmp.c: Likewise.
6022 * sysdeps/s390/v1-longjmp.c: Likewise.
6023 * sysdeps/s390/v1-setjmp.h: Likewise.
6024 * sysdeps/s390/v1-sigjmp.c: Likewise.
6025 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6026 Remove v1-longjmp_chk.
6027 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6028 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6029 Include debug/longjmp_chk.c and add versioning.
6030 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6031 Include nptl/pt-longjmp.c and add versioning.
6032 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6033 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6034 Include __longjmp.c.
6035 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6036 Move to ...
6037 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6038 (__getcontext): Remove setting __flags field.
6039 Add versioning.
6040 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6041 Don't restore upper high grps.
6042 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6043 Likewise.
6044 (__swapcontext): Remove setting uc_flags field.
6045 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6046 Delete file.
6047 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6048 Include __longjmp.c.
6049 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6050 Move to ...
6051 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6052 (__getcontext): Remove setting __flags field.
6053 Add versioning.
6054 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6055 (__swapcontext): Remove setting uc_flags field.
6056 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6057 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6058 Remove fields uc_high_gprs and __reserved.
6059 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6060 New file with reverted content.
6061 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6062 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6063 Regenerated.
6064 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6065 Regenerated.
6066
6c9578a2
AS
60672014-07-31 Andreas Schwab <schwab@suse.de>
6068
6069 * config.h.in (HAVE_IFUNC): Define to 0.
6070 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6071 definedness.
6072
05f3633d
LM
60732014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6074
6075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6076 memmove-avx-unaligned, memcpy-avx-unaligned and
6077 mempcpy-avx-unaligned.
6078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6079 Add tests for AVX memcpy functions.
6080 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6081 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6082 memcpy_chk.
6083 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6084 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6085 memmove_chk.
6086 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6087 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6088 mempcpy_chk.
6089 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6090 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6091 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6092
a53fbd8e
AZ
60932013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6094
6095 [BZ #17213]
6096 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6097 powerpc64le.
6098
0961f7e1
JL
60992014-07-29 Jeff Layton <jlayton@poochiereds.net>
6100
6101 [BZ #16839]
6102 * manual/llio.texi: Add section about open file description locks.
6103 * manual/examples/ofdlocks.c: Example of open file description
6104 lock usage.
6105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6106 F_OFD_SETLK, and F_OFD_SETLKW.
6107
cc5fb300
AM
61082014-07-23 Allan McRae <allan@archlinux.org>
6109
6110 * po/es.po: Update Spanish translation from translation project.
6111
23329dca
AS
61122014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6113
6114 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6115
9c82da17
MR
61162014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6117
6118 [BZ #17078]
6119 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6120 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6121 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6122
29c4f53e
JM
61232014-07-17 Joseph Myers <joseph@codesourcery.com>
6124
831b9896
JM
6125 [BZ #17088]
6126 * math/fesetenv.c (__fesetenv)
6127 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6128 * math/feupdateenv.c (__feupdateenv)
6129 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6130
b21c2d50
JM
6131 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6132 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6133 (__ASSUME_SOCKETCALL): Do not define.
6134
067764ef
JM
6135 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6136 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6137 (__ASSUME_SOCKETCALL): Do not define.
6138 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6139 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6140 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6141 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6142 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6143 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6144 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6145 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6146
642530c1
JM
6147 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6148 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6149 (__ASSUME_SOCKETCALL): Do not define.
6150 (__ASSUME_IPC64): Define unconditionally.
6151 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6152 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6153 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6154 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6155 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6156 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6157 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6158 Likewise.
6159
03f77315
JM
6160 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6161 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6162 (__ASSUME_SOCKETCALL): Do not define.
6163 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6164 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6165 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6166 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6167 (__ASSUME_REQUEUE_PI): Define unconditionally.
6168 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6169 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6170 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6171 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6172 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6173 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6174
083b1f7c
JM
6175 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6176 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6177 (__ASSUME_SOCKETCALL): Do not define.
6178 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6179 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6180 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6181 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6182 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6183 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6184
5be44ea6
JM
6185 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6186 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6187 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6188 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6189 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6190 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6191 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6192 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6193 (__ASSUME_GETCPU_SYSCALL): Likewise.
6194
d95ffd4c
JM
6195 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6196 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6197 cases for individual architectures.
6198 * sysdeps/gnu/configure: Regenerated.
6199 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6200 LIBC_SLIBDIR_RTLDDIR.
6201 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6202 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6203 LIBC_SLIBDIR_RTLDDIR.
6204 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6206 LIBC_SLIBDIR_RTLDDIR.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6208 Regenerated.
6209 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6210 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6211 file.
6212 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6213 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6214 file.
6215 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6216 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6217 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6219
29c4f53e
JM
6220 * sysdeps/aarch64/shlib-versions: Move to ...
6221 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6222 * sysdeps/alpha/shlib-versions: Move to ...
6223 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6224 * sysdeps/arm/shlib-versions: Move to ...
6225 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6226 * sysdeps/hppa/shlib-versions: Move all contents except for
6227 libgcc_s entry to ...
6228 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6229 entry from ...
6230 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6231 * sysdeps/ia64/shlib-versions: Move to ...
6232 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6233 entry from ...
6234 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6235 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6236 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6237 * sysdeps/microblaze/shlib-versions: Move to ...
6238 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6239 * sysdeps/mips/shlib-versions: Move to ...
6240 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6241 entry from ...
6242 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6243 * sysdeps/tile/shlib-versions: Move to ...
6244 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6245 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6246 from ...
6247 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6248 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6249 entry from ...
6250 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6251
32bead5b
WN
62522014-07-17 Will Newton <will.newton@linaro.org>
6253
57977c4b
WN
6254 * sysdeps/arm/bits/atomic.h
6255 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6256 (__arch_compare_and_exchange_bool_16_int): Likewise.
6257 (__arch_compare_and_exchange_bool_64_int): Likewise.
6258
32bead5b
WN
6259 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6260 into an #else block.
6261
37fccd41
RM
62622014-07-16 Roland McGrath <roland@hack.frob.com>
6263
6264 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6265 just Linux configurations. Test empirically that the compiler sets
6266 __ARM_EABI__, rather than using the tuple to decide.
6267 * sysdeps/arm/preconfigure: Regenerated.
6268 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6269 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6270 contents appended ...
6271 * sysdeps/arm/configure.ac: ... here.
6272 * sysdeps/arm/configure: Regenerated.
6273
b365f3ec
RM
62742014-07-15 Roland McGrath <roland@hack.frob.com>
6275
8badf496
RM
6276 * nptl/pthread_kill.c: New file.
6277 * nptl/pthread_sigmask.c: New file.
6278 * nptl/pthread_sigqueue.c: New file.
6279
3df6f22e
RM
6280 * sysdeps/nptl/lowlevellock.h: New file.
6281 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6282 * sysdeps/nptl/lowlevellock-futex.h: New file.
6283
b365f3ec
RM
6284 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6285 Remove dead declarations.
6286
f2fef657
L
62872014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6288
6289 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6290 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6291 config-cflags-avx2.
6292 * sysdeps/x86_64/configure.ac: Likewise.
6293 * sysdeps/i386/configure: Regenerated.
6294 * sysdeps/x86_64/configure: Likewise.
6295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6296 memset-avx2 only if config-cflags-avx2 is yes.
6297 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6298 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6299 defined.
6300 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6301 only if HAVE_AVX2_SUPPORT is defined.
6302 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6303
f6c44d47
AM
63042014-07-14 Alan Modra <amodra@gmail.com>
6305
6306 [BZ #17153]
6307 * elf/elf.h (DT_PPC64_NUM): Correct value.
6308 * NEWS: Add to fixed bug list.
6309
7ee03f00
JM
63102014-07-13 Jim Meyering <meyering@fb.com>
6311
6312 [BZ 17150]
6313 regex: don't deref NULL upon heap allocation failure
6314 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6315 failure in one more place.
6316 To trigger the segfault, configure grep -with-included-regex,
6317 build it, and run these commands:
6318 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6319
9d39d517
AS
63202014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6321
6322 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6323
a75b89b7
RH
63242014-07-11 Richard Henderson <rth@redhat.com>
6325
6326 * sysdeps/aarch64/libm-test-ulps: Update.
6327
771eb141
FW
63282014-07-10 Florian Weimer <fweimer@redhat.com>
6329
6330 [BZ #17135]
6331 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6332 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6333 (__nptl_setxid): Initialize error member. Call
6334 __nptl_setxid_error.
6335 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6336 * nptl/descr.h (struct xid_command): Add error member.
6337 * nptl/tst-setuid3.c: New file.
6338 * nptl/Makefile (tests): Add it.
6339
bc1da176
AZ
63402014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6341
6342 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6343 New define.
6344 (__lll_trylock): Use __lll_base_trylock.
6345 (__lll_cond_trylock): Likewise.
6346
887865fc
RM
63472014-07-10 Roland McGrath <roland@hack.frob.com>
6348
c0c6bac9
RM
6349 * nptl/pthread_create.c (start_thread): Use atomic_or and
6350 lll_futex_wake directly rather than lll_robust_dead.
6351 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6352 (lll_robust_dead): Macro removed.
6a42be57 6353 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6354 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6355 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6356 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6357 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6358 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6359 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6360 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6361 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6362 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6363 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6364 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6365 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6366 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6367 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6368
887865fc
RM
6369 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6370 Use atomic_compare_and_exchange_val_acq directly rather than
6371 lll_robust_trylock.
6372 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6373 (__lll_robust_trylock, lll_robust_trylock): Removed.
6374 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6375 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6376 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6377 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6378 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6379 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6380 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6381 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6382 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6383 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6384 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6385 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6386 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6387 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6388
58536726
FW
63892014-07-02 Florian Weimer <fweimer@redhat.com>
6390
6391 * manual/locale.texi (Locale Names): New section documenting
6392 locale name syntax. Adjust menu and node chaining accordingly.
6393 (Choosing Locale): Reference Locale Names, Locale Categories.
6394 Mention setting LC_ALL=C. Reflect that name syntax is now
6395 documented.
6396 (Locale Categories): New section title. Reference Locale Names.
6397 LC_ALL is an environment variable, but not a category.
6398 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6399 description, now in Locale Name. Reference that section. Locale
6400 name syntax is now documented.
6401
4e8f95a0
FW
64022014-07-02 Florian Weimer <fweimer@redhat.com>
6403
6404 [BZ #17137]
6405 * locale/findlocale.c (name_present, valid_locale_name): New
6406 functions.
6407 (_nl_find_locale): Use the loc_name variable to store name
6408 candidates. Call name_present and valid_locale_name to check and
6409 validate locale names. Return an error if the locale is invalid.
6410
d1836456
FW
64112014-07-02 Florian Weimer <fweimer@redhat.com>
6412
6413 * locale/setlocale.c (setlocale): Use strdup for allocating
6414 composite name copy.
6415
d69b7f5a
SP
64162014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6417
888c679b
SP
6418 Sync up with gnulib.
6419 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6420 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6421 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6422 and _GL_ARG_NONNULL.
6423 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6424 [!_LIBC]: Include code for Windows and Cygwin.
6425 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6426 Include prototype for int strerror_r.
6427 [!_LIBC] (is_open): New function.
6428 (flush_stdout): New function.
6429 (print_errno_message): Use it.
6430 (error): Likewise.
6431 (error_at_line): Likewise.
6432 (error_tail) Add function attribute macros. Use
6433 __builtin_expect.
6434
180e0e4b
SP
6435 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6436
d22f1fe2
SP
6437 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6438
12f2254b
SP
6439 * io/ftw.c: Include sys/param.h unconditionally.
6440
c3c7c360
SP
6441 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6442
d62aa75a
SP
6443 [BZ #17125]
6444 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6445 libc_freeres_ptr.
6446 (freecache): New function to free CACHE on exit.
6447
d69b7f5a
SP
6448 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6449 initialization.
6450
5efe06a1
DM
64512014-07-09 David S. Miller <davem@davemloft.net>
6452
6453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6454
7000d82e
DM
6455 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6456 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6457 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6458 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6459 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6460 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6461 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6462 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6463 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6464 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6465 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6466 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6467 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6468
c213442d
AS
64692014-07-09 Andreas Schwab <schwab@suse.de>
6470
4a2552c3
AS
6471 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6472 output.
6473 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6474 (do_test): Likewise.
6475
c213442d
AS
6476 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6477
82374e65
WN
64782014-07-09 Will Newton <will.newton@linaro.org>
6479
6480 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6481 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6482 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6483 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6484 * sysdeps/hppa/start.S (_start): Likewise.
6485
6680738a
SP
64862014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6487
6ee3eab4
SP
6488 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6489
6680738a
SP
6490 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6491 defined.
6492
80b5c505
SP
64932014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6494
e35c53e3
SP
6495 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6496 after checking that it is non-NULL.
6497
80b5c505
SP
6498 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6499
91f4b564
AZ
65002014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6501
27b75f56
AZ
6502 * sysdeps/powerpc/memmove.c: Remove file.
6503 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6504 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6505 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6506 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6507 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6508 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6509 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6510 string memmove instead of removed powerpc one.
6511
e7f95bb5
AZ
6512 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6513 [weak_alias]: Fix compiler warning due trailing data.
6514 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6515 [weak_alias]: Likewise.
6516 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6517 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6518
91f4b564
AZ
6519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6520 (__libc_ifunc_impl_list): Add memmove functions.
6521
7c33f1e5
SP
65222014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6523
6524 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6525 Remove code.
6526 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6527 Likewise
6528 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6529 Likewise
6530 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6531 Likewise
6532 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6533 Likewise
6534 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6535 Likewise
6536 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6537 Likewise
6538 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6539 Likewise
6540 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6541 Likewise
6542 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6543 Likewise
6544 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6545 Likewise
6546 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6547 Likewise
6548 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6549 Likewise
6550 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6551 Likewise
6552 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6553 Likewise
6554 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6555 Likewise
6556 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6557 Likewise
6558
3f17b03b
AZ
65592014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6560
87868c24
AZ
6561 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6562 to avoid alignment traps in non-cacheable memory.
6563 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6564
07aedd78
AZ
6565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6566 multiarch objects.
6567 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6568 file: multiarch power7 memmove.
6569 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6570 multiarch default memmove.
6571 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6572 multiarch memove for powerpc32/power4.
6573
17762f66
AZ
6574 * string/bcopy.c: Use full path to include memmove.c.
6575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6576 multiarch objects.
6577 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6578 bcopy for powerpc64.
6579 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6580 bcopy for powerpc64.
6581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6582 and memmove implementations.
6583 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6584 optimized multiarch memmove for POWER7/powerpc64.
6585 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6586 default multiarch memmove for powerpc64.
6587 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6588 multiarch for powerpc64.
6589 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6590 for POWER7/powerpc64.
6591 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6592 memmove for POWER7/powerpc64.
6593
d6f68bbe
AZ
6594 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6595 glibc default one.
6596
3f17b03b
AZ
6597 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6598 __ELF_NATIVE_CLASS equal to 64.
6599
08192659
RM
66002014-07-07 Roland McGrath <roland@hack.frob.com>
6601
f4c4021b
RM
6602 * sysdeps/nptl/lowlevellock.h: File removed.
6603
f083450f
RM
6604 * NEWS: NPTL is no longer an add-on!
6605 * nptl/internaltypes.h: Moved ...
6606 * sysdeps/nptl/internaltypes.h: ... here.
6607 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6608 * sysdeps/nptl/fork.c: Likewise.
6609 * sysdeps/nptl/gai_misc.h: Likewise.
6610 * sysdeps/nptl/librt-cancellation.c: Likewise.
6611 * sysdeps/nptl/jmp-unwind.c: Likewise.
6612 * sysdeps/nptl/setxid.h: Likewise.
6613 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6614 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6615 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6616 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6617 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6618 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6619 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6620 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6621 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6622 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6623 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6624 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6625 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6626 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6627 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6628 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6629 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6630 * nptl/Makeconfig: Moved ...
6631 * sysdeps/nptl/Makeconfig: ... here.
6632 * nptl/configure: File removed.
6633 * nptl/ANNOUNCE: File removed.
6634 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6635 * sysdeps/unix/sysv/linux/configure: Regenerated.
6636
08192659
RM
6637 * nptl/Makefile (routines): Add libc_pthread_init,
6638 libc_multiple_threads, register-atfork and unregister-atfork.
6639 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6640 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6641 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6642 pthread-pi-defines.sym, structsem.sym.
6643 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6644 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6645 [$(subdir) = nptl] (tests): Add tst-setgetname.
6646 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6647 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6648 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6649 [!LIBC_SIGACTION]: Remove aliases.
6650 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6651 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6652 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6653 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6654 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6655 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6658 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6659 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6660 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6661 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6662 __libc_allocate_rtsig_private.
6663 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6664 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6665 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6666 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6667 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6668 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6669 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6670 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6671 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6672 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6673 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6674 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6675 * nptl/internaltypes.h: ... here.
6676 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6677 * sysdeps/nptl/jmp-unwind.c: ... here.
6678 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6679 * nptl/libc-lowlevellock.c: ... here.
6680 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6681 * nptl/libc_multiple_threads.c: ... here.
6682 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6683 * nptl/libc_pthread_init.c: ... here.
6684 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6685 * nptl/lowlevelbarrier.sym: ... here.
6686 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6687 * nptl/lowlevelcond.sym: ... here.
6688 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6689 * nptl/lowlevellock.c: ... here.
6690 * nptl/lowlevellock.h: Moved ...
6691 * sysdeps/nptl/lowlevellock.h: ... here.
6692 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6693 * nptl/lowlevelrobustlock.c: ... here.
6694 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6695 * nptl/lowlevelrobustlock.sym: ... here.
6696 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6697 * nptl/lowlevelrwlock.sym: ... here.
6698 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6699 * nptl/pt-fork.c: ... here.
6700 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6701 * nptl/pthread-pi-defines.sym: ... here.
6702 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6703 * nptl/pthread_attr_getaffinity.c: ... here.
6704 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6705 * nptl/pthread_attr_setaffinity.c: ... here.
6706 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6707 * nptl/pthread_mutex_cond_lock.c: ... here.
6708 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6709 Update #include.
6710 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6711 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6712 * nptl/pthread_once.c: ... here, replacing old file.
6713 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6714 * nptl/pthread_yield.c: ... here.
6715 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6716 * nptl/register-atfork.c: ... here.
6717 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6718 * nptl/sem_post.c: ... here.
6719 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6720 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6721 * nptl/sem_timedwait.c: ... here.
6722 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6723 * nptl/sem_trywait.c: ... here.
6724 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6725 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6726 * nptl/sem_wait.c: ... here.
6727 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6728 * nptl/structsem.sym: ... here.
6729 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6730 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6731 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6732 * nptl/unregister-atfork.c: ... here.
6733 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6734 * nptl/unwindbuf.sym: ... here.
6735 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6736 * sysdeps/nptl/fork.c: ... here.
6737 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6738 * sysdeps/nptl/fork.h: ... here.
6739 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6740 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6741 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6742 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6743 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6744 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6745 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6746 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6747 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6748 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6749 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6750 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6751 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6752 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6753 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6754 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6755 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6756 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6757 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6758 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6759 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6760 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6761 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6762 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6763 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6764 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6765 * sysdeps/unix/sysv/linux/raise.c: ... here.
6766 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6767 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6768 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6769 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6770 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6771 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6772 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6773 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6774 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6775 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6776 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6777 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6778 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6779 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6780 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6781
96baf6ff
SP
67822014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6783
6784 * sysdeps/generic/memcopy.h: Add comment for
6785 MEMCPY_OK_FOR_FWD_MEMMOVE.
6786
6b7b14b2
WN
67872014-07-04 Will Newton <will.newton@linaro.org>
6788
1570a72b
WN
6789 * string/memchr.c: Merge from gnulib.
6790 [_LIBC]: Remove conditionals.
6791 (__ptr_t): Remove define.
6792 (LONG_MAX_32_BITS): Likewise.
6793 (LONG_MAX): Likewise.
6794 (MEMCHR): Use ANSI prototype and optimize algorithm.
6795
6b7b14b2
WN
6796 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6797
38851324
SP
67982014-07-03 Roland McGrath <roland@hack.frob.com>
6799
3d9eb57c
RM
6800 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6801 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6802
78b984ae
RM
6803 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6804 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6805 in a bare environment with no <stdlib.h> installed.
6806 * sysdeps/nptl/configure: Regenerated.
6807
2d5976a5
RM
6808 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6809
c1f5acd4
RM
6810 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6811 AC_EGREP_CPP for kernel header checks, so they only succeed if
6812 including <linux/version.h> actually works right.
6813 * sysdeps/unix/sysv/linux/configure: Regenerated.
6814
4d614fe5
RM
6815 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6816 value so it's not diagnosed as unused.
6817
38851324
SP
6818 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6819 thing) with "ifeq ($(subdir),rt)".
6820
b3ec00e5
RH
68212014-07-03 Richard Henderson <rth@redhat.com>
6822
69862e25
RH
6823 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6824 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6825 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6826
d5e16ade
RH
6827 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6828 (math_force_eval): New.
6829
ca7b945c
RH
6830 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6831 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6832
cd1175a3
RH
6833 * sysdeps/alpha/fpu/s_round.c: Remove file.
6834 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6835
b3ec00e5
RH
6836 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6837 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6838 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6839 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6840 (_dl_start, print_statistics): Likewise.
6841 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6842 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6843
6844 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6845 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6846 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6847 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6848 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6849 (HP_SMALL_TIMING_AVAIL): Define.
6850 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6851 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6852 (HP_SMALL_TIMING_AVAIL): Define.
6853 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6854 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6855
6856 * sysdeps/aarch64/hp-timing.h: New file.
6857
6858 * sysdeps/generic/hp-timing.h: Remove dead comment.
6859 * sysdeps/generic/hp-timing-common.h: New file.
6860 * sysdeps/alpha/hp-timing.h: Include it.
6861 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6862 * sysdeps/i386/i686/hp-timing.h: Likewise.
6863 * sysdeps/ia64/hp-timing.h: Likewise.
6864 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6865 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6866 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6867 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6868 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6869 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6870 (hp_timing_t): New.
6871
6872 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6873 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6874 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6875 * elf/rtld.c (_dl_start_final): Likewise.
6876 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6877 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6878 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6879 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6880 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6881 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6882 (HP_TIMING_DIFF_INIT): Remove.
6883 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6884 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6885 (HP_TIMING_DIFF_INIT): Remove.
6886 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6887 * sysdeps/i386/i686/hp-timing.c: Remove file.
6888 * sysdeps/x86_64/hp-timing.c: Remove file.
6889 * sysdeps/ia64/hp-timing.c: Remove file.
6890 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6891 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6892 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6893 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6894
6895 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6896 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6897 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6898 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6900 (HP_TIMING_ACCUM): Remove.
6901 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6902 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6903 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6904
6905 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6906 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6907 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6908 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6909 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6910 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6911 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6912 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6913
6914 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6915
225f410f
MR
69162014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6917
6918 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6919
3247f285
SP
69202014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6921
6922 Sync up with gettext.
6923 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6924 [_MSC_VER]: Include malloc.h
6925 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6926 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6927 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6928 TEMP_FAILURE_RETRY. Cast return of alloca.
6929 [!_LIBC] Call gl_rwlock_init.
6930 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6931
d12704c7
SP
69322014-07-02 Roland McGrath <roland@hack.frob.com>
6933
6934 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6935 before checking its value.
6936
99f8dc92
SP
69372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6938
05fdac77
SP
6939 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6940
99f8dc92
SP
6941 * debug/memcpy_chk.c: Don't include pagecopy.h.
6942 * debug/mempcpy_chk.c: Likewise.
6943 * string/memcpy.c: Likewise.
6944 * string/memmove.c: Likewise.
6945 * sysdeps/powerpc/memmove.c: Likewise.
6946 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6947 definition of PAGE_COPY_FWD_MAYBE here...
6948 * sysdeps/generic/pagecopy.h: ... from here.
6949 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6950
bc8ea385
VR
69512014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6952 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6953
6954 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6956 optimizations.
6957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6958 (__libc_ifunc_impl_list): Likewise.
6959 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6960 multiarch strcat for PPC64.
6961 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6962 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6963
fe5f34e4
RM
69642014-07-02 Roland McGrath <roland@hack.frob.com>
6965
6966 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6967
256aa665
SP
69682014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6969
d4eb8195
SP
6970 * intl/loadmsgcat.c: Remove declaration of
6971 get_sysdep_segment_value.
6972 (get_sysdep_segment_value): Use ISO C style.
6973 (_nl_load_domain): Use ISO C style. Get rid of redundant
6974 semicolon. Fix typo and formatting in comment.
6975 (_nl_unload_domain): Use ISO C style.
6976
256aa665
SP
6977 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6978
b100f9aa
WN
69792014-07-02 Will Newton <will.newton@linaro.org>
6980
6981 * malloc/obstack.c: Merge from gnulib master.
6982 [HAVE_CONFIG_H]: Remove conditional code.
6983 [!_LIBC]: Include config.h.
6984 [!ELIDE_CODE]: Don't include inttypes.h, include
6985 stdint.h unconditionally.
6986 (print_and_abort): Mark as _Noreturn.
6987 (_obstack_allocated_p): Mark as __attribute_pure__.
6988 (obstack_free): Rename to __obstack_free.
6989 [!__attribute__]: Remove conditional code.
6990 * malloc/obstack.h: Merge from gnulib master.
6991 [__cplusplus]: Move conditional down.
6992 [!__attribute_pure__]: Define __attribute_pure__ here
6993 if it is not already defined.
6994 (_obstack_memory_used): Mark as __attribute_pure__.
6995 [!__obstack_free]: Define as obstack_free.
6996 [__GNUC__]: Remove check for ancient NeXT gcc.
6997
c4c41244
PE
69982014-07-02 Will Newton <will.newton@linaro.org>
6999 Paul Eggert <eggert@cs.ucla.edu>
7000
7001 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7002
e1e041c4
SP
70032014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7004
7005 * resolv/gethnamaddr.c: Add comment warning that the file is
7006 not maintained.
7007
ccf431ff
CD
70082014-07-01 Carlos O'Donell <carlos@redhat.com>
7009
d34570a6
CD
7010 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7011 entries.
7012
ccf431ff
CD
7013 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7014 entry for aio_cancel and aio_cancel64.
7015 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7016 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7017 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7018 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7019 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7020 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7021 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7022 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7023 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7024 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7025 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7026 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7027 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7028
ca06321d
RM
70292014-07-01 Roland McGrath <roland@hack.frob.com>
7030
7031 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7032 * nptl/pthread_mutex_lock.c: Likewise.
7033 * nptl/pthread_mutex_timedlock.c: Likewise.
7034 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7035
a1ac3184
RH
70362014-07-01 Richard henderson <rth@redhat.com>
7037
631021e0
RH
7038 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7039 (__isnan, __isnanl): Remove.
7040 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7041
a1ac3184
RH
7042 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7043
0c1d731f
SL
70442014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7045
7046 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7047
76985d3e
SP
70482014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7049
7050 * resolv/nss_dns/dns-host.c (getanswer_r)
7051 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7052
b0cb3096
JM
70532014-07-01 Joseph Myers <joseph@codesourcery.com>
7054
7055 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7056 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7057 undefine.
7058 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7059 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7060
4d76cb39
RM
70612014-07-01 Roland McGrath <roland@hack.frob.com>
7062
7063 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7064 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7065
7066 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7067 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7068
7069 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7070 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7071 ... here.
7072 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7073 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7074
7075 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7076 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7077 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7078 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7079
7080 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7081 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7082 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7083 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7084 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7085 Moved ...
7086 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7087 ... here.
7088 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7089 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7090 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7091 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7092 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7093 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7094 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7095 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7096 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7097 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7098 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7099 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7100 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7101 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7102 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7103 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7104 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7105 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7106 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7107 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7108 ... here.
7109 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7110 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7111 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7112 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7113 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7114 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7115 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7116 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7117
0cdcad17
DH
71182014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7119
7120 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7121 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7122 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7123 Add sysdep.
7124
9b71d0e3
AZ
71252014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7126
7127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7128
665390c2
JM
71292014-06-30 Joseph Myers <joseph@codesourcery.com>
7130
ae05a9d7
JM
7131 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7132 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7133
a7672a2f
JM
7134 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7135
665390c2
JM
7136 * sysdeps/arm/libm-test-ulps: Regenerated.
7137
d7a05d07
MR
71382014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7139 Roland McGrath <roland@hack.frob.com>
7140
7141 * test-skeleton.c (signal_handler): Kill the whole process group
7142 before killing the child individually.
7143 (main): Report any failure on `setpgid'.
7144
46f1d8a6
RM
71452014-06-30 Roland McGrath <roland@hack.frob.com>
7146
7147 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7148 from _TLS_H to _ARM_NPTL_TLS_H.
7149 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7150 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7151
9c37ec0b
JM
71522014-06-30 Joseph Myers <joseph@codesourcery.com>
7153
ce9c5b3e
JM
7154 [BZ #16539]
7155 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7156 (__expm1l): Return argument unchanged when small but not
7157 subnormal.
7158
3a6e9887
JM
7159 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7160 include macro name.
7161 (_FP_UNPACK_RAW_1_P): Likewise.
7162 (_FP_PACK_RAW_1): Likewise.
7163 (_FP_PACK_RAW_1_P): Likewise.
7164 (_FP_MUL_MEAT_1_wide): Likewise.
7165 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7166 (_FP_MUL_MEAT_1_hard): Likewise.
7167 (_FP_DIV_MEAT_1_imm): Likewise.
7168 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7169 (_FP_DIV_MEAT_1_udiv): Likewise.
7170 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7171 (_FP_UNPACK_RAW_2): Likewise.
7172 (_FP_UNPACK_RAW_2_P): Likewise.
7173 (_FP_PACK_RAW_2): Likewise.
7174 (_FP_PACK_RAW_2_P): Likewise.
7175 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7176 (_FP_MUL_MEAT_2_wide): Likewise.
7177 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7178 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7179 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7180 (_FP_MUL_MEAT_2_gmp): Likewise.
7181 (_FP_DIV_MEAT_2_udiv): Likewise.
7182 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7183 (_FP_FRAC_SRL_4): Likewise.
7184 (_FP_FRAC_SRST_4): Likewise.
7185 (_FP_FRAC_SRS_4): Likewise.
7186 (_FP_UNPACK_RAW_4): Likewise.
7187 (_FP_UNPACK_RAW_4_P): Likewise.
7188 (_FP_PACK_RAW_4): Likewise.
7189 (_FP_PACK_RAW_4_P): Likewise.
7190 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7191 (_FP_MUL_MEAT_4_wide): Likewise.
7192 (_FP_MUL_MEAT_4_gmp): Likewise.
7193 (umul_ppppmnnn): Likewise.
7194 (_FP_DIV_MEAT_4_udiv): Likewise.
7195 (__FP_FRAC_ADD_4): Likewise.
7196 (__FP_FRAC_SUB_3): Likewise.
7197 (__FP_FRAC_SUB_4): Likewise.
7198 (__FP_FRAC_DEC_3): Likewise.
7199 (__FP_FRAC_DEC_4): Likewise.
7200 (__FP_FRAC_ADDI_4): Likewise.
7201 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7202 (_FP_FRAC_SRL_8): Likewise.
7203 (_FP_FRAC_SRS_8): Likewise.
7204
9c37ec0b
JM
7205 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7206 include macro name.
7207 (FP_UNPACK_RAW_EP): Likewise.
7208 (FP_PACK_RAW_E): Likewise.
7209 (FP_PACK_RAW_EP): Likewise.
7210 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7211 (_FP_ISSIGNAN): Likewise.
7212 (_FP_ADD_INTERNAL): Likewise.
7213 (_FP_FMA): Likewise.
7214 (_FP_CMP): Likewise.
7215 (_FP_SQRT): Likewise.
7216 (_FP_TO_INT): Likewise.
7217 (_FP_FROM_INT): Likewise.
7218 (FP_EXTEND): Likewise.
7219 (_FP_DIV_MEAT_N_loop): Likewise.
7220
2125f674
MR
72212014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7222
7223 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7224 throughout.
7225
edea4028
JM
72262014-06-29 Joseph Myers <joseph@codesourcery.com>
7227
7228 [BZ #17097]
7229 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7230 result with correct sign in case of exponents that produce
7231 overflow except for X very close to 1.
7232
dd0ba018
PE
72332014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7234
7235 mktime: merge #if/#ifdef usage from glibc
7236 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7237 as that works with both Glibc's and Gnulib's style.
7238 See thread starting at Siddhesh Poyarekar's bug report at:
7239 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7240
64df73c2
SP
72412014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7242
7243 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7244 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7245 * sysdeps/tile/tilegx/memmove.c: Remove file.
7246
f1eafb41
JM
72472014-06-27 Joseph Myers <joseph@codesourcery.com>
7248
7249 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7250 abi-name definition.
7251 * scripts/soversions.awk: Do not handle or generate ABI lines.
7252 * shlib-versions: Remove ABI entries.
7253 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7254 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7255
58eb0862
RM
72562014-06-27 Roland McGrath <roland@hack.frob.com>
7257
37caf178
RM
7258 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7259 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7260 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7261 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7263 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7265 Moved ...
7266 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7267 ... here.
7268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7269 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7270 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7271 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7273 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7274 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7275 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7277 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7279 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7281 Moved ...
7282 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7284 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7286 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7287 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7288 Moved ...
7289 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7291 Moved ...
7292 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7294 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7296 Moved ...
7297 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7299 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7301 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7303 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7305 Moved ...
7306 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7307 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7308 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7309 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7310 Moved ...
7311 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7312 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7313 Moved ...
7314 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7315 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7316 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7317 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7318 Moved ...
7319 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7320 ... here.
7321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7322 Identical file removed.
7323 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7324 Moved ...
7325 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7327 Identical file removed.
7328 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7329 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7330 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7331 Moved ...
7332 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7333 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7334 Identical file removed.
7335 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7336 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7338 Identical file removed.
7339 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7340 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7341 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7342 Identical file removed.
7343 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7344 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7345 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7346 Identical file removed.
7347 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7348 Moved ...
7349 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7350 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7351 Identical file removed.
7352 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7353 Moved ...
7354 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7355 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7356 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7357 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7358 Identical file removed.
7359 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7360 Moved ...
7361 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7362 ... here.
7363 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7364 Identical file removed.
7365 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7366 Moved ...
7367 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7368 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7369 Identical file removed.
7370 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7371 Moved ...
7372 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7374 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7375 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7376 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7378 Moved ...
7379 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7380 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7381 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7382
58eb0862
RM
7383 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7384 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7385 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7386 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7387 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7388
6f12d062
AS
73892014-06-27 Arjun Shankar <arjun.is@lostca.se>
7390
7391 [BZ #17092]
7392 * nscd/nscd.c (monitor_child): Return exit status of child
7393 instead of return value from wait syscall.
7394
be254932
JM
73952014-06-27 Joseph Myers <joseph@codesourcery.com>
7396
cb403c34
JM
7397 * configure.ac (libc_commonpagesize): Remove variable.
7398 (libc_relro_required): Likewise.
7399 (libc_cv_z_relro): Remove configure test.
7400 * configure: Regenerated.
7401 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7402 variable.
7403 (libc_relro_required): Likewise.
7404 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7405 (libc_relro_required): Likewise.
7406 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7407 (libc_relro_required): Likewise.
7408 * sysdeps/arm/preconfigure: Regenerated.
7409 * sysdeps/ia64/preconfigure: Remove file.
7410 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7411 variable.
7412 (libc_relro_required): Likewise.
7413
be254932
JM
7414 [BZ #16561]
7415 [BZ #16562]
7416 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7417 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7418 recompute overflowing results in original rounding mode.
7419 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7420 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7421 recompute overflowing results in original rounding mode.
7422 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7423 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7424 recompute overflowing results in original rounding mode.
7425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7426 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7427 recompute overflowing results in original rounding mode.
7428 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7429 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7430 recompute overflowing results in original rounding mode.
7431 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7432 (libc_feholdsetround_ctx): New macro.
7433 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7434 * sysdeps/i386/fpu/libm-test-ulps: Update.
7435 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7436
b351d85a
JM
74372014-06-26 Joseph Myers <joseph@codesourcery.com>
7438
7439 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7440 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7441 corresponding .cpsetup call.
7442
3cb4de47
RM
74432014-06-26 Roland McGrath <roland@hack.frob.com>
7444
7445 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7446 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7447 * sysdeps/arm/Makefile [$(subdir) = csu]
7448 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7449 (static-only-routines): Add aeabi_read_tp here.
7450 (shared-only-routines): Add libc-aeabi_read_tp here.
7451 (CFLAGS-libc-start.c): Add -fexceptions here.
7452 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7453 (sysdep_routines, static-only-routines, shared-only-routines):
7454 Don't add to these here.
7455 (CFLAGS-libc-start.c): Likewise.
7456
7457 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7458 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7459 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7460 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7461 * sysdeps/arm/Makefile [$(subdir) = rt]
7462 (librt-sysdep_routines, librt-shared-only-routines):
7463 Append rt-aeabi_unwind_cpp_pr1 here.
7464 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7465 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7466 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7467 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7468 Append nptl-aeabi_unwind_cpp_pr1 here.
7469 (tests): Filter out tst-cleanupx4 here.
7470 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7471 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7472 Don't do those here.
7473
354426bb
JM
74742014-06-26 Joseph Myers <joseph@codesourcery.com>
7475
7476 * scripts/list-sources.sh: Do not handle ports specially.
7477
28b0a8c9
RM
74782014-06-26 Roland McGrath <roland@hack.frob.com>
7479
a3dd035d
RM
7480 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7481 * sysdeps/arm/feupdateenv.c: Likewise.
7482
28b0a8c9
RM
7483 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7484
e66a8203
JM
74852014-06-26 Joseph Myers <joseph@codesourcery.com>
7486
7487 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7488 trailing whitespace removed.
7489 * scripts/config.guess: Update to version 2014-03-23.
7490 * scripts/config.sub: Update to version 2014-05-01
7491 * scripts/install-sh: Update to version 2013-12-25.23.
7492 * scripts/move-if-change: Update from gnulib.
7493
74171115
SP
74942014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7495
b97c9ce5
SP
7496 * debug/memmove_chk.c: Remove pagecopy.h include.
7497
4000f892
SP
74982014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7499
74171115
SP
7500 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7501 identical to gnulib mktime.
7502
a8779c28
JM
75032014-06-26 Joseph Myers <joseph@codesourcery.com>
7504
e64708de
JM
7505 * configure.ac: Do not test for machine being rs6000. Do not test
7506 for powerpc*-*soft.
7507 * configure: Regenerated.
7508
a8779c28
JM
7509 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7510 test.
7511 * configure: Regenerated.
7512 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7513 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7514 Remove configure test.
7515 * sysdeps/arm/configure: Regenerated.
7516 * sysdeps/nptl/configure.ac: Do not check
7517 libc_cv_asm_cfi_directives.
7518 * sysdeps/nptl/configure: Regenerated.
7519 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7520 * sysdeps/x86_64/nptl/configure: Remove generated file.
7521 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7522 unconditional.
7523 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7524
2aac0a86
SP
75252014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7526
059bf913
SP
7527 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7528 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7529 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7530 it is defined.
7531
4cf5b6d0
SP
7532 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7533 instead of whether it is defined.
7534 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7535 * sysdeps/hppa/dl-machine.h: Likewise.
7536 * sysdeps/ia64/dl-machine.h: Likewise.
7537 * sysdeps/m68k/dl-machine.h: Likewise.
7538 * sysdeps/microblaze/dl-machine.h: Likewise.
7539 * sysdeps/mips/dl-machine.: Likewise.
7540 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7541 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7542 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7543 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7544 * sysdeps/sh/dl-machine.h: Likewise.
7545 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7546 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7547 * sysdeps/tile/dl-machine.h: Likewise.
7548 * sysdeps/x86_64/dl-machine.h: Likewise.
7549
2aac0a86
SP
7550 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7551 code.
7552 (verify_persistent_db): Likewise.
7553
6ad2df0b
RM
75542014-06-26 Roland McGrath <roland@hack.frob.com>
7555
d8a483f3
RM
7556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7557 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7559 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7561 Moved ...
7562 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7563 ... here.
7564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7565 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7567 Identical file removed.
7568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7571 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7573 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7575 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7577 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7579 Moved ...
7580 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7582 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7584 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7586 Moved ...
7587 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7589 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7591 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7593 Identical file removed.
7594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7595 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7597 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7599 Moved ...
7600 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7601 ... here.
7602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7603 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7605 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7607 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7609 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7611 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7613 Moved ...
7614 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7616 Moved ...
7617 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7619 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7621 Moved ...
7622 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7624 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7625
52ae23b4
RM
7626 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7627 folded into ...
7628 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7629 * sysdeps/unix/sysv/linux/s390/Versions
7630 (libpthread: GLIBC_2.19): New version set.
7631 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7632 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7633 (librt: GLIBC_2.3.3): New version set.
7634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7635 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7636 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7637 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7638 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7639 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7640 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7641 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7642 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7643 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7644 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7645 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7646 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7647 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7648 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7649 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7650 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7651 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7652 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7653 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7654 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7655 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7656 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7657 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7658 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7659 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7660 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7661 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7662 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7663 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7664 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7665 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7667 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7670 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7671 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7672 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7673 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7674 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7675 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7676 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7677 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7678 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7679
39507e4a
RM
7680 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7681 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7682 (__libc_vfork): Define the function under this name.
7683 [!NOT_IN_libc] (__vfork): Make this an alias.
7684 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7685 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7686 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7687 (__libc_vfork): Define the function under this name.
7688 [!NOT_IN_libc] (__vfork): Make this an alias.
7689 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7690 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7691 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7694 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7695
e549ee56
RM
7696 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7697 code that was previously under [RESET_PID].
7698 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7699 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7701
6ad2df0b
RM
7702 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7703 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7704 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7705 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7706 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7707 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7708 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7709 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7710 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7711 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7712 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7713 Moved ...
7714 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7715 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7716 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7717 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7718 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7719 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7720 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7721 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7722 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7723 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7724 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7725 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7726 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7727 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7728 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7729 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7730 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7731 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7732 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7733 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7734 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7735 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7736 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7737 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7738 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7739 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7740 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7741 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7742 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7743
7c1c1d8e
RM
77442014-06-25 Roland McGrath <roland@hack.frob.com>
7745
7746 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7747 that was previously under [RESET_PID].
7748 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7749
3e239be6
JM
77502014-06-25 Joseph Myers <joseph@codesourcery.com>
7751
74385da5
JM
7752 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7753 not undefine and redefine.
7754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7755 [O_CLOEXEC]: Make code unconditional.
7756 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7757 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7758 <kernel-features.h>.
7759 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7760 conditional variable definition.
7761 (shm_open) [O_CLOEXEC]: Make code unconditional.
7762 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7763 code.
7764
c2570a0b
JM
7765 * configure.ac (USE_REGPARMS): Don't define here.
7766 * configure: Regenerated.
7767 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7768 * sysdeps/i386/configure: Regenerated.
7769
11b076bb
JM
7770 * nptl/createthread.c: Don't include kernel-features.h.
7771 * nptl/pthread_cancel.c: Likewise.
7772 * nptl/pthread_condattr_setclock.c: Likewise.
7773 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7774 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7775 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7776 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7777 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7778 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7779 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7780 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7781 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7782 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7783 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7784 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7785 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7786 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7787 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7788 * nscd/gai.c: Likewise.
7789 * nss/nss_db/db-open.c: Likewise.
7790 * sysdeps/generic/ldsodefs.h: Likewise.
7791 * sysdeps/sh/nptl/tls.h: Likewise.
7792 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7793 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7794 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7795 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7796 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7797 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7798 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7799 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7800 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7801 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7802 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7803 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7804 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7805 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7806 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7807 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7808 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7809 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7810 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7811 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7812 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7814 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7815 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7816 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7817 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7818 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7820 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7821 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7822 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7823 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7824 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7825 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7826 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7827 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7828 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7829 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7830 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7831 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7832 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7833 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7834 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7835 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7836 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7837 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7838 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7839 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7840 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7841 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7842 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7843 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7844 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7845 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7846 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7847 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7848 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7849 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7872 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7873 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7874 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7875 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7876 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7877 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7878 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7879 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7880 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7881 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7882 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7883 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7884 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7885 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7886 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7887 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7888 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7889 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7890 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7891 * sysdeps/unix/sysv/linux/system.c: Likewise.
7892 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7893 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7894 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7895 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7896 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7897 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7898 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7899
92072d57
JM
7900 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7901 * configure: Regenerated.
7902 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7903
3e239be6
JM
7904 * configure.ac (base_machine): Do not set specially for particular
7905 machines here.
7906 * configure: Regenerated.
7907 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7908 settings from configure.ac.
7909 * sysdeps/i386/preconfigure: New file.
7910 * sysdeps/s390/preconfigure: Likewise.
7911 * sysdeps/sh/preconfigure: Likewise.
7912 * sysdeps/sparc/preconfigure: Likewise.
7913
06d50baa
RM
79142014-06-25 Roland McGrath <roland@hack.frob.com>
7915
74836003
RM
7916 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7917 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7918 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7919 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7920 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7921 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7922 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7923 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7924 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7925 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7926 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7927 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7928 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7929 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7930 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7931 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7932 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7933 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7934 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7935
7936 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7937 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7938 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7939 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7940 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7941 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7942 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7943 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7944 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7945 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7946 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7947 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7948 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7949 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7950 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7951 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7952 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7953 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7954 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7955 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7956 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7957 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7958 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7959 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7960 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7961 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7962 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7963 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7964 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7965 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7966 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7967 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7968 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7969 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7970 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7971 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7972 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7973 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7974
06d50baa
RM
7975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7976 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7978 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7980 Moved ...
7981 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7982 ... here.
7983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7984 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7986 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7988 Moved ...
7989 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7991 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7993 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7995 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7997 Moved ...
7998 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8000 Moved ...
8001 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8003 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8005 Moved ...
8006 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8010 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8012 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8014 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8016 Moved ...
8017 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8018 ... here.
8019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8020 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8022 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8024 Moved ...
8025 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8027 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8029 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8031 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8033 Moved ...
8034 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8036 Moved ...
8037 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8039 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8041 Moved ...
8042 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8044 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8046 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8047
a4ccbc9b
JM
80482014-06-25 Joseph Myers <joseph@codesourcery.com>
8049
0828edbf
JM
8050 * timezone/checktab.awk: Update from tzcode 2014e.
8051 * timezone/private.h: Likewise.
8052 * timezone/tzfile.h: Likewise.
8053 * timezone/zdump.c: Likewise.
8054 * timezone/zic.c: Likewise.
8055
a4ccbc9b
JM
8056 * sysdeps/unix/sysv/linux/kernel-features.h
8057 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8058 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8059 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8060 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8061 Remove conditional code.
8062
9aea0cb8
WN
80632014-06-25 Will Newton <will.newton@linaro.org>
8064
8065 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8066 (_dl_arm_cap_flags): Add HWCAP2 values.
8067 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8068 (_DL_HWCAP_COUNT): Increase to 37.
8069 (_DL_HWCAP_LAST): New define.
8070 (_DL_HWCAP2_LAST): New define.
8071 (_dl_procinfo): Add support for printing
8072 AT_HWCAP2 entries.
8073 (_dl_string_hwcap): Use _dl_hwcap_string.
8074
6eaa65ce
AZ
80752014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8076
8077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8078
0f5b7185
JM
80792014-06-25 Joseph Myers <joseph@codesourcery.com>
8080
cfd2ea50
JM
8081 * README: Do not mention ports directory.
8082
cecf2ed4
JM
8083 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8084 Remove macro.
8085 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8086 <kernel-features.h>.
8087 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8088 conditional variable definition.
8089 (__futimes): Update comment.
8090 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8091 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8092
a638de82
JM
8093 [BZ #16560]
8094 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8095 arguments close to 0.
8096 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8097 Likewise.
8098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8099 Likewise.
8100 * math/auto-libm-test-in: Add more tests of exp10.
8101 * math/auto-libm-test-out: Regenerated.
8102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8103
0f5b7185
JM
8104 * sysdeps/unix/sysv/linux/kernel-features.h
8105 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8106 * sysdeps/unix/sysv/linux/readv.c: Do not include
8107 <kernel-features.h>.
8108 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8109 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8110 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8111 unconditional.
8112 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8113 conditional code.
8114 * sysdeps/unix/sysv/linux/writev.c: Do not include
8115 <kernel-features.h>.
8116 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8117 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8118 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8119 unconditional.
8120 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8121 conditional code.
8122
c7aec4be
WN
81232014-06-25 Will Newton <will.newton@linaro.org>
8124
8125 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8126 comment changes throughout the file. Remove checks
8127 for HAVE_*_H definitions that are not required.
8128 (__gen_tempname): Call abort if an unknown kind value is
8129 passed.
8130
c5241f95
AS
81312014-06-25 Andreas Schwab <schwab@suse.de>
8132
8133 [BZ #17086]
8134 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8135 scalbln, scalblnf, scalblnl in libc.
8136
911422da
SP
81372014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8138
8139 [BZ #17086]
8140 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8141 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8142 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8143
0d749bbe
RM
81442014-06-24 Roland McGrath <roland@hack.frob.com>
8145
8146 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8147 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8148 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8149 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8150 Update #include.
8151 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8152 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8153 Update #include.
8154 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8155 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8156 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8157 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8158 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8159 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8160 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8161 * sysdeps/x86/bits/semaphore.h: ... here.
8162 * sysdeps/x86/nptl/elide.h: Moved ...
8163 * sysdeps/x86/elide.h: ... here.
8164 * sysdeps/x86_64/nptl/Implies: File removed.
8165 * sysdeps/i386/nptl/Implies: File removed.
8166
0ea5d373
JM
81672014-06-24 Joseph Myers <joseph@codesourcery.com>
8168
4060283d
JM
8169 [BZ #16539]
8170 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8171 return the argument for normal arguments with exponent below -64.
8172 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8173 Likewise.
8174 * math/auto-libm-test-in: Add another test of expm1.
8175 * math/auto-libm-test-out: Regenerated.
8176
e7dd3c8c
JM
8177 [BZ #16287]
8178 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8179 calling __erfcl for arguments at least 16.
8180 * math/auto-libm-test-in: Add more tests of erf.
8181 * math/auto-libm-test-out: Regenerated.
8182
0ea5d373
JM
8183 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8184 individual architectures.
8185 * sysdeps/unix/sysv/linux/configure: Regenerated.
8186 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8187 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8188 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8189 (ldd_rewrite_script): Define variable.
8190 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8192 file.
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8194 generated file.
8195 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8196 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8197 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8198 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8199 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8200 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8201 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8202 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8203
2307e126
SP
82042014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8205
8206 [BZ #17084]
8207 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8208 Rename member __data.d to __data.__elision_data.
8209
c0a4ed77
W
82102014-06-24 Wilco <wdijkstr@arm.com>
8211
8212 * NEWS: Add 16918 to fixed bug list.
8213
b8c00573
W
82142014-06-24 Wilco <wdijkstr@arm.com>
8215
8216 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8217
b5570d92
W
82182014-06-24 Wilco <wdijkstr@arm.com>
8219
8220 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8221 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8222 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8223 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8224 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8225 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8226 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8227 Use _FPU_MASK_RM.
8228
947bdca2
W
82292014-06-24 Wilco <wdijkstr@arm.com>
8230
8231 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8232
00f669ed
W
82332014-06-24 Wilco <wdijkstr@arm.com>
8234
8235 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8236 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8237 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8238 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8239
db59bad3
W
82402014-06-24 Wilco <wdijkstr@arm.com>
8241
8242 [BZ #16918]
8243 * sysdeps/arm/feupdateenv.c (feupdateenv):
8244 Rewrite to reduce FPSCR accesses and fix return value.
8245
001f7b77
W
82462014-06-24 Wilco <wdijkstr@arm.com>
8247
8248 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8249 Optimize to avoid unnecessary FPSCR writes.
8250 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8251 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8252 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8253 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8254
4841e6a6
W
82552014-06-24 Wilco <wdijkstr@arm.com>
8256
8257 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8258 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8259 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8260 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8261 Call libc_fetestexcept_vfp.
8262 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8263 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8264 __SOFTFP__ ifdef so that they can be built for softfp.
8265
0813022c
SP
82662014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8267
08e5862f
SP
8268 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8269 argument type signed char.
8270
0813022c
SP
8271 * Makerules (check-abi): Dump diff of symlist if the test
8272 fails.
8273
3fc7236a
RM
82742014-06-23 Roland McGrath <roland@hack.frob.com>
8275
aba8ef95
RM
8276 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8277 using abort.
8278
3fc7236a
RM
8279 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8280 Remove unused variable ST.
8281
4da6db51
JM
82822014-06-23 Joseph Myers <joseph@codesourcery.com>
8283
4648909d
JM
8284 [BZ #16354]
8285 [BZ #17061]
8286 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8287 small arguments before calling __expm1.
8288 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8289 small arguments before calling __expm1f.
8290 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8291 small arguments before calling __expm1l.
8292 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8293 Likewise.
8294 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8295 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8296 spurious underflow for some cosh tests.
8297 * math/auto-libm-test-out: Regenerated.
8298 * sysdeps/i386/fpu/libm-test-ulps: Update.
8299
46a3d3c7
JM
8300 [BZ #17050]
8301 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8302 (__ieee754_y1): Set errno if return value overflows.
8303 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8304 (__ieee754_y1f): Set errno if return value overflows.
8305 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8306 (__ieee754_y1l): Set errno if return value overflows.
8307 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8308 (__ieee754_y1l): Set errno if return value overflows.
8309 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8310 * math/auto-libm-test-out: Regenerated.
8311
863893ec
JM
8312 * math/gen-auto-libm-tests.c: Document use of
8313 ignore-zero-inf-sign.
8314 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8315 (input_flags): Add ignore-zero-inf-sign.
8316 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8317 * math/gen-libm-test.pl (generate_testfile): Handle
8318 ignore-zero-inf-sign.
8319 * math/auto-libm-test-in: Mark some cpow tests with
8320 ignore-zero-inf-sign and some with xfail-rounding.
8321 * math/auto-libm-test-out: Regenerated.
8322 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8323 * sysdeps/i386/fpu/libm-test-ulps: Update.
8324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8325
4da6db51
JM
8326 [BZ #16315]
8327 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8328 overflowing or underflowing operations take place with sign of
8329 result.
8330 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8331 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8332 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8333 (__ieee754_pow): Recompute overflowing and underflowing results in
8334 original rounding mode.
8335 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8336 (__powl_helper): Allow negative argument X and scale negated value
8337 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8338 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8339 overflowing or underflowing operations take place with sign of
8340 result.
8341 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8342 Include <math.h>.
8343 * math/auto-libm-test-in: Add more tests of pow.
8344 * math/auto-libm-test-out: Regenerated.
8345 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8346 (pow_tonearest_test_data): Remove.
8347 (pow_test_tonearest): Likewise.
8348 (pow_towardzero_test_data): Likewise.
8349 (pow_test_towardzero): Likewise.
8350 (pow_downward_test_data): Likewise.
8351 (pow_test_downward): Likewise.
8352 (pow_upward_test_data): Likewise.
8353 (pow_test_upward): Likewise.
8354 (main): Don't call removed functions.
8355 * sysdeps/i386/fpu/libm-test-ulps: Update.
8356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8357
5686b236
RM
83582014-06-23 Roland McGrath <roland@hack.frob.com>
8359
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8361 Moved ...
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8364 Moved ...
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8367 Moved ...
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8370 Moved ...
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8373 File removed.
8374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8375 File removed.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8377 File removed.
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8379 File removed.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8381 File removed.
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8383 File removed.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8385 File removed.
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8387 File removed.
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8389 File removed.
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8391 File removed.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8393 File removed.
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8395 File removed.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8397 Moved ...
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8400 Moved ...
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8402 ... here.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8404 Moved ...
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8407 Moved ...
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8410 Moved ...
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8413 Moved ...
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8416 Moved ...
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8419 Moved ...
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8422 Moved ...
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8426 ... here.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8428 Moved ...
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8431 Moved ...
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8433 ... here.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8435 Moved ...
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8437 ... here.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8439 Moved ...
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8441 ... here.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8443 Moved ...
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8446 Moved ...
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8451 Moved ...
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8453 ... here.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8455 Moved ...
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8457 ... here.
8458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8459 Moved ...
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8462 Moved ...
8463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8465 Moved ...
8466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8468 Moved ...
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8471 Moved ...
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8473 ... here.
8474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8475 Moved ...
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8478 Moved ...
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8481 Moved ...
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8484 Moved ...
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8489 Moved ...
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8492 Moved ...
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8495 Moved ...
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8497 ... here.
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8499 Moved ...
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8501 ... here.
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8503 Moved ...
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8505 ... here.
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8507 Moved ...
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8510 Moved ...
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8513 Moved ...
8514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8516 Moved ...
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8518 ... here.
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8520 Moved ...
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8522 ... here.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8524 Moved ...
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8526 ... here.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8528 Moved ...
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8531 Moved ...
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8533
e6d90d67
WD
85342014-06-23 Will Newton <will.newton@linaro.org>
8535 Wilco <wdijkstr@arm.com>
8536
8537 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8538 implementation. Include get-rounding-mode.h.
8539 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8540 [!libc_feholdsetround_noex_ctx]: Define
8541 libc_feholdsetround_noex_ctx.
8542 [!libc_feholdsetround_noexf_ctx]: Define
8543 libc_feholdsetround_noexf_ctx.
8544 [!libc_feholdsetround_noexl_ctx]: Define
8545 libc_feholdsetround_noexl_ctx.
8546 (libc_feholdsetround_ctx): New function.
8547 (libc_feresetround_ctx): New function.
8548 (libc_feholdsetround_noex_ctx): New function.
8549 (libc_feresetround_noex_ctx): New function.
8550
d42df555
RM
85512014-06-23 Roland McGrath <roland@hack.frob.com>
8552
88a46474
RM
8553 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8554 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8555 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8556 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8557 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8558 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8559
15bed472
RM
8560 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8561 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8562 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8563 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8564 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8565 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8566 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8567 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8568 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8569 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8570 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8571 Moved ...
8572 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8573 ... here.
8574 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8575 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8576 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8577 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8579 Moved ...
8580 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8581 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8582 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8583 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8584 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8585 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8586 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8587 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8588 Moved ...
8589 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8590 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8591 Moved ...
8592 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8594 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8596 Moved ...
8597 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8599 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8600 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8601 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8602 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8603 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8604 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8605 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8606 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8607 Moved ...
8608 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8609 ... here.
8610 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8611 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8612 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8613 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8614 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8615 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8616 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8617 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8619 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8620 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8621 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8622 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8623 Moved ...
8624 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8625 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8626 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8628 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8629 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8630 Moved ...
8631 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8632 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8633 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8634 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8635 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8636
d42df555
RM
8637 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8638 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8639 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8640 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8641 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8642 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8643 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8644 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8646 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8647 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8648 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8649 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8650 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8651 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8652 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8653 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8654 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8655 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8656 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8657 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8658 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8659 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8660 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8661 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8662 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8663 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8664 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8665
76e5216e
JM
86662014-06-23 Joseph Myers <joseph@codesourcery.com>
8667
8668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8669 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8670 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8671 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8672 (IPV6_PMTUDISC_INTERFACE): Likewise.
8673 (IPV6_PMTUDISC_OMIT): Likewise.
8674
7a81cbcc
AS
86752014-06-23 Andreas Schwab <schwab@suse.de>
8676
8677 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8678 Remove unused errout label.
8679
db224009
AZ
86802014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8681
8682 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8683 macro: hardware supports Vector Crypto instructions.
8684
f393b4aa
WN
86852014-06-23 Will Newton <will.newton@linaro.org>
8686
cc7d0447
WN
8687 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8688 rather than __builtin_expect.
8689
d6d06225
WN
8690 * elf/dl-lookup.c (undefined_msg): Remove variable.
8691 (_dl_lookup_symbol_x): Replace undefined_msg with string
8692 literal.
8693
f393b4aa
WN
8694 * elf/dl-lookup.c (do_lookup_unique): New function.
8695 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8696 to a separate function.
8697
ac60763e
AS
86982014-06-23 Andreas Schwab <schwab@suse.de>
8699
8700 [BZ #17079]
8701 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8702 before reading the next line.
8703
c5c13355
WN
87042014-06-23 Will Newton <will.newton@linaro.org>
8705
8706 * test-skeleton.c (signal_handler): Use printf and %m
8707 rather than perror. Use printf rather than fprintf to
8708 stderr. Use puts rather than fputs to stderr.
8709 (main): Likewise.
8710
bd3675f9
LC
87112014-06-22 Ludovic Courtès <ludo@gnu.org>
8712
8713 * nscd/nscd.c (thread_info_t): Remove typedef.
8714 (thread_info): Remove variable.
8715
d03efb2f
AM
87162014-06-21 Allan McRae <allan@archlinux.org>
8717
8718 * NEWS: Mention CVE-2014-4043.
8719
bc4a86fa
RM
87202014-06-20 Roland McGrath <roland@hack.frob.com>
8721
dc9a54f8
RM
8722 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8723 * nptl/smp.h: ... here.
8724
bd7022c4
RM
8725 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8726
26ffd5e6
RM
8727 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8728 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8729 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8730 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8731
93a6d082
RM
8732 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8733 * nptl/stack-aliasing.h: New file.
8734 * sysdeps/i386/i686/stack-aliasing.h: New file.
8735 * sysdeps/i386/i686/nptl/Makefile: File removed.
8736 * sysdeps/x86_64/stack-aliasing.h: New file.
8737 * sysdeps/x86_64/nptl/Makefile
8738 (CFLAGS-pthread_create.c): Variable removed.
8739
bc4a86fa
RM
8740 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8741 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8742 old file.
8743 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8744 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8745 old file.
8746
2272ffc1
JM
87472014-06-21 Joseph Myers <joseph@codesourcery.com>
8748
8749 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8750 (__ASSUME_SIGFRAME_V2): Remove macro.
8751 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8752 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8753 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8754 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8755 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8756 Declare as function. Remove conditional macro definitions.
8757 (__default_rt_sa_restorer): Likewise.
8758 (__default_sa_restorer_v1): Remove declaration.
8759 (__default_sa_restorer_v2): Likewise.
8760 (__default_rt_sa_restorer_v1): Likewise.
8761 (__default_rt_sa_restorer_v2): Likewise.
8762 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8763 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8764 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8765
4b88139b
RM
87662014-06-20 Roland McGrath <roland@hack.frob.com>
8767
8768 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8769 (libpthread-routines): Add sysdep.
8770 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8771 * sysdeps/unix/sysv/linux/sparc/Versions
8772 (libpthread: GLIBC_2.3.3): New version set.
8773 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8774 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8775 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8776 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8777 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8778 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8779 Moved ...
8780 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8781 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8782 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8783 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8784 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8785 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8786 * sysdeps/sparc/nptl/sem_init.c: ... here.
8787 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8788 * sysdeps/sparc/nptl/sem_post.c: ... here.
8789 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8790 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8791 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8792 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8793 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8794 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8795 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8796 (libpthread-routines): Add cpu_relax.
8797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8798 File removed.
8799 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8800 (librt: GLIBC_2.3.3): New version set.
8801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8802 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8803 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8804 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8807 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8809 Moved ...
8810 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8812 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8814 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8816 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8818 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8820 Moved ...
8821 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8822 Update #include.
8823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8824 Moved ...
8825 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8826 Update #include.
8827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8828 Moved ...
8829 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8830 Update #include.
8831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8832 Moved ...
8833 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8834 Update #include.
8835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8836 Moved ...
8837 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8838 Update #include.
8839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8840 Moved ...
8841 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8842 Update #include.
8843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8844 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8850 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8852 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8854 Moved ...
8855 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8857 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8859 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8860
d7109027
JM
88612014-06-20 Joseph Myers <joseph@codesourcery.com>
8862
9bc6103d
JM
8863 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8864 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8865 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8866 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8867 * nscd/nscd.c: Likewise.
8868 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8869 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8870 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8871 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8872
d7109027
JM
8873 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8874 <kernel-features.h>.
8875 (init_mq_netlink): Remove conditional have_sock_cloexec
8876 definitions. Remove code conditional on have_sock_cloexec < 0.
8877 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8878 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8879 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8880 <kernel-features.h>.
8881 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8882 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8883
d92d8f8a
L
88842014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8885
8886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8887 Add tests for memset_chk and memset.
8888
8889 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8890 with AVX2_Usable.
8891
4e6d2347
MR
88922014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8893
257ce712
MR
8894 [BZ #16046]
8895 * elf/tst-dl-iter-static.c: New file.
8896 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8897
4e6d2347
MR
8898 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8899 error.
8900
a2a76afe
JM
89012014-06-20 Joseph Myers <joseph@codesourcery.com>
8902
7fd00f99
JM
8903 * sysdeps/unix/sysv/linux/kernel-features.h
8904 (__ASSUME_F_GETOWN_EX): Remove macro.
8905 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8906 <kernel-features.h>.
8907 (miss_F_GETOWN_EX): Remove variable or macro.
8908 (do_fcntl): Do not check miss_F_GETOWN_EX.
8909 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8910
4a103975
JM
8911 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8912 Remove macro.
8913 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8914 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8915 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8916
a2a76afe
JM
8917 * sysdeps/unix/sysv/linux/kernel-features.h
8918 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8919 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8920 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8921 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8922
90e5dd48
MR
89232014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8924
8925 [BZ #17075]
8926 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8927 Fix calculation of the symbol's value.
8928 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8929 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8930 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8931 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8932 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8933 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8934 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8935 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8936 (modules-names): Add `tst-armtlsdescmod',
8937 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8938 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8939 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8940 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8941 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8942 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8943 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8944 ($(objpfx)tst-armtlsdescloc): New dependency.
8945 ($(objpfx)tst-armtlsdescextnow): Likewise.
8946 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8947 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8948 TLS scheme support.
8949 * sysdeps/arm/configure: Regenerate.
8950
809fdf0d
JM
89512014-06-20 Joseph Myers <joseph@codesourcery.com>
8952
8953 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8954 (__atfct_seterrno_2): Likewise.
8955 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8956 <kernel-features.h>.
8957 (__ASSUME_ATFCTS): Do not undefine and redefine.
8958 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8959 (__have_atfcts): Remove conditional definition.
8960 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8961 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8962 unreachable if [__ASSUME_ATFCTS].
8963 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8964 not undefine and redefine.
8965 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8966 <kernel-features.h>.
8967 (faccessat) [__NR_faccessat]: Make code unconditional.
8968 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8969 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8970 <kernel-features.h>.
8971 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8972 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8973 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8974 <kernel-features.h>.
8975 (fchownat) [__NR_fchownat]: Make code unconditional.
8976 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8977 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8978 <kernel-features.h>.
8979 (futimesat) [__NR_futimesat]: Make code unconditional.
8980 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8981 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8982 <kernel-features.h>.
8983 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8984 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8985 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8986 <kernel-features.h>.
8987 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8988 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8989 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8990 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8991 <kernel-features.h>.
8992 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8993 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8994 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8995 <kernel-features.h>.
8996 (linkat) [__NR_linkat]: Make code unconditional.
8997 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8998 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8999 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9000 <kernel-features.h>.
9001 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9002 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9003 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9004 <kernel-features.h>.
9005 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9006 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9007 * sysdeps/unix/sysv/linux/openat.c: Do not include
9008 <kernel-features.h>.
9009 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9010 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9011 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9012 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9013 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9014 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9015 <kernel-features.h>.
9016 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9017 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9018 result of INLINE_SYSCALL directly, not via int variable.
9019 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9020 <kernel-features.h>.
9021 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9022 (renameat) [__NR_renameat]: Make code unconditional.
9023 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9024 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9025 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9026 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9027 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9028 (__ASSUME_ATFCTS): Do not undefine and redefine.
9029 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9030 <kernel-features.h>.
9031 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9032 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9033 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9034 <kernel-features.h>.
9035 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9036 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9037 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9038 (__ASSUME_ATFCTS): Do not undefine and redefine.
9039 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9040 <kernel-features.h>.
9041 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9042 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9043 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9044 <kernel-features.h>.
9045 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9046 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9047
224c6c51
L
90482014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9049
9050 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9051
aa6ec754
AS
90522014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9053
9054 [BZ #17069]
9055 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9056 constructed tree before returning error.
9057 * posix/bug-regexp36.c: Expand test case.
9058
d8c2869d
SL
90592014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9060
3ef6b850
SL
9061 [BZ #6803]
9062 * math/libm-test.inc (scalbln_test_date):
9063 Add errno expectations.
9064 * math/w_scalblnf.c: New File.
9065 Add wrapper which checks for setting errno to ERANGE.
9066 Add weak_alias for corresponding scalbln function.
9067 * math/w_scalbln.c: Likewise.
9068 * math/w_scalblnl.c: Likewise.
9069 * math/Makefile (libm-calls): Add w_scalbln.
9070 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9071 Remove weak_alias for corresponding scalbln function.
9072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9074 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9076 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9077 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9078 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9079 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9080 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9081 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9082 Remove long_double_symbol for scalblnl function in libm, libc.
9083 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9084 Add wrapper which checks for setting errno to ERANGE.
9085 Add long_double_symbol for scalblnl function in libm, libc.
9086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9087 Remove long_double_symbol for scalblnl in libm.
9088 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9089 Add wrapper which checks for setting errno to ERANGE.
9090 Add long_double_symbol for scalblnl function in libm.
9091 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9092 Do not use wrapper because of own implementation.
9093
c8daec5c
L
90942014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9095
9096 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9097 3 bytes for __pad1 for x32.
9098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9099
5c74e47c
LM
91002014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9101 H.J. Lu <hongjiu.lu@intel.com>
9102
9103 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9104 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9105 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9106 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9107 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9108
4d43ef1e
AS
91092014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9110
9111 [BZ #17069]
9112 * posix/regcomp.c (parse_expression): Deallocate partially
9113 constructed tree before returning error.
9114 * posix/Makefile.c (tests): Add bug-regex36.
9115 (generated): Add bug-regex36.mtrace.
9116 (tests-special): Add $(objpfx)bug-regex36-mem.out
9117 (bug-regex36-ENV): New variable.
9118 ($(objpfx)bug-regex36-mem.out): New rule.
9119 * posix/bug-regex36.c: New file.
9120
51a7380b
WN
91212014-06-19 Will Newton <will.newton@linaro.org>
9122
9123 * malloc/malloc.c (systrim): If extra is zero then return
9124 early.
9125
91b84fe5
SP
91262014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9127
9128 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9129
f940b965
RE
91302014-06-19 Richard Earnshaw <rearnsha@arm.com>
9131
9132 * sysdeps/aarch64/strchr.S: New file.
9133
4ba7a00f
JM
91342014-06-18 Joseph Myers <joseph@codesourcery.com>
9135
9136 [BZ #17022]
9137 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9138 from arguments -2 or below.
9139 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9140 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9141
b3a9f56b
AS
91422014-06-18 Andreas Schwab <schwab@suse.de>
9143
9144 [BZ #17062]
9145 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9146 of a bracket expr not to run off the end of the string.
9147 * posix/Makefile (tests): Add tst-fnmatch3.
9148 * posix/tst-fnmatch3.c: New file.
9149
85d89278
JM
91502014-06-18 Joseph Myers <joseph@codesourcery.com>
9151
9152 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9153 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9154 [$(cross-compiling) = no]: Likewise.
9155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9156 [$(cross-compiling) = no]: Likewise.
9157
754c5a08
RS
91582014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9159
9160 [BZ #17031]
9161 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9162 double, adjusted for any remainder from the high double.
9163 * math/libm-test.inc (nearbyint): Add tests.
9164 (rint): Likewise.
9165
556f529d
AZ
91662014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9167
9168 * nptl/sysdeps/powerpc/Makefile: Moved ...
9169 * sysdeps/powerpc/nptl/Makefile: ... here.
9170 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9171 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9172 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9173 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9174 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9175 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9176 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9177 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9178 * nptl/sysdeps/powerpc/tls.h: Moved ...
9179 * sysdeps/powerpc/nptl/tls.h: ... here.
9180
91c03c53
JM
91812014-06-16 Joseph Myers <joseph@codesourcery.com>
9182
9183 [BZ #16681]
9184 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9185 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9186 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9187 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9188 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9189 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9190 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9191 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9192 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9193
a76e63c5
AS
91942014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9195
9196 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9197
f2f6d82f
AS
91982014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9199
ea8a15f6
AS
9200 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9201 defined operator.
9202
f2f6d82f
AS
9203 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9204 $TIMEOUTFACTOR.
9205
a7291117
FW
92062014-06-16 Florian Weimer <fweimer@redhat.com>
9207
9208 [BZ #17058]
9209 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9210 non-executed part of the test.
9211
3d7c00e3
AS
92122014-06-16 Andreas Schwab <schwab@suse.de>
9213
9214 * string/bits/string2.h (strdup, strndup): Update feature guard.
9215
6957fb31
DM
92162014-06-14 David S. Miller <davem@davemloft.net>
9217
9218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9219
11b9e55b
AS
92202014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9221
1d2a0492
AS
9222 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9223 that was previously under [RESET_PID].
9224 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9225
11b9e55b
AS
9226 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9227 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9228 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9229 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9230 (__libc_vfork): New strong alias.
9231 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9232
0f6901d0
AK
92332014-06-14 Andi Kleen <ak@linux.intel.com>
9234
9235 * sysdeps/generic/elide.h: New file.
9236
38bbbb9f
SL
92372014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9238
9239 * Makefile (installed-headers): Adjust path of pthread.h header.
9240
45193bb8
RM
92412014-06-13 Roland McGrath <roland@hack.frob.com>
9242
9a25fd1e
RM
9243 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9244 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9245 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9246 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9247
4004f7e4
RM
9248 * nptl/sysdeps/s390/Makefile: Moved ...
9249 * sysdeps/s390/nptl/Makefile: ... here.
9250 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9251 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9252 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9253 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9254 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9255 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9256 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9257 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9258 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9259 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9260 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9261 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9262 * nptl/sysdeps/s390/tls.h: Moved ...
9263 * sysdeps/s390/nptl/tls.h: ... here.
9264
45193bb8
RM
9265 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9266 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9267
f6fdf533
DM
92682014-06-13 David S. Miller <davem@davemloft.net>
9269
9270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9273 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9277 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9278 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9279 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9280 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9281 Remove RESET_PID cpp guards.
9282 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9283 Remove RESET_PID cpp guards.
9284 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9285
f5d71e14
AS
92862014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9287
9288 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9289 __sp to uintptr_t.
9290
b7aa8caa
AK
92912014-06-13 Andi Kleen <ak@linux.intel.com>
9292
4b266200
AZ
9293 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9294 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9295 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9296 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9297 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9298 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9299 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9300 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9301 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9302 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9303 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9304 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9306 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9307 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9308 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9309 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9310 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9311 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9312 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9313
9314 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9315 (pthread_rwlock_rdlock): Add elision.
9316 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9317 (pthread_rwlock_wrlock): Add elision.
9318 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9319 (pthread_rwlock_trywrlock): Add elision.
9320 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9321 (pthread_rwlock_tryrdlock): Add elision.
9322 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9323 (pthread_rwlock_tryrdlock): Add elision unlock.
9324 * nptl/sysdeps/pthread/pthread.h:
9325 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9326 (PTHREAD_RWLOCK_INITIALIZER,
9327 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9328 Handle new elision field.
9329 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9330 * sysdeps/arm/nptl/bits/pthreadtypes.h
9331 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9332 * sysdeps/sh/nptl/bits/pthreadtypes.h
9333 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9334 * sysdeps/tile/nptl/bits/pthreadtypes.h
9335 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9336 * sysdeps/a/nptl/bits/pthreadtypes.h
9337 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9338 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9339 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9340 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9341 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9342 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9343 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9344 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9345 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9346 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9347 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9348 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9349 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9350 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9351 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9352 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9353 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9354 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9355 (elision_init): Set try_xbegin to zero when no RTM.
9356 * sysdeps/x86/nptl/bits/pthreadtypes.h
9357 (pthread_rwlock_t): Change __pad1 to __rwelision.
9358 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9359
a832bdd3
AK
93602014-06-13 Andi Kleen <ak@linux.intel.com>
9361
9362 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9363 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9364 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9365 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9366
995a46bb
MI
93672014-06-13 Meador Inge <meadori@codesourcery.com>
9368
9369 [BZ #16996]
03ed7738 9370 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
9371 that the cached result has been set before returning it.
9372
45262aee
RM
93732014-06-12 Roland McGrath <roland@hack.frob.com>
9374
febf6cc5
RM
9375 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9376 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9377 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9378 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9379 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9380 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9381
e2682246
RM
9382 * nptl/sysdeps/sparc/Makefile: Moved ...
9383 * sysdeps/sparc/nptl/Makefile: ... here.
9384 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9385 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9386 * nptl/sysdeps/sparc/tls.h: Moved ...
9387 * sysdeps/sparc/nptl/tls.h: ... here.
9388 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9389 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9390 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9391 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9392 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9393 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9394 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9395 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9396 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9397 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9398 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9399 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9400 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9401 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9402 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9403 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9404 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9405 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9406 Update #include.
9407 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9408 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9409 Update #include.
9410 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9411 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9412 Update #include.
9413 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9414 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9415 Update #include.
9416
b0725f43
RM
9417 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9418
b14368b8
RM
9419 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9420 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9421
c5620eb3
RM
9422 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9423 (struct list_links): Type removed.
9424 (struct thread_node, struct timer_node): Replace struct list_links
9425 with struct list_head.
9426 (list_unlink_ip): Likewise.
9427 * sysdeps/pthread/timer_routines.c
9428 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9429 (list_append, list_insbefore): Likewise.
9430 (list_init): Function removed.
9431 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
9432 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9433 * sysdeps/pthread/Makefile: ... here, new file.
9434
9435 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9436 * sysdeps/nptl/Implies: ... here.
9437 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9438 * nptl/sysdeps/pthread/list.h: Moved ...
9439 * include/list.h: ... here.
9440 * nptl/sysdeps/pthread/createthread.c: Moved ...
9441 * nptl/createthread.c: ... here.
9442 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9443 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9444 * nptl/pt-longjmp.c: ... here.
9445 * nptl/sysdeps/pthread/Makefile: Moved ...
9446 * sysdeps/nptl/Makefile: ... here.
9447 * nptl/sysdeps/pthread/Subdirs: Moved ...
9448 * sysdeps/nptl/Subdirs: ... here.
9449 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9450 * sysdeps/nptl/aio_misc.h: ... here.
9451 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9452 * sysdeps/nptl/bits/libc-lock.h: ... here.
9453 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9454 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9455 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9456 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9457 * nptl/sysdeps/pthread/configure: Moved ...
9458 * sysdeps/nptl/configure: ... here.
9459 * nptl/sysdeps/pthread/configure.ac: Moved ...
9460 * sysdeps/nptl/configure.ac: ... here.
9461 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9462 * sysdeps/nptl/gai_misc.h: ... here.
9463 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9464 * sysdeps/nptl/librt-cancellation.c: ... here.
9465 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9466 * sysdeps/nptl/malloc-machine.h: ... here.
9467 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9468 * sysdeps/nptl/pthread-functions.h: ... here.
9469 * nptl/sysdeps/pthread/pthread.h: Moved ...
9470 * sysdeps/nptl/pthread.h: ... here.
9471 * nptl/sysdeps/pthread/setxid.h: Moved ...
9472 * sysdeps/nptl/setxid.h: ... here.
9473 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9474 * sysdeps/nptl/sigfillset.c: ... here.
9475 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9476 * sysdeps/nptl/tcb-offsets.h: ... here.
9477 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9478 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9479 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9480 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9481 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9482 * sysdeps/pthread/allocalim.h: ... here.
9483 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9484 * sysdeps/pthread/bits/sigthread.h: ... here.
9485 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9486 * sysdeps/pthread/flockfile.c: ... here.
9487 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9488 * sysdeps/pthread/ftrylockfile.c: ... here.
9489 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9490 * sysdeps/pthread/funlockfile.c: ... here.
9491 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9492 * sysdeps/pthread/posix-timer.h: ... here.
9493 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9494 * sysdeps/pthread/timer_create.c: ... here.
9495 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9496 * sysdeps/pthread/timer_delete.c: ... here.
9497 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9498 * sysdeps/pthread/timer_getoverr.c: ... here.
9499 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9500 * sysdeps/pthread/timer_gettime.c: ... here.
9501 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9502 * sysdeps/pthread/timer_routines.c: ... here.
9503 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9504 * sysdeps/pthread/timer_settime.c: ... here.
9505 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9506 * sysdeps/pthread/tst-timer.c: ... here.
9507 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9508 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9509
e876b090
RM
9510 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9511 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9512
f6b07b3d
RM
9513 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9514 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9515 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9516 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9517 Update #include target.
9518 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9519 * sysdeps/i386/i686/nptl/Makefile: ... here.
9520 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9521 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9522 Update #include target.
9523 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9524 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9525 * nptl/sysdeps/i386/Makefile: Moved ...
9526 * sysdeps/i386/nptl/Makefile: ... here.
9527 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9528 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9529 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9530 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9531 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9532 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9533 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9534 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9535 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9536 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9537 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9538 * nptl/sysdeps/i386/tls.h: Moved ...
9539 * sysdeps/i386/nptl/tls.h: ... here.
9540
45262aee
RM
9541 * sysdeps/sh/Makefile [$(subdir) = csu]
9542 (gen-as-const-headers): Add tcb-offsets.sym.
9543 * nptl/sysdeps/sh/Makefile: File removed.
9544 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9545 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9546 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9547 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9548 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9549 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9550 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9551 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9552 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9553 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9554 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9555 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9556 * nptl/sysdeps/sh/tls.h: Moved ...
9557 * sysdeps/sh/nptl/tls.h: ... here.
9558 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9559 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9560 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9561 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9563 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9564 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9565 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9566 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9567 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9568 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9569 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9570 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9571 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9572 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9573 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9574 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9575 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9576 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9577 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9578 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9579 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9580 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9581 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9582 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9583 Moved ...
9584 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9585 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9586 Moved ...
9587 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9588 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9589 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9590 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9591 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9592 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9593 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9594 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9595 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9596 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9597 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9598 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9599 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9600 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9601 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9602 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9603 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9604 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9605 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9606
35a5e3e3
SL
96072014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9608
9609 * posix/spawn_faction_addopen.c: Include string.h.
9610
14642b85
RM
96112014-06-11 Roland McGrath <roland@hack.frob.com>
9612
9613 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9614 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9615 * nptl/sysdeps/x86_64/Makefile: Moved ...
9616 * sysdeps/x86_64/nptl/Makefile: ... here.
9617 * nptl/sysdeps/x86_64/configure: Moved ...
9618 * sysdeps/x86_64/nptl/configure: ... here.
9619 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9620 * sysdeps/x86_64/nptl/configure.ac: ... here.
9621 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9622 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9623 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9624 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9625 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9626 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9627 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9628 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9629 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9630 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9631 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9632 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9633 * nptl/sysdeps/x86_64/tls.h: Moved ...
9634 * sysdeps/x86_64/nptl/tls.h: ... here.
9635 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9636 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9637 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9638 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9639
9640 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9641
31c44fea
AZ
96422014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9643
9644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9645
e81a4f9a
JM
96462014-06-11 Joseph Myers <joseph@codesourcery.com>
9647
9648 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9649 type.
9650 [POSIX] (off_t): Likewise.
9651 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9652 [POSIX] (S_ISBLK): Require macro.
9653 [POSIX] (S_ISCHR): Likewise.
9654 [POSIX] (S_ISDIR): Likewise.
9655 [POSIX] (S_ISFIFO): Likewise.
9656 [POSIX] (S_ISREG): Likewise.
9657 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9658 optional-macro.
9659 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9660 type.
9661 [POSIX] (time_t): Likewise.
9662 [POSIX] (timer_t): Likewise.
9663
89e435f3
FW
96642014-06-11 Florian Weimer <fweimer@redhat.com>
9665
9666 [BZ #17048]
9667 * posix/spawn_int.h (struct __spawn_action): Make the path string
9668 non-const to support deallocation.
9669 * posix/spawn_faction_addopen.c
9670 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9671 * posix/spawn_faction_destroy.c
9672 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9673 path in all spawn_do_open actions.
9674 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9675 posix_spawn_file_actions_addopen.
9676
c3a2ebe1
CM
96772014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9678
9679 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9680 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9681 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9682 conditional code always true.
9683 (__libc_vfork): New alias.
9684
9503784a
RM
96852014-06-11 Roland McGrath <roland@hack.frob.com>
9686
c9cab3d2
RM
9687 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9688 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9689
d3996c79
RM
9690 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9691
ba5ec611
RM
9692 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9693 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9694
f12b4814
RM
9695 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9696 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9697
9503784a
RM
9698 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9699 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9700
e23d3d26
VR
97012014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9702
9703 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9704 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9705 multiarch strcmp for PPC64.
9706 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9709 multiarch optimizations.
9710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9711 (__libc_ifunc_impl_list): Likewise.
9712
42b1161e
SP
97132014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9714
9715 * benchtests/scripts/validate_benchout.py: New script.
9716 * benchtests/Makefile (bench-func): Call it.
9717 * benchtests/scripts/benchout.schema.json: New file.
9718
2d0fc4dc
CM
97192014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9720
4a594c34
AZ
9721 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9722 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9723 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9724 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9725 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9726 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9727 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9728 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9729 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9730 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9731 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9732 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9733 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9734 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9735 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9736 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 9738 Moved ...
4a594c34 9739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 9740 ... here.
4a594c34 9741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 9742 Moved ...
4a594c34
AZ
9743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 9745 Moved ...
4a594c34 9746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 9747 ... here.
4a594c34 9748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 9749 Moved ...
4a594c34 9750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 9751 ... here.
4a594c34 9752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 9753 Moved ...
4a594c34
AZ
9754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 9756 Moved ...
4a594c34 9757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 9758 ... here.
4a594c34 9759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 9760 Moved ...
4a594c34 9761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 9762 ... here.
4a594c34 9763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 9764 Moved ...
4a594c34
AZ
9765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 9767 Moved ...
4a594c34 9768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 9769 ... here.
4a594c34 9770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 9771 Moved ...
4a594c34 9772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 9773 ... here.
4a594c34 9774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 9775 Moved ...
4a594c34 9776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 9777 ... here.
4a594c34 9778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 9779 Moved ...
4a594c34
AZ
9780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 9782 Moved ...
4a594c34 9783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 9784 ... here.
4a594c34 9785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 9786 Moved ...
4a594c34 9787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 9788 ... here.
4a594c34 9789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 9790 Moved ...
4a594c34 9791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 9792 ... here.
4a594c34 9793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 9794 Moved ...
4a594c34
AZ
9795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 9797 Moved ...
4a594c34 9798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 9799 ... here.
4a594c34 9800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 9801 Moved ...
4a594c34 9802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 9803 ... here.
4a594c34 9804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 9805 Moved ...
4a594c34
AZ
9806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 9808 Moved ...
4a594c34 9809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 9810 ... here.
4a594c34 9811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 9812 Moved ...
4a594c34
AZ
9813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 9815 Moved ...
4a594c34
AZ
9816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 9818 Moved ...
4a594c34 9819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 9820 ... here.
4a594c34 9821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 9822 Moved ...
4a594c34 9823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 9824 ... here.
4a594c34 9825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 9826 Moved ...
4a594c34 9827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 9828 ... here.
4a594c34 9829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 9830 Moved ...
4a594c34
AZ
9831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 9833 Moved ...
4a594c34 9834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 9835 ... here.
4a594c34 9836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 9837 Moved ...
4a594c34 9838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 9839 ... here.
4a594c34
AZ
9840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9841 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9842 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 9845 Moved ...
4a594c34 9846 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 9847 ... here.
4a594c34
AZ
9848 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9851 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9857 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9858 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9859 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9860 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 9861 Moved ...
4a594c34
AZ
9862 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 9864 Moved ...
4a594c34
AZ
9865 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9867 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 9869 Moved ...
4a594c34
AZ
9870 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9874 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9875 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9876 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 9877
0570cfed
W
98782014-06-10 Wilco <wdijkstr@arm.com>
9879
9880 * math/test-fenv-return.c: New file.
9881 * math/Makefile: Add new test test-fenv-return.
9882
f8ba1b56
JM
98832014-06-10 Joseph Myers <joseph@codesourcery.com>
9884
9885 [BZ #17042]
9886 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9887 when x - 1 is zero.
9888 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9889 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9890 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9891 0.0L for an argument of 1.0L.
9892 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9893 Likewise.
9894 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9895 value when x - 1 is zero.
9896 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9897 * sysdeps/i386/fpu/libm-test-ulps: Update.
9898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9899
2c3520d9
BO
99002014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9901
9902 [BZ #15119]
9903 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9904
acaa4d24
RM
99052014-06-09 Roland McGrath <roland@hack.frob.com>
9906
9907 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9908 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9909
962b744d
RM
99102014-06-09 Roland McGrath <roland@hack.frob.com>
9911
d752f0cc
RM
9912 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9913 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9914
34eda6d1
RM
9915 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9916 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9917
50f0a637
RM
9918 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9919 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9920
08f41f04
RM
9921 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9922 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9923
962b744d
RM
9924 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9925 if not already defined.
9926 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9927 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9928 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9929 (TLS_INIT_TP): Use it.
9930 (TLS_DEFINE_INIT_TP): New macro.
9931 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9932
09f19b05
JM
99332014-06-09 Joseph Myers <joseph@codesourcery.com>
9934
9935 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9936 constant.
9937 [POSIX] (IXANY): Likewise.
9938 [POSIX] (OLCUC): Likewise.
9939 [POSIX || POSIX2008] (CBAUD): Do not allow.
9940 [POSIX || POSIX2008] (DEFECHO): Likewise.
9941 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9942 [POSIX || POSIX2008] (ECHOKE): Likewise.
9943 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9944 [POSIX || POSIX2008] (EXTA): Likewise.
9945 [POSIX || POSIX2008] (EXTB): Likewise.
9946 [POSIX || POSIX2008] (FLUSHO): Likewise.
9947 [POSIX || POSIX2008] (LOBLK): Likewise.
9948 [POSIX || POSIX2008] (PENDIN): Likewise.
9949 [POSIX || POSIX2008] (SWTCH): Likewise.
9950 [POSIX || POSIX2008] (VDISCARD): Likewise.
9951 [POSIX || POSIX2008] (VDSUSP): Likewise.
9952 [POSIX || POSIX2008] (VLNEXT): Likewise.
9953 [POSIX || POSIX2008] (VREPRINT): Likewise.
9954 [POSIX || POSIX2008] (VSTATUS): Likewise.
9955 [POSIX || POSIX2008] (VWERASE): Likewise.
9956 (B*): Change to B[0123456789]*.
9957 * conform/data/time.h-data [POSIX || UNIX98]
9958 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9959 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9960 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9961 [POSIX] (tm_*): Do not allow.
9962
686554bf
JM
99632014-06-07 Joseph Myers <joseph@codesourcery.com>
9964
9965 * Makefile (install): Don't set LANGUAGE.
9966 * Makefile.in (install): Likewise.
9967 * assert/Makefile (test-assert-ENV): Remove variable.
9968 (test-assert-perr-ENV): Likewise.
9969 * elf/Makefile (neededtest4-ENV): Likewise.
9970 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9971 [$(cross-compiling) = no]: Don't set LANGUAGE.
9972 * io/ftwtest-sh (LANG): Remove variable.
9973 * libio/Makefile (tst-widetext-ENV): Likewise.
9974 * manual/install.texi (Running make install): Don't refer to
9975 environment settings for make install.
9976 * INSTALL: Regenerated.
9977 * nptl/tst-tls6.sh: Don't set LANG.
9978 * posix/globtest.sh (LANG): Remove variable.
9979 * string/Makefile (tester-ENV): Likewise.
9980 (inl-tester-ENV): Likewise.
9981 (noinl-tester-ENV): Likewise.
9982 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9983 [$(cross-compiling) = no]: Don't set LANGUAGE.
9984 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9985 without explicit environment settings.
9986
68e6b6b1
RM
99872014-06-06 Roland McGrath <roland@hack.frob.com>
9988
9989 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9990 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9991 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9992 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9993
4d3ae034
CM
99942014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9995
9996 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9997 other files in the crypt directory.
9998 * crypt/crypt.c: Remove duplicate includes.
9999 * crypt/crypt-entry.c: Likewise.
10000 * crypt/crypt_util.c: Likewise.
10001
8540f6d2
JM
100022014-06-06 Joseph Myers <joseph@codesourcery.com>
10003
10004 * Makeconfig (run-program-env): New variable.
10005 (run-program-prefix-before-env): Likewise.
10006 (run-program-prefix-after-env): Likewise.
10007 (run-program-prefix): Define in terms of new variables.
10008 (built-program-cmd-before-env): New variable.
10009 (built-program-cmd-after-env): Likewise.
10010 (built-program-cmd): Define in terms of new variables.
10011 (test-program-prefix-before-env): New variable.
10012 (test-program-prefix-after-env): Likewise.
10013 (test-program-prefix): Define in terms of new variables.
10014 (test-program-cmd-before-env): New variable.
10015 (test-program-cmd-after-env): Likewise.
10016 (test-program-cmd): Define in terms of new variables.
10017 * Rules (make-test-out): Use $(run-program-env).
10018 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10019 (help): Do not mention environment variables. Mention
10020 --timeoutfactor option.
10021 (timeoutfactor): New variable.
10022 (blacklist_exports): Remove function.
10023 (exports): Remove variable.
10024 (command): Do not include ${exports}.
10025 * manual/install.texi (Configuring and compiling): Do not mention
10026 test wrappers preserving environment variables. Mention that last
10027 assignment to a variable must take precedence.
10028 * INSTALL: Regenerated.
10029 * benchtests/Makefile (run-bench): Use $(run-program-env).
10030 * catgets/Makefile ($(objpfx)test1.cat): Use
10031 $(built-program-cmd-before-env), $(run-program-env) and
10032 $(built-program-cmd-after-env).
10033 ($(objpfx)test2.cat): Do not specify environment variables
10034 explicitly.
10035 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10036 $(run-program-env) and $(built-program-cmd-after-env).
10037 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10038 $(run-program-env) and $(test-program-cmd-after-env).
10039 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10040 explicitly.
10041 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10042 run_program_env and test_program_cmd_after_env arguments.
10043 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10044 * elf/tst-pathopt.sh: Use run_program_env argument.
10045 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10046 $(test-wrapper-env) and $(run-program-env).
10047 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10048 run_program_env arguments.
10049 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10050 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10051 $(test-program-prefix-before-env), $(run-program-env) and
10052 $(test-program-prefix-after-env).
10053 ($(objpfx)tst-gettext2.out): Likewise.
10054 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10055 run_program_env and test_program_prefix_after_env arguments.
10056 * intl/tst-gettext2.sh: Likewise.
10057 * intl/tst-gettext4.sh: Do not set environment variables
10058 explicitly.
10059 * intl/tst-gettext6.sh: Likewise.
10060 * intl/tst-translit.sh: Likewise.
10061 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10062 $(test-program-prefix-before-env), $(run-program-env) and
10063 $(test-program-prefix-after-env).
10064 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10065 run_program_env and test_program_prefix_after_env arguments.
10066 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10067 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10068 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10069 explicitly with each use of ${test_wrapper_env}.
10070 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10071 $(test-program-prefix-before-env), $(run-program-env) and
10072 $(test-program-prefix-after-env).
10073 * posix/tst-getconf.sh: Do not set environment variables
10074 explicitly.
10075 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10076 run_program_env and test_program_prefix_after_env arguments.
10077 * stdio-common/tst-printf.sh: Do not set environment variables
10078 explicitly.
10079 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10080 $(test-program-prefix-before-env), $(run-program-env) and
10081 $(test-program-prefix-after-env).
10082 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10083 run_program_env and test_program_prefix_after_env arguments.
10084 Split $test calls into $test_pre and $test.
10085 * timezone/Makefile (build-testdata): Use
10086 $(built-program-cmd-before-env), $(run-program-env) and
10087 $(built-program-cmd-after-env).
10088
ed36bfa1
AZ
100892014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10090
10091 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10092 strlen for non SHARED builds.
10093
fc75bf46
SP
100942014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10095
10096 * nptl/allocatestack.c (check_list): Inlined function...
10097 (__reclaim_stacks): ... here.
10098
d89b3d80
OB
100992014-06-05 Ondřej Bílka <neleai@seznam.cz>
10100
10101 [BZ #15698]
10102 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10103 memory overrun.
10104
2bf18041
JM
101052014-06-05 Joseph Myers <joseph@codesourcery.com>
10106
10107 * Rules (make-test-out): Include
10108 LOCPATH=$(common-objpfx)localedata in default environment.
10109 * debug/Makefile (tst-chk1-ENV): Remove variable.
10110 (tst-chk2-ENV): Likewise.
10111 (tst-chk3-ENV): Likewise.
10112 (tst-chk4-ENV): Likewise.
10113 (tst-chk5-ENV): Likewise.
10114 (tst-chk6-ENV): Likewise.
10115 (tst-lfschk1-ENV): Likewise.
10116 (tst-lfschk2-ENV): Likewise.
10117 (tst-lfschk3-ENV): Likewise.
10118 (tst-lfschk4-ENV): Likewise.
10119 (tst-lfschk5-ENV): Likewise.
10120 (tst-lfschk6-ENV): Likewise.
10121 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10122 (tst-iconv7-ENV): Likewise.
10123 * intl/Makefile (LOCPATH-ENV): Likewise.
10124 (tst-codeset-ENV): Likewise.
10125 (tst-gettext3-ENV): Likewise.
10126 (tst-gettext5-ENV): Likewise.
10127 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10128 (tst-fopenloc-ENV): Likewise.
10129 (tst-fgetws-ENV): Remove variable.
10130 (tst-ungetwc1-ENV): Likewise.
10131 (tst-ungetwc2-ENV): Likewise.
10132 (bug-ungetwc2-ENV): Likewise.
10133 (tst-swscanf-ENV): Likewise.
10134 (bug-ftell-ENV): Likewise.
10135 (tst-fgetwc-ENV): Likewise.
10136 (tst-fseek-ENV): Likewise.
10137 (tst-ftell-partial-wide-ENV): Likewise.
10138 (tst-ftell-active-handler-ENV): Likewise.
10139 (tst-ftell-append-ENV): Likewise.
10140 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10141 (tst-regexloc-ENV): Likewise.
10142 (bug-regex1-ENV): Likewise.
10143 (tst-regex-ENV): Likewise.
10144 (tst-regex2-ENV): Likewise.
10145 (bug-regex5-ENV): Likewise.
10146 (bug-regex6-ENV): Likewise.
10147 (bug-regex17-ENV): Likewise.
10148 (bug-regex18-ENV): Likewise.
10149 (bug-regex19-ENV): Likewise.
10150 (bug-regex20-ENV): Likewise.
10151 (bug-regex22-ENV): Likewise.
10152 (bug-regex23-ENV): Likewise.
10153 (bug-regex25-ENV): Likewise.
10154 (bug-regex26-ENV): Likewise.
10155 (bug-regex30-ENV): Likewise.
10156 (bug-regex32-ENV): Likewise.
10157 (bug-regex33-ENV): Likewise.
10158 (bug-regex34-ENV): Likewise.
10159 (bug-regex35-ENV): Likewise.
10160 (tst-rxspencer-ENV): Likewise.
10161 (tst-rxspencer-no-utf8-ENV): Likewise.
10162 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10163 (tst-sscanf-ENV): Likewise.
10164 (tst-swprintf-ENV): Likewise.
10165 (tst-swscanf-ENV): Likewise.
10166 (test-vfprintf-ENV): Likewise.
10167 (scanf13-ENV): Likewise.
10168 (bug14-ENV): Likewise.
10169 (tst-grouping-ENV): Likewise.
10170 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10171 (tst-strtod3-ENV): Likewise.
10172 (tst-strtod4-ENV): Likewise.
10173 (tst-strtod5-ENV): Likewise.
10174 (testmb2-ENV): Likewise./
10175 * string/Makefile (tst-strxfrm-ENV): Likewise.
10176 (tst-strxfrm2-ENV): Likewise.
10177 (bug-strcoll1-ENV): Likewise.
10178 (test-strcasecmp-ENV): Likewise.
10179 (test-strncasecmp-ENV): Likewise.
10180 * time/Makefile (tst-strptime-ENV): Likewise.
10181 (tst-ftime_l-ENV): Likewise.
10182 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10183 (tst-mbrtowc-ENV): Likewise.
10184 (tst-wcrtomb-ENV): Likewise.
10185 (tst-mbrtowc2-ENV): Likewise.
10186 (tst-c16c32-1-ENV): Likewise.
10187 (tst-mbsnrtowcs-ENV): Likewise.
10188
cd1fb604
OB
101892014-06-05 Ondřej Bílka <neleai@seznam.cz>
10190
10191 * manual/resource.texi (How to get information about the memory
10192 subsystem?): Fix typo.
10193 Reported by Peon de la Parra Ivan <peon@keba.com>
10194
b42eca7d
GY
101952014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10196
10197 [BZ #16882]
10198 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10199 (pthread_spin_lock): Branch out of spin loop to proper location.
10200 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10201 (pthread_spin_lock): Likewise.
10202
902b71f9
DM
10203 * nptl/tst-spin4.c: New test.
10204 * nptl/Makefile (tests): Add tst-spin4.
10205
f9d2d032
AS
102062014-06-03 Andreas Schwab <schwab@suse.de>
10207
10208 [BZ #15946]
10209 * resolv/res_send.c (send_dg): Reload file descriptor after
10210 calling reopen.
10211
cf7bfd28
SL
102122014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10213
10214 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10215
111cc714
RH
102162014-06-03 Richard Henderson <rth@redhat.com>
10217
89b4bd6b
RH
10218 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10219 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10220 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10221 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10222 in the SAVE_PID block.
10223 (__libc_vfork): New alias.
71840409 10224 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10225
111cc714
RH
10226 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10227 child in registers, not on the stack. Remove RESET_PID conditionals.
10228 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10229
ccc39911
MS
102302014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10231
10232 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10233
693096cc
W
102342014-06-03 Wilco <wdijkstr@arm.com>
10235
10236 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10237 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10238 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10239 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10240 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10241 Likewise.
10242
0b4366bc
W
102432014-06-03 Wilco <wdijkstr@arm.com>
10244
10245 * sysdeps/aarch64/fpu/math_private.h
10246 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10247 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10248 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10249 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10250 Fix declarations.
10251
8747cd03
KS
102522014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10253
10254 * crypt/crypt-private.h: Include ufc-crypt.h.
10255 (__b64_from_24bit): Declare extern.
10256 * crypt/crypt_util.c(__b64_from_24bit): New function.
10257 (b64t): New static const variable.
10258 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10259 (b64t): Remove variable.
10260 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10261 * crypt/sha256-crypt.c: Include crypt-private.h.
10262 (b64t): Remove variable.
10263 (__sha256_crypt_r): Remove b64_from_24bit and replace
10264 with __b64_from_24bit.
10265 * crypt/sha512-crypt.c: Likewise.
10266
d936d379
RM
102672014-06-02 Roland McGrath <roland@hack.frob.com>
10268
10269 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10270 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10271 Label the code __libc_vfork rather than __vfork.
10272 [!NOT_IN_libc] (vfork): Define as weak alias.
10273 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10274 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10275 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10276
9fa76613
SP
102772014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10278
10279 * malloc/malloc.c (malloc_info): Fix format specifier for
10280 n_mmaps.
10281
a88dadbe
W
102822014-06-02 Wilco <wdijkstr@arm.com>
10283
10284 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10285 FPCR write.
10286
c95b3011
W
102872014-06-02 Wilco <wdijkstr@arm.com>
10288
10289 [BZ #17009]
10290 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10291 Rewrite to reduce FPCR/FPSR accesses.
10292
6b4d7a90
DM
102932014-06-01 David S. Miller <davem@davemloft.net>
10294
10295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10296
30f3d07c
DM
102972014-05-31 David S. Miller <davem@davemloft.net>
10298
10299 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10300 to occur in round to nearest mode when |x| >= 2.0
10301
74f31c18
RH
103022014-05-30 Richard Henderson <rth@twiddle.net>
10303
f0712b54
RH
10304 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10305 (PSEUDO_RET_NOERRNO): Remove.
10306 (ret): Don't redefine.
10307 (ret_NOERRNO): Define in terms of ret.
10308 (ret_ERRVAL): Likewise.
10309
74f31c18
RH
10310 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10311 use of PSEUDO_RET; perform the error check directly.
10312
30477995
MM
103132014-05-30 Marko Myllynen <myllynen@redhat.com>
10314
10315 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10316 with __int128_t.
10317
62a58816
SP
103182014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10319
10320 * malloc/malloc (malloc_info): Fix formatting.
10321
4d653a59
SP
103222014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10323 Roland McGrath <roland@hack.frob.com>
10324
10325 * malloc/malloc (malloc_info): Also print mmapped statistics.
10326
5190c17f
RM
103272014-05-30 Roland McGrath <roland@hack.frob.com>
10328
10329 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10330 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10331
987c0269
OB
103322014-05-30 Ondřej Bílka <neleai@seznam.cz>
10333
10334 * malloc/malloc.c (malloc_info): Inline mi_arena.
10335
af4e8ef9
RH
103362014-05-29 Richard Henderson <rth@twiddle.net>
10337
1670e207
RH
10338 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10339 Remove comma before expanding ASM_ARGS_##nr.
10340 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10341 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10342 of ASM_ARGS_##nr.
10343 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10344 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10345 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10346 (ASM_ARGS_1): Add leading comma.
10347
11a28aee
RH
10348 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10349 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10350 to __errno_location.
10351 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10352 Remove the expected plt for __errno_location.
10353
a17e5ffb 10354 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10355 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10356 call to __read_tp.
10357
b5be4597
RH
10358 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10359 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10360 it and break it down.
10361 (DOCARGS_0, DOCARGS_1): Do nothing.
10362 (DOCARGS_2): Update to store into the new stack frame.
10363 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10364 (UNDOCARGS_1): Update to restore from the new stack frame.
10365 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10366 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10367
645d44ab
RH
10368 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10369 (SINGLE_THREAD_P): New parameter for result regno.
10370 (PSEUDO): Update to match; use cbz instead of beq.
10371
a8b4f04a
RH
10372 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10373 Use ENTRY to define the _nocancel entry point. Share the syscall
10374 and syscall error check paths with the cancel path.
10375 (PSEUDO_END): New.
10376
af4e8ef9
RH
10377 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10378 whitespace; tabs before and after asm mnemonics.
10379
26b0d2e1
EW
103802014-05-29 Eric Wong <normalperson@yhbt.net>
10381
10382 [BZ #15132]
10383 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10384 Call fstat64 or stat64 internally, depending on arguments passed.
10385 Replace stat buffer argument with file descriptor argument.
10386 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10387 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10388 Pass fd to __internal_statvfs instead of calling fstat64.
10389 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10390 Pass fd to __internal_statvfs64 instead of calling fstat64.
10391 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10392 Pass -1 to __internal_statvfs instead of calling stat64.
10393 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10394 Pass -1 to __internal_statvfs64 instead of calling stat64.
10395
1efe2bd9
RM
103962014-05-28 Roland McGrath <roland@hack.frob.com>
10397
0d3b7a19
RM
10398 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10399 that was previously under [RESET_PID].
10400 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10401
1efe2bd9
RM
10402 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10403 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10404
a6bea3ca
RM
104052014-05-27 Roland McGrath <roland@hack.frob.com>
10406
30b6629e
RM
10407 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10408
a6bea3ca
RM
10409 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10410 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10411
3dfb9a5c
OB
104122014-05-27 Ondřej Bílka <neleai@seznam.cz>
10413
10414 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10415
774f9285
AS
104162014-05-27 Andreas Schwab <schwab@suse.de>
10417
10418 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10419 TLS_INIT_TP macro.
10420 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10421 * elf/rtld.c (init_tls, dl_main): Likewise.
10422 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10423 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10424 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10425 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10426 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10427 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10428 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10429 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10430 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10431 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10432 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10433 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10434 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10435 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10436 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10437 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10438 * sysdeps/generic/tls.h: Update description.
10439
36ffe739
WN
104402014-05-27 Will Newton <will.newton@linaro.org>
10441
10442 [BZ #16990]
10443 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10444 and restore r2 rather than just restoring.
10445
2482ae43
SP
104462014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10447
10448 [BZ #16724]
10449 * libio/tst-ftell-append.c: New test case.
10450 * libio/Makefile (tests): Add test case.
10451 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10452 append mode.
10453 * libio/wfileops.c (do_ftell_wide): Likewise.
10454
3d1024e8
AZ
104552014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10456
bab90016
AZ
10457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10458
c7a8d667
AZ
10459 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10460 ...
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10463 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10464 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10465 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10466 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10467 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10468 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10470 Moved ...
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10473 Moved ...
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10475 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10476 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10477 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10478 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10479 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10480 ...
10481 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10482 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10483 Moved ...
10484 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10485 here.
10486 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10487 ...
10488 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10489 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10490 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10491
daee7851
AZ
10492 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10493 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10494 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10495 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10496
50a40819
AZ
10497 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10498 merge into ...
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10500 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10501 ...
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10504 ...
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10507 Moved ...
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10509 here.
10510 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10511 Moved ...
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10513 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10514 Moved ...
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10516
8464c2a1
AZ
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10518 conditional [RESET_PID].
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10520 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10521 removed.
10522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10523 removed.
10524
3d1024e8
AZ
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10526 <tcb-offsets.h>.
10527 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10528 (__libc_vfork): New strong alias.
10529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10530 removed.
10531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10532 Removed.
10533
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10535 <tcb-offsets.h>.
10536 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10537 (__libc_vfork): New strong alias.
10538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10539 removed.
10540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10541 removed.
10542
fdfd175d
CD
105432014-05-26 Carlos O'Donell <carlos@redhat.com>
10544
10545 * malloc/malloc.c (mi_arena): New function.
10546 (malloc_info): Remove nested function mi_arena. Call non-nosted
10547 function mi_arena.
10548
d298c416
AZ
105492014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10550
10551 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10552 by insrwi.
10553 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10554 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10555 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10556 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10557 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10558 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10559 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10560
b60ea6ff
AS
105612014-05-26 Andreas Schwab <schwab@suse.de>
10562
10563 [BZ #16984]
10564 * locale/programs/repertoire.c (repertoire_read): Add slash
10565 between I18NPATH element and file name.
10566 * locale/programs/locfile.c (locfile_read): Likewise.
10567
67365926
SL
105682014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10569
10570 * nptl/pthread_mutexattr_settype.c
10571 (__pthread_mutexattr_settype):
10572 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10573
f8bdf1f0
SL
105742014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10575
10576 * nptl/tst-mutex5 (do_test):
10577 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10578
15eaf6ff
SP
105792014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10580
10581 * benchtests/README: Document 'init' directive.
10582 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10583 BENCH_INIT.
10584 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10585 (parse_file): Recognize 'init' directive.
10586
75f11331
KM
105872014-05-26 Kyle McMartin <kyle@redhat.com>
10588
10589 [BZ #16796]
10590 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10591 alignment of struct pthread.
10592
c3ec475c
SP
105932014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10594
10595 [BZ #16878]
10596 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10597 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10598 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10599 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10600
82aab97c
RH
106012014-05-25 Richard Henderson <rth@twiddle.net>
10602
aa2f176d
RH
10603 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10604 (SINGLE_THREAD_P_PIC): Remove.
10605 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10606 (SINGLE_THREAD_P_PIC): Remove.
10607
ca3cfa40
RH
10608 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10609 branch to syscall error ...
10610 (PSEUDO): ... here.
10611 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10612 from __local_syscall_error to .Lsyscall_error.
10613 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10614 (SYSCALL_ERROR): Update label name.
10615
6e6c2d01
RH
10616 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10617 Do not use DOARGS/UNDOARGS.
10618 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10619 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10620 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10621 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10622 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10623
c69abcee
RH
10624 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10625 block comment.
10626
82aab97c
RH
10627 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10628 define if !NOT_IN_libc.
10629 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10630 define with non-default symbol versions.
10631
8820e3ac
RH
106322014-05-23 Richard Henderson <rth@twiddle.net>
10633
900e445f
RH
10634 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10635 (vfork, __vfork): Define via compat_symbol.
10636
8820e3ac
RH
10637 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10638 [!HAVE_IFUNC] (vfork_compat): Remove.
10639 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10640
e59252a5
JM
106412014-05-23 Joseph Myers <joseph@codesourcery.com>
10642
10643 [BZ #16978]
10644 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10645 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10646 variable.
10647
132c7f5f
RH
106482014-05-23 Richard Henderson <rth@twiddle.net>
10649
bc89e962
RH
10650 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10651 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10652 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10653 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10654
10655 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10656 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10657 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10658 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10659 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10660 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10661 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10662 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10663 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10664 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10665 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10666 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10667 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10668 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10669 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10670 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10671 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10672 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10673 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10674 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10675 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10676 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10677 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10678 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10679 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10680 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10681 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10682 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10684 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10685 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10686 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10687 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10688 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10690 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10691 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10692 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10693 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10694 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10695 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10696 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10697 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10698 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10699 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10700 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10701 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10702 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10703 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10704 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10705 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10706 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10707 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10708 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10709 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10710 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10711
e2fa4bc2
RH
10712 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10713 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10714 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10715 before exiting on error.
10716 (__libc_vfork): New strong alias.
10717 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10718 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10719
279b24e2
RH
10720 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10721 that was previously under [RESET_PID].
10722 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10723
132c7f5f
RH
10724 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10725
b72592e7
JM
107262014-05-23 Joseph Myers <joseph@codesourcery.com>
10727
10728 [BZ #16977]
10729 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10730 value when x - 1 is zero.
10731 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10732 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10733 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10734 0.0L for an argument of 1.0L.
10735 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10736 Likewise.
10737 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10738 value when x - 1 is zero.
10739 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10740 * sysdeps/i386/fpu/libm-test-ulps: Update.
10741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742
2302d679
RV
107432014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10744
10745 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10746 alphasort and versionsort.
10747
32999d63
AZ
107482014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10749
10750 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10751 macro.
10752 [copysignf]: Likewise.
10753
019324d0
SP
107542014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10755
10756 * crypt/md5-crypt.c: Fix formatting.
10757
34fff5c2
KS
107582014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10759
10760 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10761 (b64_from_24bit): New function.
10762
3d2badac
AZ
107632014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10764
10765 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10766 libc_hidden_builtin_def to ifunc.
10767 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10768 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10769
f7bb179f 107702014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
10771
10772 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10773 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10774
4134b50d
JM
107752014-05-21 Joseph Myers <joseph@codesourcery.com>
10776
bb7d0337
JM
10777 * nscd/Depend (linuxthreads): Remove.
10778 (nptl): Add.
10779 * resolv/Depend (linuxthreads): Remove.
10780 * rt/Depend (linuxthreads): Remove.
10781
4134b50d
JM
10782 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10783 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10784 $(common-objpfx)elf/.
10785 (link-libc-before-gnulib): Likewise.
10786 (elfobjdir): Remove variable.
10787 * Makefile (install): Use $(elf-objpfx) instead of
10788 $(common-objpfx)elf/.
10789 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10790 $(elfobjdir)/.
10791 (link-libc-deps): Likewise.
10792 ($(common-objpfx)libc.so): Likewise.
10793 ($(common-objpfx)linkobj/libc.so): Likewise.
10794 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10795 instead of $(common-objpfx)elf/.
10796 (symbolic-link-list): Likewise.
10797 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10798 [$(cross-compiling) = no]: Likewise.
10799 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10800 $(elfobjdir)/.
10801 (static-gnulib-arch): Likewise.
10802 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10803 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10804 $(common-objpfx)elf/.
10805
3612eb8f
RH
108062014-05-21 Richard Henderson <rth@redhat.com>
10807
a6b3657b
RH
10808 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10809 (SINGLE_THREAD_P): Use the correct width load. Fold
10810 into the ldr offset.
10811
3612eb8f
RH
10812 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10813 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10814
175cef41
JM
108152014-05-20 Joseph Myers <joseph@codesourcery.com>
10816
10817 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10818 (libgcc_s_resume): Use __attribute_used__.
10819 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10820 Likewise.
10821
e13bccd3
AZ
108222014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10823
10824 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10825 optimization when used with float constants.
10826
7c112a38
AZ
10827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10828
ae75a883
AJ
108292014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10830
10831 [BZ #16915]
10832 * locale/nl_langinfo_l.c: Make direct reference to every
10833 _nl_current_CATEGORY symbol.
10834 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10835 (tests-static): Add tst-langinfo-static.
10836 (tests-special): Add tst-langinfo-static.out.
10837 ($(objpfx)tst-langinfo.out): Redirect output.
10838 ($(objpfx)tst-langinfo-static.out): New.
10839 * localedata/tst-langinfo.sh: Send output to stdout.
10840 * localedata/tst-langinfo-static.c: New file.
10841
4406c41c
AJ
10842 [BZ #16965]
10843 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10844 when the shift amount is modulo the limb size.
10845
4c0a1e63
RH
108462014-05-20 Richard Henderson <rth@redhat.com>
10847
de9d8f20
RH
10848 [BZ #16967]
10849 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10850 Change type of sa_flags from unsigned int to int.
10851
4c0a1e63
RH
10852 [BZ #16966]
10853 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
10854
10855 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10856
a60339aa
WN
108572014-05-20 Will Newton <will.newton@linaro.org>
10858
10859 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10860 Test the return value of the system call in the nocancel case.
10861
7d05a816
YR
108622014-05-20 Will Newton <will.newton@linaro.org>
10863 Yvan Roux <yvan.roux@linaro.org>
10864
10865 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10866 #include of asm/ptrace.h.
10867 (PTRACE_GET_THREAD_AREA): Remove #undef.
10868 (PTRACE_GETHBPREGS): Likewise.
10869 (PTRACE_SETHBPREGS): Likewise.
10870 (struct user_regs_struct): New structure.
10871 (struct user_fpsimd_struct): New structure.
10872 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10873 #include of asm/ptrace.h and second #include of sys/user.h.
10874 (PTRACE_GET_THREAD_AREA): Remove #undef.
10875 (PTRACE_GETHBPREGS): Likewise.
10876 (PTRACE_SETHBPREGS): Likewise.
10877 (ELF_NGREG): Use new struct user_regs_struct.
10878 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10879
af121e37
AZ
108802014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10881
10882 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10884
834caf06
JM
108852014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10886
10887 [BZ #16958]
10888 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10889 membar to avoid block loads/stores to overlap previous stores.
10890
e184a918
RH
108912014-05-17 Richard Henderson <rth@redhat.com>
10892
10893 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10894 Create the __##syscall_name##_nocancel entry point.
10895 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10896 Remove; let the sysdep-cancel.h code create it.
10897
f56c7a6a
DM
108982014-05-17 David S. Miller <davem@davemloft.net>
10899
10900 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10901 Protect with __USE_GNU.
10902 (TIOCSET_TEMPT): Likewise.
10903 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10904 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10905 these are already provided in bits/ioctl-types.h
10906
f75616b2
RM
109072014-05-16 Roland McGrath <roland@hack.frob.com>
10908
3edeca86
RM
10909 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10910 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10911
f75616b2
RM
10912 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10913 Use wait4 regardless of [__NR_waitpid].
10914
deb0f7f6
MR
109152014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10916
10917 PR libgcc/60166
10918 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10919 (_FP_NANSIGN_Q): Set the quiet bit.
10920
79520f4b
JM
109212014-05-16 Joseph Myers <joseph@codesourcery.com>
10922
10923 * benchtests/Makefile
10924 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10925 not $(common-objpfx)math/libm.so.
10926 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10927 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10928 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10929 $(common-objpfx)dlfcn/libdl.so.
10930 ($(objpfx)tst-audit8): Depend on $(libm), not
10931 $(common-objpfx)math/libm.so.
10932 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10933 not $(common-objpfx)dlfcn/libdl.so.
10934 * math/Makefile
10935 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10936 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10937 [$(build-shared) = yes].
10938 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10939 $(common-objpfx)nptl/libpthread.so.
10940 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10941 $(common-objpfx)math/libm.so$(libm.so-version) or
10942 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10943 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10944 $(common-objpfx)dlfcn/libdl.so.
10945 * setjmp/Makefile (link-libm): Remove variable.
10946 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10947 * stdio-common/Makefile (link-libm): Remove variable.
10948 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10949 * stdlib/Makefile (link-libm): Remove variable.
10950 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10951 ($(objpfx)tst-strtod-round): Likewise.
10952 ($(objpfx)tst-tininess): Likewise.
10953 ($(objpfx)tst-strtod-underflow): Likewise.
10954 ($(objpfx)tst-strtod6): Likewise.
10955 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10956 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10957 $(common-objpfx)dlfcn/libdl.so.
10958
026b0fe4
AZ
109592014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10960
10961 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10962 BSD terminal modes definitions.
10963
def4bcb2
RM
109642014-05-16 Roland McGrath <roland@hack.frob.com>
10965
fe39b021
RM
10966 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10967 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10968
1d1fc46e 10969 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
10970 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10971 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10972 Don't do #include_next.
10973 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10974 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10975 Don't do #include_next.
10976 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10977 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10978 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10979 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10980
c72399fb
AM
109812014-05-16 Allan McRae <allan@archlinux.org>
10982
d51d659d
AM
10983 * po/sv.po: Update Swedish translation from translation project.
10984
c72399fb
AM
10985 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10986 in sed expression.
10987
d0583c40
AJ
109882014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10989
10990 [BZ #16917]
10991 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10992 errno if the TIOCGPTN ioctl fails with an error different than
10993 EINVAL.
10994 * login/tst-ptsname.c: New file.
10995 * login/Makefile (tests): Add tst-ptsname.
10996
d16e6ec7
AJ
10997 [BZ #16943]
10998 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10999 and prlimit64.
11000
cf26a0cb
SP
110012014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11002
11003 [BZ #16849]
11004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11005 herrno to return EAI_AGAIN.
11006
5675da1e
RM
110072014-05-14 Roland McGrath <roland@hack.frob.com>
11008
a5d87b3d
RM
11009 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11010 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11011 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11012 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11013 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11014 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11015 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11016 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11017 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11018 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11019 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11020 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11021 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11022 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11023 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11024 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11026 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11027 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11028 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11029 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11030 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11031 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11032 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11033 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11034 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11036 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11037 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11038 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11040 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11044 Moved ...
11045 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11047 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11049 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11051 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11053 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11055 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11057 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11059 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11061 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11063 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11065 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11067 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11069 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11071 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11073 Moved ...
11074 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11076 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11078 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11080 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11082 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11084 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11086 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11088 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11090 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11092 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11094 Moved ...
11095 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11097 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11098
039890a6
RM
11099 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11100 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11101 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11102 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11103 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11104 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11105 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11106 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11107 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11108 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11109 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11110 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11111 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11112 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11113 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11114 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11115 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11116 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11117 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11118 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11119 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11120 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11121 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11122 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11123 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11124 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11125 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11126 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11127 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11128 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11129 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11130
65c89320
RM
11131 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11132 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11133
348f8e8c
RM
11134 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11135 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11136 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11137 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11138 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11140 Moved ...
11141 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11142 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11143 Moved ...
11144 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11145 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11146 Moved ...
11147 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11148 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11149 Moved ...
11150 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11151 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11152 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11153 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11154 Moved ...
11155 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11156 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11157 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11158 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11159 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11160 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11161 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11162 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11163 Moved ...
11164 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11165 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11166 Moved ...
11167 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11168 ... here.
11169 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11170 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11171 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11172 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11173 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11174 Moved ...
11175 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11176 ... here.
11177 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11178 Moved ...
11179 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11180 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11181 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11182 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11183 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11184 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11185 Moved ...
11186 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11187 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11188 Moved ...
11189 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11190 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11191 Moved ...
11192 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11193 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11194 Moved ...
11195 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11196 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11197 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11198 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11199 Moved ...
11200 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11201 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11202 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11203 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11204 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11205 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11206 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11207 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11208 Moved ...
11209 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11211 Moved ...
11212 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11213 ... here.
11214 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11215 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11217 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11218 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11219 Moved ...
11220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11221 ... here.
11222 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11223 Moved ...
11224 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11225 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11226 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11227 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11228 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11229 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11230 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11231 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11232 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11233 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11234 Moved ...
11235 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11236 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11237 Moved ...
11238 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11239 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11240 Moved ...
11241 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11242 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11243 Moved ...
11244 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11245 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11246 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11248 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11249 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11250 Moved ...
11251 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11252 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11253 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11254 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11255 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11257 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11259 Moved ...
11260 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11261 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11262 Moved ...
11263 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11264 ... here.
11265 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11266 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11267 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11268 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11269 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11270 Moved ...
11271 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11272 ... here.
11273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11274 Moved ...
11275 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11277 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11279 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11280 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11281 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11282 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11283 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11284 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11285 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11286
5085af05
RM
11287 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11288 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11289
708f0813
RM
11290 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11291 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11292
c96067bc
RM
11293 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11294 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11295 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11296 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11297 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11298 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11299 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11300 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11301 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11302 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11303 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11304 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11305 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11306 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11307 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11308 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11309 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11310 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11311 Moved ...
11312 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11313 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11314 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11316 Moved ...
11317 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11318 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11319 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11320 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11321 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11322 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11323 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11324 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11325 Moved ...
11326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11327 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11328 Moved ...
11329 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11330 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11331 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11333 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11335 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11337 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11338 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11339 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11340 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11341 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11342 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11343 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11344 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11345 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11346
ec136444
RM
11347 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11348 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11349 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11350 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11351 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11352
2fbdf533
RM
11353 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11354 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11355 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11356 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11357 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11358 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11359 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11360 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11361 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11362 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11363
4c68138b
RM
11364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11366
4eaae765
RM
11367 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11368 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
11369 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11370 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11371 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11372 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11373 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11374 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11375 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11376 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11377 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11378 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11379 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11380 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11382 Update #include.
11383 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11384 Likewise.
11385 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11386 Likewise.
11387 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11388 Likewise.
11389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11390 Likewise.
11391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11392 Likewise.
11393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11394 Likewise.
11395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11396 Likewise.
11397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11398 Likewise.
11399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11400 Likewise.
4ef6befa
RM
11401 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11403 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11405 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
11406 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11407 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11409 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11410 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11414 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11415 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 11416
941d7dfd
RM
11417 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11418 that was previously under [RESET_PID].
11419 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11420 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11421 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11422
1b731c35
RM
11423 * sysdeps/i386/nptl/Implies: New file.
11424 * sysdeps/x86_64/nptl/Implies: New file.
11425 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11426 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11427 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11428 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11429
e2787137
RM
11430 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11431 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11432 (__libc_vfork): New strong alias.
11433 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11434 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11435
11436 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11437 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11438 (__libc_vfork): New strong alias.
11439 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11440 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11441
5675da1e
RM
11442 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11443 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11444 (__libc_vfork): New strong alias.
11445 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11446 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11447 * nptl/pt-vfork.c: New file.
11448 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11449 (libpthread: GLIBC_2.20): New version set (empty).
11450
4f02e2b8
WN
114512014-05-14 Will Newton <will.newton@linaro.org>
11452
11453 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11454 rather than #if.
11455
0bf061d3
JM
114562014-05-14 Joseph Myers <joseph@codesourcery.com>
11457
1a84c3d6
JM
11458 [BZ #16564]
11459 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11460 arguments with exponent 65 or above.
11461 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11462 arguments 0x1p113L or above.
11463 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11464 to arguments 0x1p107L or above.
11465 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11466 positive arguments with exponent 65 or above.
11467 * math/auto-libm-test-in: Add more tests of log1p.
11468 * math/auto-libm-test-out: Regenerated.
11469
01dbacd2
JM
11470 [BZ #16928]
11471 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11472 non-finite arguments is +0.
11473 * math/s_cacosf.c (__cacosf): Likewise.
11474 * math/s_cacosl.c (__cacosl): Likewise.
11475 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11476 * sysdeps/i386/fpu/libm-test-ulps: Update.
11477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11478
913d03c8
JM
11479 [BZ #16927]
11480 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11481 value.
11482 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11483 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11484 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11485 for explicit high bit of mantissa when testing for argument equal
11486 to 1.
11487 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11488 * sysdeps/i386/fpu/libm-test-ulps: Update.
11489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11490
0bf061d3
JM
11491 [BZ #16516]
11492 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11493 (__erf): Scale by 16 instead of 8 in potentially underflowing
11494 case. Ensure exception if result actually underflows.
11495 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11496 (__erff): Scale by 16 instead of 8 in potentially underflowing
11497 case. Ensure exception if result actually underflows.
11498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11499 (efx8): Remove variable.
11500 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11501 case. Ensure exception if result actually underflows.
11502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11503 (efx8): Remove variable.
11504 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11505 case. Ensure exception if result actually underflows.
11506 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11507 (efx8): Remove variable.
11508 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11509 case. Ensure exception if result actually underflows.
11510 * math/auto-libm-test-in: Add more tests of erf.
11511 * math/auto-libm-test-out: Regenerated.
11512
73ba67cb
AS
115132014-05-14 Andreas Schwab <schwab@suse.de>
11514
3d8c8bff
AS
11515 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11516 Remove code conditionalized on USE___THREAD.
11517
73ba67cb
AS
11518 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11519 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11520 not definedness.
11521
5c521ecd
JM
115222014-05-14 Joseph Myers <joseph@codesourcery.com>
11523
5e7698c6
JM
11524 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11525 Define unconditionally.
11526 (__ASSUME_O_CLOEXEC): Likewise.
11527 (__ASSUME_SOCK_CLOEXEC): Likewise.
11528 (__ASSUME_IN_NONBLOCK): Likewise.
11529 (__ASSUME_PIPE2): Likewise.
11530 (__ASSUME_EVENTFD2): Likewise.
11531 (__ASSUME_SIGNALFD4): Likewise.
11532 (__ASSUME_DUP3): Likewise.
11533 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11534 (__ASSUME_DUP3): Do not define.
11535 (__ASSUME_EVENTFD2): Likewise.
11536 (__ASSUME_IN_NONBLOCK): Likewise.
11537 (__ASSUME_O_CLOEXEC): Likewise.
11538 (__ASSUME_PIPE2): Likewise.
11539 (__ASSUME_SIGNALFD4): Likewise.
11540 (__ASSUME_SOCK_CLOEXEC): Likewise.
11541 (__ASSUME_UTIMES): Undefine.
11542 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11543 (__ASSUME_UTIMES): Do not define.
11544 (__ASSUME_O_CLOEXEC): Likewise.
11545 (__ASSUME_SOCK_CLOEXEC): Likewise.
11546 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11547 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11548 0x020621].
11549 (__ASSUME_PIPE2): Likewise.
11550 (__ASSUME_EVENTFD2): Likewise.
11551 (__ASSUME_SIGNALFD4): Likewise.
11552 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11553 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11554 Do not define.
11555 (__ASSUME_EVENTFD2): Likewise.
11556 (__ASSUME_SIGNALFD4): Likewise.
11557 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11558 (__ASSUME_32BITUIDS): Likewise.
11559 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11560 (__ASSUME_IPC64): Likewise.
11561 (__ASSUME_ST_INO_64_BIT): Likewise.
11562 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11563 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11564 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11565 (__ASSUME_UTIMES): Do not define.
11566 (__ASSUME_PSELECT): Likewise.
11567 (__ASSUME_PPOLL): Likewise.
11568 (__ASSUME_O_CLOEXEC): Likewise.
11569 (__ASSUME_SOCK_CLOEXEC): Likewise.
11570 (__ASSUME_IN_NONBLOCK): Likewise.
11571 (__ASSUME_PIPE2): Likewise.
11572 (__ASSUME_EVENTFD2): Likewise.
11573 (__ASSUME_SIGNALFD4): Likewise.
11574 (__ASSUME_DUP3): Likewise.
11575 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11576 (__ASSUME_UTIMES): Likewise.
11577 (__ASSUME_O_CLOEXEC): Likewise.
11578 (__ASSUME_SOCK_CLOEXEC): Likewise.
11579 (__ASSUME_IN_NONBLOCK): Likewise.
11580 (__ASSUME_PIPE2): Likewise.
11581 (__ASSUME_EVENTFD2): Likewise.
11582 (__ASSUME_SIGNALFD4): Likewise.
11583 (__ASSUME_DUP3): Likewise.
11584 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11585 (__ASSUME_UTIMES): Likewise.
11586 (__ASSUME_O_CLOEXEC): Likewise.
11587 (__ASSUME_SOCK_CLOEXEC): Likewise.
11588 (__ASSUME_IN_NONBLOCK): Likewise.
11589 (__ASSUME_PIPE2): Likewise.
11590 (__ASSUME_EVENTFD2): Likewise.
11591 (__ASSUME_SIGNALFD4): Likewise.
11592 (__ASSUME_DUP3): Likewise.
11593 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11594 Likewise.
11595 (__ASSUME_UTIMES): Likewise.
11596 (__ASSUME_EVENTFD2): Likewise.
11597 (__ASSUME_SIGNALFD4): Likewise.
11598 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11599 (__ASSUME_O_CLOEXEC): Likewise.
11600 (__ASSUME_SOCK_CLOEXEC): Likewise.
11601 (__ASSUME_IN_NONBLOCK): Likewise.
11602 (__ASSUME_PIPE2): Likewise.
11603 (__ASSUME_EVENTFD2): Likewise.
11604 (__ASSUME_SIGNALFD4): Likewise.
11605 (__ASSUME_DUP3): Likewise.
11606 (__ASSUME_UTIMES): Undefine.
11607
5c521ecd
JM
11608 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11609 feclearexcept. Remove symbol versioning code.
11610 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11611 symbol versioning code.
11612 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11613 symbol versioning code.
11614 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11615 feupdateenv. Remove symbol versioning code.
11616 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11617 fegetexceptflag. Remove symbol versioning code.
11618 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11619 fesetexceptflag. Remove symbol versioning code.
11620 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11621 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11622 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11623 (__posix_fadvise64_l32): Remove prototype.
11624 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11625 code.
11626
5da9dfad
RM
116272014-05-13 Roland McGrath <roland@hack.frob.com>
11628
11629 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11630 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11631 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11632 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11633
893b4f37
SK
116342014-05-13 Sami Kerola <kerolasa@iki.fi>
11635
11636 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11637 current working directory
11638
e0db6517
RM
116392014-05-13 Roland McGrath <roland@hack.frob.com>
11640
58aa195d
RM
11641 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11642 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11643 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11644 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11645 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11646 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11647 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11648 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11649 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11650 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11651 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11652 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11653 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11654 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11655 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11656 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11657 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11658 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11659 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11660 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11661 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11662 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11663 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11664 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11665 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11666 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11667 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11668 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11669 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11670 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11671 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11672 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11673 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11674 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11675 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11676 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11677 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11678 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11679 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11680 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11681 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11682 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11683
8c6d01f0
RM
11684 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11685 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11686
11687 * sysdeps/unix/sysv/linux/arm/Makefile
11688 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11689 Add rt-aeabi_unwind_cpp_pr1.
11690 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11691 Add nptl-aeabi_unwind_cpp_pr1.
11692 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11693 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11694 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11695 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11696 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11697 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11698
11699 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11700 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11701 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11702 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11703
bba6da4e
RM
11704 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11705 Deconditionalize the code that was previously under [RESET_PID].
11706 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11707
e0db6517
RM
11708 * sysdeps/generic/exit-thread.h: New file.
11709 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11710 * include/unistd.h (__exit_thread): Remove declaration.
11711 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11712 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11713 * csu/libc-start.c: Include <exit-thread.h>.
11714 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11715 * nptl/pthread_create.c: Include <exit-thread.h>.
11716 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11717 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11718 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11719 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11720 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11721 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11722 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11723 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11724 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11725 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11726 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11727 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11728 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11729 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11730 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11731 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11732 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11733
01eb16fd
AS
117342014-05-13 Andreas Schwab <schwab@suse.de>
11735
11736 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11737
637461d9
JM
117382014-05-12 Joseph Myers <joseph@codesourcery.com>
11739
11740 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11741 (__ASSUME_UTIMES): Do not condition on kernel version.
11742 (__ASSUME_PSELECT): Define unconditionally.
11743 (__ASSUME_PPOLL): Likewise.
11744 (__ASSUME_ATFCTS): Likewise.
11745 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11746 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11747 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11748 (__ASSUME_UTIMENSAT): Define unconditionally.
11749 (__ASSUME_PRIVATE_FUTEX): Likewise.
11750 (__ASSUME_FALLOCATE): Likewise.
11751 (__ASSUME_O_CLOEXEC): Likewise.
11752 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11753 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11754 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11755 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11756 (__ASSUME_IN_NONBLOCK): Likewise.
11757 (__ASSUME_PIPE2): Likewise.
11758 (__ASSUME_EVENTFD2): Likewise.
11759 (__ASSUME_SIGNALFD4): Likewise.
11760 (__ASSUME_DUP3): Likewise.
11761 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11762 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11763 (__ASSUME_AT_RANDOM): Likewise.
11764 (__ASSUME_PREADV): Likewise.
11765 (__ASSUME_PWRITEV): Likewise.
11766 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11767 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11768 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11769 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11770 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11772 (__ASSUME_O_CLOEXEC): Define unconditionally.
11773 (__ASSUME_PSELECT): Do not undefine conditionally.
11774 (__ASSUME_PPOLL): Likewise.
11775 (__ASSUME_ATFCTS): Likewise.
11776 (__ASSUME_SET_ROBUST_LIST): Likewise.
11777 (__ASSUME_UTIMENSAT): Likewise.
11778 (__ASSUME_FDATASYNC): Define unconditionally.
11779 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11780 (__ASSUME_SIGFRAME_V2): Likewise.
11781 )__ASSUME_EVENTFD2): Likewise.
11782 (__ASSUME_SIGNALFD4): Likewise.
11783 (__ASSUME_PSELECT): Do not undefine conditionally.
11784 (__ASSUME_PPOLL): Likewise.
11785 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11786 (__ASSUME_PSELECT): Define unconditionally.
11787 (__ASSUME_PPOLL): Likewise.
11788 (__ASSUME_O_CLOEXEC): Likewise.
11789 (__ASSUME_SOCK_CLOEXEC): Likewise.
11790 (__ASSUME_IN_NONBLOCK): Likewise.
11791 (__ASSUME_PIPE2): Likewise.
11792 (__ASSUME_EVENTFD2): Likewise.
11793 (__ASSUME_SIGNALFD4): Likewise.
11794 (__ASSUME_DUP3): Likewise.
11795 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11796 (__ASSUME_O_CLOEXEC): Likewise.
11797 (__ASSUME_SOCK_CLOEXEC): Likewise.
11798 (__ASSUME_IN_NONBLOCK): Likewise.
11799 (__ASSUME_PIPE2): Likewise.
11800 (__ASSUME_EVENTFD2): Likewise.
11801 (__ASSUME_SIGNALFD4): Likewise.
11802 (__ASSUME_DUP3): Likewise.
11803 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11804 (__ASSUME_EVENTFD2): Likewise.
11805 (__ASSUME_SIGNALFD4): Likewise.
11806 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11807
315eb1d8
AS
118082014-05-12 Andreas Schwab <schwab@suse.de>
11809
11810 [BZ #16932]
11811 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11812 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11813 than maximum RPC packet size.
11814 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11815 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11816 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11817 (_nss_nis_getservbyport_r): Likewise.
11818
91df99f7
WN
118192014-05-12 Will Newton <will.newton@linaro.org>
11820
11821 * malloc/Makefile (tests): Add tst-mallopt.
11822 * malloc/tst-mallopt.c: New file.
11823
0a982a29
RM
118242014-05-09 Roland McGrath <roland@hack.frob.com>
11825
11826 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11827 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11828
0ded08a5
AZ
118292014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11830
11831 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11832 (tst-tlsmod6.so): Likewise.
11833
55d4d550
RM
118342014-05-09 Roland McGrath <roland@hack.frob.com>
11835
11836 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11837
77d08aca
JM
118382014-05-09 Joseph Myers <joseph@codesourcery.com>
11839
11840 [BZ #16064]
11841 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11842 and <dl-procinfo.h>.
11843 (__fegetenv): Save SSE state in envp->__eip if supported.
11844 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11845 envp->__eip if supported.
11846 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11847 and <dl-procinfo.h>.
11848 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11849 __data_offset and __data_selector in environment to 0. Set SSE
11850 state if supported.
11851 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11852 test-fenv-sse.
11853 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11854 -mfpmath=sse.
11855 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11856
28162f4d
WN
118572014-05-09 Will Newton <will.newton@linaro.org>
11858
11859 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11860 and libc_relro_required for ARM.
11861 * sysdeps/arm/preconfigure: Regenerate.
11862
5a414ff7
DV
118632014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11864 Stefan Liebler <stli@linux.vnet.ibm.com>
11865
11866 * config.make.in (enable-lock-elision): New Makefile variable.
11867 * configure.ac: Likewise.
11868 * configure: Regenerate.
11869 * sysdeps/s390/configure.ac:
11870 Add check for gcc transactions support.
11871 * sysdeps/s390/configure: Regenerate.
11872 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11873 Build elision files if enabled.
11874 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11875 Add lock elision support for s390.
11876 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11877 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11878 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11879 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11880 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11881 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11882 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11883 Likewise.
11884 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11885 Likewise.
11886 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11887 Likewise.
11888 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11889 Likewise.
11890 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11891 (__lll_timedlock_elision, __lll_lock_elision)
11892 (__lll_unlock_elision, __lll_trylock_elision)
11893 (lll_timedlock_elision, lll_lock_elision)
11894 (lll_unlock_elision, lll_trylock_elision): Add.
11895 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11896 (pthread_mutex_t): Add lock elision support for s390.
11897
1a2f40e5
W
118982014-05-14 Wilco <wdijkstr@arm.com>
11899
11900 * sysdeps/arm/fclrexcpt.c: Cleanup.
11901 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11902 * sysdeps/arm/feenablxcpt.c: Cleanup.
11903 * sysdeps/arm/fegetenv.c: Cleanup.
11904 * sysdeps/arm/fegetexcept.c: Cleanup.
11905 * sysdeps/arm/fegetround.c: Cleanup.
11906 * sysdeps/arm/feholdexcpt.c: Cleanup.
11907 * sysdeps/arm/fesetenv.c: Cleanup.
11908 * sysdeps/arm/fesetround.c: Cleanup.
11909 * sysdeps/arm/feupdateenv.c: Cleanup.
11910 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11911 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11912 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11913 * sysdeps/arm/ftestexcept.c: Cleanup.
11914 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11915 * sysdeps/arm/setfpucw.c: Cleanup.
11916
f63c86fe
WN
119172014-05-09 Will Newton <will.newton@linaro.org>
11918
11919 * sysdeps/arm/armv7/strcmp.S: New file.
11920 * NEWS: Mention addition of ARMv7 optimized strcmp.
11921
7a1a51b5
RM
119222014-05-08 Roland McGrath <roland@hack.frob.com>
11923
95afbbe5
RM
11924 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11925 look for %.ac rather than %.in.
11926
11927 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11928 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11929 * sysdeps/mach/hurd/configure: Regenerated.
11930 * sysdeps/unix/sysv/linux/configure: Regenerated.
11931
7a1a51b5
RM
11932 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11933
5057ad3b
SE
119342014-05-07 Steve Ellcey <sellcey@mips.com>
11935
11936 [BZ# 16922]
11937 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11938 (LONG_SUB): Ditto.
11939 (PTR_SUB): Ditto.
11940
8dc97517
AS
119412014-05-07 Andreas Schwab <schwab@suse.de>
11942
11943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11944 when skipping over non-matching result from nscd.
11945
ce0c5b8f
OB
119462014-05-07 Ondřej Bílka <neleai@seznam.cz>
11947
11948 [BZ #16876]
11949 * nptl/sockperf.c (client): Check socket return value.
8dc97517 11950
a1189263
OB
11951 [BZ #16877]
11952 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11953 nscd security class.
ce0c5b8f 11954
0f58d252
RM
119552014-05-06 Roland McGrath <roland@hack.frob.com>
11956
11957 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11958 * sysdeps/arm/unwind.h: ... here.
11959
83df9ad0
AJ
119602014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11961
ce0c5b8f
OB
11962 [BZ# 16916]
11963 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11964 Define.
83df9ad0 11965
f360f94a
VR
119662014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11967
11968 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11969 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11970 multiarch strncpy for PPC64.
11971 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11972 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11974 multiarch optimizations.
11975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11976 (__libc_ifunc_impl_list): Likewise.
11977 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11978 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11979 multiarch stpncpy for PPC64.
11980 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11981 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11982
978a41c3
AS
119832014-05-06 Andreas Schwab <schwab@suse.de>
11984
11985 [BZ #16912]
11986 * gmon/mcount.c (_MCOUNT_DECL): Use
11987 atomic_compare_and_exchange_bool_acq instead of
11988 catomic_compare_and_exchange_bool_acq.
11989
eb1ed03d
RM
119902014-05-05 Roland McGrath <roland@hack.frob.com>
11991
fe658845
RM
11992 * elf/Makefile (others, install-bin): Remove pldd.
11993 (pldd-modules): Variable removed.
11994 ($(objpfx)pldd): Target removed.
11995 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11996 (others, install-bin): Append pldd here.
11997 ($(objpfx)pldd): New target.
11998
eb1ed03d
RM
11999 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12000 to 0, so the first #if test emitted later doesn't see it undefined.
12001 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12002 * sysdeps/gnu/errlist.c: Regenerated.
12003
19c4bec0
AZ
120042014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12005
12006 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12007 [libc_hidden_builtin_def]: Define to empty value.
12008 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12009 [libc_hidden_builtin_def]: Likewise.
12010 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12011 [libc_hidden_builtin_def]: Likewise.
12012 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12013 [libc_hidden_builtin_def]: Likewise.
12014 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12015 __redirect_memcpy and define ifunc as default hidden symbol.
12016 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12017 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12018
7776e669
AC
120192014-05-04 Adam Conrad <adconrad@0c3.net>
12020
12021 * locale/iso-4217.def: Reintroduce XDR currency.
12022
d69aeb12
AM
120232014-05-04 Allan McRae <allan@archlinux.org>
12024
12025 * po/eo.po: Update Esperanto translation from translation project.
12026
8f1df5cf
CD
120272014-05-02 Carlos O'Donell <carlos@redhat.com>
12028
12029 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12030 and FEATURE_INDEX_MAX to 1.
12031 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12032
13e402e7
SE
120332014-05-01 Steve Ellcey <sellcey@mips.com>
12034
12035 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12036 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12037 * iconvdata/big5.c (ONE_DIRECTION): Define.
12038 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12039 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12040 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12041 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12042 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12043 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12044 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12045 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12046 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12047 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12048 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12049 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12050 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12051 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12052 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12053 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12054 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12055 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12056 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12057 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12058 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12059 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12060 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12061 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12062 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12063 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12064 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12065 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12066 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12067 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12068 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12069 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12070 * iconvdata/johab.c (ONE_DIRECTION): Define.
12071 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12072 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12073 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12074 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12075 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12076 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12077 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12078 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12079 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12080 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12081
c727f032
RM
120822014-05-01 Roland McGrath <roland@hack.frob.com>
12083
8f2f08d0
RM
12084 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12085 (_IO_JUMPS_OFFSET): Define to 0.
12086
c727f032
RM
12087 * nptl/sysdeps/pthread/bits/libc-lock.h
12088 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12089 (__libc_lock_define_initialized_recursive): Always define using
12090 initializer. Modern compilers treat uninitialized (implicit zero) and
12091 explicit zero initializers the same (i.e. put the datum in bss).
12092
a849e800
AS
120932014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12094
12095 * nscd/nscd-client.h: Include <string.h>.
12096
5331255b
DM
120972014-05-01 David S. Miller <davem@davemloft.net>
12098
12099 [BZ #16885]
12100 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12101 multiple zero bytes exist at the end of a string.
12102 Reported by Aurelien Jarno <aurelien@aurel32.net>
12103
12104 * string/test-strcmp.c (check): Add explicit test for situations where
12105 there are multiple zero bytes after the first.
12106
4fdfe821
AS
121072014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12108
12109 [BZ #16890]
12110 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12111 when compiling wprintf.
12112 * stdio-common/tstdiomisc.c (t3): New function.
12113 (main): Call it.
12114
0cdddc25
SE
121152014-05-01 Steve Ellcey <sellcey@mips.com>
12116
12117 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12118 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12119 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12120 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12121
6426d77e
SE
121222014-05-01 Steve Ellcey <sellcey@mips.com>
12123
12124 * stdlib/longlong.h: Updated from GCC.
12125
6d96f5e4
WN
121262014-05-01 Will Newton <will.newton@linaro.org>
12127 Bernard Ogden <bernie.ogden@linaro.org>
12128
7470db0c
WN
12129 * NEWS: Update fixed bug list.
12130
6d96f5e4
WN
12131 [BZ #15119]
12132 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12133
211d653c
DM
121342014-04-30 David S. Miller <davem@davemloft.net>
12135
4fa262fa
DM
12136 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12137 (libc_feholdexcept_setround_sparc_ctx): New function.
12138 (libc_fesetenv_sparc_ctx): Likewise.
12139 (libc_feupdateenv_sparc_ctx): Likewise.
12140 (libc_feholdsetround_sparc_ctx): Likewise.
12141 (libc_feholdexcept_setround_ctx): Define.
12142 (libc_feholdexcept_setroundf_ctx): Likewise.
12143 (libc_feholdexcept_setroundl_ctx): Likewise.
12144 (libc_fesetenv_ctx): Likewise.
12145 (libc_fesetenvf_ctx): Likewise.
12146 (libc_fesetenvl_ctx): Likewise.
12147 (libc_feupdateenv_ctx): Likewise.
12148 (libc_feupdateenvf_ctx): Likewise.
12149 (libc_feupdateenvl_ctx): Likewise.
12150 (libc_feresetround_ctx): Likewise.
12151 (libc_feresetroundf_ctx): Likewise.
12152 (libc_feresetroundl_ctx): Likewise.
12153 (libc_feholdsetround_ctx): Likewise.
12154 (libc_feholdsetroundf_ctx): Likewise.
12155 (libc_feholdsetroundl_ctx): Likewise.
12156
1d3d93ef
DM
12157 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12158 with __USE_GNU instead of XOPEN cpp guards.
12159
8aa583c3
DM
12160 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12161 0.
12162
211d653c
DM
12163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12164 with XOPEN cpp guards.
12165
60c8f1f6
JB
121662014-04-30 Julian Brown <julian@codesourcery.com>
12167
12168 [BZ #16888]
12169 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12170 handling.
12171
9a461d46
JM
121722014-04-30 Joseph Myers <joseph@codesourcery.com>
12173
d0f5b3f8
JM
12174 [BZ #9894]
12175 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12176 Change to 2.6.32.
12177 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12178 * sysdeps/unix/sysv/linux/configure: Regenerated.
12179 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12180 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12181 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12182 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12183 * README: Update reference to required Linux kernel version.
12184 * manual/install.texi (Linux): Update reference to required Linux
12185 kernel headers version.
12186 * INSTALL: Regenerated.
12187
9a461d46
JM
12188 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12189 header inclusion.
12190 [POSIX] (limits.h): Likewise.
12191 [POSIX] (math.h): Likewise.
12192 [POSIX] (sys/wait.h): Likewise.
12193 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12194 function.
12195 [POSIX] (stddef.h): Do not allow header inclusion.
12196
1775babf
AZ
121972014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12198
57f41c40 12199 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12200
8f630cca
YY
122012014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12202
12203 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12204 Return immediately after lll_futex_wake.
12205
1cdeb237
SP
122062014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12207
bc8f194c
SP
12208 [BZ #16791]
12209 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12210 structure.
12211 (datahead_init_pos): Call datahead_init_common early.
12212 (datahead_init_neg): Likewise.
12213
1cdeb237
SP
12214 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12215 datahead_init_neg): New functions.
12216 * nscd/aicache.c (addhstaiX): Use them.
12217 * nscd/grpcache.c (cache_addgr): Likewise.
12218 * nscd/hstcache.c (cache_addhst): Likewise.
12219 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12220 * nscd/netgroupcache.c (do_notfound): Likewise.
12221 (addgetnetgrentX): Likewise.
12222 (addinnetgrX): Likewise.
12223 * nscd/pwdcache.c (cache_addpw): Likewise.
12224 * nscd/servicescache.c (cache_addserv): Likewise.
12225
16b293a7
SP
122262014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12227 Atsushi Onoe <atsushi@onoe.org>
12228
12229 [BZ #14308]
12230 [BZ #12994]
12231 [BZ #13651]
12232 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12233 one response is valid.
12234 * resolv/res_send.c (send_dg): Check for validity of other
12235 response if the current response is a referral.
12236
a28a9b94
SE
122372014-04-29 Steve Ellcey <sellcey@mips.com>
12238
12239 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12240
2ca180e9
SL
122412014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12242
12243 [BZ #16823]
12244 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12245 Always divide by positive zero when computing -Inf result.
12246 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12247 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12248
18f2945a
AZ
122492014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12250
12251 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12252 FPSCR if value do not change.
12253 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12254 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12255 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12256 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12257 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12258 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12259 function.
12260
5abebba4
CD
122612014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12262
12263 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12264 * sysdeps/unix/sysv/linux/hppa: Move directory from
12265 ports/systeps/unix/sysv/linux/hppa.
12266 * README: Update listing for hppa-*-linux-gnu.
12267
f7ed60c2
OB
122682014-04-28 Ondřej Bílka <neleai@seznam.cz>
12269
fff763a5
OB
12270 [BZ #16754]
12271 * manual/stdio.texi (Hook functions): Fix types of stream hook
12272 functions.
f7ed60c2
OB
12273 [BZ #16854]
12274 * socket/sys/socket.h: Fix typo in comment.
12275
df639d73
WD
122762014-04-28 Wilco <wdijkstr@arm.com>
12277
f7ed60c2 12278 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12279 * sysdeps/arm/math_private.h: New file.
12280 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12281
48332d82
L
122822014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12283
12284 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12285 with __int128_t.
12286 (La_x86_64_retval): Likewise.
12287
e5e0d9a4
IB
122882014-04-24 Ian Bolton <ian.bolton@arm.com>
12289
12290 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12291 fpsr if value didn't change.
12292 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12293 to fpcr if value didn't change.
12294 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12295 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12296 fpsr or fpcr if value didn't change.
12297 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12298 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12299 fpcr if value didn't change.
12300 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12301 to fpsr if value didn't change.
12302
bacc75f7
SP
123032014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12304
12305 * nptl/tst-sem3.c: Use test-skeleton.c
12306 (main): Rename to do_test. Use return instead of
12307 exit.
12308 * nptl/tst-sem4.c: Use test-skeleton.c
12309 (main): Rename to do_test.
12310
a059d359
DM
123112014-04-22 David S. Miller <davem@davemloft.net>
12312
12313 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12314 (struct sigaction): New struct member __glibc_reserved0, change
12315 type of sa_flags to int.
12316
ea6c92f3
YZ
123172014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12318
12319 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12320 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12321
766c4a36
SP
123222014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12323
12324 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12325 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12326
140cc7ab
VK
123272014-04-22 Will Newton <will.newton@linaro.org>
12328 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12329
12330 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12331 (__longjmp): Add longjmp and longjmp_target SystemTap
12332 probes.
12333 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12334 (__sigsetjmp): Add setjmp SystemTap probe.
12335
c54e5cf7
CD
123362014-04-17 Carlos O'Donell <carlos@redhat.com>
12337
12338 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12339 match manual order.
12340
75ffb047
AZ
123412014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12342
12343 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12344
2cd925f7
AZ
12345 * sysdeps/powerpc/fpu/fenv_private.h
12346 (libc_feholdexcept_setroundl_ctx): Define to
12347 libc_feholdexcept_setround_ppc_ctx.
12348 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12349 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12350 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12351 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12352
39e6cd8d
IB
123532014-04-17 Ian Bolton <ian.bolton@arm.com>
12354
12355 * sysdeps/aarch64/math-tests.h: New file.
12356
f9281df9
SY
123572014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12358
12359 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12360 New.
12361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12362 Check and set bit_AVX2_Usable.
12363 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12364 macro.
12365 (bit_AVX2): Likewise.
12366 (index_AVX2_Usable): Likewise.
12367 (CPUID_AVX2): Likewise.
12368 (HAS_AVX2): Likewise.
12369
37d35007
WN
123702014-04-17 Will Newton <will.newton@linaro.org>
12371
7c677662
WN
12372 * manual/setjmp.texi (System V contexts): Add note that
12373 calling setcontext on a context created by a call to a
12374 signal handler is undefined. Update text to note that
12375 setcontext from a signal handler is possible but not
12376 recommended.
12377
37d35007 12378 [BZ #16629]
e04a4e9d
WN
12379 * stdlib/tst-setcontext.c: Include signal.h.
12380 (main): Check that the signal stack before and
12381 after swapcontext is the same.
12382
37d35007
WN
12383 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12384 Re-implement to restore registers in user code and avoid
12385 rt_sigreturn system call.
12386
423a7160
W
123872014-04-17 Wilco <wdijkstr@arm.com>
12388
12389 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12390 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12391 * math/test-fenv.c: Skip exception trap tests on targets which only
12392 support non-stop mode.
12393
bc93ab29
IB
123942014-04-17 Ian Bolton <ian.bolton@arm.com>
12395 Wilco Dijkstra <wilco.dijkstra@arm.com>
12396
12397 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12398 (libc_feholdsetround_aarch64_ctx)
12399 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12400 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12401 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12402 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12403 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12404 (libc_feresetround_noexl_ctx): Define.
12405
95fc5fa3
RH
124062014-04-16 Richard Henderson <rth@redhat.com>
12407
ddb04724
RH
12408 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12409
d77c0899
RH
12410 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12411 unwind tables.
12412
a3df56fc
RH
12413 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12414 const from the non-libc, non-ldso copy.
12415
95fc5fa3
RH
12416 * sysdeps/alpha/libm-test-ulps: Regenerate.
12417
7e0b6763
IB
124182014-04-16 Ian Bolton <ian.bolton@arm.com>
12419 Wilco Dijkstra <wilco.dijkstra@arm.com>
12420
12421 * sysdeps/aarch64/fpu/math_private.h: New file.
12422
a9ea2e0c
MS
124232014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12424
12425 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12426
ea8ba7cd
IZ
124272014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12428
7e54fd04 12429 [BZ #16275]
ea8ba7cd
IZ
12430 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12431 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12433 Intel MPX bound registers before _dl_profile_fixup.
12434 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12435 registers after _dl_profile_fixup. Save and restore bound
12436 registers bnd0/bnd1 when calling _dl_call_pltexit.
12437 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12438 (LR_BND_OFFSET): Likewise.
12439 (LRV_BND0_OFFSET): Likewise.
12440 (LRV_BND1_OFFSET): Likewise.
12441
9f2a4fbc
ST
124422014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12443
12444 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12445 to...
12446 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
12447 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12448 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12449 fields.
9f2a4fbc 12450
fd15a59b
ST
124512014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12452
12453 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12454
f19dfa0a
SL
124552014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12456
12457 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12458
4fa8bc3b
SL
124592014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12460
12461 [BZ #14770]
12462 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12463 * sysdeps/s390/configure: Regenerate.
12464
8ea587db
SL
12465 [BZ #16824]
12466 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12467 Set round-to-nearest internally to reduce error accumulation.
12468
aa5f0ff1
AM
124692014-04-16 Alan Modra <amodra@gmail.com>
12470
12471 [BZ #16740]
12472 [BZ #16619]
12473 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12474 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 12475 * NEWS: Update fixed bug list.
aa5f0ff1 12476
bb9c256f
SP
124772014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12478
12479 * benchtests/Makefile: Depend on libraries in build directory.
12480 (bench-math): Separate out math tests.
12481 (bench-pthread): Separate out pthread tests.
12482 (bench): Include math and pthread tests.
12483
f737dfd0
CD
124842014-04-14 Carlos O'Donell <carlos@redhat.com>
12485
12486 [BZ #16831]
12487 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12488 _dl_debug_initialize.
12489
0699f766
CD
12490 * configure.ac: Remove SELinux header check.
12491 * configure: Regenerate.
12492 * nscd/selinux.c (perms): Array of const char* to permission names.
12493 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12494 default policy. Call string_to_security_class and string_to_av_perm to
12495 translate strings. Enforce default policy and call avs_has_perm with
12496 results of translated strings.
12497
809bd45f
DM
124982014-04-13 David S. Miller <davem@davemloft.net>
12499
12500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12501
89e691f2
AM
125022014-04-12 Allan McRae <allan@archlinux.org>
12503
12504 [BZ #16838]
12505 * manual/string.texi (Collation Functions): Fix qsort argument
12506 order in example.
12507 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12508
9c9daaeb
CM
125092014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12510
12511 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12512 Make the test a no-op if there are no exceptions defined.
12513
95561fb9
PP
125142014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12515
fe8d072c 12516 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
12517 enable-hardcoded-path-in-tests
12518
970c602a
WN
125192014-04-11 Will Newton <will.newton@linaro.org>
12520
12521 * benchtests/Makefile (extra-objs): Add json-lib.o.
12522 (bench-func): Tidy up JSON output.
12523 * benchtests/bench-skeleton.c: Include json-lib.h.
12524 (main): Use JSON library functions to do output of
12525 benchmark results.
12526 * benchtests/bench-timing-type.c (main): Output the
12527 timing type simply, leaving formatting to the user.
12528 * benchtests/json-lib.c: New file.
12529 * benchtests/json-lib.h: Likewise.
12530
36875b06
TR
125312014-04-11 Torvald Riegel <triegel@redhat.com>
12532
12533 [BZ #15215]
12534 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12535 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12536 memory barriers. Add comments.
12537 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12538 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12539 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12540 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12541 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12542 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12543
579db35a
SL
125442014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12545
12546 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12547 * sysdeps/s390/s390-64/configure.ac: ... this ...
12548 * sysdeps/s390/configure.ac: ... to here.
12549 * sysdeps/s390/s390-32/configure: Delete file.
12550 * sysdeps/s390/s390-64/configure: Delete file.
12551 * sysdeps/s390/configure: Regenerate.
12552
c12e9f37
JAPH
125532014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12554
12555 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12556
439bda32
WN
125572014-04-11 Will Newton <will.newton@linaro.org>
12558
12559 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12560 to zero if it is not defined elsewhere. (mtrim): Test
12561 the value of MALLOC_DEBUG with #if rather than #ifdef.
12562
6a5d6ea1
TR
125632014-04-10 Torvald Riegel <triegel@redhat.com>
12564
12565 * benchtests/pthread_once-inputs: New file.
12566 * benchtests/pthread_once-source.c: New file.
12567 * benchtests/README: Update documentation.
12568
a4c75cfd
IZ
125692014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12570 H.J. Lu <hongjiu.lu@intel.com>
12571
7e54fd04 12572 [BZ #16275]
a4c75cfd
IZ
12573 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12574 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12575 * sysdeps/x86_64/configure: Regenerated.
12576 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12577 macro.
12578 (REGISTER_SAVE_RAX): Likewise.
12579 (REGISTER_SAVE_RCX): Likewise.
12580 (REGISTER_SAVE_RDX): Likewise.
12581 (REGISTER_SAVE_RSI): Likewise.
12582 (REGISTER_SAVE_RDI): Likewise.
12583 (REGISTER_SAVE_R8): Likewise.
12584 (REGISTER_SAVE_R9): Likewise.
12585 (REGISTER_SAVE_BND0): Likewise.
12586 (REGISTER_SAVE_BND1): Likewise.
12587 (REGISTER_SAVE_BND2): Likewise.
12588 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12589 bound registers when calling _dl_fixup.
12590
27822ce6
AZ
125912014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12592
12593 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
12594 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12595 of its definition.
27822ce6
AZ
12596 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12597 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12598 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12599 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12600 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12601 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12602 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12603
a88ddc90
PTB
126042014-04-09 Peter Brett <peter@peter-b.co.uk>
12605
12606 [BZ #15514]
12607 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12608 pathconf(_PC_NAME_MAX).
12609
01f8eac2
AZ
126102014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12611
12612 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12613 Remove macro usage.
12614 (__PTHREAD_SPINS): Move definition to ...
12615 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12616 (__PTHREAD_SPINS): ... here.
12617 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12618 (__PTHREAD_SPIN): Likewise.
12619 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12620 (__PTHREAD_SPIN): Likewise.
12621 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12622 (__PTHREAD_SPIN): Likewise.
12623 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12624 (__PTHREAD_SPIN): Likewise.
12625 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12626 (__PTHREAD_SPIN): Likewise.
12627 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12628 (__PTHREAD_SPIN): Likewise.
12629 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12630 (__PTHREAD_SPIN): Likewise.
12631 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12632 (__PTHREAD_SPIN): Likewise.
12633 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12634 (__PTHREAD_SPIN): Likewise.
12635 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12636 (__PTHREAD_SPIN): Likewise.
12637 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12638 (__PTHREAD_SPIN): Likewise.
12639 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12640 (__PTHREAD_SPIN): Likewise.
12641
de21c33c
AZ
12642 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12643 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12644 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12645 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12646 imply folder.
12647 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12648 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12649 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12650 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12651 correct imply path.
12652 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12653 strlen symbol for non multi-arch builds.
12654 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12655 missing hidden_def and weak_alias.
12656
862c472e
CD
126572014-04-08 Carlos O'Donell <carlos@redhat.com>
12658
12659 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12660
8667f90e
WN
126612014-04-07 Will Newton <will.newton@linaro.org>
12662
12663 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12664 and contents. [!_LIBC] Remove #ifndef and contents.
12665 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12666 * string/memccpy.c (__memccpy): Use ANSI prototype.
12667 * string/memfrob.c (memfrob): Likewise.
12668 * string/strcoll.c (STRCOLL): Likewise.
12669 * string/strlen.c (strlen): Likewise.
12670 * string/strtok.c (STRTOK): Likewise.
12671 * string/strcat.c: Remove unused #include of memcopy.h.
12672 (strcat): Use ANSI prototype.
12673 * string/strchr.c: Remove unused #include of memcopy.h.
12674 (strchr): Use ANSI prototype.
12675 * string/strcmp.c: Remove unused #include of memcopy.h.
12676 (strcmp): Use ANSI prototype.
12677 * string/strcpy.c: Remove unused #include of memcopy.h.
12678 (strcpy): Use ANSI prototype.
12679
7ffa9423
AZ
126802014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12681
12682 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12683 * config.make.in (config-extra-cppflags): Set it from
12684 libc_extra_cppflags.
12685 * configure.ac (libc_extra_cflags): Make it accumulate over
12686 configure fragments.
12687 (libc_extra_cppflags): New flag.
12688 * configure. Regenerate.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
12690 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12691 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12693
8bd70862
AZ
12694 [BZ #16815]
12695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12696 result for FE_DOWNWARD rounding mode.
12697 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12698 Likewise.
12699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12700
d42f3448
CM
127012014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12702
12703 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12704 in function argument name.
12705
1c21d115
DS
127062014-04-03 David Svoboda <svoboda@cert.org>
12707
12708 [BZ #5666]
12709 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12710 explicitly.
12711
fcccd512
RM
127122014-04-03 Roland McGrath <roland@hack.frob.com>
12713
12714 * elf/dl-unmap-segments.h: New file.
12715 * sysdeps/generic/ldsodefs.h
12716 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12717 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12718 * elf/dl-fptr.c: Likewise.
12719 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12720 * sysdeps/aarch64/tlsdesc.c: Likewise.
12721 * sysdeps/arm/tlsdesc.c: Likewise.
12722 * sysdeps/i386/tlsdesc.c: Likewise.
12723 * sysdeps/tile/dl-runtime.c: Likewise.
12724 * sysdeps/x86_64/tlsdesc.c: Likewise.
12725 * elf/dl-load.h: New file.
12726 * elf/dl-load.c: Include it.
12727 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12728 Macros moved to dl-load.h.
12729 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12730 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12731 Use _dl_unmap_segments in place of __munmap.
12732 Break out segment-mapping loop into ...
12733 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12734
f6488e2b
WN
127352014-04-03 Will Newton <will.newton@linaro.org>
12736
12737 * elf/dl-lookup.c (do_lookup_x): Remove comment
12738 referring to nested function and move variable
12739 declarations down to before first use.
12740
6f05bafe
JM
127412014-04-02 Joseph Myers <joseph@codesourcery.com>
12742
a84e78c8
JM
12743 [BZ #16799]
12744 [BZ #16800]
12745 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12746 with 0 numerator.
12747 * math/s_catanf.c (__catanf): Likewise.
12748 * math/s_catanh.c (__catanh): Likewise.
12749 * math/s_catanhf.c (__catanhf): Likewise.
12750 * math/s_catanhl.c (__catanhl): Likewise.
12751 * math/s_catanl.c (__catanl): Likewise.
12752 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12753 by positive zero when computing -Inf result.
12754 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12755 (catanh_test): Likewise.
12756 * sysdeps/i386/fpu/libm-test-ulps: Update.
12757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12758
6f05bafe
JM
12759 [BZ #16789]
12760 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12761 instead of using underflowing value in computing result.
12762 * math/s_clog10.c (__clog10): Likewise.
12763 * math/s_clog10f.c (__clog10f): Likewise.
12764 * math/s_clog10l.c (__clog10l): Likewise.
12765 * math/s_clogf.c (__clogf): Likewise.
12766 * math/s_clogl.c (__clogl): Likewise.
12767 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12768 (clog10_test): Likewise.
12769 * sysdeps/i386/fpu/libm-test-ulps: Update.
12770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12771
b0abbc21
AM
127722014-04-02 Alan Modra <amodra@gmail.com>
12773
12774 [BZ #16739]
12775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12776 output when value is near a power of two. Use int64_t for lx and
12777 remove casts. Use decimal rather than hex exponent constants.
12778 Don't use long double multiplication when double will suffice.
12779 * math/libm-test.inc (nextafter_test_data): Add tests.
12780 * NEWS: Add 16739 and 16786 to bug list.
12781
af6b1797
AM
12782 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12783
483818d7
AM
12784 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12785
f6c55796
WN
127862014-04-01 Will Newton <will.newton@linaro.org>
12787
12788 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12789 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12790
13f7fe35
FW
127912014-04-01 Florian Weimer <fweimer@redhat.com>
12792
12793 [BZ #13347]
12794 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12795 * nptl/tst-setuid2.c: New file.
12796 * nptl/Makefile (xtests): Add tst-setuid2.
12797
c859b32e
AM
127982014-04-01 Alan Modra <amodra@gmail.com>
12799
12800 [BZ #16786]
12801 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12802
54fa2475
JM
128032014-03-31 Joseph Myers <joseph@codesourcery.com>
12804
8795b4a4
JM
12805 [BZ #6803]
12806 [BZ #6804]
12807 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12808 set errno as appropriate.
12809 * math/w_scalbf.c (__scalbf): Likewise.
12810 * math/w_scalbl.c (__scalbl): Likewise.
12811 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12812 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12813 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12814 Add more NaN tests.
12815
54fa2475
JM
12816 [BZ #16349]
12817 * math/w_atan2.c: Include <errno.h>.
12818 (__atan2): Set errno for result underflowing to zero.
12819 * math/w_atan2f.c: Include <errno.h>.
12820 (__atan2f): Set errno for result underflowing to zero.
12821 * math/w_atan2l.c: Include <errno.h>.
12822 (__atan2l): Set errno for result underflowing to zero.
12823 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12824 tests.
12825 * math/auto-libm-test-out: Regenerated.
12826
757d9dd5
AZ
128272014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12828
12829 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12830 Encode instruction correctly in little endian.
12831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12832 Likewise.
12833 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12834 Likewise.
12835 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12836 Likewise.
12837 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12838 Likewise.
12839
d7a68734
JM
128402014-03-31 Joseph Myers <joseph@codesourcery.com>
12841
47c5adeb
JM
12842 [BZ #9894]
12843 * sysdeps/unix/sysv/linux/kernel-features.h
12844 [__sparc__ && !__arch64__ && !__sparc_v9__]
12845 (__ASSUME_SET_ROBUST_LIST): Do not define.
12846 [__sparc__ && !__arch64__ && !__sparc_v9__]
12847 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12848 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12849 Likewise.
12850 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12851 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12852 (__ASSUME_REQUEUE_PI): Likewise.
12853 (__ASSUME_SET_ROBUST_LIST): Likewise.
12854 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12855 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12856 Undefine.
12857 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12858 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12859 Likewise.
12860 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12861 Likewise.
12862 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12863 Likewise.
12864 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12865 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12866 Undefine.
12867 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12868 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12869 Likewise.
12870
d7a68734
JM
12871 [BZ #16648]
12872 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12873 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12874 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12875
c760f5c2
WN
128762014-03-31 Will Newton <will.newton@linaro.org>
12877
12878 * benchtests/Makefile (bench): Add ffs and ffsll to list
12879 of tests.
12880 * benchtests/ffs-inputs: New file.
12881 * benchtests/ffsll-inputs: Likewise.
12882
ea6029b1
JM
128832014-03-29 Joseph Myers <joseph@codesourcery.com>
12884
12885 [BZ #16770]
12886 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12887 too large before casting to int.
12888 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12889 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12890 * math/libm-test.inc (scalb_test_data): Add more tests.
12891
cf806aff
SP
128922014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12893
56737508
SP
12894 * benchtests/Makefile (DETAILED_OPT): New make option.
12895 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12896 set.
12897 * benchtests/bench-skeleton.c: Include stdbool.h.
12898 (main): Store and print timings per input.
12899 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12900 member to each argument value.
12901 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12902 (_print_arg_data): Initialize per-input timing to 0.
12903
cb5e4aad
SP
12904 * benchtests/Makefile (timing-type): New binary.
12905 (bench-clean): Also remove bench-timing-type.
12906 (bench): New target for timing-type.
12907 (bench-func): Print output in JSON format.
12908 * benchtests/bench-skeleton.c (main): Print output in JSON
12909 format.
12910 * benchtests/bench-timing-type.c: New file.
12911 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12912 (TIMING_PRINT_STATS): Remove.
12913 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12914 name separately.
12915
cf806aff
SP
12916 * benchtests/bench-modf.c: Remove.
12917 * benchtests/modf-inputs: New inputs file.
12918
289e0779
JM
129192014-03-28 Joseph Myers <joseph@codesourcery.com>
12920
12921 [BZ #16362]
12922 * math/s_clog10.c (M_PI_LOG10E): New macro.
12923 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12924 imaginary parts are 0.
12925 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12926 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12927 imaginary parts are 0.
12928 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12929 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12930 imaginary parts are 0.
12931 * math/libm-test.inc (clog10_test_data): Update expected results
12932 for when real and imaginary parts are 0.
12933
277ae3f1
PP
129342014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12935
12936 * elf/dl-load.c: Finish conversion of __builtin_expect into
12937 __glibc_{un}likely.
12938
03a7091f
JM
129392014-03-27 Joseph Myers <joseph@codesourcery.com>
12940
12941 [BZ #16348]
12942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12943 1+x for argument with exponent below -67.
12944 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12945 Likewise.
12946 * math/auto-libm-test-in: Add more tests of exp.
12947 * math/auto-libm-test-out: Regenerated.
12948
ea7d8b95
SP
129492014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12950
dd3022d7
SP
12951 [BZ #16759]
12952 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12953 (nscd_getnetgrent): Use it.
12954
ea7d8b95
SP
12955 [BZ #16760]
12956 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12957 of stpcpy.
12958
df5b85da
AK
129592014-03-27 Andi Kleen <ak@linux.intel.com>
12960
57f41c40
AS
12961 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12962 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12963 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12964 (lll_robust_unlock): Remove out of line section. Use cfi
12965 intrinsics.
df5b85da 12966 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
12967 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12968 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12969 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12970 (lll_robust_unlock): Remove out of line section. Use cfi
12971 intrinsics.
df5b85da
AK
12972 (LLL_STUB_UNWIND_INFO*): Remove.
12973
fbd6b5a4
SP
129742014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12975
12976 [BZ #16758]
12977 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12978 blank values.
12979
1b26b855
PP
129802014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12981
12982 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12983
9be36fb8
JM
129842014-03-26 Joseph Myers <joseph@codesourcery.com>
12985
12986 [BZ #16198]
12987 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12988 fnstenv.
12989 * math/test-fenv-preserve.c: New file.
12990 * math/Makefile (tests): Add test-fenv-preserve.
12991
60a2f3c1
WN
129922014-03-26 Will Newton <will.newton@linaro.org>
12993
12994 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12995
a5e5f1e2
RM
129962014-03-25 Roland McGrath <roland@hack.frob.com>
12997
12998 * scripts/versionlist.awk: Partition the version sets and emit all
12999 GLIBC_* (sorted) before all others (sorted).
13000
00f4012a
JM
130012014-03-25 Joseph Myers <joseph@codesourcery.com>
13002
13003 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13004 GLIBC_2.2.5 version.
13005
7bc5a741
AZ
130062014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13007
13008 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13009 calls.
13010
7578473b
AZ
13011 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13012 previous change.
13013
f3f1dab3
AZ
13014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13015
6da36183
AS
130162014-03-25 Andreas Schwab <schwab@suse.de>
13017
13018 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13019 label to be used after in6ailist is initialized.
13020
f3f1dab3 130212014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13022
7578473b 13023 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13024 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13025
046651c1
JM
130262014-03-25 Joseph Myers <joseph@codesourcery.com>
13027
13028 [BZ #16357]
13029 [BZ #16599]
13030 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13031 min_plus_half.
13032 (fp_formats): Update initializers.
13033 (init_fp_formats): Initialize new field.
13034 (output_for_one_input_case): Allow underflow for results up to
13035 min_plus_half.
13036 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13037 * math/auto-libm-test-in: Don't mark some underflows from asin and
13038 atanh as spurious.
13039 * math/auto-libm-test-out: Regenerated.
13040 * sysdeps/i386/fpu/libm-test-ulps: Update.
13041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13042
003e49ed
AS
130432014-03-25 Andreas Schwab <schwab@suse.de>
13044
13045 * libio/Makefile (tst-ftell-partial-wide-ENV)
13046 (tst-ftell-active-handler-ENV): Define.
13047
de031874
SL
130482014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13049
13050 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13051
55a81e3b
PP
130522014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13053
13054 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13055
f3426898
JM
130562014-03-24 Joseph Myers <joseph@codesourcery.com>
13057
13058 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13059 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13060 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13061
a42faf59
PP
130622014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13063
13064 [BZ #16634]
a42faf59 13065 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13066 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13067 (open_path): Change from boolean 'secure' to complete flag 'mode'
13068 (_dl_map_object): Adjust.
a42faf59
PP
13069 * elf/Makefile (tests): Add tst-dlopen-aout.
13070 * elf/tst-dlopen-aout.c: New test.
13071
50936127
SL
130722014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13073
13074 [BZ #16714]
13075 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13076 (struct stat): Rename member pad0 to __glibc_reserved0.
13077
26011b5c
SL
13078 [BZ #16712]
13079 * sysdeps/s390/s390-32/bits/wordsize.h
13080 (__WORDSIZE32_SIZE_ULONG): New define.
13081 * sysdeps/s390/s390-64/bits/wordsize.h
13082 (__WORDSIZE32_SIZE_ULONG): Likewise.
13083 * sysdeps/generic/stdint.h (SIZE_MAX):
13084 Define as UL if __WORDSIZE32_SIZE_ULONG.
13085
a2d86bf1
SL
13086 [BZ #16713]
13087 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13088 (__glibc_reserved0): New variable.
13089 (sa_flags): Change type to int.
13090
78b6eebc
SL
13091 * posix/Makefile (before-compile): Use += before-compile instead
13092 of a :=.
13093
f1399b5a
SL
13094 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13095 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13096
a071766e
AS
130972014-03-20 Andreas Schwab <schwab@suse.de>
13098
13099 [BZ #16743]
13100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13101 non-matching result from nscd.
13102
27c673b8
SP
131032014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13104
13105 * scripts/bench.py: Moved to ...
13106 * benchtests/scripts/bench.py: ... here.
13107 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13108
44152e4b
AS
131092014-03-24 Andreas Schwab <schwab@suse.de>
13110
13111 [BZ #16002]
13112 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13113 alloca_account and account alloca use for struct in6ailist.
13114
b376a11a
JM
131152014-03-24 Joseph Myers <joseph@codesourcery.com>
13116
13117 [BZ #16284]
13118 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13119 rounding mode to recompute results that overflow to infinity or
13120 underflow to zero.
13121 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13122 bug 16284.
13123 * math/auto-libm-test-out: Regenerated.
13124 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13125 (ccosh_test): Likewise.
13126 (csin_test_data): Use plus_oflow.
13127 (csin_test): Use ALL_RM_TEST.
13128 (csinh_test_data): Use plus_oflow.
13129 (csinh_test): Use ALL_RM_TEST.
13130 * sysdeps/i386/fpu/libm-test-ulps: Update.
13131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13132
f7be7376
JM
131332014-03-21 Joseph Myers <joseph@codesourcery.com>
13134
1ca2d03e
JM
13135 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13136 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13137 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13138
f7be7376
JM
13139 [BZ #16731]
13140 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13141 when x - 1 is zero.
13142 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13143 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13144 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13146 argument is 1.
13147 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13148 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13149 zero.
13150 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13151 * sysdeps/i386/fpu/libm-test-ulps: Update.
13152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13153
fdf4534d
SP
131542014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13155
df26ea53
SP
13156 * scripts/bench.pl: Remove file.
13157 * scripts/bench.py: New benchmark script.
13158 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13159 * benchtests/README: Mention python dependency.
13160 * scripts/pylintrc: New file.
13161 * scripts/pylint: New file.
13162
fdf4534d
SP
13163 * bits/mathdef.h: Use #ifdef instead of #if.
13164 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13165 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13166 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13167 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13168 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13169 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13170
6f23d093
AZ
131712014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13172 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13173
13174 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13176 and strpbrk-ppc64 objects.
13177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13178 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13179 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13180 multiarch strpbrk for POWER7.
13181 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13182 multiarch strpbrk for PPC64.
13183 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13184 ifunc selector.
13185 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13186 strpbrk for POWER7.
13187
8c92dfff
JM
131882014-03-20 Joseph Myers <joseph@codesourcery.com>
13189
13190 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13191 (atan_test): Likewise.
13192 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13193 (atanh_test): Use ALL_RM_TEST.
13194 (atan2_test_data): Likewise.
13195 (cabs_test): Likewise.
13196 (cacosh_test): Likewise.
13197 (carg_test): Likewise.
13198 (casin_test): Likewise.
13199 (casinh_test): Likewise.
13200 (cbrt_test): Likewise.
13201 (csqrt_test): Likewise.
13202 (erf_test): Likewise.
13203 (erfc_test): Likewise.
13204 (pow10_test): Likewise.
13205 (exp2_test): Likewise.
13206 (hypot_test): Likewise.
13207 (j0_test): Likewise.
13208 (j1_test): Likewise.
13209 (lgamma_test): Likewise.
13210 (gamma_test): Likewise.
13211 (sincos_test): Likewise.
13212 (tanh_test): Likewise.
13213 (y0_test): Likewise.
13214 (y1_test): Likewise.
13215 * sysdeps/i386/fpu/libm-test-ulps: Update.
13216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13217
6eaf95cb
AZ
132182014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13219
a387428c
SP
13220 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13222 and strcspn-ppc64 objects.
13223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13224 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13225 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13226 multiarch strcspn for POWER7.
13227 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13228 multiarch strcspn for PPC64.
13229 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13230 ifunc selector.
13231 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13232 strcspn for POWER7.
13233
ae3a5dff
JM
132342014-03-20 Joseph Myers <joseph@codesourcery.com>
13235
13236 * math/gen-libm-test.pl (generate_testfile): Expect only function
13237 name as argument to AUTO_TESTS_* and pass results for all rounding
13238 modes to parse_args.
13239 (parse_auto_input): Separate inputs of automatic tests from
13240 outputs before storing in %auto_tests.
13241 * math/libm-test.inc (acos_test_data): Update call to
13242 AUTO_TESTS_f_f.
13243 (acos_test): Use ALL_RM_TEST.
13244 (acos_tonearest_test_data): Remove.
13245 (acos_test_tonearest): Likewise.
13246 (acos_towardzero_test_data): Likewise.
13247 (acos_test_towardzero): Likewise.
13248 (acos_downward_test_data): Likewise.
13249 (acos_test_downward): Likewise.
13250 (acos_upward_test_data): Likewise.
13251 (acos_test_upward): Likewise.
13252 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13253 (asin_test_data): Likewise.
13254 (asin_test): Use ALL_RM_TEST.
13255 (asin_tonearest_test_data): Remove.
13256 (asin_test_tonearest): Likewise.
13257 (asin_towardzero_test_data): Likewise.
13258 (asin_test_towardzero): Likewise.
13259 (asin_downward_test_data): Likewise.
13260 (asin_test_downward): Likewise.
13261 (asin_upward_test_data): Likewise.
13262 (asin_test_upward): Likewise.
13263 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13264 (atan_test_data): Likewise.
13265 (atanh_test_data): Likewise.
13266 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13267 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13268 (carg_test_data): Likewise.
13269 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13270 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13271 (ccosh_test_data): Likewise.
13272 (cexp_test_data): Likewise.
13273 (clog_test_data): Likewise.
13274 (clog10_test_data): Likewise.
13275 (cos_test_data): Update call to AUTO_TESTS_f_f.
13276 (cos_test): Use ALL_RM_TEST.
13277 (cos_tonearest_test_data): Remove.
13278 (cos_test_tonearest): Likewise.
13279 (cos_towardzero_test_data): Likewise.
13280 (cos_test_towardzero): Likewise.
13281 (cos_downward_test_data): Likewise.
13282 (cos_test_downward): Likewise.
13283 (cos_upward_test_data): Likewise.
13284 (cos_test_upward): Likewise.
13285 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13286 (cosh_test): Use ALL_RM_TEST.
13287 (cosh_tonearest_test_data): Remove.
13288 (cosh_test_tonearest): Likewise.
13289 (cosh_towardzero_test_data): Likewise.
13290 (cosh_test_towardzero): Likewise.
13291 (cosh_downward_test_data): Likewise.
13292 (cosh_test_downward): Likewise.
13293 (cosh_upward_test_data): Likewise.
13294 (cosh_test_upward): Likewise.
13295 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13296 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13297 (ctan_test_data): Likewise.
13298 (ctan_test): Use ALL_RM_TEST.
13299 (ctan_tonearest_test_data): Remove.
13300 (ctan_test_tonearest): Likewise.
13301 (ctan_towardzero_test_data): Likewise.
13302 (ctan_test_towardzero): Likewise.
13303 (ctan_downward_test_data): Likewise.
13304 (ctan_test_downward): Likewise.
13305 (ctan_upward_test_data): Likewise.
13306 (ctan_test_upward): Likewise.
13307 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13308 (ctanh_test): Use ALL_RM_TEST.
13309 (ctanh_tonearest_test_data): Remove.
13310 (ctanh_test_tonearest): Likewise.
13311 (ctanh_towardzero_test_data): Likewise.
13312 (ctanh_test_towardzero): Likewise.
13313 (ctanh_downward_test_data): Likewise.
13314 (ctanh_test_downward): Likewise.
13315 (ctanh_upward_test_data): Likewise.
13316 (ctanh_test_upward): Likewise.
13317 (erf_test_data): Update call to AUTO_TESTS_f_f.
13318 (erfc_test_data): Likewise.
13319 (exp_test_data): Likewise.
13320 (exp_test): Use ALL_RM_TEST.
13321 (exp_tonearest_test_data): Remove.
13322 (exp_test_tonearest): Likewise.
13323 (exp_towardzero_test_data): Likewise.
13324 (exp_test_towardzero): Likewise.
13325 (exp_downward_test_data): Likewise.
13326 (exp_test_downward): Likewise.
13327 (exp_upward_test_data): Likewise.
13328 (exp_test_upward): Likewise.
13329 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13330 (exp10_test): Use ALL_RM_TEST.
13331 (exp10_tonearest_test_data): Remove.
13332 (exp10_test_tonearest): Likewise.
13333 (exp10_towardzero_test_data): Likewise.
13334 (exp10_test_towardzero): Likewise.
13335 (exp10_downward_test_data): Likewise.
13336 (exp10_test_downward): Likewise.
13337 (exp10_upward_test_data): Likewise.
13338 (exp10_test_upward): Likewise.
13339 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13340 (expm1_test_data): Likewise.
13341 (expm1_test): Use ALL_RM_TEST.
13342 (expm1_tonearest_test_data): Remove.
13343 (expm1_test_tonearest): Likewise.
13344 (expm1_towardzero_test_data): Likewise.
13345 (expm1_test_towardzero): Likewise.
13346 (expm1_downward_test_data): Likewise.
13347 (expm1_test_downward): Likewise.
13348 (expm1_upward_test_data): Likewise.
13349 (expm1_test_upward): Likewise.
13350 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13351 (fma_test): Use ALL_RM_TEST.
13352 (fma_towardzero_test_data): Remove.
13353 (fma_test_towardzero): Likewise.
13354 (fma_downward_test_data): Likewise.
13355 (fma_test_downward): Likewise.
13356 (fma_upward_test_data): Likewise.
13357 (fma_test_upward): Likewise.
13358 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13359 (j0_test_data): Update call to AUTO_TESTS_f_f.
13360 (j1_test_data): Likewise.
13361 (jn_test_data): Update call to AUTO_TESTS_if_f.
13362 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13363 (log_test_data): Update call to AUTO_TESTS_f_f.
13364 (log10_test_data): Likewise.
13365 (log1p_test_data): Likewise.
13366 (log2_test_data): Likewise.
13367 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13368 (pow_tonearest_test_data): Likewise.
13369 (sin_test_data): Update call to AUTO_TESTS_f_f.
13370 (sin_test): Use ALL_RM_TEST.
13371 (sin_tonearest_test_data): Remove.
13372 (sin_test_tonearest): Likewise.
13373 (sin_towardzero_test_data): Likewise.
13374 (sin_test_towardzero): Likewise.
13375 (sin_downward_test_data): Likewise.
13376 (sin_test_downward): Likewise.
13377 (sin_upward_test_data): Likewise.
13378 (sin_test_upward): Likewise.
13379 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13380 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13381 (sinh_test): Use ALL_RM_TEST.
13382 (sinh_tonearest_test_data): Remove.
13383 (sinh_test_tonearest): Likewise.
13384 (sinh_towardzero_test_data): Likewise.
13385 (sinh_test_towardzero): Likewise.
13386 (sinh_downward_test_data): Likewise.
13387 (sinh_test_downward): Likewise.
13388 (sinh_upward_test_data): Likewise.
13389 (sinh_test_upward): Likewise.
13390 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13391 (sqrt_test): Use ALL_RM_TEST.
13392 (sqrt_tonearest_test_data): Remove.
13393 (sqrt_test_tonearest): Likewise.
13394 (sqrt_towardzero_test_data): Likewise.
13395 (sqrt_test_towardzero): Likewise.
13396 (sqrt_downward_test_data): Likewise.
13397 (sqrt_test_downward): Likewise.
13398 (sqrt_upward_test_data): Likewise.
13399 (sqrt_test_upward): Likewise.
13400 (tan_test_data): Update call to AUTO_TESTS_f_f.
13401 (tan_test): Use ALL_RM_TEST.
13402 (tan_tonearest_test_data): Remove.
13403 (tan_test_tonearest): Likewise.
13404 (tan_towardzero_test_data): Likewise.
13405 (tan_test_towardzero): Likewise.
13406 (tan_downward_test_data): Likewise.
13407 (tan_test_downward): Likewise.
13408 (tan_upward_test_data): Likewise.
13409 (tan_test_upward): Likewise.
13410 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13411 (tgamma_test_data): Likewise.
13412 (y0_test_data): Likewise.
13413 (y1_test_data): Likewise.
13414 (yn_test_data): Update call to AUTO_TESTS_if_f.
13415 (main): Do not call removed functions.
13416
d71aeee8
JM
134172014-03-19 Joseph Myers <joseph@codesourcery.com>
13418
13419 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13420 (ldexp_test_data): Remove.
13421 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13422 scalbn_test_data.
13423 (scalb_test): Use ALL_RM_TEST.
13424
baaf1ded
AS
134252014-03-19 Andreas Schwab <schwab@suse.de>
13426
13427 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13428
b1115e91
JM
134292014-03-19 Joseph Myers <joseph@codesourcery.com>
13430
13431 [BZ #16649]
13432 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13433 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13434 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13435 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13436 (__ASSUME_PREADV): Undefine.
13437 (__ASSUME_PWRITEV): Likewise.
13438
0283ecca
RM
134392014-03-18 Roland McGrath <roland@hack.frob.com>
13440
7d375303
RM
13441 * bits/mman-linux.h: Add comment about non-Linux use.
13442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13443 bits/mman-linux.h resting place.
13444
0283ecca
RM
13445 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13446 * bits/mman-linux.h: ... here.
13447
aebe1003
AZ
134482014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13449
13450 * conform/conformtest.pl: Add standard definition when calling C
13451 preprocessor on data files.
13452 (checknamespace): Remove unused variable.
13453
b29b6bb8
JM
134542014-03-18 Joseph Myers <joseph@codesourcery.com>
13455
13456 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13457 minus_oflow, plus_uflow and minus_uflow in expected results.
13458 * math/libm-test.inc (scalbn_test_data): Add more tests of
13459 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13460 minus_uflow.
13461 (scalbn_test): Use ALL_RM_TEST.
13462 (scalbln_test_data): Add more tests of negative arguments. Use
13463 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13464 (scalbln_test): Use ALL_RM_TEST.
13465
c8f8fa15
RM
134662014-03-18 Roland McGrath <roland@hack.frob.com>
13467
13468 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13469
fede7a5f
WN
134702014-03-18 Will Newton <will.newton@linaro.org>
13471
13472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13473 inaccurate comment.
13474
80cf0a58
JM
134752014-03-18 Joseph Myers <joseph@codesourcery.com>
13476
13477 * Makerules [!subdir] (check-abi): Exit with error status if a
13478 test failed.
13479
b3620862
JM
134802014-03-17 Joseph Myers <joseph@codesourcery.com>
13481
13482 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13483 for rint. Include results for all rounding modes.
13484 (nearbyint_test): Use ALL_RM_TEST.
13485 (rint_test_data): Include all tests used for nearbyint.
13486
788bba36
WN
134872014-03-17 Will Newton <will.newton@linaro.org>
13488
04ec140a
WN
13489 * nptl/sysdeps/pthread/pthread.h: Revert previous
13490 change.
13491
7579d8d5
WN
13492 * sysdeps/generic/ldsodefs.h: Revert previous
13493 change.
13494
c15cf13a
WN
13495 * libio/genops.c: Revert previous change.
13496 * libio/libioP.h: Likewise.
13497 * stdio-common/vfprintf.c: Likewise.
13498
d0ac1324
WN
13499 * sysdeps/generic/math_private.h: Revert previous
13500 change.
13501
9290130a
WN
13502 * sysdeps/generic/math_private.h: Check whether
13503 HAVE_RM_CTX is defined with #ifdef rather
13504 than #if.
13505
afb466fc
WN
13506 * argp/argp-fmtstream.h: Check whether
13507 __STRICT_ANSI__ is defined with #ifdef rather
13508 than #if.
13509 * argp/argp.h: Likewise.
13510
f7efd7c3
WN
13511 * libio/genops.c: Check whether
13512 _IO_JUMPS_OFFSET is defined with #ifdef rather
13513 than #if.
13514 * libio/libioP.h: Likewise.
13515 * stdio-common/vfprintf.c: Likewise.
13516
53f1bed3
WN
13517 * sysdeps/generic/ldsodefs.h: Check whether
13518 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13519 than #if.
13520
788bba36
WN
13521 * nptl/sysdeps/pthread/pthread.h: Check
13522 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13523 its value.
13524
fcd89ebe
SP
135252014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13526
ae42bbc5
SP
13527 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13528 setting O_APPEND.
13529 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13530 test case.
13531
ea33158c
SP
13532 [BZ #16680]
13533 * libio/fileops.c (_IO_file_open): Seek to end of file but
13534 don't cache the offset.
13535 (get_file_offset): Remove function.
13536 (do_ftell): Use cached offset when available.
13537 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13538 don't cache the offset.
13539 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13540 case.
13541 (do_one_test): Call it.
13542 (do_ftell_test): Fix up expected old offset for a+ mode.
13543 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13544 available.
13545
b1dbb426
SP
13546 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13547 up test status with function return status.
13548 (do_write_test): Likewise.
13549 (do_append_test): Likewise.
13550
fcd89ebe
SP
13551 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13552 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13553 Remove.
13554
9962a2d3
JM
135552014-03-17 Joseph Myers <joseph@codesourcery.com>
13556
13557 * math/gen-libm-test.pl (parse_args): Handle results specified for
13558 each rounding mode separately.
13559 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13560 tests and results from lrint_tonearest_test_data,
13561 lrint_towardzero_test_data, lrint_downward_test_data and
13562 lrint_upward_test_data.
13563 (lrint_test): Use ALL_RM_TEST.
13564 (lrint_tonearest_test_data): Remove.
13565 (lrint_test_tonearest): Likewise.
13566 (lrint_towardzero_test_data): Likewise.
13567 (lrint_test_towardzero): Likewise.
13568 (lrint_downward_test_data): Likewise.
13569 (lrint_test_downward): Likewise.
13570 (lrint_upward_test_data): Likewise.
13571 (lrint_test_upward): Likewise.
13572 (llrint_test_data): Merge in per-rounding-mode tests and results
13573 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13574 llrint_downward_test_data and llrint_upward_test_data.
13575 (llrint_test): Use ALL_RM_TEST.
13576 (llrint_tonearest_test_data): Remove.
13577 (llrint_test_tonearest): Likewise.
13578 (llrint_towardzero_test_data): Likewise.
13579 (llrint_test_towardzero): Likewise.
13580 (llrint_downward_test_data): Likewise.
13581 (llrint_test_downward): Likewise.
13582 (llrint_upward_test_data): Likewise.
13583 (llrint_test_upward): Likewise.
13584 (rint_test_data): Merge in per-rounding-mode tests and results
13585 from rint_tonearest_test_data, rint_towardzero_test_data,
13586 rint_downward_test_data and rint_upward_test_data. Add
13587 per-rounding-mode results for tests not in those arrays.
13588 (rint_test): Use ALL_RM_TEST.
13589 (rint_tonearest_test_data): Remove.
13590 (rint_test_tonearest): Likewise.
13591 (rint_towardzero_test_data): Likewise.
13592 (rint_test_towardzero): Likewise.
13593 (rint_downward_test_data): Likewise.
13594 (rint_test_downward): Likewise.
13595 (rint_upward_test_data): Likewise.
13596 (rint_test_upward): Likewise.
13597 (main): Don't call removed functions.
13598
5006148e
RM
135992014-03-14 Roland McGrath <roland@hack.frob.com>
13600
13601 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13602 "Compiled on ..." crapola. It is anti-useful.
13603
d6fe5e58
JM
136042014-03-14 Joseph Myers <joseph@codesourcery.com>
13605
13606 * scripts/evaluate-test.sh: Handle fourth argument to determine
13607 whether test run should stop on failure.
13608 * Makeconfig (stop-on-test-failure): New variable.
13609 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13610 $(stop-on-test-failure).
13611 * Makefile (tests): Give a summary of results from testing and
13612 exit with failure status if they include an ERROR or FAIL.
13613 (xtests): Likewise.
13614 * manual/install.texi (Configuring and compiling): Mention
13615 stop-on-test-failure=y.
13616 * INSTALL: Regenerated.
13617
498a2233
RM
136182014-03-14 Roland McGrath <roland@hack.frob.com>
13619
22dbc19d
RM
13620 * scripts/versionlist.awk: New file.
13621 * Makerules [$(build-shared) = yes]
13622 (postclean-generated): Add Versions.def, not Versions.def.v and
13623 Versions.def.v.i.
13624 ($(common-objpfx)Versions.def.v.i): Target removed.
13625 ($(common-objpfx)Versions.def): New target.
13626 ($(common-objpfx)Versions.all): Depend on that rather that
13627 $(common-objpfx)Versions.def.v.
13628 * Versions.def: File removed.
13629
498a2233
RM
13630 * Makeconfig (+gccwarn): Add -Wundef.
13631 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13632 a dl-sysdep.h breaking its contract.
13633 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13634 * include/stackinfo.h: New file.
13635 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13636 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13637 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13638 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13639 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13640 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13641 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13642 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13643 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13644 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13645 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13646 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13647 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13648 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13649 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13650
c7de5025
AZ
136512014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13652
13653 [BZ #16707]
13654 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13655 implementation.
13656 * math/libm-test.inc (round_test_data): Add more tests.
13657
98fb27a3
AZ
13658 [BZ #16706]
13659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13660 implementation.
13661 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13662
374f7f61
AZ
13663 [BZ #16701]
13664 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13665 implementation.
13666 * math/libm-test.inc (ceil_test_data): Add more tests.
13667
4655c291
AZ
13668 * math/libm-test.inc (trunc_test_data): Add more tests related to
13669 BZ#16414.
13670
d7329d4b
RM
136712014-03-14 Roland McGrath <roland@hack.frob.com>
13672
13673 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13674 with #if rather than #ifdef.
13675 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13676
aa4de9ce
L
136772014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13678
13679 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13680 first. Disable AVX-512 GCC support if assembler doesn't support
13681 it.
13682 * sysdeps/x86_64/configure: Regenerated.
13683
2e03fae7
CD
136842014-03-13 Carlos O'Donell <carlos@redhat.com>
13685
13686 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13687 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13688 (__old_pthread_attr_setstack): Likewise.
13689 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13690 [!_STACK_GROWS_DOWN]: Likewise.
13691
43ca83ec
MF
136922014-03-13 Mike Frysinger <vapier@gentoo.org>
13693
13694 * config.make.in (have-bash2): Delete.
13695 * configure.ac (libc_cv_have_bash2): Delete.
13696 * configure: Regenerate.
13697 * elf/Makefile (common-ldd-rewrite): Rename to ...
13698 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13699 (sh-ldd-rewrite): Delete.
13700 (bash-ldd-rewrite): Delete.
13701 (have-bash2): Delete checks.
57f41c40
AS
13702 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13703 ldd-rewrite.
c66e48b4
MF
13704
13705 * config.make.in (have-ksh): Delete.
13706 (KSH): Delete.
13707 * configure.ac (libc_cv_have_ksh): Delete.
13708 * configure: Regenerate.
13709
b93834ef
MF
13710 * elf/Makefile: Delete $(have-ksh) check.
13711 ($(objpfx)sotruss): Change KSH to BASH.
13712 * elf/sotruss.ksh: Rename to ...
13713 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13714 function style to match POSIX. Drop ksh vim mode setting.
13715
f3a4632a
MF
13716 * manual/time.texi (Specifying the Time Zone with TZ): Change
13717 Tuesday to Thursday.
13718
5896c8bd
MF
13719 * debug/tst-longjmp_chk2.c: Update header comment.
13720 (stackoverflow_handler): Add comment. Call assert on pass value.
13721
2d63a517
IZ
137222014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13723
7e54fd04 13724 [BZ #16194]
2d63a517
IZ
13725 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13726 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13727 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13728 (La_x86_64_vector): Add zmm.
13729 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13730 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13731 ($(objpfx)tst-audit10): New target.
13732 ($(objpfx)tst-audit10.out): Likewise.
13733 (tst-audit10-ENV): New.
13734 (AVX512-CFLAGS): Likewise.
13735 (CFLAGS-tst-audit10.c): Likewise.
13736 (CFLAGS-tst-auditmod10a.c): Likewise.
13737 (CFLAGS-tst-auditmod10b.c): Likewise.
13738 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13739 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13740 * sysdeps/x86_64/configure: Regenerated.
13741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13742 AVX-512 zmm register support.
13743 (_dl_x86_64_save_sse): Likewise.
13744 (_dl_x86_64_restore_sse): Likewise.
13745 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13746 size vector registers.
13747 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13748 (ZMM_SIZE): Likewise.
13749 * sysdeps/x86_64/tst-audit10.c: New file.
13750 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13751 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13752
44c4e5d5
RM
137532014-03-13 Roland McGrath <roland@hack.frob.com>
13754
13755 * configure.ac (HAVE_EHDR_START): New check.
13756 * configure: Regenerated.
13757 * config.h.in (HAVE_EHDR_START): New #undef.
13758 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13759 assuming the lowest-addressed segment maps the start of the file.
13760
acd6e389
JM
137612014-03-13 Joseph Myers <joseph@codesourcery.com>
13762
13763 * INSTALL: Regenerated.
13764
6f918f36
WN
137652014-03-13 Will Newton <will.newton@linaro.org>
13766
13767 * manual/setjmp.texi (System V contexts): Improve
13768 clarity and grammar of documentation.
13769
798212a0
PP
137702014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13771
13772 [BZ #16381]
798212a0 13773 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 13774 (tests-pie): Add tst-pie2.
798212a0
PP
13775 * elf/tst-pie2.c: New file.
13776 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13777 for ET_EXEC.
13778 * elf/rtld.c (map_doit): Load executable as lt_executable.
13779 (dl_main): Likewise.
13780
abe6d90c
JM
137812014-03-12 Joseph Myers <joseph@codesourcery.com>
13782
13783 [BZ #16642]
13784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13785 (__ASSUME_PSELECT): Undefine.
13786
dd3946c6
AZ
137872014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13788
13789 [BZ #16689]
13790 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13791 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13792 static build.
13793 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13794 selector for static builds.
13795
c44496df
SP
137962014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13797
13798 [BZ #16695]
13799 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13800 key in the buffer.
13801
27c7220a
AZ
138022014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13803
57f41c40
AS
13804 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13805 IFUNC selector for static builds.
27c7220a 13806
600fa361
JM
138072014-03-11 Joseph Myers <joseph@codesourcery.com>
13808
76c96cf7
JM
13809 * sysdeps/mips/math_private.h [__mips_hard_float]
13810 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13811 libc_feresetround_mips_ctx.
13812 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13813 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13814 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13815
600fa361
JM
13816 [BZ #16677]
13817 * math/s_nextafter.c (__nextafter): Do not return value from
13818 overflowing computation.
13819 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13820 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13821 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13822 Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13824 Likewise.
13825 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13826 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13827
d7706c32
RM
138282014-03-11 Roland McGrath <roland@hack.frob.com>
13829
13830 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13831 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13832 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13833 the new mov targetting sp.
13834
4facea47
AZ
138352014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13836
13837 [BZ #16683]
13838 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13839 Define it for static builds as well.
13840 (NO_BZERO_IMPL): Likewise.
13841
e65caf1f
VR
138422014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13843
13844 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13845 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13846 multiarch strspn for PPC64.
13847 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13848 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13850 (__libc_ifunc_impl_list): Likewise.
13851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13852 multiarch optimizations
13853 * string/strspn.c (strspn): Using macro to redefine symbol name.
13854
ba9cc071
AZ
138552014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13856 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13857
13858 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13859 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13860 multiarch strncat for PPC64.
13861 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13862 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13864 (__libc_ifunc_impl_list): Likewise.
13865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13866 multiarch optimizations
13867
8b4ff974
SP
138682014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13869
13870 [BZ #16639]
13871 * nscd/nscd.service: Make service type forking.
13872
54b46a4b
AZ
138732014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13874
13875 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13876 sign in non default rounding modes.
13877 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13878
e9996ef7
JM
138792014-03-08 Joseph Myers <joseph@codesourcery.com>
13880
13881 * math/libm-test.inc (ALL_RM_TEST): New macro.
13882 (ceil_test): Use ALL_RM_TEST.
13883 (cimag_test): Likewise.
13884 (conj_test): Likewise.
13885 (copysign_test): Likewise.
13886 (cproj_test): Likewise.
13887 (creal_test): Likewise.
13888 (fabs_test): Likewise.
13889 (floor_test): Likewise.
13890 (fmax_test): Likewise.
13891 (fmin_test): Likewise.
13892 (fmod_test): Likewise.
13893 (fpclassify_test): Likewise.
13894 (frexp_test): Likewise.
13895 (ilogb_test): Likewise.
13896 (isfinite_test): Likewise.
13897 (finite_test): Likewise.
13898 (isgreater_test): Likewise.
13899 (isgreaterequal_test): Likewise.
13900 (isinf_test): Likewise.
13901 (isless_test): Likewise.
13902 (islessequal_test): Likewise.
13903 (islessgreater_test): Likewise.
13904 (isnan_test): Likewise.
13905 (isnormal_test): Likewise.
13906 (issignaling_test): Likewise.
13907 (isunordered_test): Likewise.
13908 (logb_test): Likewise.
13909 (logb_downward_test_data): Remove.
13910 (logb_test_downward): Likewise.
13911 (lround_test): Use ALL_RM_TEST.
13912 (llround_test): Likewise.
13913 (modf_test): Likewise.
13914 (nexttoward_test): Likewise.
13915 (remainder_test): Likewise.
13916 (drem_test): Likewise.
13917 (remainder_tonearest_test_data): Likewise.
13918 (remainder_test_tonearest): Likewise.
13919 (drem_test_tonearest): Likewise.
13920 (remainder_towardzero_test_data): Likewise.
13921 (remainder_test_towardzero): Likewise.
13922 (drem_test_towardzero): Likewise.
13923 (remainder_downward_test_data): Likewise.
13924 (remainder_test_downward): Likewise.
13925 (drem_test_downward): Likewise.
13926 (remainder_upward_test_data): Likewise.
13927 (remainder_test_upward): Likewise.
13928 (drem_test_upward): Likewise.
13929 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13930 (round_test): Use ALL_RM_TEST.
13931 (signbit_test): Likewise.
13932 (trunc_test): Likewise.
13933 (significand_test): Likewise.
13934 (main): Don't call removed functions.
13935
bc61d27c
JM
139362014-03-07 Joseph Myers <joseph@codesourcery.com>
13937
5c780849
JM
13938 [BZ #16674]
13939 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13940 || __USE_XOPEN2K8].
13941 (ILL_ILLOPN): Likewise.
13942 (ILL_ILLADR): Likewise.
13943 (ILL_ILLTRP): Likewise.
13944 (ILL_PRVOPC): Likewise.
13945 (ILL_PRVREG): Likewise.
13946 (ILL_COPROC): Likewise.
13947 (ILL_BADSTK): Likewise.
13948 (FPE_INTDIV): Likewise.
13949 (FPE_INTOVF): Likewise.
13950 (FPE_FLTDIV): Likewise.
13951 (FPE_FLTOVF): Likewise.
13952 (FPE_FLTUND): Likewise.
13953 (FPE_FLTRES): Likewise.
13954 (FPE_FLTINV): Likewise.
13955 (FPE_FLTSUB): Likewise.
13956 (SEGV_MAPERR): Likewise.
13957 (SEGV_ACCERR): Likewise.
13958 (BUS_ADRALN): Likewise.
13959 (BUS_ADRERR): Likewise.
13960 (BUS_OBJERR): Likewise.
13961 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13962 (TRAP_TRACE): Likewise.
13963 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13964 __USE_XOPEN2K8].
13965 (CLD_KILLED): Likewise.
13966 (CLD_DUMPED): Likewise.
13967 (CLD_TRAPPED): Likewise.
13968 (CLD_STOPPED): Likewise.
13969 (CLD_CONTINUED): Likewise.
13970 (POLL_IN): Likewise.
13971 (POLL_OUT): Likewise.
13972 (POLL_MSG): Likewise.
13973 (POLL_ERR): Likewise.
13974 (POLL_PRI): Likewise.
13975 (POLL_HUP): Likewise.
13976 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13977 Likewise.
13978 (ILL_ILLOPN): Likewise.
13979 (ILL_ILLADR): Likewise.
13980 (ILL_ILLTRP): Likewise.
13981 (ILL_PRVOPC): Likewise.
13982 (ILL_PRVREG): Likewise.
13983 (ILL_COPROC): Likewise.
13984 (ILL_BADSTK): Likewise.
13985 (FPE_INTDIV): Likewise.
13986 (FPE_INTOVF): Likewise.
13987 (FPE_FLTDIV): Likewise.
13988 (FPE_FLTOVF): Likewise.
13989 (FPE_FLTUND): Likewise.
13990 (FPE_FLTRES): Likewise.
13991 (FPE_FLTINV): Likewise.
13992 (FPE_FLTSUB): Likewise.
13993 (SEGV_MAPERR): Likewise.
13994 (SEGV_ACCERR): Likewise.
13995 (BUS_ADRALN): Likewise.
13996 (BUS_ADRERR): Likewise.
13997 (BUS_OBJERR): Likewise.
13998 (BUS_MCEERR_AR): Likewise.
13999 (BUS_MCEERR_AO): Likewise.
14000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14001 (TRAP_TRACE): Likewise.
14002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14003 __USE_XOPEN2K8].
14004 (CLD_KILLED): Likewise.
14005 (CLD_DUMPED): Likewise.
14006 (CLD_TRAPPED): Likewise.
14007 (CLD_STOPPED): Likewise.
14008 (CLD_CONTINUED): Likewise.
14009 (POLL_IN): Likewise.
14010 (POLL_OUT): Likewise.
14011 (POLL_MSG): Likewise.
14012 (POLL_ERR): Likewise.
14013 (POLL_PRI): Likewise.
14014 (POLL_HUP): Likewise.
14015 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14016 (ILL_ILLOPN): Likewise.
14017 (ILL_ILLADR): Likewise.
14018 (ILL_ILLTRP): Likewise.
14019 (ILL_PRVOPC): Likewise.
14020 (ILL_PRVREG): Likewise.
14021 (ILL_COPROC): Likewise.
14022 (ILL_BADSTK): Likewise.
14023 (FPE_INTDIV): Likewise.
14024 (FPE_INTOVF): Likewise.
14025 (FPE_FLTDIV): Likewise.
14026 (FPE_FLTOVF): Likewise.
14027 (FPE_FLTUND): Likewise.
14028 (FPE_FLTRES): Likewise.
14029 (FPE_FLTINV): Likewise.
14030 (FPE_FLTSUB): Likewise.
14031 (SEGV_MAPERR): Likewise.
14032 (SEGV_ACCERR): Likewise.
14033 (BUS_ADRALN): Likewise.
14034 (BUS_ADRERR): Likewise.
14035 (BUS_OBJERR): Likewise.
14036 (BUS_MCEERR_AR): Likewise.
14037 (BUS_MCEERR_AO): Likewise.
14038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14039 (TRAP_TRACE): Likewise.
14040 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14041 __USE_XOPEN2K8].
14042 (CLD_KILLED): Likewise.
14043 (CLD_DUMPED): Likewise.
14044 (CLD_TRAPPED): Likewise.
14045 (CLD_STOPPED): Likewise.
14046 (CLD_CONTINUED): Likewise.
14047 (POLL_IN): Likewise.
14048 (POLL_OUT): Likewise.
14049 (POLL_MSG): Likewise.
14050 (POLL_ERR): Likewise.
14051 (POLL_PRI): Likewise.
14052 (POLL_HUP): Likewise.
14053 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14054 Likewise.
14055 (ILL_ILLOPN): Likewise.
14056 (ILL_ILLADR): Likewise.
14057 (ILL_ILLTRP): Likewise.
14058 (ILL_PRVOPC): Likewise.
14059 (ILL_PRVREG): Likewise.
14060 (ILL_COPROC): Likewise.
14061 (ILL_BADSTK): Likewise.
14062 (ILL_BADIADDR): Likewise.
14063 (ILL_BREAK): Likewise.
14064 (FPE_INTDIV): Likewise.
14065 (FPE_INTOVF): Likewise.
14066 (FPE_FLTDIV): Likewise.
14067 (FPE_FLTOVF): Likewise.
14068 (FPE_FLTUND): Likewise.
14069 (FPE_FLTRES): Likewise.
14070 (FPE_FLTINV): Likewise.
14071 (FPE_FLTSUB): Likewise.
14072 (FPE_DECOVF): Likewise.
14073 (FPE_DECDIV): Likewise.
14074 (FPE_DECERR): Likewise.
14075 (FPE_INVASC): Likewise.
14076 (FPE_INVDEC): Likewise.
14077 (SEGV_MAPERR): Likewise.
14078 (SEGV_ACCERR): Likewise.
14079 (SEGV_PSTKOVF): Likewise.
14080 (BUS_ADRALN): Likewise.
14081 (BUS_ADRERR): Likewise.
14082 (BUS_OBJERR): Likewise.
14083 (BUS_MCEERR_AR): Likewise.
14084 (BUS_MCEERR_AO): Likewise.
14085 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14086 (TRAP_TRACE): Likewise.
14087 (TRAP_BRANCH): Likewise.
14088 (TRAP_HWBKPT): Likewise.
14089 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14090 __USE_XOPEN2K8].
14091 (CLD_KILLED): Likewise.
14092 (CLD_DUMPED): Likewise.
14093 (CLD_TRAPPED): Likewise.
14094 (CLD_STOPPED): Likewise.
14095 (CLD_CONTINUED): Likewise.
14096 (POLL_IN): Likewise.
14097 (POLL_OUT): Likewise.
14098 (POLL_MSG): Likewise.
14099 (POLL_ERR): Likewise.
14100 (POLL_PRI): Likewise.
14101 (POLL_HUP): Likewise.
14102 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14103 (ILL_ILLOPN): Likewise.
14104 (ILL_ILLADR): Likewise.
14105 (ILL_ILLTRP): Likewise.
14106 (ILL_PRVOPC): Likewise.
14107 (ILL_PRVREG): Likewise.
14108 (ILL_COPROC): Likewise.
14109 (ILL_BADSTK): Likewise.
14110 (FPE_INTDIV): Likewise.
14111 (FPE_INTOVF): Likewise.
14112 (FPE_FLTDIV): Likewise.
14113 (FPE_FLTOVF): Likewise.
14114 (FPE_FLTUND): Likewise.
14115 (FPE_FLTRES): Likewise.
14116 (FPE_FLTINV): Likewise.
14117 (FPE_FLTSUB): Likewise.
14118 (SEGV_MAPERR): Likewise.
14119 (SEGV_ACCERR): Likewise.
14120 (BUS_ADRALN): Likewise.
14121 (BUS_ADRERR): Likewise.
14122 (BUS_OBJERR): Likewise.
14123 (BUS_MCEERR_AR): Likewise.
14124 (BUS_MCEERR_AO): Likewise.
14125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14126 (TRAP_TRACE): Likewise.
14127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14128 __USE_XOPEN2K8].
14129 (CLD_KILLED): Likewise.
14130 (CLD_DUMPED): Likewise.
14131 (CLD_TRAPPED): Likewise.
14132 (CLD_STOPPED): Likewise.
14133 (CLD_CONTINUED): Likewise.
14134 (POLL_IN): Likewise.
14135 (POLL_OUT): Likewise.
14136 (POLL_MSG): Likewise.
14137 (POLL_ERR): Likewise.
14138 (POLL_PRI): Likewise.
14139 (POLL_HUP): Likewise.
14140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14141 (ILL_ILLOPN): Likewise.
14142 (ILL_ILLADR): Likewise.
14143 (ILL_ILLTRP): Likewise.
14144 (ILL_PRVOPC): Likewise.
14145 (ILL_PRVREG): Likewise.
14146 (ILL_COPROC): Likewise.
14147 (ILL_BADSTK): Likewise.
14148 (FPE_INTDIV): Likewise.
14149 (FPE_INTOVF): Likewise.
14150 (FPE_FLTDIV): Likewise.
14151 (FPE_FLTOVF): Likewise.
14152 (FPE_FLTUND): Likewise.
14153 (FPE_FLTRES): Likewise.
14154 (FPE_FLTINV): Likewise.
14155 (FPE_FLTSUB): Likewise.
14156 (SEGV_MAPERR): Likewise.
14157 (SEGV_ACCERR): Likewise.
14158 (BUS_ADRALN): Likewise.
14159 (BUS_ADRERR): Likewise.
14160 (BUS_OBJERR): Likewise.
14161 (BUS_MCEERR_AR): Likewise.
14162 (BUS_MCEERR_AO): Likewise.
14163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14164 (TRAP_TRACE): Likewise.
14165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14166 __USE_XOPEN2K8].
14167 (CLD_KILLED): Likewise.
14168 (CLD_DUMPED): Likewise.
14169 (CLD_TRAPPED): Likewise.
14170 (CLD_STOPPED): Likewise.
14171 (CLD_CONTINUED): Likewise.
14172 (POLL_IN): Likewise.
14173 (POLL_OUT): Likewise.
14174 (POLL_MSG): Likewise.
14175 (POLL_ERR): Likewise.
14176 (POLL_PRI): Likewise.
14177 (POLL_HUP): Likewise.
14178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14179 (ILL_ILLOPN): Likewise.
14180 (ILL_ILLADR): Likewise.
14181 (ILL_ILLTRP): Likewise.
14182 (ILL_PRVOPC): Likewise.
14183 (ILL_PRVREG): Likewise.
14184 (ILL_COPROC): Likewise.
14185 (ILL_BADSTK): Likewise.
14186 (FPE_INTDIV): Likewise.
14187 (FPE_INTOVF): Likewise.
14188 (FPE_FLTDIV): Likewise.
14189 (FPE_FLTOVF): Likewise.
14190 (FPE_FLTUND): Likewise.
14191 (FPE_FLTRES): Likewise.
14192 (FPE_FLTINV): Likewise.
14193 (FPE_FLTSUB): Likewise.
14194 (SEGV_MAPERR): Likewise.
14195 (SEGV_ACCERR): Likewise.
14196 (BUS_ADRALN): Likewise.
14197 (BUS_ADRERR): Likewise.
14198 (BUS_OBJERR): Likewise.
14199 (BUS_MCEERR_AR): Likewise.
14200 (BUS_MCEERR_AO): Likewise.
14201 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14202 (TRAP_TRACE): Likewise.
14203 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14204 __USE_XOPEN2K8].
14205 (CLD_KILLED): Likewise.
14206 (CLD_DUMPED): Likewise.
14207 (CLD_TRAPPED): Likewise.
14208 (CLD_STOPPED): Likewise.
14209 (CLD_CONTINUED): Likewise.
14210 (POLL_IN): Likewise.
14211 (POLL_OUT): Likewise.
14212 (POLL_MSG): Likewise.
14213 (POLL_ERR): Likewise.
14214 (POLL_PRI): Likewise.
14215 (POLL_HUP): Likewise.
14216 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14217 (ILL_ILLOPN): Likewise.
14218 (ILL_ILLADR): Likewise.
14219 (ILL_ILLTRP): Likewise.
14220 (ILL_PRVOPC): Likewise.
14221 (ILL_PRVREG): Likewise.
14222 (ILL_COPROC): Likewise.
14223 (ILL_BADSTK): Likewise.
14224 (ILL_DBLFLT): Likewise.
14225 (ILL_HARDWALL): Likewise.
14226 (FPE_INTDIV): Likewise.
14227 (FPE_INTOVF): Likewise.
14228 (FPE_FLTDIV): Likewise.
14229 (FPE_FLTOVF): Likewise.
14230 (FPE_FLTUND): Likewise.
14231 (FPE_FLTRES): Likewise.
14232 (FPE_FLTINV): Likewise.
14233 (FPE_FLTSUB): Likewise.
14234 (SEGV_MAPERR): Likewise.
14235 (SEGV_ACCERR): Likewise.
14236 (BUS_ADRALN): Likewise.
14237 (BUS_ADRERR): Likewise.
14238 (BUS_OBJERR): Likewise.
14239 (BUS_MCEERR_AR): Likewise.
14240 (BUS_MCEERR_AO): Likewise.
14241 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14242 (TRAP_TRACE): Likewise.
14243 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14244 __USE_XOPEN2K8].
14245 (CLD_KILLED): Likewise.
14246 (CLD_DUMPED): Likewise.
14247 (CLD_TRAPPED): Likewise.
14248 (CLD_STOPPED): Likewise.
14249 (CLD_CONTINUED): Likewise.
14250 (POLL_IN): Likewise.
14251 (POLL_OUT): Likewise.
14252 (POLL_MSG): Likewise.
14253 (POLL_ERR): Likewise.
14254 (POLL_PRI): Likewise.
14255 (POLL_HUP): Likewise.
14256 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14257 (ILL_ILLOPN): Likewise.
14258 (ILL_ILLADR): Likewise.
14259 (ILL_ILLTRP): Likewise.
14260 (ILL_PRVOPC): Likewise.
14261 (ILL_PRVREG): Likewise.
14262 (ILL_COPROC): Likewise.
14263 (ILL_BADSTK): Likewise.
14264 (FPE_INTDIV): Likewise.
14265 (FPE_INTOVF): Likewise.
14266 (FPE_FLTDIV): Likewise.
14267 (FPE_FLTOVF): Likewise.
14268 (FPE_FLTUND): Likewise.
14269 (FPE_FLTRES): Likewise.
14270 (FPE_FLTINV): Likewise.
14271 (FPE_FLTSUB): Likewise.
14272 (SEGV_MAPERR): Likewise.
14273 (SEGV_ACCERR): Likewise.
14274 (BUS_ADRALN): Likewise.
14275 (BUS_ADRERR): Likewise.
14276 (BUS_OBJERR): Likewise.
14277 (BUS_MCEERR_AR): Likewise.
14278 (BUS_MCEERR_AO): Likewise.
14279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14280 (TRAP_TRACE): Likewise.
14281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14282 __USE_XOPEN2K8].
14283 (CLD_KILLED): Likewise.
14284 (CLD_DUMPED): Likewise.
14285 (CLD_TRAPPED): Likewise.
14286 (CLD_STOPPED): Likewise.
14287 (CLD_CONTINUED): Likewise.
14288 (POLL_IN): Likewise.
14289 (POLL_OUT): Likewise.
14290 (POLL_MSG): Likewise.
14291 (POLL_ERR): Likewise.
14292 (POLL_PRI): Likewise.
14293 (POLL_HUP): Likewise.
14294 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14295 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14296
bc61d27c
JM
14297 [BZ #16670]
14298 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14299 before #include of <time.h>.
14300 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14301 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14302 (test-xfail-UNIX98/sched.h/conform): Likewise.
14303
302949e2
MS
143042014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14305
14306 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14307 error absence of trapping exception support.
14308 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14309
a00f522a
JM
143102014-03-07 Joseph Myers <joseph@codesourcery.com>
14311
6f99f280
JM
14312 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14313 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14314 * timezone/Makefile (testdata): Move definition above include of
14315 Rules.
14316 (test-zones): New variable.
14317 (tests-special): Add zone files.
14318 (build-testdata): Use $(evaluate-test).
14319
0b20a9e8
JM
14320 * elf/Makefile (tests-special): Rename tests to end with .out.
14321 ($(objpfx)noload-mem): Likewise.
14322 ($(objpfx)tst-leaks1-mem): Likewise.
14323 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14324 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14325 $(objpfx)test-iconvconfig.out.
14326 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14327 set -e inside subshell and redirect output to file.
14328 * iconvdata/Makefile (generated): Rename tests to end with .out.
14329 Correct type.
14330 (tests-special): Rename tests to end with .out.
14331 ($(objpfx)mtrace-tst-loading): Likewise.
14332 * intl/Makefile (generated): Likewise.
14333 (tests-special): Likewise.
14334 ($(objpfx)mtrace-tst-gettext): Likewise.
14335 * misc/Makefile (generated): Likewise.
14336 (tests-special): Likewise.
14337 ($(objpfx)tst-error1-mem): Likewise.
14338 * nptl/Makefile (tests-special): Likewise.
14339 ($(objpfx)tst-stack3-mem): Likewise.
14340 (generated): Likewise.
14341 * posix/Makefile (generated): Likewise.
14342 (tests-special): Likewise.
14343 (xtests-special): Likewise.
14344 ($(objpfx)tst-fnmatch-mem): Likewise.
14345 ($(objpfx)bug-regex2-mem): Likewise.
14346 ($(objpfx)bug-regex14-mem): Likewise.
14347 ($(objpfx)bug-regex21-mem): Likewise.
14348 ($(objpfx)bug-regex31-mem): Likewise.
14349 ($(objpfx)tst-vfork3-mem): Likewise.
14350 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14351 ($(objpfx)tst-pcre-mem): Likewise.
14352 ($(objpfx)tst-boost-mem): Likewise.
14353 ($(objpfx)bug-ga2-mem): Likewise.
14354 ($(objpfx)bug-glob2-mem): Likewise.
14355 * resolv/Makefile (generate): Likewise.
14356 (tests-special): Likewise.
14357 (xtests-special): Likewise.
14358 (generated): Likewise.
14359 ($(objpfx)mtrace-tst-leaks): Likewise.
14360 ($(objpfx)mtrace-tst-leaks2): Likewise.
14361
265d52ab
JM
14362 * scripts/merge-test-results.sh: New file.
14363 * Makefile (tests-special-notdir): New variable.
14364 (tests): Run merge-test-results.sh.
14365 (xtests): Likewise.
14366 * Rules (tests-special-notdir): New variable.
14367 (xtests-special-notdir): Likewise.
14368 (tests): Run merge-test-results.sh
14369 (xtests): Likewise.
14370
54ee292d
JM
14371 * Makeconfig (test-xfail-name): New variable.
14372 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14373 compute variable name for expected failures.
14374 * conform/Makefile (conformtest-headers-data): New variable.
14375 (conformtest-standards): Likewise.
14376 (conformtest-headers-ISO): Likewise.
14377 (conformtest-headers-ISO99): Likewise.
14378 (conformtest-headers-ISO11): Likewise.
14379 (conformtest-headers-POSIX): Likewise.
14380 (conformtest-headers-XPG3): Likewise.
14381 (conformtest-headers-XPG4): Likewise.
14382 (conformtest-headers-UNIX98): Likewise.
14383 (conformtest-headers-XOPEN2K): Likewise.
14384 (conformtest-headers-POSIX2008): Likewise.
14385 (conformtest-headers-XOPEN2K8): Likewise.
14386 (conformtest-header-list-base): Likewise.
14387 (conformtest-header-list-tests): Likewise.
14388 (conformtest-header-base): Likewise.
14389 (conformtest-header-tests): Likewise.
14390 (tests-special): Add $(conformtest-header-list-tests). If
14391 [$(fast-check) && !$(cross-compiling)], add
14392 $(conformtest-header-tests) instead of
14393 $(objpfx)run-conformtest.out.
14394 (generated): Add $(conformtest-header-list-base). If
14395 [$(fast-check) && !$(cross-compiling)], add
14396 $(conformtest-header-base). Remove previous setting.
14397 ($(conformtest-header-list-tests)): New target.
14398 (test-xfail-run-conformtest): Remove variable.
14399 ($(objpfx)run-conformtest.out): Remove target.
14400 (test-xfail-ISO11/complex.h/conform): New variable.
14401 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14402 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14403 (test-xfail-XPG3/varargs.h/conform): Likewise.
14404 (test-xfail-XPG4/varargs.h/conform): Likewise.
14405 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14406 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14407 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14408 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14409 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14410 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14411 (test-xfail-XPG3/ftw.h/conform): Likewise.
14412 (test-xfail-XPG3/grp.h/conform): Likewise.
14413 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14414 (test-xfail-XPG3/limits.h/conform): Likewise.
14415 (test-xfail-XPG3/pwd.h/conform): Likewise.
14416 (test-xfail-XPG3/search.h/conform): Likewise.
14417 (test-xfail-XPG3/signal.h/conform): Likewise.
14418 (test-xfail-XPG3/stdio.h/conform): Likewise.
14419 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14420 (test-xfail-XPG3/string.h/conform): Likewise.
14421 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14422 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14423 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14424 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14425 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14426 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14427 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14428 (test-xfail-XPG3/termios.h/conform): Likewise.
14429 (test-xfail-XPG3/time.h/conform): Likewise.
14430 (test-xfail-XPG3/unistd.h/conform): Likewise.
14431 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14432 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14433 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14434 (test-xfail-XPG4/netdb.h/conform): Likewise.
14435 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14436 (test-xfail-XPG4/signal.h/conform): Likewise.
14437 (test-xfail-XPG4/stdio.h/conform): Likewise.
14438 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14439 (test-xfail-XPG4/stropts.h/conform): Likewise.
14440 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14441 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14442 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14443 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14444 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14445 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14446 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14447 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14448 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14449 (test-xfail-XPG4/termios.h/conform): Likewise.
14450 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14451 (test-xfail-XPG4/unistd.h/conform): Likewise.
14452 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14453 (test-xfail-POSIX/sched.h/conform): Likewise.
14454 (test-xfail-POSIX/signal.h/conform): Likewise.
14455 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14456 (test-xfail-POSIX/tar.h/conform): Likewise.
14457 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14458 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14459 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14460 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14461 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14462 (test-xfail-UNIX98/sched.h/conform): Likewise.
14463 (test-xfail-UNIX98/signal.h/conform): Likewise.
14464 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14465 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14466 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14467 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14468 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14469 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14470 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14471 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14472 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14473 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14474 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14475 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14476 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14477 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14478 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14479 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14480 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14481 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14482 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14483 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14484 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14485 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14486 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14487 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14488 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14489 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14490 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14491 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14492 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14493 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14494 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14495 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14496 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14497 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14498 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14499 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14500 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14501 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14502 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14503 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14504 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14505 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14506 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14507 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14508 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14509 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14510 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14511 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14512 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14513 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14514 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14515 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14516 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14517 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14518 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14519 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14520 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14521 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14522 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14523 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14524 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14525 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14526 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14527 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14528 (conformtest-cc-flags): Likewise.
14529 ($(conformtest-header-tests): New target.
14530 * conform/check-header-lists.sh: New file.
14531 * conform/run-conformtest.sh: Remove.
14532
a00f522a
JM
14533 * conform/conformtest.pl: Allow ' and \ in values given for
14534 constants.
14535 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14536 inclusion.
14537 [POSIX] (sys/types.h): Likewise.
14538 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14539 inclusion.
14540 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14541 inclusion.
14542 * conform/data/signal.h-data (SIGIO): Remove expectation.
14543 [XPG3] (SIGBUS): Do not expect.
14544 [POSIX || XPG3] (SIGPOLL): Likewise.
14545 [POSIX || XPG3] (SIGPROF): Likewise.
14546 [POSIX || XPG3] (SIGSYS): Likewise.
14547 [XPG3] (SIGTRAP): Likewise.
14548 [POSIX || XPG3] (SIGURG): Likewise.
14549 [POSIX || XPG3] (SIGVTALRM): Likewise.
14550 [POSIX || XPG3] (SIGXCPU): Likewise.
14551 [POSIX || XPG3] (SIGXFSZ): Likewise.
14552 [POSIX] (SA_SIGINFO): Expect.
14553 [XPG3] (siginfo_t): Do not expect type or contents.
14554 [POSIX] (si_pid): Do not expect element.
14555 [POSIX] (si_uid): Likewise.
14556 [POSIX] (si_addr): Likewise.
14557 [POSIX] (si_status): Likewise.
14558 [POSIX] (si_band): Likewise.
14559 [XPG4] (si_value): Likewise.
14560 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14561 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14562 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14563 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14564 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14565 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14566 [POSIX || XPG3] (ILL_COPROC): Likewise.
14567 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14568 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14569 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14570 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14571 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14572 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14573 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14574 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14575 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14576 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14577 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14578 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14579 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14580 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14581 [POSIX || XPG3] (CLD_EXITED): Likewise.
14582 [POSIX || XPG3] (CLD_KILLED): Likewise.
14583 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14584 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14585 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14586 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14587 [POSIX || XPG3] (POLL_IN): Likewise.
14588 [POSIX || XPG3] (POLL_OUT): Likewise.
14589 [POSIX || XPG3] (POLL_MSG): Likewise.
14590 [POSIX || XPG3] (POLL_ERR): Likewise.
14591 [POSIX || XPG3] (POLL_PRI): Likewise.
14592 [POSIX || XPG3] (POLL_HUP): Likewise.
14593 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14594 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14595 (SIG*): Do not allow.
14596 [XPG3] (si_*): Likewise.
14597 [XPG3] (SI_*): Likewise.
14598 [XPG3 || XPG4] (sigev_*): Likewise.
14599 [XPG3 || XPG4] (SIGEV_*): Likewise.
14600 [XPG3 || XPG4] (sival_*): Likewise.
14601 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14602 [POSIX || XPG3] (BUS_*): Likewise.
14603 [POSIX || XPG3] (CLD_*): Likewise.
14604 [POSIX || XPG3] (FPE_*): Likewise.
14605 [POSIX || XPG3] (ILL_*): Likewise.
14606 [POSIX || XPG3] (POLL_*): Likewise.
14607 [POSIX || XPG3] (SEGV_*): Likewise.
14608 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14609 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14610 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14611 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14612 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14613 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14614 Specify type and value.
14615 (TVERSLEN): Likewise.
14616 (REGTYPE): Likewise.
14617 (AREGTYPE): Likewise.
14618 (LNKTYPE): Likewise.
14619 (SYMTYPE): Likewise.
14620 (CHRTYPE): Likewise.
14621 (BLKTYPE): Likewise.
14622 (DIRTYPE): Likewise.
14623 (FIFOTYPE): Likewise.
14624 (CONTTYPE): Likewise.
14625 (TSUID): Likewise.
14626 (TSGID): Likewise.
14627 (TSVTX): Likewise.
14628 (TUREAD): Likewise.
14629 (TUWRITE): Likewise.
14630 (TUEXEC): Likewise.
14631 (TGREAD): Likewise.
14632 (TGWRITE): Likewise.
14633 (TGEXEC): Likewise.
14634 (TOREAD): Likewise.
14635 (TOWRITE): Likewise.
14636 (TOEXEC): Likewise.
14637 [POSIX] (TSVTX): Expect constant.
14638
aa97dee1
JM
146392014-03-06 Joseph Myers <joseph@codesourcery.com>
14640
f214606a
JM
14641 * Makefile (tests): Change dependencies to ....
14642 (tests-special): ... additions to this variable.
14643 (tests): Depend on $(tests-special).
14644 * Makerules (check-abi-list): New variable.
14645 (check-abi): Depend on $(check-abi-list).
14646 [$(subdir) = elf] (tests-special): Add
14647 $(objpfx)check-abi-libc.out.
14648 [$(build-shared) = yes && subdir] (tests-special): Add
14649 $(check-abi-list).
14650 [$(build-shared) = yes && subdir] (tests): Do not depend on
14651 check-abi.
14652 * Rules (tests): Depend on $(tests-special).
14653 (xtests): Depend on $(xtests-special).
14654 * catgets/Makefile (tests): Change dependencies to ....
14655 (tests-special): ... additions to this variable.
14656 * conform/Makefile (tests): Change dependencies to ....
14657 (tests-special): ... additions to this variable.
14658 * elf/Makefile (tests): Change dependencies to ....
14659 (tests-special): ... additions to this variable.
14660 * grp/Makefile (tests): Change dependencies to ....
14661 (tests-special): ... additions to this variable.
14662 * iconv/Makefile (xtests): Change dependencies to ....
14663 (xtests-special): ... additions to this variable.
14664 * iconvdata/Makefile (tests): Change dependencies to ....
14665 (tests-special): ... additions to this variable.
14666 * intl/Makefile (tests): Change dependencies to ....
14667 (tests-special): ... additions to this variable. Also add
14668 $(objpfx)tst-gettext.out.
14669 * io/Makefile (tests): Change dependencies to ....
14670 (tests-special): ... additions to this variable.
14671 * libio/Makefile (tests): Change dependencies to ....
14672 (tests-special): ... additions to this variable.
14673 * malloc/Makefile (tests): Change dependencies to ....
14674 (tests-special): ... additions to this variable.
14675 * misc/Makefile (tests): Change dependencies to ....
14676 (tests-special): ... additions to this variable.
14677 * nptl/Makefile (tests): Change dependencies to ....
14678 (tests-special): ... additions to this variable.
14679 * nptl_db/Makefile (tests): Change dependencies to ....
14680 (tests-special): ... additions to this variable.
14681 * posix/Makefile (tests): Change dependencies to ....
14682 (tests-special): ... additions to this variable.
14683 (xtests): Change dependencies to ....
14684 (xtests-special): ... additions to this variable.
14685 * resolv/Makefile (tests): Change dependencies to ....
14686 (tests-special): ... additions to this variable.
14687 (xtests): Change dependencies to ....
14688 (xtests-special): ... additions to this variable.
14689 * stdio-common/Makefile (tests): Change dependencies to ....
14690 (tests-special): ... additions to this variable.
14691 (do-tst-unbputc): Remove target.
14692 (do-tst-printf): Likewise.
14693 * stdlib/Makefile (tests): Change dependencies to ....
14694 (tests-special): ... additions to this variable.
14695 * string/Makefile (tests): Change dependencies to ....
14696 (tests-special): ... additions to this variable.
14697 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14698 (tests-special): ... additions to this variable.
14699
81700b53
JM
14700 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14701 whole file.
14702 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14703 whole file.
14704 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14705 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14706
2ea18461
JM
14707 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14708 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14709 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14710 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14711 * conform/data/libgen.h-data [XPG3]: Likewise.
14712 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14713 * conform/data/ndbm.h-data [XPG3]: Likewise.
14714 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14715 * conform/data/netdb.h-data [XPG3]: Likewise.
14716 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14717 * conform/data/poll.h-data [XPG3]: Likewise.
14718 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14719 * conform/data/strings.h-data [XPG3]: Likewise.
14720 * conform/data/stropts.h-data [XPG3]: Likewise.
14721 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14722 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14723 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14724 Likewise.
14725 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14726 * conform/data/sys/time.h-data [XPG3]: Likewise.
14727 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14728 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14729 * conform/data/sys/un.h-data [XPG3]: Likewise.
14730 * conform/data/syslog.h-data [XPG3]: Likewise.
14731 * conform/data/ucontext.h-data [XPG3]: Likewise.
14732 * conform/data/utmpx.h-data [XPG3]: Likewise.
14733 * conform/data/varargs.h-data [UNIX98]: Enable file.
14734
355bc986
JM
14735 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14736
215db402
JM
14737 * math/libm-test.inc (struct test_f_f_data): Move expected results
14738 into structure for each rounding mode.
14739 (struct test_ff_f_data): Likewise.
14740 (struct test_ff_f_data_nexttoward): Likewise.
14741 (struct test_fi_f_data): Likewise.
14742 (struct test_fl_f_data): Likewise.
14743 (struct test_if_f_data): Likewise.
14744 (struct test_fff_f_data): Likewise.
14745 (struct test_c_f_data): Likewise.
14746 (struct test_f_f1_data): Likewise.
14747 (struct test_fF_f1_data): Likewise.
14748 (struct test_ffI_f1_data): Likewise.
14749 (struct test_c_c_data): Likewise.
14750 (struct test_cc_c_data): Likewise.
14751 (struct test_f_i_data): Likewise.
14752 (struct test_ff_i_data): Likewise.
14753 (struct test_f_l_data): Likewise.
14754 (struct test_f_L_data): Likewise.
14755 (struct test_fFF_11_data): Likewise.
14756 (RM_): New macro.
14757 (RM_FE_DOWNWARD): Likewise.
14758 (RM_FE_TONEAREST): Likewise.
14759 (RM_FE_TOWARDZERO): Likewise.
14760 (RM_FE_UPWARD): Likewise.
14761 (RUN_TEST_LOOP_f_f): Update references to expected results.
14762 (RUN_TEST_LOOP_2_f): Likewise.
14763 (RUN_TEST_LOOP_fff_f): Likewise.
14764 (RUN_TEST_LOOP_c_f): Likewise.
14765 (RUN_TEST_LOOP_f_f1): Likewise.
14766 (RUN_TEST_LOOP_fF_f1): Likewise.
14767 (RUN_TEST_LOOP_fI_f1): Likewise.
14768 (RUN_TEST_LOOP_ffI_f1): Likewise.
14769 (RUN_TEST_LOOP_c_c): Likewise.
14770 (RUN_TEST_LOOP_cc_c): Likewise.
14771 (RUN_TEST_LOOP_f_i): Likewise.
14772 (RUN_TEST_LOOP_f_i_tg): Likewise.
14773 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14774 (RUN_TEST_LOOP_f_b): Likewise.
14775 (RUN_TEST_LOOP_f_b_tg): Likewise.
14776 (RUN_TEST_LOOP_f_l): Likewise.
14777 (RUN_TEST_LOOP_f_L): Likewise.
14778 (RUN_TEST_LOOP_fFF_11): Likewise.
14779 * math/gen-libm-test.pl (parse_args): Output four copies of
14780 expected results for each test.
14781
67737b8f
JM
14782 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14783 (__ASSUME_UTIMES): Remove.
14784 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14785 (__ASSUME_UTIMES): Likewise.
14786
aa97dee1
JM
14787 * math/gen-auto-libm-tests.c: Update comment on output format.
14788 (output_for_one_input_case): Generate before-rounding and
14789 after-rounding information as conditions on output flags not
14790 floating-point format.
14791 * math/auto-libm-test-out: Regenerated.
14792 * math/gen-libm-test.pl (cond_value): New function.
14793 (or_cond_value): Use cond_value.
14794 (generate_testfile): Handle conditional exceptions.
14795
e6b6a857
JM
147962014-03-05 Joseph Myers <joseph@codesourcery.com>
14797
2f0a0f44
JM
14798 * math/libm-test.inc (max_valid_error): New variable.
14799 (init_max_error): Take new argument specifying whether function
14800 results are exactly determined. Set max_valid_error and bound
14801 other variables for errors based on this argument.
14802 (set_max_error): Do not record results above max_valid_error.
14803 (check_float_internal): Only accept errors of up to 0.5ulps if
14804 also at most max_valid_error.
14805 (START): Take new argument EXACT and pass it to init_max_error.
14806 (acos_test): Update call to START.
14807 (acos_test_tonearest): Likewise.
14808 (acos_test_towardzero): Likewise.
14809 (acos_test_downward): Likewise.
14810 (acos_test_upward): Likewise.
14811 (acosh_test): Likewise.
14812 (asin_test): Likewise.
14813 (asin_test_tonearest): Likewise.
14814 (asin_test_towardzero): Likewise.
14815 (asin_test_downward): Likewise.
14816 (asin_test_upward): Likewise.
14817 (asinh_test): Likewise.
14818 (atan_test): Likewise.
14819 (atanh_test): Likewise.
14820 (atan2_test): Likewise.
14821 (cabs_test): Likewise.
14822 (cacos_test): Likewise.
14823 (cacosh_test): Likewise.
14824 (carg_test): Likewise.
14825 (casin_test): Likewise.
14826 (casinh_test): Likewise.
14827 (catan_test): Likewise.
14828 (catanh_test): Likewise.
14829 (cbrt_test): Likewise.
14830 (ccos_test): Likewise.
14831 (ccosh_test): Likewise.
14832 (ceil_test): Likewise.
14833 (cexp_test): Likewise.
14834 (cimag_test): Likewise.
14835 (clog_test): Likewise.
14836 (clog10_test): Likewise.
14837 (conj_test): Likewise.
14838 (copysign_test): Likewise.
14839 (cos_test): Likewise.
14840 (cos_test_tonearest): Likewise.
14841 (cos_test_towardzero): Likewise.
14842 (cos_test_downward): Likewise.
14843 (cos_test_upward): Likewise.
14844 (cosh_test): Likewise.
14845 (cosh_test_tonearest): Likewise.
14846 (cosh_test_towardzero): Likewise.
14847 (cosh_test_downward): Likewise.
14848 (cosh_test_upward): Likewise.
14849 (cpow_test): Likewise.
14850 (cproj_test): Likewise.
14851 (creal_test): Likewise.
14852 (csin_test): Likewise.
14853 (csinh_test): Likewise.
14854 (csqrt_test): Likewise.
14855 (ctan_test): Likewise.
14856 (ctan_test_tonearest): Likewise.
14857 (ctan_test_towardzero): Likewise.
14858 (ctan_test_downward): Likewise.
14859 (ctan_test_upward): Likewise.
14860 (ctanh_test): Likewise.
14861 (ctanh_test_tonearest): Likewise.
14862 (ctanh_test_towardzero): Likewise.
14863 (ctanh_test_downward): Likewise.
14864 (ctanh_test_upward): Likewise.
14865 (erf_test): Likewise.
14866 (erfc_test): Likewise.
14867 (exp_test): Likewise.
14868 (exp_test_tonearest): Likewise.
14869 (exp_test_towardzero): Likewise.
14870 (exp_test_downward): Likewise.
14871 (exp_test_upward): Likewise.
14872 (exp10_test): Likewise.
14873 (exp10_test_tonearest): Likewise.
14874 (exp10_test_towardzero): Likewise.
14875 (exp10_test_downward): Likewise.
14876 (exp10_test_upward): Likewise.
14877 (pow10_test): Likewise.
14878 (exp2_test): Likewise.
14879 (expm1_test): Likewise.
14880 (expm1_test_tonearest): Likewise.
14881 (expm1_test_towardzero): Likewise.
14882 (expm1_test_downward): Likewise.
14883 (expm1_test_upward): Likewise.
14884 (fabs_test): Likewise.
14885 (fdim_test): Likewise.
14886 (floor_test): Likewise.
14887 (fma_test): Likewise.
14888 (fma_test_towardzero): Likewise.
14889 (fma_test_downward): Likewise.
14890 (fma_test_upward): Likewise.
14891 (fmax_test): Likewise.
14892 (fmin_test): Likewise.
14893 (fmod_test): Likewise.
14894 (fpclassify_test): Likewise.
14895 (frexp_test): Likewise.
14896 (hypot_test): Likewise.
14897 (ilogb_test): Likewise.
14898 (isfinite_test): Likewise.
14899 (finite_test): Likewise.
14900 (isgreater_test): Likewise.
14901 (isgreaterequal_test): Likewise.
14902 (isinf_test): Likewise.
14903 (isless_test): Likewise.
14904 (islessequal_test): Likewise.
14905 (islessgreater_test): Likewise.
14906 (isnan_test): Likewise.
14907 (isnormal_test): Likewise.
14908 (issignaling_test): Likewise.
14909 (isunordered_test): Likewise.
14910 (j0_test): Likewise.
14911 (j1_test): Likewise.
14912 (jn_test): Likewise.
14913 (ldexp_test): Likewise.
14914 (lgamma_test): Likewise.
14915 (gamma_test): Likewise.
14916 (lrint_test): Likewise.
14917 (lrint_test_tonearest): Likewise.
14918 (lrint_test_towardzero): Likewise.
14919 (lrint_test_downward): Likewise.
14920 (lrint_test_upward): Likewise.
14921 (llrint_test): Likewise.
14922 (llrint_test_tonearest): Likewise.
14923 (llrint_test_towardzero): Likewise.
14924 (llrint_test_downward): Likewise.
14925 (llrint_test_upward): Likewise.
14926 (log_test): Likewise.
14927 (log10_test): Likewise.
14928 (log1p_test): Likewise.
14929 (log2_test): Likewise.
14930 (logb_test): Likewise.
14931 (logb_test_downward): Likewise.
14932 (lround_test): Likewise.
14933 (llround_test): Likewise.
14934 (modf_test): Likewise.
14935 (nearbyint_test): Likewise.
14936 (nextafter_test): Likewise.
14937 (nexttoward_test): Likewise.
14938 (pow_test): Likewise.
14939 (pow_test_tonearest): Likewise.
14940 (pow_test_towardzero): Likewise.
14941 (pow_test_downward): Likewise.
14942 (pow_test_upward): Likewise.
14943 (remainder_test): Likewise.
14944 (drem_test): Likewise.
14945 (remainder_test_tonearest): Likewise.
14946 (drem_test_tonearest): Likewise.
14947 (remainder_test_towardzero): Likewise.
14948 (drem_test_towardzero): Likewise.
14949 (remainder_test_downward): Likewise.
14950 (drem_test_downward): Likewise.
14951 (remainder_test_upward): Likewise.
14952 (drem_test_upward): Likewise.
14953 (remquo_test): Likewise.
14954 (rint_test): Likewise.
14955 (rint_test_tonearest): Likewise.
14956 (rint_test_towardzero): Likewise.
14957 (rint_test_downward): Likewise.
14958 (rint_test_upward): Likewise.
14959 (round_test): Likewise.
14960 (scalb_test): Likewise.
14961 (scalbn_test): Likewise.
14962 (scalbln_test): Likewise.
14963 (signbit_test): Likewise.
14964 (sin_test): Likewise.
14965 (sin_test_tonearest): Likewise.
14966 (sin_test_towardzero): Likewise.
14967 (sin_test_downward): Likewise.
14968 (sin_test_upward): Likewise.
14969 (sincos_test): Likewise.
14970 (sinh_test): Likewise.
14971 (sinh_test_tonearest): Likewise.
14972 (sinh_test_towardzero): Likewise.
14973 (sinh_test_downward): Likewise.
14974 (sinh_test_upward): Likewise.
14975 (sqrt_test): Likewise.
14976 (sqrt_test_tonearest): Likewise.
14977 (sqrt_test_towardzero): Likewise.
14978 (sqrt_test_downward): Likewise.
14979 (sqrt_test_upward): Likewise.
14980 (tan_test): Likewise.
14981 (tan_test_tonearest): Likewise.
14982 (tan_test_towardzero): Likewise.
14983 (tan_test_downward): Likewise.
14984 (tan_test_upward): Likewise.
14985 (tanh_test): Likewise.
14986 (tgamma_test): Likewise.
14987 (trunc_test): Likewise.
14988 (y0_test): Likewise.
14989 (y1_test): Likewise.
14990 (yn_test): Likewise.
14991 (significand_test): Likewise.
14992
e6b6a857
JM
14993 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14994 individual tests in comment.
14995 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14996 (prev_max_error): New variable.
14997 (prev_real_max_error): Likewise.
14998 (prev_imag_max_error): Likewise.
14999 (compare_ulp_data): Don't refer to test names in comment.
15000 (find_test_ulps): Remove function.
15001 (find_function_ulps): Likewise.
15002 (find_complex_function_ulps): Likewise.
15003 (init_max_error): Take function name as argument. Look up ulps
15004 for that function.
15005 (print_ulps): Remove function.
15006 (print_max_error): Use prev_max_error instead of calling
15007 find_function_ulps.
15008 (print_complex_max_error): Use prev_real_max_error and
15009 prev_imag_max_error instead of calling find_complex_function_ulps.
15010 (check_float_internal): Take max_ulp parameter instead of calling
15011 find_test_ulps. Don't call print_ulps.
15012 (check_float): Update call to check_float_internal.
15013 (check_complex): Update calls to check_float_internal.
15014 (START): Pass argument to init_max_error.
15015 * math/gen-libm-test.pl (%results): Don't include "kind"
15016 information.
15017 (parse_ulps): Don't handle ulps of individual tests.
15018 (print_ulps_file): Likewise.
15019 (output_ulps): Likewise.
15020 * math/README.libm-test: Update.
15021 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15022 individual tests.
15023 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15024 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15025 * sysdeps/arm/libm-test-ulps: Likewise.
15026 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15027 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15028 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15029 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15030 * sysdeps/microblaze/libm-test-ulps: Likewise.
15031 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15032 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15034 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15035 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15036 * sysdeps/sh/libm-test-ulps: Likewise.
15037 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15038 * sysdeps/tile/libm-test-ulps: Likewise.
15039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15040
45adef3c
JM
150412014-03-04 Joseph Myers <joseph@codesourcery.com>
15042
15043 * math/libm-test.inc (print_complex_max_error): Check separately
15044 whether real and imaginary errors are within allowed range and
15045 pass 0 to print_complex_function_ulps instead of value within
15046 allowed range.
15047
000232b9
SP
150482014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15049
d4b17258
SP
15050 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15051 formatting.
15052 (get_handles_fopen): Likewise.
15053 (do_write_test): Likewise.
15054
091eff71
SP
15055 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15056
fa3cd248
SP
15057 * libio/fileops.c (do_ftell): Use cached offset when
15058 available.
15059 * libio/iofwide.c (do_ftell_wide): Likewise.
15060 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15061 _IO_file_attach.
15062 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15063
000232b9
SP
15064 [BZ #16532]
15065 * libio/libioP.h (get_file_offset): New function.
15066 * libio/fileops.c (get_file_offset): Likewise.
15067 (do_ftell): Likewise.
15068 (_IO_new_file_seekoff): Split out ftell logic.
15069 * libio/wfileops.c (do_ftell_wide): Likewise.
15070 (_IO_wfile_seekoff): Split out ftell logic.
15071 * libio/tst-ftell-active-handler.c: New test case.
15072 * libio/Makefile (tests): Add it.
15073
116f4d1a
RM
150742014-03-03 Roland McGrath <roland@hack.frob.com>
15075
15076 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15077 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15078
532a6035
SP
150792014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15080
15081 [BZ #16639]
15082 * nscd/connections.c (nscd_init): Call do_exit.
15083 (start_threads): Call do_exit and notify_parent.
15084 (begin_drop_privileges): Call do_exit.
15085 (finish_drop_privileges): Likewise.
15086 * nscd/selinux.c (preserve_capabilities): Likewise.
15087 (install_real_capabilities): Likewise.
15088 (nscd_selinux_enabled): Likewise.
15089 (avc_create_thread): Likewise.
15090 (avc_alloc_lock): Likewise.
15091 (nscd_avc_init): Likewise.
15092 * nscd/nscd.c (parent_fd): New static variable.
15093 (main): Create a pipe between parent and child processes.
15094 Skip closing parent_fd.
15095 (monitor_child): New function.
15096 (do_exit): Likewise.
15097 (notify_parent): Likewise.
15098 * nscd/nscd.h (notify_parent): Likewise.
15099 (do_exit): Likewise.
15100
d6285c9f
CD
151012014-03-03 Carlos O'Donell <carlos@redhat.com>
15102
15103 * malloc/malloc.c (__libc_calloc): Revert last change.
15104
2b85d2a0
AZ
151052014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15106
15107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15108
c7debbdf
RS
151092014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15110
15111 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15113 implementation.
15114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15115 (__libc_ifunc_impl_list): Likewise.
15116 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15117 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15118 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15119 * string/strrchr.c: Define STRRCHR.
15120
235eed86
OB
151212014-02-28 Ondřej Bílka <neleai@seznam.cz>
15122
15123 * benchtest/bench-strtok.c (simple_strtok): Delete.
15124 (strtok_string): Use as benchmark.
15125 * string/strtok (STRTOK): New macro.
15126
8e25d1e7
CD
151272014-02-28 Carlos O'Donell <carlos@redhat.com>
15128
ef563f92
CD
15129 * manual/threads.texi: Add header and standard comments to all
15130 functions.
15131
8e25d1e7
CD
15132 * elf/dl-lookup.c (check_match): New function.
15133 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15134 (do_lookup_x): Remove nested function check_match. Use non-nested
15135 function check_match.
15136
ff71cc37
RM
151372014-02-28 Roland McGrath <roland@hack.frob.com>
15138
f08e9a26
RM
15139 * csu/Makefile (generated, before-compile): Use += rather than =.
15140 * catgets/Makefile (generated, generated-dirs): Likewise.
15141 * debug/Makefile (generated): Likewise.
15142 * dlfcn/Makefile (generated): Likewise.
15143 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15144 * iconvdata/Makefile (before-compile, generated): Likewise.
15145 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15146 * libio/Makefile (generated): Likewise.
15147 * malloc/Makefile (generated): Likewise.
15148 * manual/Makefile (generated, generated-dirs): Likewise.
15149 * misc/Makefile (generated): Likewise.
15150 * posix/Makefile (generated): Likewise.
15151 * resolv/Makefile (generated): Likewise.
15152 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15153 * timezone/Makefile (generated, generated-dirs): Likewise.
15154
ff71cc37
RM
15155 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15156
fe13a20c
AZ
151572014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15158
57f41c40
AS
15159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15160 power8 implementation.
15161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15162 file: POWER8 llround ifunc implementation.
15163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15164 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15165 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15166 POWER8 llround implementation.
15167
57f41c40
AS
15168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15169 power8 implementation.
15170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15171 file: POWER8 llrint ifunc implementation.
15172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15173 Add POWER8 implementation.
1ad8950a
AZ
15174 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15175 POWER8 llrint implementation.
15176
57f41c40
AS
15177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15178 power8 implementation.
15179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15180 file: POWER8 finite ifunc implementation.
15181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15182 Add POWER8 implementation.
cac626d6
AZ
15183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15184 Likewise.
15185 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15186 POWER8 finite implementation.
15187 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15188
57f41c40
AS
15189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15190 power8 implementation.
15191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15192 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15194 POWER8 implementation.
15195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15196 Likewise.
57f41c40
AS
15197 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15198 isinf implementation.
4393fc11
AZ
15199 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15200
57f41c40
AS
15201 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15202 (INIT_ARCH): Add hwcap2 initialization.
15203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15204 power8 implementation.
15205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15206 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15208 POWER8 implementation.
15209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15210 Likewise.
57f41c40
AS
15211 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15212 isnan implementation.
487972ae
AZ
15213 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15214
7d92b787
JY
152152014-02-27 Joey Ye <joey.ye@arm.com>
15216
15217 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15218 (_FP_NANFRAC_Q): Set to zero.
15219
1cadc858
SP
152202014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15221
15222 [BZ #16623]
15223 * math/auto-libm-test-in: New test inputs.
15224 * math/auto-libm-test-out: Regenerate.
15225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15226 and DA.
15227 (__cos): Likewise.
15228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15229
f8c17e79
JM
152302014-02-27 Joseph Myers <joseph@codesourcery.com>
15231
15232 * scripts/evaluate-test.sh: Take new argument indicating whether
15233 failure is expected.
15234 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15235 indicating whether failure is expected.
15236 * conform/Makefile (test-xfail-run-conformtest): New variable.
15237 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15238 level.
15239 * posix/Makefile (test-xfail-annexc): New variable.
15240 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15241
a5f891ac
JM
152422014-02-26 Joseph Myers <joseph@codesourcery.com>
15243
15244 * argp/Makefile: Include Makeconfig immediately after defining
15245 subdir.
15246 * assert/Makefile: Likewise.
15247 * benchtests/Makefile: Likewise.
15248 * catgets/Makefile: Likewise.
15249 * conform/Makefile: Likewise.
15250 * crypt/Makefile: Likewise.
15251 * csu/Makefile: Likewise.
15252 (all): Remove target.
15253 * ctype/Makefile: Include Makeconfig immediately after defining
15254 subdir.
15255 * debug/Makefile: Likewise.
15256 * dirent/Makefile: Likewise.
15257 * dlfcn/Makefile: Likewise.
15258 * gmon/Makefile: Likewise.
15259 * gnulib/Makefile: Likewise.
15260 * grp/Makefile: Likewise.
15261 * gshadow/Makefile: Likewise.
15262 * hesiod/Makefile: Likewise.
15263 * hurd/Makefile: Likewise.
15264 (all): Remove target.
15265 * iconvdata/Makefile: Include Makeconfig immediately after
15266 defining subdir.
15267 * inet/Makefile: Likewise.
15268 * intl/Makefile: Likewise.
15269 * io/Makefile: Likewise.
15270 * libio/Makefile: Likewise.
15271 (all): Remove target.
15272 * locale/Makefile: Include Makeconfig immediately after defining
15273 subdir.
15274 * login/Makefile: Likewise.
15275 * mach/Makefile: Likewise.
15276 (all): Remove target.
15277 * malloc/Makefile: Include Makeconfig immediately after defining
15278 subdir.
15279 (all): Remove target.
15280 * manual/Makefile: Include Makeconfig immediately after defining
15281 subdir.
15282 * math/Makefile: Likewise.
15283 * misc/Makefile: Likewise.
15284 * nis/Makefile: Likewise.
15285 * nss/Makefile: Likewise.
15286 * po/Makefile: Likewise.
15287 (all): Remove target.
15288 * posix/Makefile: Include Makeconfig immediately after defining
15289 subdir.
15290 * pwd/Makefile: Likewise.
15291 * resolv/Makefile: Likewise.
15292 * resource/Makefile: Likewise.
15293 * rt/Makefile: Likewise.
15294 * setjmp/Makefile: Likewise.
15295 * shadow/Makefile: Likewise.
15296 * signal/Makefile: Likewise.
15297 * socket/Makefile: Likewise.
15298 * soft-fp/Makefile: Likewise.
15299 * stdio-common/Makefile: Likewise.
15300 * stdlib/Makefile: Likewise.
15301 * streams/Makefile: Likewise.
15302 * string/Makefile: Likewise.
15303 * sunrpc/Makefile: Likewise.
15304 (all): Remove target.
15305 * sysvipc/Makefile: Include Makeconfig immediately after defining
15306 subdir.
15307 * termios/Makefile: Likewise.
15308 * time/Makefile: Likewise.
15309 * timezone/Makefile: Likewise.
15310 (all): Remove target.
15311 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15312 subdir.
15313 * wctype/Makefile: Likewise.
15314
5b456e9d
SE
153152014-02-26 Steve Ellcey <sellcey@mips.com>
15316
15317 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15318 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15319 (libc_feholdexcept_setround_mips): Ditto.
15320 (libc_feholdsetround): New.
15321 (libc_feholdsetroundf): New.
15322 (libc_feholdsetroundl): New.
15323 (libc_feupdateenv_test_mips): New.
15324 (libc_feupdateenv_test): New.
15325 (libc_feupdateenv_testf): New.
15326 (libc_feupdateenv_testl): New.
15327 (libc_feresetround): New.
15328 (libc_feresetroundf): New.
15329 (libc_feresetroundl): New.
15330 (libc_fetestexcept_mips): New.
15331 (libc_fetestexcept): New.
15332 (libc_fetestexceptf): New.
15333 (libc_fetestexceptl): New.
15334 (HAVE_RM_CTX): New.
15335 (libc_feholdexcept_setround_mips_ctx): New.
15336 (libc_feholdexcept_setround_ctx): New.
15337 (libc_feholdexcept_setroundf_ctx): New.
15338 (libc_feholdexcept_setroundl_ctx): New.
15339 (libc_fesetenv_mips_ctx): New.
15340 (libc_fesetenv_ctx): New.
15341 (libc_fesetenv_ctxf): New.
15342 (libc_fesetenv_ctxl): New.
15343 (libc_feupdateenv_mips_ctx): New.
15344 (libc_feupdateenv_ctx): New.
15345 (libc_feupdateenvf_ctx): New.
15346 (libc_feupdateenvl_ctx): New.
15347 (libc_feholdsetround_mips_ctx): New.
15348 (libc_feholdsetround_ctx): New.
15349 (libc_feholdsetroundf_ctx): New.
15350 (libc_feholdsetroundl_ctx): New.
15351 (libc_feresetround_mips_ctx): New.
15352 (libc_feresetround_ctx): New.
15353 (libc_feresetroundf_ctx): New.
15354 (libc_feresetroundl_ctx): New.
15355
085d0e35
CD
153562014-02-26 Carlos O'Donell <carlos@redhat.com>
15357
f067bf1f
CD
15358 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15359
085d0e35
CD
15360 * manual/ipc.texi: New file.
15361 * manual/Makefile (chapters): Add ipc.
15362 * manual/job.texi: Add "Inter-Process Communication" to next.
15363 * manual/process.texi: Add "Inter-Process Communication" to prev.
15364
86e58c08
AZ
153652014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15366
15367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15368
4248f0da
OB
153692014-02-26 Ondřej Bílka <neleai@seznam.cz>
15370
15371 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15372
cf822e3c
OB
15373 * manual/arith.texi: Fix spaces after sentences.
15374 * manual/charset.texi: Likewise.
15375 * manual/errno.texi: Likewise.
15376 * manual/install.texi: Likewise.
15377 * manual/llio.texi: Likewise.
15378 * manual/locale.texi: Likewise.
15379 * manual/maint.texi: Likewise.
15380 * manual/math.texi: Likewise.
15381 * manual/memory.texi: Likewise.
15382 * manual/message.texi: Likewise.
15383 * manual/probes.texi: Likewise.
15384 * manual/resource.texi: Likewise.
15385 * manual/signal.texi: Likewise.
15386 * manual/socket.texi: Likewise.
15387 * manual/stdio.texi: Likewise.
15388 * manual/string.texi: Likewise.
15389 * manual/time.texi: Likewise.
15390 * manual/users.texi: Likewise.
15391
ade40b10
CD
153922014-02-25 Carlos O'Donell <carlos@redhat.com>
15393
15394 [BZ #16632]
15395 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15396 _DEFAULT_SOURCE is defined.
15397
d0503676
CD
153982014-02-25 Ulrich Drepper <drepper@gmail.com>
15399 Carlos O'Donell <carlos@redhat.com>
15400
15401 [BZ #16613]
15402 * elf/dl-tls.c (_dl_count_modids): New function.
15403 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15404 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15405 audit library and increment generation counter.
15406 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15407 * elf/tst-audit9.c: New file.
15408 * elf/tst-auditmod9a.c: New file.
15409 * elf/tst-auditmod9b.c: New file.
15410 * elf/Makefile: Add rules to build and run tst-audit9.
15411
4cbf380c
FW
154122014-02-25 Florian Weimer <fweimer@redhat.com>
15413
15414 [BZ #15347]
15415 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15416
80a56cc3
WN
154172014-02-25 Will Newton <will.newton@linaro.org>
15418
15419 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15420 (__longjmp): Restore sp and lr before restoring callee
15421 saved registers. Add longjmp and longjmp_target
15422 SystemTap probe point.
15423 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15424 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15425 Define to zero to match jmpbuf layout.
15426 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15427 (__sigsetjmp): Save sp and lr before saving callee
15428 saved registers. Add setjmp SystemTap probe point.
15429
3ea0f74e
SL
154302014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15431
15432 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15433
b04acb26
AS
154342014-02-24 Andreas Schwab <schwab@suse.de>
15435
15436 [BZ #15804]
15437 * elf/pldd.c (wait_for_ptrace_stop): New function.
15438 (main): Call it after attaching.
15439
098ad55c
RM
154402014-02-22 Roland McGrath <roland@hack.frob.com>
15441
d4ec6ae1
RM
15442 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15443 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15444 Versions files is now verboten.
15445 * hurd/Versions (libc: GLIBC_2.0):
15446 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15447 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15448 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15449 * mach/Versions: Likewise.
15450
098ad55c
RM
15451 * csu/Versions: Remove unused %include.
15452 * resolv/Versions: Likewise.
15453
acd7f096
JM
154542014-02-21 Joseph Myers <joseph@codesourcery.com>
15455
f0881698
JM
15456 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15457 ($(objpfx)check-local-headers.out): Likewise.
15458 ($(objpfx)begin-end-check.out): Likewise.
15459 * Makerules (check-abi-%.out): Likewise.
15460 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15461 ($(objpfx)test2.cat): Likewise.
15462 ($(objpfx)de/libc.cat): Likewise.
15463 ($(objpfx)test-gencat.out): Likewise.
15464 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15465 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15466 ($(objpfx)noload-mem): Likewise.
15467 ($(objpfx)tst-pathopt.out): Likewise.
15468 ($(objpfx)tst-rtld-load-self.out): Likewise.
15469 ($(objpfx)tst-array1-cmp.out): Likewise.
15470 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15471 ($(objpfx)tst-array2-cmp.out): Likewise.
15472 ($(objpfx)tst-array3-cmp.out): Likewise.
15473 ($(objpfx)tst-array4-cmp.out): Likewise.
15474 ($(objpfx)tst-array5-cmp.out): Likewise.
15475 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15476 ($(objpfx)check-textrel.out): Likewise.
15477 ($(objpfx)check-execstack.out): Likewise.
15478 ($(objpfx)check-localplt.out): Likewise.
15479 ($(objpfx)order2-cmp.out): Likewise.
15480 ($(objpfx)tst-leaks1-mem): Likewise.
15481 ($(objpfx)tst-leaks1-static-mem): Likewise.
15482 ($(objpfx)tst-initorder-cmp.out): Likewise.
15483 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15484 ($(objpfx)tst-unused-dep.out): Likewise.
15485 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15486 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15487 * iconv/Makefile (test-iconvconfig): Likewise.
15488 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15489 ($(objpfx)iconv-test.out): Likewise.
15490 ($(objpfx)tst-tables.out): Likewise.
15491 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15492 ($(objpfx)tst-gettext.out): Likewise.
15493 ($(objpfx)tst-translit.out): Likewise.
15494 ($(objpfx)tst-gettext2.out): Likewise.
15495 ($(objpfx)tst-gettext4.out): Likewise.
15496 ($(objpfx)tst-gettext6.out): Likewise.
15497 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15498 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15499 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15500 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15501 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15502 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15503 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15504 ($(objpfx)wordexp-tst.out): Likewise.
15505 ($(objpfx)annexc.out): Likewise.
15506 ($(objpfx)tst-fnmatch-mem): Likewise.
15507 ($(objpfx)bug-regex2-mem): Likewise.
15508 ($(objpfx)bug-regex14-mem): Likewise.
15509 ($(objpfx)bug-regex21-mem): Likewise.
15510 ($(objpfx)bug-regex31-mem): Likewise.
15511 ($(objpfx)tst-vfork3-mem): Likewise.
15512 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15513 ($(objpfx)tst-pcre-mem): Likewise.
15514 ($(objpfx)tst-boost-mem): Likewise.
15515 ($(objpfx)tst-getconf.out): Likewise.
15516 ($(objpfx)bug-ga2-mem): Likewise.
15517 ($(objpfx)bug-glob2-mem): Likewise.
15518 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15519 ($(objpfx)mtrace-tst-leaks2): Likewise.
15520 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15521 ($(objpfx)tst-printf.out): Likewise.
15522 ($(objpfx)tst-setvbuf1.out): Likewise.
15523 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15524 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15525 ($(objpfx)tst-fmtmsg.out): Likewise.
15526 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15527 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15528
acd7f096
JM
15529 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15530 * bits/sigaction.h [__USE_MISC]: Likewise.
15531 * bits/waitstatus.h: Update #endif comments.
15532 * ctype/ctype.h: Likewise.
15533 * dirent/dirent.h: Likewise.
15534 [__USE_MISC]: Remove redundant conditionals.
15535 * grp/grp.h: Update #endif comments.
15536 [__USE_GNU]: Remove redundant conditionals.
15537 [__USE_MISC]: Likewise.
15538 * inet/netinet/in.h [__USE_GNU]: Likewise.
15539 * io/sys/stat.h [__USE_MISC]: Likewise.
15540 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15541 * libio/bits/stdio.h: Update #endif comments.
15542 [__USE_MISC]: Remove redundant conditionals.
15543 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15544 * libio/stdio.h: Update #endif comments.
15545 [__USE_MISC]: Remove redundant conditionals.
15546 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15547 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15548 * math/math.h: Update #else and #endif comments.
15549 [__USE_MISC]: Remove redundant conditionals.
15550 * misc/sys/uio.h: Update #endif comments.
15551 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15552 * posix/glob.h [__USE_MISC]: Likewise.
15553 * posix/sys/types.h: Update #endif comments.
15554 [__USE_MISC]: Remove redundant conditionals.
15555 * posix/sys/wait.h: Update #endif comments.
15556 [__USE_MISC]: Remove redundant conditionals.
15557 * posix/unistd.h: Update #endif comments.
15558 [__USE_MISC]: Remove redundant conditionals.
15559 * pwd/pwd.h [__USE_GNU]: Likewise.
15560 [__USE_MISC]: Likewise.
15561 * resolv/netdb.h [__USE_GNU]: Likewise.
15562 * signal/signal.h: Update #endif comments.
15563 [__USE_MISC]: Remove redundant conditionals.
15564 * stdlib/stdlib.h: Update #else and #endif comments.
15565 [__USE_MISC]: Remove redundant conditionals.
15566 [__USE_GNU]: Likewise.
15567 * string/bits/string2.h [__USE_MISC]: Likewise.
15568 * string/string.h: Update #endif comments.
15569 [__USE_MISC]: Remove redundant conditionals.
15570 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15571 Likewise.
15572 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15573 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15574 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15575 Likewise.
15576 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15577 Likewise.
15578 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15579 comments.
15580 [__USE_MISC]: Remove redundant conditionals.
15581 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15582 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15583 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15584 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15585 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15586 Likewise.
15587 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15588 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15589 Likewise.
15590 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15591 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15592 Likewise.
15593 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15594 Likewise.
15595 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15596 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15597 Likewise.
15598 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15599 Likewise.
15600 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15601 * sysdeps/x86/bits/string.h: Update #endif comments.
15602 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15603 conditionals.
15604 * time/sys/time.h: Update #endif comments.
15605 * time/time.h: Likewise.
15606 [__USE_MISC]: Remove redundant conditionals.
15607
a5d82e4e
YG
156082014-02-21 Yury Gribov <y.gribov@samsung.com>
15609
15610 [BZ #16600]
15611 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15612
9a80491d
AS
156132014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15614
15615 * Versions.def (librt): Add GLIBC_2.17.
15616
105fa381
AC
156172014-02-21 Adam Conrad <adconrad@0c3.net>
15618
15619 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15620 synonym for _SYS_AUXV_H to allow direct inclusion.
15621 * sysdeps/sparc/bits/hwcap.h: Likewise.
15622 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15623 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15624 * sysdeps/sparc/sysdep.h: Likewise.
15625
b8cd1c4e
SP
156262014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15627
15628 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15629
bd939d23
RS
156302014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15631
15632 * benchtests/bench-strrchr.c: Print length instead of position.
15633
5d7b57ca
JM
156342014-02-20 Joseph Myers <joseph@codesourcery.com>
15635
bc688c10
JM
15636 [BZ #16611]
15637 * sysdeps/unix/sysv/linux/kernel-features.h
15638 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15639 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15640 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15641 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15642 Likewise.
15643 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15644 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15645 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15646 (__ASSUME_SENDMMSG): Define instead of using previous
15647 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15648 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15649 (__ASSUME_SENDMMSG_SYSCALL): Define.
15650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15651 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15652 Likewise.
15653 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15654 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15655 Likewise.
15656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15657 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15658 Likewise.
15659 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15660 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15661 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15662 [__ASSUME_SENDMMSG]: Change conditionals to
15663 [__ASSUME_SENDMMSG_SOCKETCALL].
15664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15665 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15666 Define.
15667 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15668 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15669 Likewise.
15670 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15671 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15672 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15673 [!__ASSUME_SENDMMSG]: Change conditional to
15674 [!__ASSUME_SENDMMSG_SOCKETCALL].
15675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15676 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15677 Define.
15678
0e31b18c
JM
15679 [BZ #16610]
15680 * sysdeps/unix/sysv/linux/kernel-features.h
15681 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15682 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15683 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15684 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15685 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15686 [__i386__ || __sparc__]
15687 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15688 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15689 (__ASSUME_RECVMMSG): Define instead of using previous
15690 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15691 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15692 (__ASSUME_RECVMMSG_SYSCALL): Define.
15693 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15694 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15695 Likewise.
15696 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15697 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15698 Likewise.
15699 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15700 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15701 Likewise.
15702 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15703 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15704 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15705 [__ASSUME_RECVMMSG]: Change condition to
15706 [__ASSUME_RECVMMSG_SOCKETCALL].
15707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15708 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15709 Define.
15710 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15711 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15712 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15713 Likewise.
15714 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15715 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15716 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15717 [!__ASSUME_RECVMMSG]: Change condition to
15718 [!__ASSUME_RECVMMSG_SOCKETCALL].
15719 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15720 (__ASSUME_RECVMMSG_SYSCALL): Define.
15721
dd481ccf
JM
15722 [BZ #16609]
15723 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15724 __powerpc__ || __s390__ || __sh__ || __sparc__]
15725 (__ASSUME_SOCKETCALL): Define.
15726 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15727 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15728 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15729 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15730 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15731 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15732 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15733 (__ASSUME_ACCEPT4): Define instead of using previous
15734 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15735 __powerpc__ || __sparc__ || __s390__)] condition.
15736 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15737 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15738 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15739 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15740 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15741 [!__ASSUME_ACCEPT4]: Change condition to
15742 [!__ASSUME_ACCEPT4_SOCKETCALL].
15743 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15744 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15745 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15746 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15747 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15748 __ASSUME_ACCEPT4_SYSCALL.
15749 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15750 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15751 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15752 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15753 __ASSUME_ACCEPT4_SYSCALL.
15754 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15755 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15756 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15757 [__ASSUME_ACCEPT4]: Change condition to
15758 [__ASSUME_ACCEPT4_SOCKETCALL].
15759 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15760 (__ASSUME_SOCKETCALL): Define.
15761 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15762 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15763 (__ASSUME_SOCKETCALL): Define.
15764 (__ASSUME_ACCEPT4): Remove.
15765 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15766 Define.
15767 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15768 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15769 Likewise.
15770 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15771 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15772
5d7b57ca
JM
15773 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15774 macro.
15775 (HWCAP_ARM_LPAE): Likewise.
15776 (HWCAP_ARM_EVTSTRM): Likewise.
15777 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15778 Add vpfd32, lpae and evtstrm.
15779 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15780 Increase to 22.
15781
63689d61
JM
157822014-02-19 Joseph Myers <joseph@codesourcery.com>
15783
15784 * math/auto-libm-test-in: Add tests of clog10.
15785 * math/auto-libm-test-out: Regenerated.
15786 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15787 * sysdeps/i386/fpu/libm-test-ulps: Update.
15788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15789
ab09bf61
AS
157902014-02-18 Andreas Schwab <schwab@suse.de>
15791
15792 [BZ #16574]
15793 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15794 Store non-zero if the second buffer was newly allocated.
15795 (send_dg): Likewise.
15796 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15797 to send_vc and send_dg.
15798 (res_nsend): Pass NULL for ansp2_malloced.
15799 * resolv/res_query.c (__libc_res_nquery): Add parameter
15800 answerp2_malloced and pass it down to __libc_res_nsend.
15801 (res_nquery): Pass additional NULL to __libc_res_nquery.
15802 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15803 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15804 second answer buffer if answerp2_malloced was set.
15805 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15806 (__libc_res_nquerydomain): Add parameter
15807 answerp2_malloced and pass it down to __libc_res_nquery.
15808 (res_nquerydomain): Pass additional NULL to
15809 __libc_res_nquerydomain.
15810 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15811 additional NULL to __libc_res_nsend and __libc_res_nquery.
15812 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15813 additional NULL to __libc_res_nsearch.
15814 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15815 parameter of __libc_res_nsearch to check for separately allocated
15816 second buffer.
15817 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15818 __libc_res_nquery.
15819 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15820 additional NULL to __libc_res_nquery.
15821 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15822 __libc_res_nsearch.
15823 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15824 * include/resolv.h: Update prototypes of __libc_res_nquery,
15825 __libc_res_nsearch, __libc_res_nsend.
15826
a4fb7861
JM
158272014-02-18 Joseph Myers <joseph@codesourcery.com>
15828
c6af2d89
JM
15829 * math/auto-libm-test-in: Add tests of fma.
15830 * math/auto-libm-test-out: Regenerated.
15831 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15832 (fma_towardzero_test_data): Likewise.
15833 (fma_downward_test_data): Likewise.
15834 (fma_upward_test_data): Likewise.
15835 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15836 mpc_mode.
15837 (rounding_modes): Add values for new field.
15838 (func_calc_method): Add value mpfr_fff_f.
15839 (func_calc_desc): Add mpfr_fff_f union field.
15840 (test_function): Add field exact_args.
15841 (FUNC): Add macro argument EXACT_ARGS.
15842 (FUNC_mpfr_f_f): Update call to FUNC.
15843 (FUNC_mpfr_f_f): Likewise.
15844 (FUNC_mpfr_ff_f): Likewise.
15845 (FUNC_mpfr_if_f): Likewise.
15846 (FUNC_mpc_c_f): Likewise.
15847 (FUNC_mpc_c_c): Likewise.
15848 (test_functions): Add fma. Update calls to FUNC.
15849 (handle_input_arg): Add argument exact_args.
15850 (add_test): Update call to handle_input_arg.
15851 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15852 (output_for_one_input_case): Update call to calc_generic_results.
15853 Recalculate exact zero results in each rounding mode.
15854
a4fb7861
JM
15855 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15856 non-negative before setting low bit.
15857 * math/auto-libm-test-in: Mark one asin test possibly having
15858 spurious underflow.
15859 * math/auto-libm-test-out: Regenerated.
15860 * sysdeps/i386/fpu/libm-test-ulps: Update.
15861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15862
ef114eaf
DH
158632014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15864
2b7f4f2c
SP
15865 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15866 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15867 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
15868 * README: Add missing listing for microblaze*-*-linux-gnu.
15869
8125aedc
AM
158702014-02-16 Ondřej Bílka <neleai@seznam.cz>
15871
15872 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15873 duplicate code
15874
c70a4b1d
MF
158752014-02-16 Mike Frysinger <vapier@gentoo.org>
15876
15877 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15878 * sysdeps/unix/sysv/linux/ia64: Move directory from
15879 ports/sysdeps/unix/sysv/linux/ia64.
15880 * README: Update listing for ia64-*-linux-gnu.
15881
591aeaf7
TD
158822014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15883 Joseph Myers <joseph@codesourcery.com>
15884
15885 * Makeconfig (test-name): New variable.
15886 (evaluate-test): Likewise.
15887 * Makerules (do-test-clean): Remove .test-result files.
15888 (common-mostlyclean): Likewise.
15889 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15890 * scripts/evaluate-test.sh: New file.
15891
6e89caf1
JM
158922014-02-14 Joseph Myers <joseph@codesourcery.com>
15893
7f98f180
JM
15894 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15895 separate $(objpfx)tst-fopenloc-cmp.out and
15896 $(objpfx)tst-fopenloc-mem.out targets.
15897 (tests): Update dependencies.
15898 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15899 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15900 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15901 (tst-rxspencer-no-utf8-ARGS): New variable.
15902 (tst-rxspencer-no-utf8-ENV): Likewise.
15903 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15904 instead of $(objpfx)tst-rxspencer-mem.
15905 ($(objpfx)tst-rxspencer-mem): Change target to
15906 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15907 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15908 * posix/tst-rxspencer-no-utf8.c: New file.
15909
6e89caf1
JM
15910 * elf/Makefile ($(objpfx)order.out): Remove rule.
15911 [$(run-built-tests) = yes] (tests): Depend on
15912 $(objpfx)order-cmp.out.
15913 ($(objpfx)order-cmp.out): New rule.
15914 [$(run-built-tests) = yes] (tests): Depend on
15915 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15916 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15917 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15918 $(objpfx)tst-array5-static-cmp.out.
15919 ($(objpfx)tst-array1.out): Remove rule.
15920 ($(objpfx)tst-array1-cmp.out): New rule.
15921 ($(objpfx)tst-array1-static.out): Remove rule.
15922 ($(objpfx)tst-array1-static-cmp.out): New rule.
15923 ($(objpfx)tst-array2.out): Remove rule.
15924 ($(objpfx)tst-array2-cmp.out): New rule.
15925 ($(objpfx)tst-array3.out): Remove rule.
15926 ($(objpfx)tst-array3-cmp.out): New rule.
15927 ($(objpfx)tst-array4.out): Remove rule.
15928 ($(objpfx)tst-array4-cmp.out): New rule.
15929 ($(objpfx)tst-array5.out): Remove rule.
15930 ($(objpfx)tst-array5-cmp.out): New rule.
15931 ($(objpfx)tst-array5-static.out): Remove rule.
15932 ($(objpfx)tst-array5-static-cmp.out): New rule.
15933 [$(run-built-tests) = yes] (tests): Depend on
15934 $(objpfx)order2-cmp.out.
15935 ($(objpfx)order2.out): Remove rule.
15936 ($(objpfx)order2-cmp.out): New rule.
15937 ($(objpfx)tst-initorder.out): Remove rule.
15938 [$(run-built-tests) = yes] (tests): Depend on
15939 $(objpfx)tst-initorder-cmp.out.
15940 ($(objpfx)tst-initorder-cmp.out): New rule.
15941 ($(objpfx)tst-initorder2.out): Remove rule.
15942 [$(run-built-tests) = yes] (tests): Depend on
15943 $(objpfx)tst-initorder2-cmp.out.
15944 ($(objpfx)tst-initorder2-cmp.out): New rule.
15945 [$(run-built-tests) = yes] (tests): Depend on
15946 $(objpfx)tst-unused-dep-cmp.out.
15947 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15948 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15949 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15950 on $(objpfx)tst-setvbuf1-cmp.out.
15951 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15952 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15953 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15954 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15955 ($(objpfx)tst-svc.out): Remove rule.
15956 ($(objpfx)tst-svc-cmp.out): New rule.
15957
ed9a38e2
JM
159582014-02-13 Joseph Myers <joseph@codesourcery.com>
15959
15960 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15961 * ctype/ctype.h [__USE_MISC]: Likewise.
15962 * dirent/dirent.h [__USE_MISC]: Likewise.
15963 * grp/grp.h [__USE_MISC]: Likewise.
15964 * io/fcntl.h [__USE_MISC]: Likewise.
15965 * io/sys/stat.h [__USE_MISC]: Likewise.
15966 * libio/stdio.h [__USE_MISC]: Likewise.
15967 * posix/unistd.h [__USE_MISC]: Likewise.
15968 * pwd/pwd.h [__USE_MISC]: Likewise.
15969 * stdlib.h [__USE_MISC]: Likewise.
15970 * string/bits/string2.h [__USE_MISC]: Likewise.
15971 * string/string.h [__USE_MISC]: Likewise.
15972 * time/time.h [__USE_MISC]: Likewise.
15973
d6680619
AS
159742014-02-13 Andreas Schwab <schwab@suse.de>
15975
15976 [BZ #16574]
15977 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15978 second answer buffer if it was separately allocated.
15979
ace614b8
JM
159802014-02-12 Joseph Myers <joseph@codesourcery.com>
15981
743151ae
JM
15982 * sysdeps/mips/math-tests.h: Include <features.h>.
15983 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15984 (ROUNDING_TESTS_long_double): Do not define.
15985 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15986 (EXCEPTION_TESTS_long_double): Likewise.
15987 * sysdeps/mips/mips64/libm-test-ulps: Update.
15988
498afc54
JM
15989 * include/features.h (__USE_BSD): Remove macro definitions.
15990 (__USE_SVID): Likewise.
15991 (_BSD_SOURCE): Likewise.
15992 (_SVID_SOURCE): Likewise.
15993 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15994 from definition of _DEFAULT_SOURCE.
15995 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15996 [_DEFAULT_SOURCE].
15997 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15998 * bits/mman.h [__USE_BSD]: Likewise.
15999 * bits/termios.h [__USE_BSD]: Likewise.
16000 * bits/waitstatus.h [__USE_BSD]: Likewise.
16001 * ctype/ctype.h [__USE_SVID]: Likewise.
16002 * dirent/dirent.h [__USE_BSD]: Likewise.
16003 * grp/grp.h [__USE_SVID]: Likewise.
16004 [__USE_BSD]: Likewise.
16005 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16006 * io/fcntl.h [__USE_BSD]: Likewise.
16007 * io/ftw.h [__USE_BSD]: Likewise.
16008 * io/sys/stat.h [__USE_BSD]: Likewise.
16009 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16010 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16011 * libio/stdio.h [__USE_SVID]: Likewise.
16012 [__USE_BSD]: Likewise.
16013 * math/math.h [__USE_SVID]: Likewise.
16014 [__USE_BSD]: Likewise.
16015 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16016 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16017 * misc/search.h [__USE_SVID]: Likewise.
16018 * misc/sys/mman.h [__USE_BSD]: Likewise.
16019 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16020 * misc/sys/uio.h [__USE_BSD]: Likewise.
16021 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16022 * posix/glob.h [__USE_BSD]: Likewise.
16023 * posix/regex.h [__USE_BSD]: Likewise.
16024 * posix/sys/types.h [__USE_BSD]: Likewise.
16025 [__USE_SVID]: Likewise.
16026 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16027 * posix/sys/wait.h [__USE_BSD]: Likewise.
16028 [__USE_SVID]: Likewise.
16029 * posix/unistd.h [__USE_BSD]: Likewise.
16030 [__USE_SVID]: Likewise.
16031 * pwd/pwd.h [__USE_SVID]: Likewise.
16032 * resolv/netdb.h [__USE_BSD]: Likewise.
16033 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16034 * signal/signal.h [__USE_BSD]: Likewise.
16035 [__USE_SVID]: Likewise.
16036 * socket/sys/socket.h [__USE_BSD]: Likewise.
16037 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16038 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16039 [__USE_SVID]: Likewise.
16040 * string/bits/string2.h [__USE_BSD]: Likewise.
16041 [__USE_SVID]: Likewise.
16042 * string/bits/string3.h [__USE_BSD]: Likewise.
16043 * string/endian.h [__USE_BSD]: Likewise.
16044 * string/string.h [__USE_SVID]: Likewise.
16045 [__USE_BSD]: Likewise.
16046 * string/strings.h [__USE_BSD]: Likewise.
16047 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16048 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16049 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16050 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16051 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16052 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16053 Likewise.
16054 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16055 Likewise.
16056 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16057 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16058 Likewise.
16059 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16060 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16061 Likewise.
16062 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16063 Likewise.
16064 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16065 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16066 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16067 Likewise.
16068 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16069 Likewise.
16070 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16071 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16072 * termios/termios.h [__USE_BSD]: Likewise.
16073 * time/sys/time.h [__USE_BSD]: Likewise.
16074 * time/time.h [__USE_BSD]: Likewise.
16075 [__USE_SVID]: Likewise.
16076
dd7b064c
JM
16077 * Makefile (subdir_targets): Remove subdir_lint.out.
16078
a2c4c199
JM
16079 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16080 (do-tst-printf): Likewise.
16081 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16082 $(objpfx)tst-printf.out.
16083
8756f740
JM
16084 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16085
1b6dd3f1
JM
16086 * Makerules (check-abi-%): Change target to
16087 $(objpfx)check-abi-%.out.
16088 (check-abi target): Update dependencies.
16089 (check-abi-pattern variable): Redirect output of diff to $@.
16090 (check-abi variable): Likewise.
16091 * elf/Makefile (check-abi): Update dependencies.
16092
ace614b8
JM
16093 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16094 unused.
16095 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16096 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16097 subnormal range.
16098 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16099 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16100 value has largest subnormal exponent.
16101 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16102 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16103 * sysdeps/aarch64/soft-fp/sfp-machine.h
16104 (_FP_TININESS_AFTER_ROUNDING): New macro.
16105 * sysdeps/alpha/soft-fp/sfp-machine.h
16106 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16107 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16108 Likewise.
16109 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16110 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16111 * sysdeps/mips/soft-fp/sfp-machine.h
16112 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16113 * sysdeps/powerpc/soft-fp/sfp-machine.h
16114 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16115 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16116 Likewise.
16117 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16118 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16119 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16120 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16121 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16122 Likewise.
16123
fbfdf9cb
DAS
161242014-02-12 Dylan Alex Simon <dylan@dylex.net>
16125
16126 [BZ #16545]
16127 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16128 model 1.
16129
68b7efaa
RH
161302014-02-12 Richard Henderson <rth@redhat.com>
16131
c70a4b1d 16132 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16133 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16134 * sysdeps/unix/sysv/linux/alpha: Move directory from
16135 ports/sysdeps/unix/sysv/linux/alpha.
16136 * README: Update listing for alpha-*-linux-gnu.
16137
cb4a2928
JM
161382014-02-11 Joseph Myers <joseph@codesourcery.com>
16139
c941736c
JM
16140 * include/features.h: Update comment documenting feature test
16141 macros.
16142 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16143 _DEFAULT_SOURCE.
16144 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16145 (_SVID_SOURCE): Likewise.
16146 (_DEFAULT_SOURCE): Update description of default features.
16147 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16148 with _GNU_SOURCE.
16149 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16150 (S_ISVTX): Likewise.
16151 * manual/math.texi (Mathematical Constants): Likewise.
16152 * manual/signal.texi (Interrupted Primitives): Likewise.
16153 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16154 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16155 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16156 Don't refer to _SVID_SOURCE in warning text.
16157
e8d8d7ec
JM
16158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16159
cb4a2928
JM
16160 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16161 already defined.
16162 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16163 * sysdeps/mips/dl-lookup.c: Remove.
16164 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16165
7e6424e3
AK
161662014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16167
16168 [BZ #16447]
16169 * math/auto-libm-test-in: Add testcase for expl.
16170 * math/auto-libm-test-out: Regenerate.
16171 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16172 calculation of unsafe.
16173 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16174
75eff3fe
MS
161752014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16176
16177 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16178 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16179 ports/sysdeps/unix/sysv/linux/aarch64.
16180 * README: Update listing for aarch64*-*-linux-gnu.
16181
d35f1e80
WN
161822014-02-11 Will Newton <will.newton@linaro.org>
16183
16184 * manual/probes.texi (Mathematical Function Probes): Use
16185 "triggered" instead of "hit".
16186
7b3436d4
WN
16187 * manual/probes.texi (Internal Probes): Add documentation
16188 of setjmp, longjmp and longjmp_target probes.
16189
b4f12ca3
WN
16190 * include/stap-probe.h: Add comment about probe argument
16191 format.
16192
c13a72b7
WN
16193 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16194 definition. (tr_where, tr_freehook, tr_mallochook,
16195 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16196
195b8165
DM
161972014-02-11 David S. Miller <davem@davemloft.net>
16198
16199 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16200 processing int_tests.
16201
2ad7600b
JM
162022014-02-10 Joseph Myers <joseph@codesourcery.com>
16203
16204 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16205 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16206 * sysdeps/unix/sysv/linux/mips: Move directory from
16207 ports/sysdeps/unix/sysv/linux/mips.
16208 * README: Update listing for mips-*-linux-gnu and
16209 mips64-*-linux-gnu.
16210
73588a72
AS
162112014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16212
16213 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16214 * sysdeps/unix/sysv/linux/m68k: Move directory from
16215 ports/sysdeps/unix/sysv/linux/m68k.
16216 * README: Update listing for m68k-*-linux-gnu.
16217
4372980f
CM
162182014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16219
16220 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16221 * sysdeps/unix/sysv/linux/generic: Move directory from
16222 ports/sysdeps/unix/sysv/linux/generic.
16223 * sysdeps/unix/sysv/linux/tile: Move directory from
16224 ports/sysdeps/unix/sysv/linux/tile.
16225 * README: Update listing for tile*-*-linux-gnu.
16226
a1ffb40e
OB
162272014-02-10 Ondřej Bílka <neleai@seznam.cz>
16228
57f41c40
AS
16229 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16230 __builtin_expect.
a1ffb40e
OB
16231 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16232 * catgets/open_catalog.c (__open_catalog): Likewise.
16233 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16234 * debug/confstr_chk.c: Likewise.
16235 * debug/fread_chk.c (__fread_chk): Likewise.
16236 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16237 * debug/getgroups_chk.c: Likewise.
16238 * debug/mbsnrtowcs_chk.c: Likewise.
16239 * debug/mbsrtowcs_chk.c: Likewise.
16240 * debug/mbstowcs_chk.c: Likewise.
16241 * debug/memcpy_chk.c: Likewise.
16242 * debug/memmove_chk.c: Likewise.
16243 * debug/mempcpy_chk.c: Likewise.
16244 * debug/memset_chk.c: Likewise.
16245 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16246 * debug/strcat_chk.c (__strcat_chk): Likewise.
16247 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16248 * debug/strncat_chk.c (__strncat_chk): Likewise.
16249 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16250 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16251 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16252 * debug/wcpncpy_chk.c: Likewise.
16253 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16254 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16255 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16256 * debug/wcsncpy_chk.c: Likewise.
16257 * debug/wcsnrtombs_chk.c: Likewise.
16258 * debug/wcsrtombs_chk.c: Likewise.
16259 * debug/wcstombs_chk.c: Likewise.
16260 * debug/wmemcpy_chk.c: Likewise.
16261 * debug/wmemmove_chk.c: Likewise.
16262 * debug/wmempcpy_chk.c: Likewise.
16263 * debug/wmemset_chk.c: Likewise.
16264 * dirent/scandirat.c (SCANDIRAT): Likewise.
16265 * dlfcn/dladdr1.c (dladdr1): Likewise.
16266 * dlfcn/dladdr.c (dladdr): Likewise.
16267 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16268 * dlfcn/dlerror.c (__dlerror): Likewise.
16269 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16270 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16271 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16272 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16273 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16274 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16275 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16276 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16277 Likewise.
16278 * elf/dl-conflict.c: Likewise.
16279 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16280 * elf/dl-dst.h: Likewise.
16281 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16282 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16283 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16284 * elf/dl-init.c (call_init, _dl_init): Likewise.
16285 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16286 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16287 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16288 Likewise.
a1ffb40e
OB
16289 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16290 Likewise.
16291 * elf/dl-minimal.c (__libc_memalign): Likewise.
16292 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16293 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16294 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16295 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16296 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16297 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16298 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16299 * elf/dl-writev.h (_dl_writev): Likewise.
16300 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16301 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16302 (dl_main): Likewise.
a1ffb40e
OB
16303 * elf/setup-vdso.h (setup_vdso): Likewise.
16304 * grp/compat-initgroups.c (compat_call): Likewise.
16305 * grp/fgetgrent.c (fgetgrent): Likewise.
16306 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16307 * grp/putgrent.c (putgrent): Likewise.
16308 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16309 Likewise.
16310 * hurd/hurdinit.c: Likewise.
16311 * iconvdata/8bit-gap.c (struct): Likewise.
16312 * iconvdata/ansi_x3.110.c : Likewise.
16313 * iconvdata/big5.c : Likewise.
16314 * iconvdata/big5hkscs.c : Likewise.
16315 * iconvdata/cp1255.c: Likewise.
16316 * iconvdata/cp1258.c : Likewise.
16317 * iconvdata/cp932.c : Likewise.
16318 * iconvdata/euc-cn.c: Likewise.
16319 * iconvdata/euc-jisx0213.c : Likewise.
16320 * iconvdata/euc-jp.c: Likewise.
16321 * iconvdata/euc-jp-ms.c : Likewise.
16322 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16323 * iconvdata/gb18030.c : Likewise.
16324 * iconvdata/gbbig5.c (const): Likewise.
16325 * iconvdata/gbgbk.c: Likewise.
16326 * iconvdata/gbk.c : Likewise.
16327 * iconvdata/ibm1364.c : Likewise.
16328 * iconvdata/ibm930.c : Likewise.
16329 * iconvdata/ibm932.c: Likewise.
16330 * iconvdata/ibm933.c : Likewise.
16331 * iconvdata/ibm935.c : Likewise.
16332 * iconvdata/ibm937.c : Likewise.
16333 * iconvdata/ibm939.c : Likewise.
16334 * iconvdata/ibm943.c: Likewise.
16335 * iconvdata/iso_11548-1.c: Likewise.
16336 * iconvdata/iso-2022-cn.c : Likewise.
16337 * iconvdata/iso-2022-cn-ext.c : Likewise.
16338 * iconvdata/iso-2022-jp-3.c: Likewise.
16339 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16340 * iconvdata/iso-2022-kr.c : Likewise.
16341 * iconvdata/iso646.c (gconv_end): Likewise.
16342 * iconvdata/iso_6937-2.c : Likewise.
16343 * iconvdata/iso_6937.c : Likewise.
16344 * iconvdata/iso8859-1.c: Likewise.
16345 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16346 * iconvdata/shift_jisx0213.c : Likewise.
16347 * iconvdata/sjis.c : Likewise.
16348 * iconvdata/t.61.c : Likewise.
16349 * iconvdata/tcvn5712-1.c : Likewise.
16350 * iconvdata/tscii.c: Likewise.
16351 * iconvdata/uhc.c : Likewise.
16352 * iconvdata/unicode.c (gconv_end): Likewise.
16353 * iconvdata/utf-16.c (gconv_end): Likewise.
16354 * iconvdata/utf-32.c (gconv_end): Likewise.
16355 * iconvdata/utf-7.c (base64): Likewise.
16356 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16357 * iconv/gconv_close.c (__gconv_close): Likewise.
16358 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16359 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16360 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16361 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16362 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16363 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
16364 * iconv/iconv.c (iconv): Likewise.
16365 * iconv/iconv_close.c: Likewise.
16366 * iconv/loop.c (SINGLE): Likewise.
16367 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16368 * include/atomic.h: Likewise.
16369 * inet/inet6_option.c (option_alloc): Likewise.
16370 * intl/bindtextdom.c (set_binding_values): Likewise.
16371 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16372 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16373 * intl/localealias.c (read_alias_file): Likewise.
16374 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
16375 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16376 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
16377 * libio/fmemopen.c (fmemopen): Likewise.
16378 * libio/iofgets.c (_IO_fgets): Likewise.
16379 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16380 * libio/iofgetws.c (fgetws): Likewise.
16381 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16382 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
16383 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16384 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
16385 * locale/findlocale.c (_nl_find_locale): Likewise.
16386 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16387 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16388 Likewise.
16389 * locale/setlocale.c (setlocale): Likewise.
16390 * login/programs/pt_chown.c (main): Likewise.
16391 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16392 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
16393 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16394 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
16395 * math/e_exp2l.c: Likewise.
16396 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16397 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16398 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16399 * math/s_catan.c (__catan): Likewise.
16400 * math/s_catanf.c (__catanf): Likewise.
16401 * math/s_catanh.c (__catanh): Likewise.
16402 * math/s_catanhf.c (__catanhf): Likewise.
16403 * math/s_catanhl.c (__catanhl): Likewise.
16404 * math/s_catanl.c (__catanl): Likewise.
16405 * math/s_ccosh.c (__ccosh): Likewise.
16406 * math/s_ccoshf.c (__ccoshf): Likewise.
16407 * math/s_ccoshl.c (__ccoshl): Likewise.
16408 * math/s_cexp.c (__cexp): Likewise.
16409 * math/s_cexpf.c (__cexpf): Likewise.
16410 * math/s_cexpl.c (__cexpl): Likewise.
16411 * math/s_clog10.c (__clog10): Likewise.
16412 * math/s_clog10f.c (__clog10f): Likewise.
16413 * math/s_clog10l.c (__clog10l): Likewise.
16414 * math/s_clog.c (__clog): Likewise.
16415 * math/s_clogf.c (__clogf): Likewise.
16416 * math/s_clogl.c (__clogl): Likewise.
16417 * math/s_csin.c (__csin): Likewise.
16418 * math/s_csinf.c (__csinf): Likewise.
16419 * math/s_csinh.c (__csinh): Likewise.
16420 * math/s_csinhf.c (__csinhf): Likewise.
16421 * math/s_csinhl.c (__csinhl): Likewise.
16422 * math/s_csinl.c (__csinl): Likewise.
16423 * math/s_csqrt.c (__csqrt): Likewise.
16424 * math/s_csqrtf.c (__csqrtf): Likewise.
16425 * math/s_csqrtl.c (__csqrtl): Likewise.
16426 * math/s_ctan.c (__ctan): Likewise.
16427 * math/s_ctanf.c (__ctanf): Likewise.
16428 * math/s_ctanh.c (__ctanh): Likewise.
16429 * math/s_ctanhf.c (__ctanhf): Likewise.
16430 * math/s_ctanhl.c (__ctanhl): Likewise.
16431 * math/s_ctanl.c (__ctanl): Likewise.
16432 * math/w_pow.c: Likewise.
16433 * math/w_powf.c: Likewise.
16434 * math/w_powl.c: Likewise.
16435 * math/w_scalb.c (sysv_scalb): Likewise.
16436 * math/w_scalbf.c (sysv_scalbf): Likewise.
16437 * math/w_scalbl.c (sysv_scalbl): Likewise.
16438 * misc/error.c (error_tail): Likewise.
16439 * misc/pselect.c (__pselect): Likewise.
16440 * nis/nis_callback.c (__nis_create_callback): Likewise.
16441 * nis/nis_call.c (__nisfind_server): Likewise.
16442 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16443 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16444 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16445 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16446 * nis/nis_lookup.c (nis_lookup): Likewise.
16447 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
16448 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16449 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 16450 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
16451 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16452 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16453 * nis/nss_compat/compat-initgroups.c (add_group)
16454 (internal_getgrent_r): Likewise.
16455 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16456 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16457 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16458 (internal_getspnam_r): Likewise.
16459 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16460 (_nss_nis_getaliasbyname_r): Likewise.
16461 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16462 (_nss_nis_getntohost_r): Likewise.
16463 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16464 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16465 (_nss_nis_getgrgid_r): Likewise.
16466 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16467 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16468 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16469 (_nss_nis_gethostbyname4_r): Likewise.
16470 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16471 (initgroups_netid): Likewise.
a1ffb40e 16472 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
16473 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16474 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16475 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16476 (_nss_nis_getprotobynumber_r): Likewise.
16477 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16478 (_nss_nis_getsecretkey): Likewise.
16479 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16480 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16481 (_nss_nis_getpwuid_r): Likewise.
16482 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16483 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16484 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16485 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16486 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16487 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
16488 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16489 Likewise.
57f41c40
AS
16490 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16491 (_nss_nisplus_getntohost_r): Likewise.
16492 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16493 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16494 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16495 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 16496 Likewise.
57f41c40
AS
16497 * nis/nss_nisplus/nisplus-initgroups.c
16498 (_nss_nisplus_initgroups_dyn): Likewise.
16499 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16500 (_nss_nisplus_getnetbyaddr_r): Likewise.
16501 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16502 (_nss_nisplus_getprotobynumber_r): Likewise.
16503 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16504 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
16505 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16506 Likewise.
57f41c40
AS
16507 * nis/nss_nisplus/nisplus-service.c
16508 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16509 (_nss_nisplus_getservbyport_r): Likewise.
16510 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16511 (_nss_nisplus_getspnam_r): Likewise.
16512 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16513 Likewise.
a1ffb40e
OB
16514 * nscd/aicache.c (addhstaiX): Likewise.
16515 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
16516 * nscd/connections.c (register_traced_file, send_ro_fd)
16517 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16518 (main_loop_epoll): Likewise.
a1ffb40e
OB
16519 * nscd/grpcache.c (addgrbyX): Likewise.
16520 * nscd/hstcache.c (addhstbyX): Likewise.
16521 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16522 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
16523 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16524 (addinnetgrX): Likewise.
16525 * nscd/nscd-client.h (__nscd_acquire_maplock)
16526 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
16527 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16528 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16529 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16530 Likewise.
16531 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16532 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
16533 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16534 (__nscd_get_map_ref): Likewise.
a1ffb40e 16535 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
16536 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16537 Likewise.
a1ffb40e
OB
16538 * nscd/pwdcache.c (addpwbyX): Likewise.
16539 * nscd/selinux.c (preserve_capabilities): Likewise.
16540 * nscd/servicescache.c (addservbyX): Likewise.
16541 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16542 * posix/fnmatch.c (fnmatch): Likewise.
16543 * posix/getopt.c (_getopt_internal_r): Likewise.
16544 * posix/glob.c (glob, glob_in_dir): Likewise.
16545 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
16546 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16547 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
16548 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16549 * resolv/res_init.c: Likewise.
16550 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16551 * resolv/res_query.c (__libc_res_nquery): Likewise.
16552 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16553 Likewise.
16554 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16555 * stdio-common/perror.c (perror): Likewise.
16556 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16557 * stdio-common/tmpnam.c (tmpnam): Likewise.
16558 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16559 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
16560 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16561 Likewise.
a1ffb40e
OB
16562 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16563 * stdlib/putenv.c (putenv): Likewise.
16564 * stdlib/setenv.c (__add_to_environ): Likewise.
16565 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16566 * stdlib/strtol_l.c (INTERNAL): Likewise.
16567 * string/memmem.c (memmem): Likewise.
16568 * string/strerror.c (strerror): Likewise.
16569 * string/strnlen.c (__strnlen): Likewise.
16570 * string/test-memmem.c (simple_memmem): Likewise.
16571 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16572 * sunrpc/pm_getport.c (__get_socket): Likewise.
16573 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16574 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
16575 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16576 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
16577 Likewise.
16578 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16579 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16580 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16581 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16582 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
16583 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16584 Likewise.
16585 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16586 Likewise.
a1ffb40e
OB
16587 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16588 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16589 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16590 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16591 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16593 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16594 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16595 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16596 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16597 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16598 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16599 Likewise.
16600 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16601 Likewise.
16602 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16603 Likewise.
16604 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16606 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16607 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16608 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16609 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16610 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16611 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16612 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16613 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16614 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16616 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16617 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
16619 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16620 Likewise.
a1ffb40e
OB
16621 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16622 Likewise.
16623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16624 Likewise.
16625 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16626 Likewise.
16627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16629 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16630 Likewise.
16631 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16632 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16633 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16634 * sysdeps/posix/sleep.c: Likewise.
16635 * sysdeps/posix/tempname.c: Likewise.
16636 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16637 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16638 Likewise.
57f41c40
AS
16639 * sysdeps/powerpc/powerpc32/dl-machine.h
16640 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
16641 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16642 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16643 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16644 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16645 Likewise.
16646 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16647 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16648 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16649 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16650 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16651 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16652 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16653 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16654 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16655 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16656 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16657 (elf_machine_lazy_rel): Likewise.
a1ffb40e 16658 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16659 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16660 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16661 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16662 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16663 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16664 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16665 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16666 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16667 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16669 Likewise.
16670 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16671 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16672 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16673 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16674 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16675 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16676 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16677 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16678 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16679 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16680 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16681 Likewise.
16682 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16683 (__posix_fallocate64_l64): Likewise.
16684 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16685 (posix_fallocate): Likewise.
57f41c40
AS
16686 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16687 Likewise.
a1ffb40e 16688 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
16689 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16690 (getifaddrs_internal): Likewise.
a1ffb40e
OB
16691 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16692 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16693 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16694 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16695 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16696 (__posix_fallocate64_l64): Likewise.
16697 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16698 Likewise.
16699 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
16700 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16701 (__get_clockfreq): Likewise.
a1ffb40e
OB
16702 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16703 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16704 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16707 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16708 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16709 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16710 Likewise.
16711 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16712 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16713 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16714 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16715 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16716 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16717 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16718 Likewise.
16719 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16720 (posix_fallocate): Likewise.
16721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16722 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16723 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16724 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16725 (elf_machine_rela, elf_machine_rela_relative)
16726 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16727 * time/asctime.c (asctime_internal): Likewise.
16728 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16729 * time/tzset.c (__tzset_parse_tz): Likewise.
16730 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16731 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16732 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16733 * wcsmbs/wcsmbsload.h: Likewise.
16734
f3d338c9
OB
16735 [BZ #15894]
16736 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16737
57f41c40
AS
16738 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16739 (arena_get2): Remove THREAD_STATS conditionals.
16740 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16741 (__malloc_stats, int): Likewise.
bdfe308a 16742
d674667c
MF
167432014-02-08 Mike Frysinger <vapier@gentoo.org>
16744
16745 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16746 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16747
6349768c
MF
16748 * manual/setjmp.texi: Fix typos/grammar errors.
16749
0b7c7473
MF
16750 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16751 Only return early when n is <= 0. Delete unused return statement.
16752
ac8cc9e3
MF
16753 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16754 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16755 * debug/tst-longjmp_chk3.c: New file.
16756
c5bb8e23
MF
16757 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16758 (test_main): Replace code with set_fortify_handler call.
16759 * debug/test-strcpy_chk.c: Likewise.
16760 * debug/tst-chk1.c: Likewise.
16761 * debug/tst-longjmp_chk.c: Likewise.
16762 * test-skeleton.c: Include fcntl.h & paths.h
16763 (set_fortify_handler): Define.
16764
10444e42
MF
16765 * debug/tst-longjmp_chk.c: Add header comment and include
16766 ../test-skeleton.c.
16767 (do_test): Mark static.
16768 (TEST_FUNCTION): Define.
16769
1e805e8d
MF
16770 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16771 (IP_PMTUDISC_INTERFACE): Likewise.
16772 (IP_MULTICAST_IF): Likewise.
16773 (IP_MULTICAST_TTL): Likewise.
16774 (IP_MULTICAST_LOOP): Likewise.
16775 (IP_ADD_MEMBERSHIP): Likewise.
16776 (IP_DROP_MEMBERSHIP): Likewise.
16777 (IP_UNBLOCK_SOURCE): Likewise.
16778 (IP_BLOCK_SOURCE): Likewise.
16779 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16780 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16781 (IP_MSFILTER): Likewise.
16782 (MCAST_JOIN_GROUP): Likewise.
16783 (MCAST_BLOCK_SOURCE): Likewise.
16784 (MCAST_UNBLOCK_SOURCE): Likewise.
16785 (MCAST_LEAVE_GROUP): Likewise.
16786 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16787 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16788 (MCAST_MSFILTER): Likewise.
16789 (IP_MULTICAST_ALL): Likewise.
16790 (IP_UNICAST_IF): Likewise.
16791
73f79bb7
MF
16792 * timezone/Makefile: Delete $(have-ksh) check.
16793 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16794 * timezone/tzselect.ksh: Add +x mode bits.
16795
8da79b60
MF
16796 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16797 (ANON_INODE_FS_MAGIC): Likewise.
16798 (BDEVFS_MAGIC): Likewise.
16799 (BINFMTFS_MAGIC): Likewise.
16800 (BTRFS_TEST_MAGIC): Likewise.
16801 (CRAMFS_MAGIC_WEND): Likewise.
16802 (DEBUGFS_MAGIC): Likewise.
16803 (ECRYPTFS_SUPER_MAGIC): Likewise.
16804 (EXT3_SUPER_MAGIC): Likewise.
16805 (EXT4_SUPER_MAGIC): Likewise.
16806 (FUTEXFS_SUPER_MAGIC): Likewise.
16807 (HOSTFS_SUPER_MAGIC): Likewise.
16808 (HUGETLBFS_MAGIC): Likewise.
16809 (MINIX3_SUPER_MAGIC): Likewise.
16810 (MTD_INODE_FS_MAGIC): Likewise.
16811 (NILFS_SUPER_MAGIC): Likewise.
16812 (OPENPROM_SUPER_MAGIC): Likewise.
16813 (PIPEFS_MAGIC): Likewise.
16814 (PSTOREFS_MAGIC): Likewise.
16815 (QNX6_SUPER_MAGIC): Likewise.
16816 (RAMFS_MAGIC): Likewise.
16817 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16818 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16819 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16820 (SECURITYFS_MAGIC): Likewise.
16821 (SELINUX_MAGIC): Likewise.
16822 (SMACK_MAGIC): Likewise.
16823 (SOCKFS_MAGIC): Likewise.
16824 (SQUASHFS_MAGIC): Likewise.
16825 (STACK_END_MAGIC): Likewise.
16826 (TMPFS_MAGIC): Likewise.
16827 (USBDEVICE_SUPER_MAGIC): Likewise.
16828 (V9FS_MAGIC): Likewise.
16829 (XENFS_SUPER_MAGIC): Likewise.
16830 (CRAMFS_MAGIC): Fix typo in comment.
16831 (EXT2_SUPER_MAGIC): Update comment.
16832 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16833
464263cc
JM
168342014-02-08 Joseph Myers <joseph@codesourcery.com>
16835
c6bfe5c4
JM
16836 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16837 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16838 * sysdeps/unix/sysv/linux/arm: Move directory from
16839 ports/sysdeps/unix/sysv/linux/arm.
16840 * README: Update listing for arm-*-linux-gnueabi.
16841
464263cc
JM
16842 * README: Remove mention of am33.
16843
32749f6c
RM
168442014-02-07 Roland McGrath <roland@hack.frob.com>
16845
16846 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16847 than the comma operator, to avoid "rhs of comma has no effect"
16848 compiler warnings.
16849 (__sigfillset, __sigandset, __sigorset): Likewise.
16850 * include/signal.h (__sigemptyset): Likewise.
16851 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16852
d5b396c1
AM
168532014-02-07 Allan McRae <allan@archlinux.org>
16854
16855 * version.h (RELEASE): Set to "development".
16856 (VERSION): Set to "2.19.90"
16857 * NEWS: Add 2.20 section.
16858
3bfff2ed
CD
168592014-02-06 Carlos O'Donell <carlos@redhat.com>
16860
16861 [BZ #16529]
16862 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16863
ee7cc385
SP
168642014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16865
16866 * manual/contrib.texi: Update entry for Carlos O'Donell,
16867 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16868
f877c4f2
CD
168692014-02-05 Carlos O'Donell <carlos@rehdat.com>
16870
27e839f6
CD
16871 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16872
f877c4f2
CD
16873 * sysdeps/unix/sysv/linux/kernel-features.h
16874 [__LINUX_KERNEL_VERSION >= 0x020621]
16875 (__ASSUME_PROC_PID_TASK_COMM): Define.
16876
68159946
SP
168772014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16878
ba17cdbd
SP
16879 [BZ #16398]
16880 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16881 conversion when destination buffer does not have enough space.
16882 * libio/tst-ftell-partial-wide.c: New test case.
16883 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16884
68159946
SP
16885 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16886 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16887 Leonard and Allan McRae.
16888
2b528732
DM
168892014-02-04 David S. Miller <davem@davemloft.net>
16890
16891 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16892 32-bit.
16893
0ff82463
AZ
168942014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16895
57f41c40
AS
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16897 New file
c01603f7
AZ
16898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16899 New file
57f41c40
AS
16900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16901 New file.
16902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16903 New file.
c01603f7
AZ
16904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16905 New file.
57f41c40
AS
16906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16907 New file.
16908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16909 New file.
c01603f7
AZ
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16911 New file.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16913 New file.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16915 New file.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16917 New file.
16918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16919 New file.
16920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16921 New file.
16922
169232014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16924
0ff82463
AZ
16925 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16926 * shlib-versions: Likewise.
16927
1695c773
AZ
169282014-02-04 Roland McGrath <roland@hack.frob.com>
16929 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16930
16931 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16932 (abilist-pattern): New variable, set to %-le.abilist.
16933
16934 * Makerules (abilist-pattern): New variable.
16935 (vpath): Use $(abilist-pattern) in place of %.abilist.
16936 (check-abi-% pattern rule): Likewise.
16937 (check-abi, update-abi): Likewise.
16938
6c0ce4b4
EW
169392014-02-04 Eric Wong <normalperson@yhbt.net>
16940
16941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16942
481e3524
CD
169432014-02-03 Carlos O'Donell <carlos@redhat.com>
16944
16945 * manual/startup.texi: Add next, previous, and top entries for
16946 the `Program Arguments' and `Environment Variables' nodes.
16947
375592d3
AO
169482014-02-03 Alexandre Oliva <aoliva@redhat.com>
16949
16950 * manual/macros.texi: Add comments before MTASC-safety macros.
16951
f54838ba
AO
16952 * manual/users.texi: Document MTASC-safety properties.
16953
57f41c40
AS
16954 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16955 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
16956 @deftypefun, and add @safety note.
16957 * manual/signal.texi: Move comments that analyze the above
16958 functions to their home place.
16959
fd3daba4
AM
169602014-02-03 Allan McRae <allan@archlinux.org>
16961
16962 * po/sl.po: Update Slovenian translation from translation project.
16963
597636d7
AO
169642014-02-02 Alexandre Oliva <aoliva@redhat.com>
16965
16966 * manual/time.texi (timegm): Add missing blank after @c.
16967 Reported by Joseph Myers <joseph@codesourcery.com>.
16968
ee196e3c
AO
169692014-02-01 Alexandre Oliva <aoliva@redhat.com>
16970
16971 * manual/check-safety.sh: New.
16972 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16973
f8d529d5
AO
16974 * manual/terminal.texi: Document MTASC-safety properties.
16975
de55fdf4
AO
16976 * manual/filesys.texi: Document MTASC-safety properties.
16977
c3299c08
AO
16978 * manual/errno.texi: Document MTASC-safety properties.
16979
06e90b14
AO
16980 * manual/intro.texi: Document safety identifiers and
16981 conditionals.
16982
1acd4371
AO
16983 * manual/string.texi (wcstok): Fix prototype.
16984 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16985
23e5b8cb
AO
16986 * manual/time.texi: Document MTASC-safety properties.
16987
11087373
AO
16988 * manual/string.texi: Document MTASC-safety properties.
16989
5da2c93d
AO
16990 * manual/threads.texi: Document MTASC-safety properties.
16991
171e9210
AO
16992 * manual/stdio.texi: Document MTASC-safety properties.
16993
d9e02532
AO
16994 * manual/syslog.texi: Document MTASC-safety properties.
16995
6af8bab7
AO
16996 * manual/sysinfo.texi: Document MTASC-safety properties.
16997
663b02d7
AO
16998 * manual/startup.texi: Document MTASC-safety properties.
16999
973f180b
AO
17000 * manual/socket.texi: Document MTASC-safety properties.
17001
8f3c25c8
AO
17002 * manual/signal.texi: Document MTASC-safety properties.
17003
542210fb
AO
170042014-01-31 Alexandre Oliva <aoliva@redhat.com>
17005
17006 * manual/setjmp.texi: Document MTASC-safety properties.
17007
433c45a2
AO
17008 * manual/search.texi: Document MTASC-safety properties.
17009
c8ce789c
AO
17010 * manual/resource.texi: Document MTASC-safety properties.
17011
19f5d29c
AO
17012 * manual/process.texi: Document MTASC-safety properties.
17013
e2dfb7f4
AO
17014 * manual/platform.texi: Document MTASC-safety properties.
17015
8c1413f5
AO
17016 * manual/pipe.texi: Document MTASC-safety properties.
17017
03483ada
AO
17018 * manual/pattern.texi: Document MTASC-safety properties.
17019
29e7e2df
AO
17020 * manual/message.texi: Document MTASC-safety properties.
17021
9f529d7c
AO
17022 [BZ #12751]
17023 * manual/memory.texi: Document MTASC-safety properties.
17024
27aaa791
AO
17025 * manual/math.texi: Document MTASC-safety properties.
17026
f2d58726
AO
17027 * manual/locale.texi: Document MTASC-safety properties.
17028
2cc3615c
AO
17029 * manual/llio.texi: Document MTASC-safety properties.
17030
d9f0ec97
AO
17031 * manual/libdl.texi: New.
17032
e7c4409a
AO
17033 * manual/lang.texi: Document MTASC-safety properties.
17034
27bdc63c
AO
17035 * manual/job.texi: Document MTASC-safety properties.
17036
a7b90ea9
AO
17037 * manual/getopt.texi: Document MTASC-safety properties.
17038
c49130e3
AO
17039 * manual/ctype.texi: Document MTASC-safety properties.
17040
0d23a5c1
MR
170412014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17042
17043 [BZ #16046]
17044 * csu/libc-tls.c (static_map): Remove variable.
17045 (__libc_setup_tls): Use main executable's link map for TLS data.
17046 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17047 casing for LM_ID_BASE and GL(dl_nns).
17048 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17049 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17050 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17051 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17052 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17053 member.
17054 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17055 l_phnum members.
17056
0037bb60
AO
170572014-01-30 Alexandre Oliva <aoliva@redhat.com>
17058
17059 * manual/debug.texi: Document MTASC-safety properties.
17060
409e00bd
L
170612014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17062
17063 [BZ #16510]
17064 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17065 of __x86_64__ when disabling x87 inline functions.
17066
86e60666
AO
170672014-01-29 Alexandre Oliva <aoliva@redhat.com>
17068
17069 * manual/charset.texi: Document MTASC-safety properties.
17070
76167637
AO
17071 * manual/crypt.texi: Document MTASC-safety properties.
17072
e567f2a0
AO
17073 * manual/conf.texi: Document MTASC-safety properties.
17074
b719dafd
AO
17075 * manual/arith.texi: Document MTASC-safety properties.
17076
4a16c662
AO
17077 * manual/argp.texi: Document MTASC-safety properties.
17078
0a57b83e
AO
17079 * manual/macros.texi: Introduce macros to document multi
17080 thread, asynchronous signal and asynchronous cancellation
17081 safety properties.
17082 * manual/intro.texi: Introduce the properties themselves.
17083
feab2397
KK
170842014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17085
17086 * sysdeps/sh/sh4/Makefile: New file.
17087
1c0d11bc
AS
170882014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17089
17090 * math/gen-libm-test.pl ($srcdir): New variable.
17091 ($auto_input): Use it.
17092
af37a8a3
SP
170932014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17094
d7b00f98
SP
17095 [BZ #16506]
17096 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17097 access beyond array bounds when parsing netgroups file.
17098
af37a8a3
SP
17099 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17100 the old buffer before realloc.
17101
0c00f062
AM
171022014-01-27 Allan McRae <allan@archlinux.org>
17103
17104 * po/fr.po: Update French translation from translation project.
17105
7d69a1b0
KK
171062014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17107
17108 * sysdeps/sh/libm-test-ulps: Regenerate.
17109
6e697ff7
DM
171102014-01-24 David S. Miller <davem@davemloft.net>
17111
17112 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17113
9cadb35c
KK
171142014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17115
17116 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17117 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17118
5d41dadf
SP
171192013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17120
17121 [BZ #16474]
17122 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17123 string pointers after reallocation.
17124
0bad441c
KK
171252014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17126
17127 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17128 __SH4A__ instead of __SH_FPU_ANY__.
17129
7007c661
KK
171302014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17131
17132 * sysdeps/sh/fpu_control.h: New file.
17133 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17134 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17135 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17136 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17137 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17138 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17139 * sysdeps/sh/sys/ucontext.h: Remove.
17140 * sysdeps/sh/sys: Remove directory.
17141
0f0c35e4
AK
171422014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17143
17144 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17145 s390/sys/ucontext.h.
17146 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17147 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17148
4959e284
L
171492014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17150
17151 [BZ #15605]
17152 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17153
d98720e0
AZ
171542014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17155
17156 [BZ#16431]
17157 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17158 Adjust the vDSO correctly for internal calls.
17159 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17160
91cbd0bc
AM
171612014-01-20 Allan McRae <allan@archlinux.org>
17162
17163 * po/ca.po: Update Catalan translation from translation project.
17164
7a02cfad
MF
171652014-01-16 Mike Frysinger <vapier@gentoo.org>
17166
17167 * sysdeps/s390/sotruss-lib.c: New file.
17168
736c304a
AZ
171692014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17170
17171 [BZ#16430]
6e077ee5 17172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17173 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17174 local calls issues by not having a PLT stub required for IFUNC calls.
17175 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17176
94d0cea0
JM
171772014-01-16 Joseph Myers <joseph@codesourcery.com>
17178
17179 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17180 * math/test-fpucw-static.c: Likewise.
17181
980cb518
SP
171822013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17183
17184 [BZ #16453]
17185 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17186
2393fc01
AZ
171872014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17188
17189 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17190 implementation for powerpc.
17191
d359bcc2
OB
171922014-01-15 Ondřej Bílka <neleai@seznam.cz>
17193
17194 [BZ #14782]
17195 * sysdeps/posix/system.c (__libc_system): Do not enable
17196 asynchronous cancellation.
17197
7beb48cb
AK
171982014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17199
17200 [BZ #16427]
17201 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17202 handling only for numbers special also in the IEEE case.
17203
c20d5bf5
AK
172042014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17205
17206 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17207
e83bd4ee
AM
172082014-01-11 Allan McRae <allan@archlinux.org>
17209
76d0ea69
AM
17210 * po/bg.po: Update Bulgarian translation from translation project.
17211
e83bd4ee
AM
17212 * po/de.po: Update German translation from translation project.
17213
bc2ba20a
RM
172142014-01-10 Roland McGrath <roland@hack.frob.com>
17215
17216 * sysdeps/generic/gcc-compat.h: New file.
17217
649ecea2
SP
172182014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17219
17220 * benchtests/asin-inputs: Correct slow inputs.
17221 * benchtests/acos-inputs: Likewise.
17222
1b19c006
AM
172232014-01-10 Allan McRae <allan@archlinux.org>
17224
a46dab08
AM
17225 * po:sv.po: Update Swedish translation from translation project.
17226
421df74a
AM
17227 * po/vi.po: Update Vietnamese translation from translation project.
17228
d61c51a7
AM
17229 * po/eo.po: Update Esperanto translation from translation project.
17230
0339a319
AM
17231 * po/cs.po: Update Czech translation from translation project.
17232
94ad3e99
AM
17233 * po/nl.po: Update Dutch translation from translation project.
17234
e349ca71
AM
17235 * po/pl.po: Update Polish translation from translation project.
17236
ddf930c1
AM
17237 * po/ru.po: Update Russian translation from translation project.
17238
1b19c006
AM
17239 * po/uk.po: Update Ukrainian translation from translation project.
17240
9f236c49
BM
172412014-01-08 Brooks Moses <bmoses@google.com>
17242
17243 * elf/dl-load.c: Fix comment typo.
17244
cd6701cf
CD
172452014-01-08 Carlos O'Donell <carlos@redhat.com>
17246
17247 * po/header.pot: Rename to...
17248 * po/pot.header: ... this.
17249 * po/Makefile: Use pot.header.
17250
66671c84
YK
172512014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17252 Maxim Kuvyrkov <maxim@kugelworks.com>
17253
17254 [BZ #16394]
cd6701cf
CD
17255 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17256 SRC and DEST against LEN.
66671c84 17257
38f34581
AZ
172582014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17259
17260 [BZ #16414]
17261 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17262 implementation.
17263 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17264
172652014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17266
17267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17268
4c327f2a
JM
172692014-01-08 Joseph Myers <joseph@codesourcery.com>
17270
17271 [BZ #16408]
17272 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17273 for large positive arguments.
17274
b821f414
JM
172752014-01-07 Joseph Myers <joseph@codesourcery.com>
17276
1f0f2067
JM
17277 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17278
a5a326f6
JM
17279 * math/auto-libm-test-in: Mark various tests with
17280 xfail-rounding:ldbl-128ibm.
17281 * math/auto-libm-test-out: Regenerated.
17282
b821f414
JM
17283 [BZ #16407]
17284 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17285 Increase overflow threshold.
17286
94c8a4bc
OB
172872014-01-07 Ondřej Bílka <neleai@seznam.cz>
17288
17289 [BZ #14286]
17290 * stdio-common/vfprintf.c: Check for integer overflow.
17291
87ded0c3
AK
172922014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17293
17294 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17295 the first argument and return value of __tls_get_addr_internal.
17296
c5eebdd0
AK
172972014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17298
17299 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17300 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17301
05d138ef
AK
173022014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17303
17304 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17305 * sysdeps/s390/rtld-global-offsets.sym: New file.
17306 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17307 GLIBC_2.19 symbol.
17308 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17309 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17310 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17311 ... this.
17312 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17313 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17314 ... this.
17315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17316 Regenerate.
17317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17318 Regenerate.
17319 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17320 halfs of GPRs for high_gprs contexts.
17321 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17322 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17323 field.
17324 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17325 uc_flags field.
17326 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17327 64 bit versions:
17328 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17329 for high GPRs (uc_high_gprs) and for future extensions
17330 (__reserved).
17331 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17332 for future extensions (__reserved).
17333 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17334 64 bit versions:
17335 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17336 SC_HIGHGPRS offset definition.
17337 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17338 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17339
93a45ff1
AK
17340 * Versions.def: Add GLIBC_2.19 for libpthread.
17341 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17342 siglongjmp for libpthread with GLIBC_2.19 symver.
17343 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17344 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17345 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17346 * sysdeps/s390/__longjmp.c: New file.
17347 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17348 * sysdeps/s390/longjmp.c: New file.
17349 * sysdeps/s390/setjmp.S: New file.
17350 * sysdeps/s390/sigjmp.S: New file.
17351 * sysdeps/s390/v1-longjmp.c: New file.
17352 * sysdeps/s390/v1-setjmp.h: New file.
17353 * sysdeps/s390/v1-sigjmp.c: New file.
17354 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17355 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17356 GLIBC_2.19 version.
17357 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17358 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17359 versioned symbols for ____longjmp_chk.
17360 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17361 Likewise.
17362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17363 Regenerate.
17364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17365 Regenerate.
17366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17367 Regenerate.
17368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17369 Regenerate.
17370 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17371 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17372 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17373 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17374 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17375 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17376 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17377 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17378 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17379 * sysdeps/s390/rtld-__longjmp.c: New file.
17380 * sysdeps/s390/rtld-setjmp.S: New file.
17381
eb3fc44b
JM
173822014-01-06 Joseph Myers <joseph@codesourcery.com>
17383
17384 [BZ #16400]
17385 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17386 Return -__logl (x) for small positive arguments without evaluating
17387 a polynomial.
17388
9341dde4
MF
173892014-01-06 Mike Frysinger <vapier@gentoo.org>
17390
17391 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17392 Rename to ...
17393 (__ptrace_peeksiginfo_args): ... this.
17394 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17395 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17396 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17397
4cff0293
AM
173982014-01-06 Allan McRae <allan@archlinux.org>
17399
17400 * inet/netinet/in.h: Fix typo in comment.
17401
75595dcf
AJ
174022014-01-05 Andreas Jaeger <aj@suse.de>
17403
17404 * sysdeps/i386/fpu/libm-test-ulps: Update.
17405
79c1e109
AM
174062014-01-05 Allan McRae <allan@archlinux.org>
17407
dd804818
AM
17408 * po/libc.pot: Regenerated.
17409
79c1e109
AM
17410 * malloc/memusagestat.c: Fix gettext call formatting.
17411
0c813d1f
SK
174122014-01-04 Sami Kerola <kerolasa@iki.fi>
17413
17414 * nscd/nscd.c: Improve usage() output.
17415
20f4a8d9
MF
174162014-01-04 Mike Frysinger <vapier@gentoo.org>
17417
17418 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17419 * sysdeps/unix/sysv/linux/configure: Regenerated.
17420 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17421 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17422
22562bb2
JM
174232014-01-03 Joseph Myers <joseph@codesourcery.com>
17424
17425 [BZ #16390]
17426 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17427 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17428
d7ad2d9b
AZ
174292014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17430
17431 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17432 extra tokens at end of #undef directive.
17433 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17434 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17435 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17436
7dd009d8
JM
174372014-01-03 Joseph Myers <joseph@codesourcery.com>
17438
24db925a
JM
17439 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17440
7dd009d8
JM
17441 * math/auto-libm-test-in: Mark various tests with
17442 xfail-rounding:ldbl-128ibm.
17443 * math/auto-libm-test-out: Regenerated.
17444
396e3ecf
JM
174452014-01-02 Joseph Myers <joseph@codesourcery.com>
17446
819e5d50
JM
17447 [BZ #16386]
17448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17449 numbers with subnormal high part when calculating exponent.
17450
90b6a1e5
JM
17451 [BZ #16385]
17452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17453 fabs.
17454
396e3ecf
JM
17455 [BZ #16384]
17456 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17457 M_LN2l.
17458 (__ieee754_acoshl): Use __log1pl not __log1p.
17459
6c8dbf00
OB
174602013-01-02 Ondřej Bílka <neleai@seznam.cz>
17461
57f41c40
AS
17462 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17463 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17464 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17465 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17466 (reused_arena, arena_get2): Convert to GNU style.
17467 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17468 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17469 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 17470 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
17471 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17472 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17473 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17474 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17475 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17476 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 17477 * malloc/malloc.h: Likewise.
57f41c40
AS
17478 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17479 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 17480 * malloc/mcheck.h: Likewise.
57f41c40
AS
17481 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17482 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
17483 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17484 * malloc/morecore.c (__default_morecore): Likewise.
17485 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
17486 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17487 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17488 (print_and_abort): Likewise.
6c8dbf00
OB
17489 * malloc/obstack.h: Likewise.
17490 * malloc/set-freeres.c (__libc_freeres): Likewise.
17491 * malloc/tst-mallocstate.c (main): Likewise.
17492 * malloc/tst-mtrace.c (main): Likewise.
17493 * malloc/tst-realloc.c (do_test): Likewise.
17494
d4124212
SP
174952013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17496
9a3c6a6f
SP
17497 [BZ #16366]
17498 * nscd/netgroupcache.c (do_notfound): New function.
17499 (addgetnetgrentX): Use it.
17500
d4124212
SP
17501 [BZ # 16365]
17502 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17503 NSS_STATUS_NOTFOUND.
17504
97b9a009
JM
175052014-01-01 Joseph Myers <joseph@codesourcery.com>
17506
17507 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17509
d4697bc9
AM
175102014-01-01 Allan McRae <allan@archlinux.org>
17511
ddb3687f
AM
17512 * scripts/update-copyrights: Update configure input file suffix.
17513
88726d48
AM
17514 * NEWS: Update copyright year.
17515 * catgets/gencat.c: Likewise.
17516 * csu/version.c: Likewise.
17517 * debug/catchsegv.sh: Likewise.
17518 * debug/pcprofiledump.c: Likewise.
17519 * debug/xtrace.sh: Likewise.
17520 * elf/ldconfig.c: Likewise.
17521 * elf/ldd.bash.in: Likewise.
17522 * elf/pldd.c: Likewise.
17523 * elf/sotruss.ksh: Likewise.
17524 * elf/sprof.c: Likewise.
17525 * iconv/iconv_prog.c: Likewise.
17526 * iconv/iconvconfig.c: Likewise.
17527 * locale/programs/locale.c: Likewise.
17528 * locale/programs/localedef.c: Likewise.
17529 * login/programs/pt_chown.c: Likewise.
17530 * malloc/memusage.sh: Likewise.
17531 * malloc/memusagestat.c: Likewise.
17532 * malloc/mtrace.pl: Likewise.
17533 * manual/libc.texinfo: Likewise.
17534 * nscd/nscd.c: Likewise.
17535 * nss/getent.c: Likewise.
17536 * nss/makedb.c: Likewise.
17537 * posix/getconf.c: Likewise.
17538 * scripts/test-installation.pl: Likewise.
17539
d4697bc9
AM
17540 * All files with FSF copyright notices: Update copyright dates
17541 using scripts/update-copyrights.
17542 * intl/plural.c: Regenerated.
17543 * locale/programs/charmap-kw.h: Likewise.
17544 * locale/programs/locfile-kw.h: Likewise.
17545
c8590f9d
MF
175462013-12-31 Mike Frysinger <vapier@gentoo.org>
17547
17548 * sysdeps/unix/sysv/linux/configure: Regenerated.
17549 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17550 the linux/fanotify.h header.
17551 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17552 HAVE_LINUX_FANOTIFY_H is defined.
17553
b19221b9
SP
175542013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17555
dd1d85e5
SP
17556 * benchtests/cos-inputs: New inputs.
17557 * benchtests/sin-inputs: Likewise.
17558
1acbb90f
SP
17559 * benchtests/atan-inputs: New inputs. Fix name of multiple
17560 precision fallback inputs.
17561
4c012ed3
SP
17562 * benchtests/atanh-inputs: New inputs.
17563 * benchtests/tanh-inputs: Likewise.
17564
eff98324
SP
17565 * benchtests/acosh-inputs: New inputs.
17566 * benchtests/asinh-inputs: Likewise.
17567
ce641152
SP
17568 * benchtests/cosh-inputs: New inputs.
17569 * benchtests/sinh-inputs: Likewise.
17570
b19221b9
SP
17571 * benchtests/acos-inputs: Add more inputs.
17572 * benchtests/asin-inputs: Likewise.
17573
030a4976 175742013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 17575
030a4976 17576 [BZ #16375]
9dcc8f11
VS
17577 * manual/arith.texi: Fix spelling.
17578 * manual/charset.texi: Likewise.
17579 * manual/errno.texi: Likewise.
17580 * manual/filesys.texi: Likewise.
17581 * manual/lang.texi: Likewise.
17582 * manual/llio.texi: Likewise.
17583 * manual/locale.texi: Likewise.
17584 * manual/message.texi: Likewise.
17585 * manual/resource.texi: Likewise.
17586 * manual/search.texi: Likewise.
17587 * manual/setjmp.texi: Likewise.
17588 * manual/stdio.texi: Likewise.
17589 * manual/string.texi: Likewise.
17590 * manual/sysinfo.texi: Likewise.
17591 * manual/time.texi: Likewise.
17592
11520a57
CD
175932013-12-27 Carlos O'Donell <carlos@redhat.com>
17594
17595 * po/sl.po: New file.
17596
471103ae
MF
175972013-12-27 Mike Frysinger <vapier@gentoo.org>
17598
17599 * .gitignore: Add core/.gdbinit/.gdb_history.
17600
6c9642ed
AM
176012013-12-27 Allan McRae <allan@archlinux.org>
17602
17603 [BZ #16369]
17604 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17605 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17606
3f637079
BM
176072013-12-24 Brooks Moses <bmoses@google.com>
17608
17609 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17610 all compilers that claim C++98 compliance, not just GCC.
17611 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17612 Likewise.
17613
abc26e99
MK
176142013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17615
17616 * NEWS: Restore accidentally deleted bug-fix entries.
17617
362b47fe
MK
176182013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17619 Ondřej Bílka <neleai@seznam.cz>
17620
17621 [BZ #15073]
17622 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 17623 have_lock.
362b47fe 17624
b9bcbbcb
OB
176252013-12-23 Ondřej Bílka <neleai@seznam.cz>
17626
17627 [BZ #12986]
17628 * manual/stdio.texi (String Input Conversions): Clarify that character
17629 classes are not supported.
17630
fb55fcd2
AZ
176312013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17632
17633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17634
ef7344f0
JM
176352013-12-22 Joseph Myers <joseph@codesourcery.com>
17636
4f40e4b3
JM
17637 [BZ #16337]
17638 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17639 Calculate results for small negative arguments directly rather
17640 than using reflection formula with special underflow handling.
17641
ef7344f0
JM
17642 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17643 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17644 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17645 (fchflags): Likewise.
17646 (revoke): Likewise.
17647 (setlogin): Likewise.
17648 (sigaltstack): Likewise.
17649 (wait4): Likewise.
17650 (sigblock): Remove.
17651 (sigsetmask): Likewise.
17652 (wait3): Likewise.
17653 (waitpid): Likewise.
17654 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17655 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17656 file.
17657 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17658 * sysdeps/unix/bsd/Makefile: ... here.
17659 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17660 * sysdeps/unix/bsd/Versions: ... here.
17661 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17662 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17663 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17664 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17665 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17666 * sysdeps/unix/bsd/sigblock.c: ... here.
17667 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17668 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17669 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17670 * sysdeps/unix/bsd/sigvec.c: ... here.
17671 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17672 * sysdeps/unix/bsd/tcdrain.c: ... here.
17673 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17674 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17675 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17676 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17677 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17678 * sysdeps/unix/bsd/wait.c: ... here.
17679 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17680 * sysdeps/unix/bsd/wait3.c: ... here.
17681 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17682 * sysdeps/unix/bsd/waitpid.c: ... here.
17683
5b0626b9
JM
176842013-12-21 Joseph Myers <joseph@codesourcery.com>
17685
17686 [BZ #16356]
17687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17688 round-to-nearest for [!USE_AS_EXPM1L].
17689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17690 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17691 more tests of exp and exp10. Expect some exp10 tests to miss
17692 exceptions or fail in directed rounding modes.
17693 * math/auto-libm-test-out: Regenerated.
17694 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17695 (exp10_test_tonearest): New function.
17696 (exp10_towardzero_test_data): New array.
17697 (exp10_test_towardzero): New function.
17698 (exp10_downward_test_data): New array.
17699 (exp10_test_downward): New function.
17700 (exp10_upward_test_data): New array.
17701 (exp10_test_upward): New function.
17702 (main): Call the new functions.
17703 * sysdeps/i386/fpu/libm-test-ulps: Update.
17704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17705
7fda5682
JM
177062013-12-20 Joseph Myers <joseph@codesourcery.com>
17707
31e3a405
JM
17708 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17709 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17710 * math/auto-libm-test-out: Regenerated.
17711 * math/libm-test.inc (acosh_test_data): Add more tests.
17712 (atanh_test_data): Likewise.
17713 (ceil_test_data): Likewise.
17714 (copysign_test_data): Likewise.
17715 * sysdeps/i386/fpu/libm-test-ulps: Update.
17716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17717
85bff96a
JM
17718 * timezone/checktab.awk: Update from tzcode 2013i.
17719 * timezone/private.h: Likewise.
17720 * timezone/scheck.c: Likewise.
17721 * timezone/tzfile.h: Likewise.
17722 * timezone/tzselect.ksh: Likewise.
17723 * timezone/zdump.c: Likewise.
17724 * timezone/zic.c: Likewise.
17725
b7867a3b
JM
17726 * math/auto-libm-test-in: Add tests of cpow.
17727 * math/auto-libm-test-out: Regenerated.
17728 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 17729 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
17730 mpc_cc_c.
17731 (func_calc_desc): Add mpc_cc_c union field.
17732 (test_functions): Add cpow.
17733 (special_fill_2pi): New function.
17734 (special_real_inputs): Add 2pi.
17735 (calc_generic_results): Handle mpc_cc_c.
17736 * sysdeps/i386/fpu/libm-test-ulps: Update.
17737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17738
7fda5682
JM
17739 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17740 csqrt, ctan and ctanh.
17741 * math/auto-libm-test-out: Regenerated.
17742 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17743 (TEST_COND_x86): Likewise.
17744 (ccos_test_data): Use AUTO_TESTS_c_c.
17745 (ccosh_test_data): Likewise.
17746 (cexp_test_data): Likewise.
17747 (clog_test_data): Likewise.
17748 (csqrt_test_data): Likewise.
17749 (ctan_test_data): Likewise.
17750 (ctan_tonearest_test_data): Likewise.
17751 (ctan_towardzero_test_data): Likewise.
17752 (ctan_downward_test_data): Likewise.
17753 (ctan_upward_test_data): Likewise.
17754 (ctanh_test_data): Likewise.
17755 (ctanh_tonearest_test_data): Likewise.
17756 (ctanh_towardzero_test_data): Likewise.
17757 (ctanh_downward_test_data): Likewise.
17758 (ctanh_upward_test_data): Likewise.
17759 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17760 mpc_c_c.
17761 (func_calc_desc): Add mpc_c_c union field.
17762 (FUNC_mpc_c_c): New macro.
17763 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17764 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17765 ctanh.
17766 (special_fill_min_subnorm_p120): New function.
17767 (special_real_inputs): Add min_subnorm_p120.
17768 (calc_generic_results): Handle mpc_c_c.
17769 * sysdeps/i386/fpu/libm-test-ulps: Update.
17770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17771
5ff8d60e
SP
177722013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17773
57f41c40
AS
17774 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17775 (do_sin_slow): New functions.
17776 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17777 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 17778
84ba214c
SP
17779 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17780 Use M to change sign of result instead of X. Assume X is
17781 positive.
17782 (csloww1): Likewise.
17783 (__sin): Adjust.
17784 (__cos): Adjust.
17785
975195e4
SP
17786 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17787 arguments A and DA.
17788 (__sin): Adjust.
17789 (__cos): Likewise.
17790
5ff8d60e
SP
17791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17792 (__cos): Likewise.
17793 (sloww1): Don't adjust sign of DX.
17794 (csloww1): Likewise.
17795 (sloww2): Use X directly and don't adjust sign of DX.
17796 (csloww2): Likewise.
17797
eb983568
JM
177982013-12-19 Joseph Myers <joseph@codesourcery.com>
17799
64a17f1a
JM
17800 * math/auto-libm-test-in: Add tests of cabs and carg.
17801 * math/auto-libm-test-out: Regenerated.
17802 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17803 (carg_test_data): Likewise.
17804 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17805 mpc_c_f.
17806 (func_calc_desc): Add mpc_c_f union field.
17807 (test_functions): Add cabs and carg.
17808 (calc_generic_results): Handle mpc_c_f.
17809
eb983568
JM
17810 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17811 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17812 as a macro and a compat symbol.
17813 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17814 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17815 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17816 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17817 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17818 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17819 not use .hidden.
17820 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17821 Likewise.
17822 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17823 Likewise.
17824 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17825 Likewise.
17826 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17827 Likewise.
17828 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17829 Likewise.
17830 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17831 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17832 from GLIBC_2.3.2.
17833
6eeb678a
AZ
178342013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17835
17836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17837
6f6fc482
JM
178382013-12-19 Joseph Myers <joseph@codesourcery.com>
17839
21fea2e2
JM
17840 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17841 trailing whitespace removed.
17842 * scripts/config.guess: Update to version 2013-11-29.
17843 * scripts/config.sub: Update to version 2013-10-01.
17844
6f6fc482
JM
17845 * math/auto-libm-test-in: Add tests of sincos.
17846 * math/auto-libm-test-out: Regenerated.
17847 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17848 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17849 mpfr_f_11.
17850 (func_calc_desc): Add mpfr_f_11 union field.
17851 (test_functions): Add sincos.
17852 (calc_generic_results): Handle mpfr_f_11.
17853 * sysdeps/i386/fpu/libm-test-ulps: Update.
17854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17855
83f5c32d
AS
178562013-12-19 Andreas Schwab <schwab@suse.de>
17857
17858 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17859 CALL_MCOUNT.
17860 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17861 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17862 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17863
c688b419
JM
178642013-12-19 Joseph Myers <joseph@codesourcery.com>
17865
335ee092
JM
17866 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17867 * sysdeps/i386/fpu/libm-test-ulps: Update.
17868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17869
f88acd39
JM
17870 [BZ #16293]
17871 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17872 round-to-nearest mode when using frndint.
17873 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17874 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17875 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17876 Likewise.
17877 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17878 sinh test to fail.
17879 * math/auto-libm-test-out: Regenerated.
17880 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17881 (TEST_COND_x86): Likewise.
17882 (expm1_tonearest_test_data): New array.
17883 (expm1_test_tonearest): New function.
17884 (expm1_towardzero_test_data): New array.
17885 (expm1_test_towardzero): New function.
17886 (expm1_downward_test_data): New array.
17887 (expm1_test_downward): New function.
17888 (expm1_upward_test_data): New array.
17889 (expm1_test_upward): New function.
17890 (main): Run the new test functions.
17891 * sysdeps/i386/fpu/libm-test-ulps: Update.
17892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17893
c688b419
JM
17894 * include/features.h: Update comment documenting feature test
17895 macros. Mention _DEFAULT_SOURCE in comment.
17896 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17897 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17898 _BSD_SOURCE and _SVID_SOURCE.
17899 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17900 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17901 !_SVID_SOURCE]: Likewise.
17902 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17903 (__USE_POSIX_IMPLICITLY): Define.
17904 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17905 (_POSIX_SOURCE): Undefine and redefine.
17906 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17907 (_POSIX_C_SOURCE): Likewise.
17908 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17909 (Feature Test Macros): Update documentation of default features.
17910
9f6e964c
RS
179112013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17912
17913 * benchtests/Makefile: Add bench-strtok.
17914 * benchtests/bench-strtok.c: New file: strtok benchtest.
17915
ee0a148a
AM
179162013-12-19 Allan McRae <allan@archlinux.org>
17917
17918 * manual/install.texi: Suppress menu for plain text output.
17919 * INSTALL: Regenerated.
17920
b9ab448f
BM
179212013-12-18 Brooks Moses <bmoses@google.com>
17922
17923 [BZ #15846]
17924 * misc/getauxval.c: Include errno.h.
17925 (__getauxval): Set errno to ENOENT if the requested type is not
17926 found.
17927 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17928 don't declare with __attribute_const__.
17929 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17930 * manual/startup.texi: Document that getauxval sets errno.
17931
23776487
JM
179322013-12-18 Joseph Myers <joseph@codesourcery.com>
17933
f889953b
JM
17934 * math/auto-libm-test-in: Add tests of jn and yn.
17935 * math/auto-libm-test-out: Regenerated.
17936 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17937 (yn_test_data): Likewise.
17938 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17939 mpfr_if_f.
17940 (func_calc_desc): Add mpfr_if_f union field.
17941 (FUNC_mpfr_if_f): New macro.
17942 (test_functions): Add jn and yn.
17943 (calc_generic_results): Assert type of second input for
17944 mpfr_ff_f. Handle mpfr_if_f.
17945 (output_for_one_input_case): Disable all checking for arguments
17946 fitting floating-point types in case of an integer argument.
17947 * sysdeps/i386/fpu/libm-test-ulps: Update.
17948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17949
23776487
JM
17950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17951 Don't expect fegetround reference in libm.so.
17952
cb756c6d
MS
179532013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17954
17955 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17956 $(config-cflags-nofma).
17957
2dec468f
JM
179582013-12-18 Joseph Myers <joseph@codesourcery.com>
17959
5953eb3a
JM
17960 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17961 * math/auto-libm-test-out: Regenerated.
17962
2dec468f
JM
17963 [BZ #16338]
17964 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17965 to determine exponent and adjust argument to have exponent of -1.
17966 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17967 log2.
17968 * math/auto-libm-test-out: Regenerated.
17969 * sysdeps/i386/fpu/libm-test-ulps: Update.
17970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17971
4d84e6ad
OB
179722013-12-18 Ondřej Bílka <neleai@seznam.cz>
17973
17974 * manual/probes.texi: Remove cases when per-thread arenas are
17975 disabled.
17976
1818483b
AS
179772013-12-18 Andreas Schwab <schwab@suse.de>
17978
17979 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17980 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17981 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17982 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17983 * sysdeps/i386/i686/multiarch/Makefile: Update.
17984 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17985
25de95bf
JM
179862013-12-17 Joseph Myers <joseph@codesourcery.com>
17987
17988 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17989 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17990
674762d9
PE
179912013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17992
ed27ed83 17993 [BZ #15968]
0748546f
PE
17994 Support TZ transition times < 00:00:00.
17995 This is needed for version-3 tz-format files; it supports time
17996 stamps past 2037 for America/Godthab (the only entry in the tz
17997 database for which this change is relevant).
17998 * manual/time.texi (TZ Variable): Document transition times
17999 from -167:59:59 through -00:00:01.
18000 * time/tzset.c (tz_rule): Time of day is now signed.
18001 (__tzset_parse_tz): Parse negative time of day.
18002
4480e934
PE
18003 Document TZ transition times >= 25:00:00.
18004 * manual/time.texi (TZ Variable): Document transition times from
18005 25:00:00 through 167:59:59. These are already supported, and this
18006 support will help with version-3 tz-format files.
18007
69947401
PE
18008 * manual/time.texi (TZ Variable): Modernize North America example
18009 to reflect current (i.e., 2007-and-later) daylight saving rules.
18010
674762d9
PE
18011 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18012
7011c262
JM
180132013-12-17 Joseph Myers <joseph@codesourcery.com>
18014
2fc6557e
JM
18015 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18016 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18019 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18020 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18021 * sysdeps/unix/bsd/clock.c: Likewise.
18022 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18023 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18024 * sysdeps/unix/bsd/init-posix.c: Likewise.
18025 * sysdeps/unix/bsd/poll.c: Likewise.
18026 * sysdeps/unix/bsd/ptsname.c: Likewise.
18027 * sysdeps/unix/bsd/seekdir.c: Likewise.
18028 * sysdeps/unix/bsd/setegid.c: Likewise.
18029 * sysdeps/unix/bsd/seteuid.c: Likewise.
18030 * sysdeps/unix/bsd/setgid.c: Likewise.
18031 * sysdeps/unix/bsd/setrgid.c: Likewise.
18032 * sysdeps/unix/bsd/setruid.c: Likewise.
18033 * sysdeps/unix/bsd/setsid.c: Likewise.
18034 * sysdeps/unix/bsd/setuid.c: Likewise.
18035 * sysdeps/unix/bsd/sigaction.c: Likewise.
18036 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18037 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18038 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18039 * sysdeps/unix/bsd/telldir.c: Likewise.
18040 * sysdeps/unix/bsd/times.c: Likewise.
18041 * sysdeps/unix/bsd/usleep.c: Likewise.
18042
029c7b25
JM
18043 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18044 ($(objpfx)libbsd-compat.a): Remove rule.
18045
7011c262
JM
18046 * include/features.h (__FAVOR_BSD): Do not define.
18047 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18048 features conflicting with POSIX.
18049 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18050 (_BSD_SOURCE): Remove description of not being a subset of other
18051 feature test macros.
18052 * manual/job.texi (getpgrp): Do not document BSD version.
18053 (getpgid): Do not document by reference to BSD getpgrp.
18054 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18055 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18056 * signal/signal.h [__FAVOR_BSD]: Likewise.
18057 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18058 instead of making contents conditional on [__FAVOR_BSD].
18059 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18060
affb6f78
AZ
180612013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18062
18063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18064
c88769dd
JM
180652013-12-17 Joseph Myers <joseph@codesourcery.com>
18066
6432a540
JM
18067 [BZ #16314]
18068 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18069 values below 2**-450, not 2**-500.
18070 * math/auto-libm-test-in: Don't allow spurious underflow from
18071 hypot.
18072 * math/auto-libm-test-out: Regenerated.
18073
c88769dd
JM
18074 [BZ #16316]
18075 [BZ #16330]
18076 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18077 values of ha and hb and sort them after adjusting subnormal
18078 arguments.
18079 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18080 Likewise.
18081 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18082 values of ea and eb and sort them after adjusting subnormal
18083 arguments.
18084 * math/auto-libm-test-in: Do not expect some hypot tests of
18085 subnormals to fail. Add more hypot tests.
18086 * math/auto-libm-test-out: Regenerated.
18087
29618f6b
KK
180882013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18089
18090 [BZ #13304]
18091 * sysdeps/sh/s_fma.c: New file.
18092 * sysdeps/sh/s_fmaf.c: New file.
18093 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18094 version.
18095 * sysdeps/sh/Implies: Add sh/soft-fp.
18096
eacfdfbf
RM
180972013-12-16 Roland McGrath <roland@hack.frob.com>
18098
18099 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18100 level of indirection to members `objname', `errstring', `malloced'.
18101 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18102 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18103 it as the __longjmp argument (just pass 1 instead).
18104 (_dl_catch_error): Initialize C with argument pointers and address of
18105 volatile local ERRCODE rather than copying values out of C at return.
18106
ff362e5b
JM
181072013-12-16 Joseph Myers <joseph@codesourcery.com>
18108
18109 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18110 * math/auto-libm-test-out: Regenerated.
18111 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18112 (hypot_test_data): Likewise.
18113 (pow_test_data): Likewise.
18114 (pow_tonearest_test_data): Likewise.
18115 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18116 mpfr_ff_f.
18117 (func_calc_desc): Add mpfr_ff_f union field.
18118 (FUNC_mpfr_ff_f): New macro.
18119 (test_functions): Add atan2, hypot and pow.
18120 (special_fill_min): New function.
18121 (special_fill_minus_min): Likewise.
18122 (special_fill_min_subnorm): Likewise.
18123 (special_fill_minus_min_subnorm): Likewise.
18124 (special_real_inputs): Add min, -min, min_subnorm and
18125 -min_subnorm.
18126 (calc_generic_results): Handle mpfr_ff_f.
18127 * sysdeps/i386/fpu/libm-test-ulps: Update.
18128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18129
5764c27f
WN
181302013-12-16 Will Newton <will.newton@linaro.org>
18131
18132 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18133 (Aligned Memory Blocks): Add documentation for aligned_alloc
18134 and suggest it as an alternative to posix_memalign.
18135 (Hooks for Malloc): Document __memalign_hook is also called
18136 for aligned_alloc. (Summary of Malloc): Add summary for
18137 aligned alloc. Document __memalign_hook is also called
18138 for aligned_alloc.
18139
0a096e44
WN
181402013-12-16 Will Newton <will.newton@linaro.org>
18141
18142 * manual/memory.texi (Malloc Examples): Clarify default
18143 alignment documentation. Suggest posix_memalign rather
18144 than memalign or valloc.
18145 (Aligned Memory Blocks): Remove suggestion to use memalign
18146 or valloc. Remove obsolete comment about BSD.
18147 Document memalign errno values and mark the function obsolete.
18148 Document posix_memalign returned error codes. Mark valloc
18149 as obsolete. (Hooks for Malloc): __memalign_hook is also
18150 called for posix_memalign and valloc.
18151 (Summary of Malloc): Add posix_memalign to function summary.
18152 __memalign_hook is also called for posix_memalign and valloc.
18153
8d561986
SP
181542013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18155
18156 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18157 TAYLOR_SIN.
18158 (__sin): Adjust.
18159 (__cos): Likewise.
18160 (sloww): Use mynumber union. Expand ternary operator into
18161 if-else statements.
18162 (cslow): use mynumber union.
18163
73616a74
AM
181642013-12-16 Allan McRae <allan@archlinux.org>
18165
9e8ac24b
AM
18166 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18167 * configure: Regenerated.
18168
6f8e37eb
AM
18169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18170
8894bad3
AM
18171 [BZ #14120]
18172 * configure.ac: Added --enable-maintainer-mode. Check for
18173 autoconf when enabled.
18174 * configure: Regenerated.
18175
73616a74
AM
18176 * nscd/nscd.service: New file.
18177 * nscd/nscd.tmpfiles: New file.
18178
584b18eb
OB
181792013-12-14 Ondřej Bílka <neleai@seznam.cz>
18180
18181 [BZ #12100]
18182 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18183 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18184 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18185 (strstr): Add __strstr_sse2_unaligned ifunc.
18186 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18187 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18188 (strcasestr): Remove __strcasestr_sse42 ifunc.
18189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18192
8a5c7897
KK
181932013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18194
18195 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18196 * sysdeps/sh/bits/fenv.h: ... here.
18197 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18198
fd712ef3
AZ
181992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18200
18201 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18202
42fcb46c
AZ
18203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18204 hypotf multiarch implementations.
18205 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18208 multiarch hypot for PPC64.
18209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18210 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18211 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18212 multiarch hypotf for PPC64.
18213
83efded4
AZ
18214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18215 modff multiarch implementations.
18216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18219 multiarch modf for PPC64.
18220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18223 multiarch modff for PPC64.
18224
43e246d2
AZ
18225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18226 and logl multiarch implementations.
18227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18230 multiarch logb for PPC64.
18231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18234 multiarch logb for PPC64.
18235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18238 multiarch logb for PPC64.
18239
8fdad123
AZ
18240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18241 isinff multiarch implementation.
18242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18243 file.
18244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18246 multiarch isinf for PPC64.
18247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18248 file.
18249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18250 multiarch isinff for PPC64.
18251
1481d706
AZ
18252 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18253 finitef multiarch implementation.
18254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18255 file.
18256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18258 multiarch finite for PPC64.
18259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18260 file.
18261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18262 multiarch finitef for PPC64.
18263
5ccd5fc8
AZ
18264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18265 lrint multiarch implementation.
18266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18267 file.
18268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18270 multiarch llrint for PPC64.
18271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18272 multiarch lrint for PPC64.
18273
2568f3fa
AZ
18274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18275 copysignf multiarch implementation.
18276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18277 file.
18278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18279 file.
18280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18281 multiarch copysign for PPC64.
18282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18283 multiarch copysignf for PPC64.
18284
1cb341fd
AZ
18285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18286 multiarch implementation.
18287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18288 file.
18289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18290 file.
18291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18292 file.
18293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18294 file.
18295 multiarch llround for PPC64.
18296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18297 multiarch trunc for PPC64.
18298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18299 multiarch truncf for PPC64.
18300
59a3e194
AZ
18301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18302 multiarch implementation.
18303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18304 file.
18305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18306 file.
18307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18308 file.
18309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18310 file.
18311 multiarch llround for PPC64.
18312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18313 multiarch round for PPC64.
18314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18315 multiarch roundf for PPC64.
18316
357fd3b4
AZ
18317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18318 multiarch implementation.
18319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18320 file.
18321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18322 file.
18323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18324 file.
18325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18326 file.
18327 multiarch llround for PPC64.
18328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18329 multiarch floor for PPC64.
18330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18331 multiarch floorf for PPC64.
18332
96770f12
AZ
18333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18334 multiarch implementation.
18335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18336 file.
18337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18338 file.
18339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18340 file.
18341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18342 file.
18343 multiarch llround for PPC64.
18344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18345 multiarch ceil for PPC64.
18346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18347 multiarch ceilf for PPC64.
18348
c3627f6e
AZ
18349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18350 multiarch implementation.
18351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18352 file.
18353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18354 file.
18355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18356 file.
18357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18358 multiarch llround for PPC64.
18359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18360 multiarch lround for PPC64.
18361
b2284ad7
AZ
18362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18363 multiarch implementation.
18364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18367 file.
18368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18371 multiarch isnan for PPC64.
18372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18373 multiarch isnanf for PPC64.
18374
69bbc63d
AZ
18375 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18376 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18377 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18378 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18379 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18381
c24517c9
AZ
18382 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18383 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18386
a52374e8
AZ
18387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18388 multiarch implementations.
18389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18390 (__libc_ifunc_impl_list): Likewise.
18391 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18392 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18393 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18394 multiarch stpcpy for PPC64.
18395
7f5ec113
AZ
18396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18397 multiarch implementations.
18398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18399 (__libc_ifunc_impl_list): Likewise.
18400 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18401 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18402 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18403 multiarch strcpy for PPC64.
18404
e28bcd42
AZ
18405 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18406 redefine function name.
18407 (_wordcopy_fwd_dest_aligned): Likewise.
18408 (_wordcopy_bwd_aligned): Likewise.
18409 (_wordcopy_bwd_dest_aligned): Likewise.
18410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18411 multiarch implementations.
18412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18413 (__libc_ifunc_impl_list): Likewise.
18414 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18415 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18416 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18417 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18418 multiarch wcscpy for PPC64.
18419
92cacfce
AZ
18420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18421 multiarch implementations.
18422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18423 (__libc_ifunc_impl_list): Likewise.
18424 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18425 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18426 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18427 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18428 multiarch wcscpy for PPC64.
18429
7b714620
AZ
18430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18431 multiarch implementations.
18432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18433 (__libc_ifunc_impl_list): Likewise.
18434 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18435 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18436 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18437 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18438 multiarch wcsrchr for PPC64.
18439
16fd2ae3
AZ
18440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18441 multiarch implementations.
18442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18443 (__libc_ifunc_impl_list): Likewise.
18444 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18445 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18446 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18447 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18448 multiarch wcschr for PPC64.
18449
9ee2969b
AZ
18450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18451 multiarch implementations.
18452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18453 (__libc_ifunc_impl_list): Likewise.
18454 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18455 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18456 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18457 multiarch strchrnul for PPC64.
18458
372dc060
AZ
18459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18460 implementations.
18461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18462 (__libc_ifunc_impl_list): Likewise.
18463 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18464 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18465 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18466 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18467 strchr for PPC64.
18468
24c2c3b9
AZ
18469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18470 implementations.
18471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18472 (__libc_ifunc_impl_list): Likewise.
18473 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18474 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18476 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18477 strncmp for PPC64.
18478
1c92d9a0
AZ
18479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18480 multiarch implementations.
18481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18482 (__libc_ifunc_impl_list): Likewise.
18483 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18484 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18485 strncasecmp for PPC64.
18486 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18487 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18488 multiarch strncasecmp_l for PPC64.
18489
17de3ee3
AZ
18490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18491 multiarch implementations.
18492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18493 (__libc_ifunc_impl_list): Likewise.
18494 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18495 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18496 multiarch strcasecmp for PPC64.
18497 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18498 file.
18499 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18500 multiarch strcasecmp_l for PPC64.
18501
62982bf9
AZ
18502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18503 implementations.
18504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18505 (__libc_ifunc_impl_list): Likewise.
18506 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18507 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18508 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18509 strnlen for PPC64.
18510
a65f4904
AZ
18511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18512 implementations.
18513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18514 (__libc_ifunc_impl_list): Likewise.
18515 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18516 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18517 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18518 strlen for PPC64.
18519
1fd005ad
AZ
18520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18521 implementations.
18522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18523 (__libc_ifunc_impl_list): Likewise.
18524 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18525 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18526 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18527 rawmemrchr for PPC64.
18528
cd05ba91
AZ
18529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18530 implementation.
18531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18532 (__libc_ifunc_impl_list): Likewise.
18533 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18534 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18535 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18536 memrchr for PPC64.
18537
870f8676
AZ
18538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18539 implementation.
18540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18541 (__libc_ifunc_impl_list): Likewise.
18542 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18543 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18544 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18545 memchr for PPC64.
18546
f00be62b
AZ
18547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18548 implementation.
18549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18550 (__libc_ifunc_impl_list): Likewise.
18551 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18552 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18553 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18554 mempcpy for PPC64.
18555
8a29a3d0
AZ
18556 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18557 avoid cretion of __bzero symbol.
18558 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18559 Likewise.
18560 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18561 Likewise.
18562 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18563 Likewise.
18564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18565 multiarch implementations.
18566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18567 (__libc_ifunc_impl_list): Likewise.
18568 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18569 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18570 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18571 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18572 bzero for PPC32.
18573 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18574 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18575 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18576 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18577 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18578 memset for PPC64.
18579 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18580
07253fcf
AZ
18581 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18583 implementations.
18584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18585 (__libc_ifunc_impl_list): Likewise.
18586 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18587 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18588 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18589 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18590 memcmp for PPC64.
18591
b5beafbc
AZ
18592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18593 multiarch for POWER/PPC64.
18594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18595 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18596 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18597 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18599 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18600 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18601 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18602 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18603 memcpy for PPC64.
18604
5e6a4d4b
AZ
18605 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18606 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18607 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18608 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18609 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18610 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18611 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18612 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18613 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18614 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18615 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18616 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18617 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18618 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18619 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18627
ddfab6dc
KK
186282013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18629
18630 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18631
19b5525e
SP
186322013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18633
18634 * benchtests/Makefile (bench): Add exp2 and log2.
18635 (LDLIBS-bench-exp2): Add -lm.
18636 (LDLIBS-bench-log2): Likewise.
18637 * benchtests/exp2-inputs: New inputs file.
18638 * benchtests/log2-inputs: New inputs file.
18639 * benchtests/log-inputs: Add new inputs.
18640 * benchtests/tan-inputs: Likewise.
18641
196f7f5d
SP
186422013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18643
7a74607f
SP
18644 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18645 definition...
57f41c40
AS
18646 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18647 (csloww2): ... from here.
7a74607f 18648
196f7f5d
SP
18649 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18650 instead of structures.
18651 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18652 (POLYNOMIAL): Likewise.
18653 (TAYLOR_SLOW): Likewise.
18654 (__sin): Likewise.
18655 (__cos): Likewise.
18656 (slow1): Likewise.
18657 (slow2): Likewise.
18658 (sloww): Likewise.
18659 (sloww1); Likewise.
18660 (sloww2): Likewise.
18661 (bsloww1): Likewise.
18662 (bsloww2): Likewise.
18663 (cslow2): Likewise.
18664 (csloww): Likewise.
18665 (csloww1): Likewise.
18666 (csloww2): Likewise.
18667
0dfa665c
OB
186682013-12-10 Ondřej Bílka <neleai@seznam.cz>
18669
18670 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
18671 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18672 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
18673 * malloc/hooks.c (realloc_check): Likewise.
18674
5782a80f
OB
18675 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18676 * malloc/arena.c: Remove PER_THREAD conditional.
18677 [!PER_THREAD]: Remove code.
18678 (ptmalloc_unlock_all2): Likewise.
18679 (ptmalloc_init): Likewise.
18680 (_int_new_arena): Likewise.
18681 (arena_get2): Likewise.
18682 * malloc/hooks.c (__malloc_get_state): Likewise.
18683 (__malloc_set_state): Likewise.
18684 * malloc/malloc.c: Likewise.
18685 (struct malloc_state): Likewise.
18686 (struct malloc_par): Likewise.
18687 (__libc_realloc): Likewise.
18688 (__libc_mallopt): Likewise.
18689
aeb95445
AZ
186902013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18691
18692 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18693
e8349efd
OB
186942013-12-09 Ondřej Bílka <neleai@seznam.cz>
18695
18696 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18697 macro to a function. Check for zero perturb_byte.
18698 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18699
f3eeb3fc 18700 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
18701 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18702 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
18703 force_reg by atomic_forced_read.
18704 * malloc/arena.c (ptmalloc_init): Likewise.
18705 * malloc/hooks.c (top_check): Likewise.
18706
be2f9009
AZ
187072013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18708
18709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18710
e7b914bd
MT
187112013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18712
18713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18714
9f0be4f8
JM
187152013-12-08 Joseph Myers <joseph@codesourcery.com>
18716
18717 * math/auto-libm-test-in: Add tests of lgamma.
18718 * math/auto-libm-test-out: Regenerated.
18719 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18720 (M_LOG_2_SQRT_PIl): Likewise.
18721 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18722 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18723 mpfr_f_f1.
18724 (func_calc_desc): Add mpfr_f_f1 union field.
18725 (ARGS1): New macro.
18726 (ARGS2): Likewise.
18727 (ARGS3): Likewise.
18728 (ARGS4): Likewise.
18729 (RET1): Likewise.
18730 (RET2): Likewise.
18731 (CALC): Likewise.
18732 (FUNC): Likewise.
18733 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18734 (test_functions): Add lgamma.
18735 (calc_generic_results): Handle mpfr_f_f1.
18736 * sysdeps/i386/fpu/libm-test-ulps: Update.
18737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18738
24eeafdb
AZ
187392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18740
18741 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18742 __mpn_add_n for PowerPC64/POWER7.
18743 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18744 __mpn_sub_n for PowerPC64/POWER7.
18745
4a2c0fd4
AZ
18746 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18747 __mpn_addmul_1 for PowerPC64.
18748 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18749 __mpn_submul_1 for PowerPC64.
18750 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18751 for PowerPC64.
18752 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18753 for PowerPC64.
18754
4b5b548c
FS
187552013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18756
18757 [BZ #15089]
18758 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18759
0a3ac0aa
AZ
187602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18761
18762 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18763
ccdc8438
AZ
18764 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18765 add multiarch folders.
18766 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18767 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18768 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18769 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18770 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18771 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18772 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18773 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18774 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18775 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18776 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18783
2e973d99
AZ
18784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18785 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18787 New file.
18788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18789 New file.
18790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18791 multiarch __ieee754_hypot for PowerPC32.
18792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18793 New file.
18794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18795 New file.
18796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18797 multiarch __ieee754_hypotf for PowerPC32.
18798
2d9470b2
AZ
18799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18800 long_double_symbol only if __logbl is defined.
18801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18802 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18804 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18806 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18808 path for implementation.
18809 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18812 logb, and logbl multiarch implementations for PowerPC32.
18813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18814 file.
18815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18816 file.
18817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18818 multiarch logb for PowerPC32.
18819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18820 file.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18822 file.
18823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18824 multiarch logbf for PowerPC32.
18825 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18827 file.
18828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18829 multiarch logbl implementation for PowerPC32.
18830
5212ffce
AZ
18831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18832 and modff multiarch implementations.
18833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18834 New file.
18835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18836 New file.
18837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18838 multiarch modf for PowerPC32.
18839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18840 New file.
18841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18842 New file.
18843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18844 multiarch modff for PowerPC32.
18845
79dccf31
AZ
18846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18847 and lrintf multiarch implementations.
18848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18849 New file.
18850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18851 New file.
18852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18853 multiarch lrint for PowerPC32.
18854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18855 file: multiarch lrintf for PowerPC32.
18856
deb66480
AZ
18857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18858 and lroundf multiarch implementations.
18859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18860 New file.
18861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18862 New file.
18863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18864 New file.
18865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18866 multiarch lround for PowerPC32.
18867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18868 file: multiarch lroundf for PowerPC32.
18869
264b036b
AZ
18870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18871 copysign and copysignf multiarch implementations.
18872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18873 New file.
18874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18875 New file.
18876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18877 file: multiarch copysign for PowerPC32.
18878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18879 file: multiarch copysignf for PowerPC32.
18880
d47db6c9
AZ
18881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18882 and truncf multiarch implementations.
18883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18884 New file.
18885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18886 file.
18887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18888 multiarch trunc for PowerPC32.
18889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18890 New file.
18891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18892 New file.
18893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18894 multiarch truncf for PowerPC32.
18895
ddb60b5a
AZ
18896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18897 and roundf multiarch implementations.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18899 New file.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18901 file.
18902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18903 multiarch round for PowerPC32.
18904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18905 New file.
18906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18907 New file.
18908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18909 multiarch roundf for PowerPC32.
18910
bedcf49b
AZ
18911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18912 and floorf multiarch implementations.
18913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18914 New file.
18915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18916 file.
18917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18918 multiarch floor for PowerPC32.
18919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18920 New file.
18921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18922 New file.
18923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18924 multiarch floorf for PowerPC32.
18925
35ae5b40
AZ
18926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18927 and ceilf multiarch implementations.
18928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18929 New file.
18930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18931 file.
18932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18933 multiarch ceil for PowerPC32.
18934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18935 New file.
18936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18937 file.
18938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18939 multiarch ceilf for PowerPC32.
18940
ae1a4cd9
AZ
18941 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18942 is defined.
18943 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18944 FINITEF is defined.
18945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18946 and finitef multiarch implementations.
18947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18948 New file.
18949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18950 file.
18951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18952 multiarch finite for PowerPC32.
18953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18954 New file.
18955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18956 file: multiarch finitef for PowerPC32.
18957
64fffd65
AZ
18958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18959 and isinff multiarch implementations.
18960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18961 file.
18962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18963 file.
18964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18965 multiarch isinf for PowerPC32.
18966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18967 New file.
18968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18969 multiarch isinff for PowerPC32.
18970
8e4e7ba2
AZ
18971 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18972 alias when __isnan is defined.
18973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18974 and isnanf multiarch implementations.
18975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18976 file.
18977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18978 file.
18979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18980 file.
18981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18982 file.
18983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18984 multiarch isnan for PowerPC32.
18985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18986 New file.
18987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18988 New file.
18989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18990 multiarch isnanf for PowerPC32.
18991
ddba588e
AZ
18992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18993 and sqrtf multiarch implementations.
18994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18995 file.
18996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18997 file.
18998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18999 multiarch sqrt for PowerPC32.
19000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19001 file.
19002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19003 file.
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19005 multiarch sqrtf for PowerPC32.
19006
0f96a2f0
AZ
19007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19008 and llroundf multiarch implementations.
19009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19010 New file.
19011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19012 New file.
19013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19014 New file.
19015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19016 file: multiarch llround for PowerPC32.
19017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19018 file: multiarch llroundf for PowerPC32.
19019
c9b5d79e
AZ
19020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19021 multiarch PowerPC32 fpu implementations.
19022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19023 New file.
19024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19025 New file.
19026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19027 multiarch llrint for PowerPC32.
19028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19029 New file.
19030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19031 New file.
19032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19033 file.
19034
9cbb3aab
AZ
19035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19036
ea5a72f8
AZ
19037 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19038 file.
19039 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19040 file.
19041 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19042 file.
19043 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19044 multiarch wordcopy for PPC32.
19045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19046 wordcopy objects.
19047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19048 (__libc_ifunc_impl_list): Likewise.
19049 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19050 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19051 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19052 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19053 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19054 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19055
93be09e7
AZ
19056 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19058 file.
19059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19060 file.
19061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19062 file.
19063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19064 multiarch wcscpy for PPC32.
19065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19066 multiarch objects.
19067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19068 (__libc_ifunc_impl_list): Likewise.
19069 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19070 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19071 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19072 sysdeps/powerpc/power6/wcscpy.c.
19073
bb04e529
AZ
19074 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19076 file.
19077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19078 file.
19079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19080 file.
19081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19082 multiarch wcsrchr for PPC32.
19083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19084 multiarch objects.
19085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19086 (__libc_ifunc_impl_list): Likewise.
19087 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19088 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19089 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19090 sysdeps/powerpc/power6/wcsrchr.c.
19091
05b5cd1c
AZ
19092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19093 file.
19094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19095 file.
19096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19098 multiarch wcschr for PPc32.
19099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19100 multiarch objects.
19101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19102 (__libc_ifunc_impl_list): Likewise.
19103 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19104 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19105 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19106 sysdeps/powerpc/power6/wcschr.c.
19107
ba964147
AZ
19108 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19109 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19110 file.
19111 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19112 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19113 file: multiarch strchr for PPC32.
19114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19115 multiarch objects.
19116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19117 (__libc_ifunc_impl_list): Likewise.
19118
31c81aaa
AZ
19119 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19120 name.
19121 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19122 file.
19123 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19124 file.
19125 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19126 multiarch strchrnul for PPC32.
19127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19128 multiarch objects.
19129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19130 (__libc_ifunc_impl_list): Likewise.
19131
0d0607d9
AZ
19132 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19133 file.
19134 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19135 multiarch strncasecmp for PPC32.
19136 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19137 file.
19138 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19139 multiarch strncasecmp_l for PPC32.
19140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19141 strncasecmp multiarch objects.
19142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19143 (__libc_ifunc_impl_list): Likewise.
19144
4dfd5c86
AZ
19145 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19146 file.
19147 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19148 multiarch strncasecmp for PPC32.
19149 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19150 New file.
19151 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19152 multiarch strcasecmp_l for PPC32.
19153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19154 multiarch objects.
19155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19156 (__libc_ifunc_impl_list): Likewise.
19157
a19e01a3
AZ
19158 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19159 file.
19160 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19161 file.
19162 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19163 multiarch strncmp for PPC32.
19164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19165 multiarch objects.
19166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19167 (__libc_ifunc_impl_list): Likewise.
19168
ae9cf7a2
AZ
19169 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19170 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19171 file.
19172 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19173 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19175 multiarch objects.
19176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19177 (__libc_ifunc_impl_list): Likewise.
19178
3148bb7d
AZ
19179 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19180 file.
19181 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19182 file.
19183 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19185 multiarch objects.
19186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19187 (__libc_ifunc_impl_list): Likewise.
19188
7af8b946
AZ
19189 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19190 file.
19191 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19192 file.
19193 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19194 multiarch rawmemchr for PPC32.
19195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19196 multiarch objects.
19197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19198 (__libc_ifunc_impl_list): Likewise.
19199
03a6aa6a
AZ
19200 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19201 file.
19202 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19203 file.
19204 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19205 file: memrchr multiarch for PPC32.
19206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19207 multiarch objects.
19208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19209 (__libc_ifunc_impl_list): Likewise.
19210
1c62e6d9
AZ
19211 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19212 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19213 file.
19214 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19216 multiarch memchr for PPC32.
19217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19218 multiarch objects.
19219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19220 (__libc_ifunc_impl_list): Likewise.
19221
87da8bdb
AZ
19222 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19223 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19224 file.
19225 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19226 file.
19227 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19228 file: multiarch mempcpy for PPC32.
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19230 multiarch objects.
19231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19232 (__libc_ifunc_impl_list): Likewise.
19233
20ed4714
AZ
19234 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19235 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19236 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19237 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19238 multiarch bzero for PPC32.
19239 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19240 file.
19241 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19242 file.
19243 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19244 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19245 file: multiarch memset for PPC32.
19246 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19248 memset multiarch objects.
19249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19250 (__libc_ifunc_impl_list): Likewise.
19251
ab3e3a46
AZ
19252 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19253 file.
19254 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19256 memcmp for PPC32.
19257 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19259 multiarch objects.
19260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19261 (__libc_ifunc_impl_list): Likewise.
19262
930de6f0
AZ
19263 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19265 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19266 file.
19267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19268 file.
19269 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19270 file.
19271 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19272 multiarch memcpy for PPC32.
19273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19274 multiarch objects.
19275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19276 (__libc_ifunc_impl_list): Likewise.
19277
4c628e00
AZ
19278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19279 support multiarch for POWER/PPC32.
19280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19281 Likewise.
19282 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19284 Implies file to make multiarch folder appers before the fpu and
19285 default folder for power4 configuration.
19286
f4479220
SP
192872013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19288
19289 * scripts/bench.pl: Append volatile keyword to type.
19290
8517800f
KK
192912013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19292
19293 * sysdeps/sh/sotruss-lib.c: New file.
19294 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19295
180138f1
AZ
192962013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19297
19298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19299
bbf37bdc
JM
193002013-12-05 Joseph Myers <joseph@codesourcery.com>
19301
e47cc4e0
JM
19302 [BZ #6810]
19303 * math/w_tgamma.c: Include <errno.h>.
19304 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19305 * math/w_tgammaf.c: Include <errno.h>.
19306 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19307 * math/w_tgammal.c: Include <errno.h>.
19308 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19309 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19310 underflow. Add more tgamma tests.
19311 * math/auto-libm-test-out: Regenerated.
19312 * sysdeps/i386/fpu/libm-test-ulps: Update.
19313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19314
bbf37bdc
JM
19315 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19316 sin, sinh, tan, tanh, tgamma, y0 and y1.
19317 * math/auto-libm-test-out: Regenerated.
19318 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19319 (TEST_COND_x86): Likewise.
19320 (M_E2l): Remove macro.
19321 (M_E3l): Likewise.
19322 (M_2_SQRT_PIl): Likewise.
19323 (M_SQRT_PIl): Likewise.
19324 (M_1_DIV_El): Likewise.
19325 (log_test_data): Use AUTO_TESTS_f_f.
19326 (log10_test_data): Likewise.
19327 (log1p_test_data): Likewise.
19328 (log2_test_data): Likewise.
19329 (sin_test_data): Likewise.
19330 (sin_tonearest_test_data): Likewise.
19331 (sin_towardzero_test_data): Likewise.
19332 (sin_downward_test_data): Likewise.
19333 (sin_upward_test_data): Likewise.
19334 (sinh_test_data): Likewise.
19335 (sinh_tonearest_test_data): Likewise.
19336 (sinh_towardzero_test_data): Likewise.
19337 (sinh_downward_test_data): Likewise.
19338 (sinh_upward_test_data): Likewise.
19339 (tan_test_data): Likewise.
19340 (tan_tonearest_test_data): Likewise.
19341 (tan_towardzero_test_data): Likewise.
19342 (tan_downward_test_data): Likewise.
19343 (tan_upward_test_data): Likewise.
19344 (tanh_test_data): Likewise.
19345 (tgamma_test_data): Likewise.
19346 (y0_test_data): Likewise.
19347 (y1_test_data): Likewise.
19348 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19349 (special_real_inputs): Add pi/4.
19350 * sysdeps/i386/fpu/libm-test-ulps: Update.
19351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19352
eb5ad6b9
AZ
193532013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19354
19355 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19356 "longjmp_target" static probes.
19357 (__longjmp): Rename to __longjmp_symbol.
19358 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19359 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19360 on which longjmp to generate.
19361 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19362 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19363 probe.
19364 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19365 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19366 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19367 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19368 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19369 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19371 __longjmp_symbol based on which __longjmp to generate.
19372 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19373 probe.
19374 (setjmp): Rename to setjmp_symbol.
19375 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19376 (_setjmp): Rename to _setjmp_symbol.
19377 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19378 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19379 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19380 which setjmp to generate.
19381 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19382 "longjmp_target" static probes.
19383
d136c6dc
SP
193842013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19385
9298ecba
SP
19386 * benchtests/README: Add note about output arguments.
19387 * benchtests/bench-sincos.c: Remove file.
19388 * benchtests/sincos-inputs: New file.
19389 * scripts/bench.pl: Identify output arguments and define
19390 static variables for them.
19391
232983e9
SP
19392 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19393
d136c6dc
SP
19394 [BZ #15941]
19395 * Makefile (INSTALL): Add install-plain.texi as the primary
19396 dependency.
19397 * manual/install-plain.texi: New file.
19398 * manual/install.texi: Include node directive only for
19399 non-plaintext output.
19400
699ff837
JM
194012013-12-04 Joseph Myers <joseph@codesourcery.com>
19402
ab07cea8
JM
19403 * stdlib/longlong.h: Update from GCC.
19404
699ff837
JM
19405 [BZ #6807]
19406 [BZ #15901]
19407 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19408 * math/w_j0f.c (y0f): Likewise.
19409 * math/w_j0l.c (__y0l): Likewise.
19410 * math/w_j1.c (y1): Likewise.
19411 * math/w_j1f.c (y1f): Likewise.
19412 * math/w_j1l.c (__y1l): Likewise
19413 * math/w_jn.c (yn): Likewise.
19414 * math/w_jnf.c (ynf): Likewise.
19415 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19416 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19417 value for Bessel function domain errors outside _SVID_ mode.
19418 Adjust sign of return value for yn (negative integer, 0).
19419 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19420 by zero in return for negative x and set sign appropriately for
19421 negative n.
19422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19423 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19424 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19425 expectations in error cases.
19426 (y1_test_data): Likewise.
19427 (yn_test_data): Likewise.
19428 * sysdeps/i386/fpu/libm-test-ulps: Update.
19429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19430
5b118558
UW
194312013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19432
19433 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19434 "64" to "64-v1". Add "64-v2".
19435 (abi-64-options): Rename to ...
19436 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19437 (abi-64-condition): Rename to ...
19438 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19439 (abi-64-ld-soname): Rename to ...
19440 (abi-64-v1-ld-soname): ... this.
19441 (abi-64-v2-options): Define.
19442 (abi-64-v2-condition): Likewise.
19443 (abi-64-v2-ld-soname): Likewise.
19444 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19445 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19449
61cd8fe4
UW
194502013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19451 Alan Modra <amodra@gmail.com>
19452
19453 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19454 New versions for use with the ELFv2 ABI.
19455 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19456 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19457 declaration.
19458 (struct La_ppc64v2_retval): Likewise.
19459 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19460 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19461 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19462 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19463 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19464 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19465 Do not save or restore CR.
19466 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19467 (_dl_profile_resolve): Do no save or restore CR. Support extended
19468 return values for ELFv2 ABI. Fix location of FPR return registers.
19469 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19470 updated values for _CALL_ELF == 2.
19471 (La_regs, La_retval, int_retval): Likewise.
19472
8b8a692c
UW
194732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19474
19475 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19476 (FRAME_MIN_SIZE_PARM): Likewise.
19477 (FRAME_BACKCHAIN): Likewise.
19478 (FRAME_CR_SAVE): Likewise.
19479 (FRAME_LR_SAVE): Likewise.
19480 (FRAME_TOC_SAVE): Likewise.
19481 (FRAME_PARM_SAVE): Likewise.
19482 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19483 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19484 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19485 (call_mcount_parm_offset): New macro.
19486 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19487 (PROF): Use symbolic stack frame offsets.
19488 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19489 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19490 Redefine in terms of FRAME_MIN_SIZE.
19491 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19492 (_dl_profile_resolve): Likewise. Update comment.
19493 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19494 symbols stack frame offsets.
19495 (__sigsetjmp): Likewise.
19496 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19497 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19498 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19499 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19500
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19502 (FRAME_BACKCHAIN): Remove.
19503 (FRAME_CR_SAVE): Likewise.
19504 (FRAME_LR_SAVE): Likewise.
19505 (FRAME_COMPILER_DW): Likewise.
19506 (FRAME_LINKER_DW): Likewise.
19507 (FRAME_TOC_SAVE): Likewise.
19508 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
19509 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19510 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19511 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19513 (CHECK_SP): Use symbolic stack frame offsets.
19514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19515 zone" instead of caller's parameter save area for temp storage.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19517 Likewise. Also, use symbolic stack frame offsets.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19519 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19520 our own stack frame instead of the caller's.
19521 (__socket): Use symbolic stack frame offsets.
19522
122b66de
UW
195232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19524 Alan Modra <amodra@gmail.com>
19525
19526 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19527 Define.
57f41c40
AS
19528 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19529 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
19530 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19531 New function.
19532 (elf_machine_fixup_plt): Call it.
19533 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19534 reloc arguments.
19535 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
19536 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19537 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
19538 r2 before calling target.
19539
696caf1d
UW
195402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19541 Alan Modra <amodra@gmail.com>
19542
19543 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19544 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19545 versions of macros to support ELFv2 ABI.
19546 (LOCALENTRY): New macro.
19547 (ENTRY, EALIGN): Use it.
19548 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19549 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19550 fall through into ENTRY entry point.
19551 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19552 Only define if _CALL_ELF != 2.
19553
19554 (elf_machine_matches_host): Verify ABI version matches.
19555 (RTLD_START): Use LOCALENTRY.
19556 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19557 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19558 (PLT_ENTRY_WORDS): New macro.
19559 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19560 (elf_machine_runtime_setup): Support ELFv2 ABI.
19561 (elf_machine_fixup_plt): Likewise.
19562 (elf_machine_plt_conflict): Likewise.
19563 (resolve_ifunc): Likewise.
19564 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19566 Likewise.
19567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19568 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19570 (makecontext): Support ELFv2 ABI.
19571 * elf/elf.h (EF_PPC64_ABI): Define.
19572
d31beafa
UW
195732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19574
57f41c40
AS
19575 * sysdeps/powerpc/powerpc64/sysdep.h
19576 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19577 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19578 (ENTRY) [ASSEMBLER]: ... but instead here ...
19579 (EALIGN) [ASSEMBLER]: ... and here.
19580 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19581 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19582 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
19583 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19584 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
19585 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19586 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
19587 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19589 Use PPC64_LOAD_FUNCPTR.
19590
b525166b
UW
19591 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19592
7ec07d9a
AM
195932013-12-04 Alan Modra <amodra@gmail.com>
19594
19595 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19596 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19597 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19598 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19599
19600 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19601 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19602 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19603 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19604 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19605 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19606
5162e7dd
UW
196072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19608
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19610 (__makecontext): Fix incorrect CFI when backtracing out of
19611 context created via makecontext.
19612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19613 (__setcontext): Fix incorrect CFI during switch to new context.
19614 (__novec_setcontext): Likewise.
19615
19e3372b
OB
196162013-12-04 Ondřej Bílka <neleai@seznam.cz>
19617
19618 [BZ #4772]
19619 * time/strptime_l.c (__strptime_internal): Allow modifiers
19620 in strptime.
19621 * time/tst-strptime.c (day_tests): Add testcase.
19622
ecaf142d
SP
196232013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19624
19625 * scripts/bench.pl: Skip over blank lines.
19626
fbf964ae
PE
196272013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19628
19629 [BZ #926]
19630 * manual/time.texi (Calendar Time): Clarify what timezone functions
19631 use.
19632
fa60a674
AZ
196332013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19634
19635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19636
d674f0ef
OB
196372013-12-04 Ondřej Bílka <neleai@seznam.cz>
19638
19639 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19640 implementation.
19641 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19642 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19643 * debug/memset_chk.c (__memset_chk): Likewise.
19644 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19645 * debug/strncpy_chk.c: Likewise.
19646
17dea188
JM
196472013-12-03 Joseph Myers <joseph@codesourcery.com>
19648
749008ff
JM
19649 [BZ #15268]
19650 [BZ #15425]
19651 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19652 (__ieee754_exp): For possibly underflowing results, check size of
19653 result and force underflow exception if required.
19654 * math/auto-libm-test-in: Add more tests of exp.
19655 * math/auto-libm-test-out: Regenerated.
19656 * sysdeps/i386/fpu/libm-test-ulps: Update.
19657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19658
17dea188
JM
19659 [BZ #16283]
19660 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19661 * math/w_exp2f.c (__exp2f): Likewise.
19662 * math/w_exp2l.c (__exp2l): Likewise.
19663 * math/auto-libm-test-in: Do not allow missing errno on exp2
19664 underflow.
19665 * math/auto-libm-test-out: Regenerated.
19666
b20de2c3
OB
196672013-12-03 Ondřej Bílka <neleai@seznam.cz>
19668
19669 [BZ #16274]
19670 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19671 handle filename validation.
19672 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19673 (do_open): Delete.
19674
d8e2dbe3
JM
196752013-12-03 Joseph Myers <joseph@codesourcery.com>
19676
34e16df5
JM
19677 [BZ #6786]
19678 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19679 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19680 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19681 <float.h>.
19682 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19684 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19685 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19686 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19688 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19689 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19690 Add more erfc tests.
19691 * math/auto-libm-test-out: Regenerated.
19692 * sysdeps/i386/fpu/libm-test-ulps: Update.
19693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19694
d8e2dbe3
JM
19695 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19696 exp2, expm1, j0 and j1.
19697 * math/auto-libm-test-out: Regenerated.
19698 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19699 (erfc_test_data): Likewise.
19700 (exp_test_data): Likewise.
19701 (exp_tonearest_test_data): Likewise.
19702 (exp_towardzero_test_data): Likewise.
19703 (exp_downward_test_data): Likewise.
19704 (exp_upward_test_data): Likewise.
19705 (exp10_test_data): Likewise.
19706 (exp2_test_data): Likewise.
19707 (expm1_test_data): Likewise.
19708 (j0_test_data): Likewise.
19709 (j1_test_data): Likewise.
19710 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19711 (input_flag_type): Add flag_xfail_rounding.
19712 (input_flags): Add xfail-rounding.
19713 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19714 (output_for_one_input_case): Handle flag_xfail_rounding.
19715 * sysdeps/i386/fpu/libm-test-ulps: Update.
19716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19717
18d14251
AJ
197182013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19719
3d2e6075 19720 [BZ #16289]
18d14251
AJ
19721 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19722 division by 0.
19723
520d437b
SP
197242013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19725
19726 [BZ #16195]
19727 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19728 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19729 (STAP_PROBE0): New macro.
19730 (STAP_PROBE1): Likewise.
19731 (STAP_PROBE2): Likewise.
19732 (STAP_PROBE3): Likewise.
19733 (STAP_PROBE4): Likewise.
19734
416e0145
OB
197352013-12-02 Ondřej Bílka <neleai@seznam.cz>
19736
19737 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19738
9d17796a
SE
197392013-12-02 Steve Ellcey <sellcey@mips.com>
19740
19741 * benchtests/Makefile (bench): Add sqrt.
19742 (LDLIBS-bench-sqrt): New.
19743 * benchtests/sqrt-input: New.
19744
f524d6a8
PS
197452013-12-02 Pavel Simerda <psimerda@redhat.com>
19746
639a0ef8
PS
19747 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19748 (GAIH_EAI): Likewise.
19749 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19750 (gaih_inet): Likewise.
19751 (getaddrinfo): Don't use GAIH_EAI.
19752
f524d6a8
PS
19753 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19754 (struct gaih): Remove definition.
19755
df3aedaf
SP
197562013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19757
19758 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19759 Use HERRNOP directly.
19760
1ab19dec
AZ
197612013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19762
b42ad38d 19763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 19764
176b0c79
JM
197652013-11-30 Joseph Myers <joseph@codesourcery.com>
19766
19767 * math/gen-auto-libm-tests.c (test_functions): Add more
19768 single-argument functions.
19769 (special_fill_pi_2): New function.
19770 (special_fill_minus_pi_2): Likewise.
19771 (special_fill_pi_6): Likewise.
19772 (special_fill_minus_pi_6): Likewise.
19773 (special_fill_pi_3): Likewise.
19774 (special_fill_2pi_3): Likewise.
19775 (special_fill_e): Likewise.
19776 (special_fill_1_e): Likewise.
19777 (special_fill_e_minus_1): Likewise.
19778 (special_real_inputs): Add more special inputs.
19779 (output_for_one_input_case): Do not require ERANGE on underflow to
19780 zero if round-to-nearest result does not underflow to zero, unless
19781 exact results required.
19782 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19783 atan, atanh, cbrt, cos and cosh.
19784 * math/auto-libm-test-out: Regenerated.
19785 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19786 (acos_tonearest_test_data): Likewise.
19787 (acos_towardzero_test_data): Likewise.
19788 (acos_downward_test_data): Likewise.
19789 (acos_upward_test_data): Likewise.
19790 (acosh_test_data): Likewise.
19791 (asin_test_data): Likewise.
19792 (asin_tonearest_test_data): Likewise.
19793 (asin_towardzero_test_data): Likewise.
19794 (asin_upward_test_data): Likewise.
19795 (asinh_test_data): Likewise.
19796 (atan_test_data): Likewise.
19797 (atanh_test_data): Likewise.
19798 (cbrt_test_data): Likewise.
19799 (cos_test_data): Likewise.
19800 (cos_tonearest_test_data): Likewise.
19801 (cos_towardzero_test_data): Likewise.
19802 (cos_downward_test_data): Likewise.
19803 (cos_upward_test_data): Likewise.
19804 (cosh_test_data): Likewise.
19805 (cosh_tonearest_test_data): Likewise.
19806 (cosh_towardzero_test_data): Likewise.
19807 (cosh_downward_test_data): Likewise.
19808 (cosh_upward_test_data): Likewise.
19809 * sysdeps/i386/fpu/libm-test-ulps: Update.
19810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19811
ffb536d0
JM
198122013-11-29 Joseph Myers <joseph@codesourcery.com>
19813
2a77a467
JM
19814 [BZ #6787]
19815 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19816 * math/w_exp10f.c (__exp10f): Likewise.
19817 * math/w_exp10l.c (__exp10l): Likewise.
19818 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19819 errno settings in existing tests.
19820
ea3bc4e8
JM
19821 [BZ #14032]
19822 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19823 precision control set to double precision.
19824 * sysdeps/i386/fpu/w_sqrt.c: New file.
19825 * math/auto-libm-test-in: Add more tests.
19826 * math/auto-libm-test-out: Update.
19827
0712c9d8
JM
19828 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19829 (sqrt_test_tonearest): New function.
19830 (sqrt_towardzero_test_data): New variable.
19831 (sqrt_test_towardzero): New function.
19832 (sqrt_downward_test_data): New variable.
19833 (sqrt_test_downward): New function.
19834 (sqrt_upward_test_data): New variable.
19835 (sqrt_test_upward): New function.
19836 (main): Call the new functions.
19837
ffb536d0
JM
19838 * math/gen-auto-libm-tests.c: New file.
19839 * math/auto-libm-test-in: Likewise.
19840 * math/auto-libm-test-out: New generated file.
19841 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19842 variables.
19843 (%beautify): Add generated representations of zero.
19844 (top level): Set $auto_input and call parse_auto_input.
19845 (beautify): Remove trailing "f" from hex float constants.
19846 (parse_args): Handle XFAIL_TEST.
19847 (convert_condition): New function.
19848 (or_value): Likewise.
19849 (or_cond_value): Likewise.
19850 (generate_testfile): Handle AUTO_TESTS_* lines.
19851 (parse_auto_input): New function.
19852 * math/libm-test.inc (XFAIL_TEST): New macro.
19853 (ERRNO_UNCHANGED): Update value.
19854 (ERRNO_EDOM): Likewise.
19855 (ERRNO_ERANGE): Likewise.
19856 (IGNORE_RESULT): Likewise.
19857 (TEST_COND_flt_32): New macro.
19858 (TEST_COND_dbl_64): Likewise.
19859 (TEST_COND_ldbl_96_intel): Likewise.
19860 (TEST_COND_ldbl_96_m68k): Likewise.
19861 (TEST_COND_ldbl_128): Likewise.
19862 (TEST_COND_ldbl_128ibm): Likewise.
19863 (TEST_COND_long32): Likewise.
19864 (TEST_COND_long64): Likewise.
19865 (TEST_COND_before_rounding): Likewise.
19866 (TEST_COND_after_rounding): Likewise.
19867 (enable_test): Handle XFAIL_TEST flag.
19868 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19869 with finite results.
19870 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19871 auto-libm-test-out.
19872
acd98a8e
AK
198732013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19874 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19875
19876 [BZ #16214]
19877 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19878 __tls_get_addr_internal instead of __tls_get_offset in order to
19879 avoid GOT pointer dependency. Make rtld export
19880 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19881 __tls_get_addr since we are a __tls_get_offset platform.
19882 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19883 GOT pointer being set up before.
19884 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19885
3c1c46a6
JM
198862013-11-28 Joseph Myers <joseph@codesourcery.com>
19887
7475aef5
JM
19888 * manual/math.texi (Errors in Math Functions): Document accuracy
19889 goals.
19890
8bca7cd8
JM
19891 [BZ #15004]
19892 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19893 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19894 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19895 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19896 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19897 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19898 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19899 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19900 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19901 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19902 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19903 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19904 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19905 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19906 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19907 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19908
91a1f3fe
JM
19909 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19910 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19911 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19912 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19913 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19914 Likewise.
19915 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19916 Likewise.
19917 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19918 Likewise.
19919 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19920 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19921 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19922 atomic-feupdateenv and flt-rounds.
19923 * sysdeps/powerpc/nofpu/Versions (libc): Add
19924 __atomic_feholdexcept, __atomic_feclearexcept,
19925 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19926 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19927 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19928 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19929 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19930 here.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19932 Update.
19933
c5df7609
JM
19934 * manual/arith.texi (FP Exceptions): Document that exceptions may
19935 not be raised when matherr is used.
19936 (Math Error Reporting): Document overflow in directed rounding
19937 modes. Document that errno may not be set when finite values are
19938 returned on overflow. Document intent to set errno on underflow
19939 only for underflow to zero.
19940
3c1c46a6
JM
19941 [BZ #16271]
19942 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19943 round-to-nearest then adjust result for other rounding modes.
19944 * include/fenv.h (fegetround): Use libm_hidden_proto.
19945 * math/fegetround.c (fegetround): Use libm_hidden_def.
19946 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19947 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19948 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19949 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19950 Likewise.
19951 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19952 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19953 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19954 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19955
5a4c6d53
SP
199562013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19957
19958 [BZ #16077]
19959 * nss/Versions (libnss_files): Add
19960 _nss_files_gethostbyname3_r.
19961 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19962 New function.
19963 (HOST_DB_LOOKUP): Remove macro.
19964 (_nss_files_gethostbyname_r): Implement function without the
19965 HOST_DB_LOOKUP macro.
19966 (_nss_files_gethostbyname2_r): Likewise.
19967
897b98ba
OB
199682013-11-28 Ondřej Bílka <neleai@seznam.cz>
19969
19970 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19971
6f476861
UB
199722013-11-26 Uros Bizjak <ubizjak@gmail.com>
19973
19974 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19975 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19976 warning.
19977
bd12ab55
AZ
199782013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19979
19980 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19981 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19982 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19983 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19984 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19985 __fe_nomask_env_priv and attribute_hidden.
19986 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19987 (libc_feupdateenv_test_ppc): Likewise.
19988 (libc_feresetround_ppc): Likewise.
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19990 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19991 compat_symbol macro.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19993 (__fe_nomask_env): Likewise.
19994 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19995
52bb6543
OB
199962013-11-26 Ondřej Bílka <neleai@seznam.cz>
19997
19998 * string/Makefile: Remove ifunc tests.
19999 * string/test-string.h: Define TEST_IFUNC.
20000 * string/test-bcopy-ifunc.c: Remove.
20001 * string/test-bzero-ifunc.c: Likewise.
20002 * string/test-memccpy-ifunc.c: Likewise.
20003 * string/test-memchr-ifunc.c: Likewise.
20004 * string/test-memcmp-ifunc.c: Likewise.
20005 * string/test-memcpy-ifunc.c: Likewise.
20006 * string/test-memmem-ifunc.c: Likewise.
20007 * string/test-memmove-ifunc.c: Likewise.
20008 * string/test-mempcpy-ifunc.c: Likewise.
20009 * string/test-memrchr-ifunc.c: Likewise.
20010 * string/test-memset-ifunc.c: Likewise.
20011 * string/test-rawmemchr-ifunc.c: Likewise.
20012 * string/test-stpcpy-ifunc.c: Likewise.
20013 * string/test-stpncpy-ifunc.c: Likewise.
20014 * string/test-strcasecmp-ifunc.c: Likewise.
20015 * string/test-strcasestr-ifunc.c: Likewise.
20016 * string/test-strcat-ifunc.c: Likewise.
20017 * string/test-strchr-ifunc.c: Likewise.
20018 * string/test-strchrnul-ifunc.c: Likewise.
20019 * string/test-strcmp-ifunc.c: Likewise.
20020 * string/test-strcpy-ifunc.c: Likewise.
20021 * string/test-strcspn-ifunc.c: Likewise.
20022 * string/test-strlen-ifunc.c: Likewise.
20023 * string/test-strncasecmp-ifunc.c: Likewise.
20024 * string/test-strncat-ifunc.c: Likewise.
20025 * string/test-strncmp-ifunc.c: Likewise.
20026 * string/test-strncpy-ifunc.c: Likewise.
20027 * string/test-strnlen-ifunc.c: Likewise.
20028 * string/test-strpbrk-ifunc.c: Likewise.
20029 * string/test-strrchr-ifunc.c: Likewise.
20030 * string/test-strspn-ifunc.c: Likewise.
20031 * string/test-strstr-ifunc.c: Likewise.
20032
ab260039 200332013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20034
20035 * benchtests/Makefile: Remove ifunc tests.
20036 * benchtests/bench-string.h: Define TEST_IFUNC.
20037 * benchtests/bench-bcopy-ifunc.c: Remove.
20038 * benchtests/bench-bzero-ifunc.c: Likewise.
20039 * benchtests/bench-memccpy-ifunc.c: Likewise.
20040 * benchtests/bench-memchr-ifunc.c: Likewise.
20041 * benchtests/bench-memcmp-ifunc.c: Likewise.
20042 * benchtests/bench-memcpy-ifunc.c: Likewise.
20043 * benchtests/bench-memmem-ifunc.c: Likewise.
20044 * benchtests/bench-memmove-ifunc.c: Likewise.
20045 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20046 * benchtests/bench-memrchr-ifunc.c: Likewise.
20047 * benchtests/bench-memset-ifunc.c: Likewise.
20048 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20049 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20050 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20051 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20052 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20053 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20054 * benchtests/bench-strcat-ifunc.c: Likewise.
20055 * benchtests/bench-strchr-ifunc.c: Likewise.
20056 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20057 * benchtests/bench-strcmp-ifunc.c: Likewise.
20058 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20059 * benchtests/bench-strcpy-ifunc.c: Likewise.
20060 * benchtests/bench-strcspn-ifunc.c: Likewise.
20061 * benchtests/bench-strlen-ifunc.c: Likewise.
20062 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20063 * benchtests/bench-strncat-ifunc.c: Likewise.
20064 * benchtests/bench-strncmp-ifunc.c: Likewise.
20065 * benchtests/bench-strncpy-ifunc.c: Likewise.
20066 * benchtests/bench-strnlen-ifunc.c: Likewise.
20067 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20068 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20069 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20070 * benchtests/bench-strspn-ifunc.c: Likewise.
20071 * benchtests/bench-strstr-ifunc.c: Likewise.
20072
200732013-11-26 Ondřej Bílka <neleai@seznam.cz>
20074
ab260039
OB
20075 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20076
d1d9eaf4 200772013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20078
d1d9eaf4
OB
20079 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20080 * rt/aio.h: Likewise.
20081 * sysdeps/gnu/bits/utmp.h: Likewise.
20082 * sysdeps/gnu/bits/utmpx.h: Likewise.
20083 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20084 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20085 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20086 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20087 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20088 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20089 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20090 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20091 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20092 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20093 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20094 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20095 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20097 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20098 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20099 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20100 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20101 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20102 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20103 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20104 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20105 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20106 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20107 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20109 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20110 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20111 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20112 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20113 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20114 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20115 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20116 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20117 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20118 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20119 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20120 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20121 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20122 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20123 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20124 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20125
a7624ed9
CD
201262013-11-25 Carlos O'Donell <carlos@redhat.com>
20127
20128 [BZ #16245]
20129 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20130 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20131
63cfe52b
JM
201322013-11-25 Joseph Myers <joseph@codesourcery.com>
20133
20134 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20135 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20136 Likewise.
20137
41e8926a
AZ
201382013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20139
20140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20141 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20142 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20143 (__fesetround): Remove define.
20144 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20145 rounding and exceptions handling.
20146 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20147 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20148 (__fe_nomask_env): Likewise.
20149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20150 __fegetround instead of fegetround.
20151 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20152 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20153
6851bd4d
RM
201542013-11-21 Roland McGrath <roland@hack.frob.com>
20155
070906ff
RM
20156 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20157 it's there.
20158
6851bd4d
RM
20159 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20160
84ae135d
MI
201612013-11-21 Meador Inge <meadori@codesourcery.com>
20162
20163 [BZ #11157]
20164 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20165 (encrypt_r): Likewise.
20166 * malloc/obstack.h (obstack_free): Likewise.
20167 * posix/unistd.h (encrypt): Likewise.
20168
daf75146
GM
201692013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20170
20171 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20172 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20173 DL_CALL_DT_FINI() that call the functions directly.
20174 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20175 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20176 * elf/dl-fini.c: Likewise.
20177
10ad46bc
OB
201782013-11-20 Ondřej Bílka <neleai@seznam.cz>
20179
20180 * malloc/hooks.c (memalign_check): Add alignment rounding.
20181 * malloc/malloc.c (_mid_memalign): New function.
20182 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20183 Implement by calling _mid_memalign.
20184 * manual/probes.texi (Memory Allocation Probes): Remove
20185 memory_valloc_retry and memory_pvalloc_retry.
20186
f3fd2628
SP
201872013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20188
4712799f
SP
20189 * locale/programs/locarchive.c (open_archive): Add const
20190 qualifier to ARCHIVEFNAME and copy default fname to
20191 DEFAULT_FNAME.
20192
0417b20f
SP
20193 [BZ #15601]
20194 * libio/tst-widetext.input: Rename Oriya to Odia.
20195 * locale/iso-639.def: Likewise.
20196
f3fd2628
SP
20197 * manual/probes.texi (Mathematical Function Probes): Add
20198 documentation for sin, cos, asin and acos probes.
20199 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20200 (__sin32): Add slowasin probe.
20201 (__cos32): Add slowacos probe.
20202 (__mpsin): Add slowsin probe.
20203 (__mpcos): Add slowcos probe.
20204
73c1ce4f
JM
202052013-11-19 Joseph Myers <joseph@codesourcery.com>
20206
20207 [BZ #15483]
20208 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20209 thread-local __sim_exceptions_thread and global
20210 __sim_exceptions_global.
20211 (__sim_disabled_exceptions): Change to thread-local
20212 __sim_disabled_exceptions_thread and global
20213 __sim_disabled_exceptions_global.
20214 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20215 and global __sim_round_mode_global.
20216 (__simulate_exceptions): Use thread-local floating-point state and
20217 set global state from it as needed.
20218 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20219 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20220 __sim_round_mode_thread.
20221 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20222 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20223 and global __sim_exceptions_global.
20224 (__sim_disabled_exceptions): Change to thread-local
20225 __sim_disabled_exceptions_thread and global
20226 __sim_disabled_exceptions_global.
20227 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20228 and global __sim_round_mode_global.
20229 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20230 (SIM_SET_GLOBAL): Likewise.
20231 * sysdeps/powerpc/soft-fp/sfp-machine.h
20232 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20233 __sim_round_mode_thread.
20234 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20235 __sim_disabled_exceptions_thread.
20236 (__sim_exceptions): Change to __sim_exceptions_thread.
20237 (__sim_disabled_exceptions): Change to
20238 __sim_disabled_exceptions_thread.
20239 (__sim_round_mode): Change to __sim_round_mode_thread.
20240 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20241 thread-local floating-point state and set global state from it as
20242 needed.
20243 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20244 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20245 (__sim_disabled_exceptions): Remove extern declaration.
20246 (feenableexcept): Use thread-local floating-point state and set
20247 global state from it as needed.
20248 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20249 extern declaration.
20250 (__sim_disabled_exceptions): Likewise.
20251 (__sim_round_mode): Likewise.
20252 (__fegetenv): Use thread-local floating-point state.
20253 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20254 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20255 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20256 floating-point state and set global state from it as needed.
20257 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20258 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20259 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20260 Likewise.
20261 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20262 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20263 Likewise.
20264 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20265 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20266 Use __sim_round_mode_thread.
20267 * math/test-fenv-tls.c: New file.
20268 * math/Makefile (tests): Add test-fenv-tls.
20269 ($(objpfx)test-fenv-tls): Depend on
20270 $(common-objpfx)nptl/libpthread.so.
20271
b5449b12
AS
202722013-11-19 Andreas Schwab <schwab@suse.de>
20273
20274 * locale/programs/locale.c (show_info): Decode wordarray elements.
20275 * locale/categories.def (LC_MONETARY): Add element for
20276 _NL_MONETARY_CRNCYSTR.
20277 * locale/C-monetary.c (conversion_rate): New variable.
20278 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20279 element.
20280
e186536b
CM
202812013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20282
20283 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20284 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20285
5c349950
PP
202862013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20287
20288 * elf/Makefile (tst-auxv): New test.
20289 * elf/tst-auxv.c: New
20290 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20291
699df45b
JM
202922013-11-18 Joseph Myers <joseph@codesourcery.com>
20293
20294 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20295 (hidden_proto): Caller changed.
20296 (hidden_tls_proto): New macro.
20297 (libc_hidden_tls_proto): Likewise.
20298 (rtld_hidden_tls_proto): Likewise.
20299 (libm_hidden_tls_proto): Likewise.
20300 (libresolv_hidden_tls_proto): Likewise.
20301 (librt_hidden_tls_proto): Likewise.
20302 (libdl_hidden_tls_proto): Likewise.
20303 (libnss_files_hidden_tls_proto): Likewise.
20304 (libnsl_hidden_tls_proto): Likewise.
20305 (libnss_nisplus_hidden_tls_proto): Likewise.
20306 (libutil_hidden_tls_proto): Likewise.
20307
b7589107
OB
203082013-11-18 Ondřej Bílka <neleai@seznam.cz>
20309
20310 [BZ #10253]
20311 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20312 (decompose_rpath): Defer expansion to fillin_rpath.
20313 (_dl_init_paths): Pass linkmap to fillin_rpath.
20314
250c23bd
RS
203152013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20316
20317 * benchtests/Makefile: Add strsep.
20318 * benchtests/bench-strsep.c: New file: strsep benchtest.
20319 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20320
a7931fcf
AS
203212013-11-18 Andreas Schwab <schwab@suse.de>
20322
20323 * locale/programs/locale.c (show_info) [case byte]: Check for
20324 '\377' instead of '\177'.
20325 * locale/C-monetary.c (not_available): Always use "\377".
20326 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20327 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20328 detect unavailable sign_posn locale elements.
20329 * locale/localeconv.c (__localeconv): For grouping and
20330 mon_grouping handle "\177" and "\377" like no grouping.
20331 (INT_ELEM): New macro. Use it to set all numeric members.
20332 * locale/programs/ld-monetary.c (monetary_read)
20333 <tok_mon_grouping>: Normalize single -1 to the empty string.
20334 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20335 Likewise.
20336
728dab0e
OB
203372013-11-07 Ondřej Bílka <neleai@seznam.cz>
20338
20339 [BZ #16055]
20340 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20341 when we match (nil).
20342 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20343
66294491
JM
203442013-11-16 Joseph Myers <joseph@codesourcery.com>
20345
ce665817
JM
20346 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20347 (NO_TEST_INLINE): Update value.
20348 (ERRNO_UNCHANGED): Likewise.
20349 (ERRNO_EDOM): Likewise.
20350 (ERRNO_ERANGE): Likewise.
20351 (IGNORE_RESULT): Likewise.
20352 (check_float_internal): Check signs of NaN results if
20353 TEST_NAN_SIGN used.
20354 (check_complex): Pass TEST_NAN_SIGN flag through to second
20355 check_float_internal call.
20356 (copysign_test_data): Add tests with quiet NaNs as second
20357 argument. Use TEST_NAN_SIGN.
20358 (fabs_test_data): Add test of negative quiet NaN argument. Use
20359 TEST_NAN_SIGN.
20360 (signbit_test_data): Add tests of quiet NaN argument.
20361 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20362
ee1466a9
JM
20363 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20364 $ignore_result.
20365 (parse_args): Handle function results specified as IGNORE.
20366 * math/libm-test.inc (IGNORE_RESULT): New macro.
20367 (check_float_internal): Do not check numerical result if flag
20368 IGNORE_RESULT set.
20369 (check_complex): Pass through IGNORE_RESULT to second
20370 check_float_internal call.
20371 (check_int): Do not check numerical result if flag IGNORE_RESULT
20372 set.
20373 (check_long): Likewise.
20374 (check_bool): Likewise.
20375 (check_longlong): Likewise.
20376 (lrint_test_data): Add tests of infinite and NaN arguments.
20377 (lrint_tonearest_test_data): Likewise.
20378 (lrint_towardzero_test_data): Likewise.
20379 (lrint_downward_test_data): Likewise.
20380 (lrint_upward_test_data): Likewise.
20381 (llrint_test_data): Likewise.
20382 (llrint_tonearest_test_data): Likewise.
20383 (llrint_towardzero_test_data): Likewise.
20384 (llrint_downward_test_data): Likewise.
20385 (llrint_upward_test_data): Likewise.
20386 (lround_test_data): Likewise.
20387 (llround_test_data): Likewise.
20388
14407b7e
JM
20389 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20390 (ERRNO_UNCHANGED): Update value.
20391 (ERRNO_EDOM): Likewise.
20392 (ERRNO_ERANGE): Likewise.
20393 (NO_TEST_INLINE_FLOAT): New macro.
20394 (NO_TEST_INLINE_DOUBLE): Likewise.
20395 (enable_test): New function.
20396 (RUN_TEST_f_f): Check enable_test before running test.
20397 (RUN_TEST_2_f): Likewise.
20398 (RUN_TEST_fff_f): Likewise.
20399 (RUN_TEST_c_f): Likewise.
20400 (RUN_TEST_f_f1): Likewise.
20401 (RUN_TEST_fF_f1): Likewise.
20402 (RUN_TEST_fI_f1): Likewise.
20403 (RUN_TEST_ffI_f1): Likewise.
20404 (RUN_TEST_c_c): Likewise.
20405 (RUN_TEST_cc_c): Likewise.
20406 (RUN_TEST_f_i): Likewise.
20407 (RUN_TEST_f_i_tg): Likewise.
20408 (RUN_TEST_ff_i_tg): Likewise.
20409 (RUN_TEST_f_b): Likewise.
20410 (RUN_TEST_f_b_tg): Likewise.
20411 (RUN_TEST_f_l): Likewise.
20412 (RUN_TEST_f_L): Likewise.
20413 (RUN_TEST_fFF_11): Likewise.
20414 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20415 conditionals.
20416 (cosh_test_data): Likewise.
20417 (exp_test_data): Likewise.
20418 (expm1_test_data): Likewise.
20419 (hypot_test_data): Likewise.
20420 (pow_test_data): Likewise.
20421 (sinh_test_data): Likewise.
20422 (tanh_test_data): Likewise.
20423 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20424 flags argument.
20425
ca07f197
JM
20426 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20427 tests with quiet NaN input and output.
20428 (acosh_test_data): Likewise.
20429 (asin_test_data): Likewise.
20430 (asinh_test_data): Likewise.
20431 (atan_test_data): Likewise.
20432 (atanh_test_data): Likewise.
20433 (atan2_test_data): Likewise.
20434 (cbrt_test_data): Likewise.
20435 (cos_test_data): Likewise.
20436 (cosh_test_data): Likewise.
20437 (erf_test_data): Likewise.
20438 (erfc_test_data): Likewise.
20439 (exp_test_data): Likewise.
20440 (exp10_test_data): Likewise.
20441 (exp2_test_data): Likewise.
20442 (expm1_test_data): Likewise.
20443 (hypot_test_data): Likewise.
20444 (j0_test_data): Likewise.
20445 (j1_test_data): Likewise.
20446 (jn_test_data): Likewise.
20447 (lgamma_test_data): Likewise.
20448 (log_test_data): Likewise.
20449 (log10_test_data): Likewise.
20450 (log1p_test_data): Likewise.
20451 (log2_test_data): Likewise.
20452 (pow_test_data): Likewise.
20453 (scalb_test_data): Likewise.
20454 (sin_test_data): Likewise.
20455 (sincos_test_data): Likewise.
20456 (sinh_test_data): Likewise.
20457 (tan_test_data): Likewise.
20458 (tanh_test_data): Likewise.
20459 (tgamma_test_data): Likewise.
20460 (y0_test_data): Likewise.
20461 (y1_test_data): Likewise.
20462 (yn_test_data): Likewise.
20463
66294491
JM
20464 [BZ #16167]
20465 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20466 argument being NaN and avoid computations with second argument in
20467 that case.
20468 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20469 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20470 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20471
1820b143
CL
204722013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20473
20474 * locale/iso-639.def: Add Chitwani Tharu (the).
20475
714bd261
AS
204762013-11-14 Andreas Schwab <schwab@suse.de>
20477
20478 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20479 word instead of empty string.
20480
7ab44563
AZ
204812013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20482
20483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20484 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20486 (__fe_nomask_env): Likewise.
20487
e8470ea2
SE
204882013-11-13 Steve Ellcey <sellcey@mips.com>
20489
20490 * benchtests/bench-timing.h: Include time.h.
20491
17c1d9f0
L
204922013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20493
20494 [BZ #15997]
20495 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20496 to 3.4.0 for x32.
20497 * sysdeps/unix/sysv/linux/configure: Regenerated.
20498
9310c284
JM
204992013-11-13 Joseph Myers <joseph@codesourcery.com>
20500
20501 [BZ #16151]
20502 * stdlib/strtod_l.c (round_and_return): Do not consider
20503 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20504 exponent one less than half the least subnormal exponent.
20505 * stdlib/test-strtod-round-data: Add more tests.
20506 * stdlib/tst-strtod-round.c (tests): Regenerated.
20507
7a2ad8cf
AZ
205082013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20509
20510 [BZ #14143]
20511 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20512 (__fe_mask_env): Likewise.
20513 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20514 libm_hidden_proto and add function prototype.
20515 (__fe_mask_env): Add function prototype.
20516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20517 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20519 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20521 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20522
50727aa7
MS
205232013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20524
b2f386c1 20525 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
20526 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20527
a615be46
MS
205282013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20529
20530 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20531 of htab_find_slot().
20532
7ddace62
DM
205332013-11-11 David S. Miller <davem@davemloft.net>
20534
20535 [BZ #16150]
20536 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20537 symbol in the non-vis3 case in static builds.
20538 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20539 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20540 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20541 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20542
9182aa67
JK
205432013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20544
20545 [BZ #387]
20546 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20547 it is empty.
20548
450a2e2d
AZ
205492013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20550
b2f386c1
SP
20551 * benchtests/Makefile: Add bench-strtod.
20552 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 20553
8ec3f656
AS
205542013-11-11 Andreas Schwab <schwab@suse.de>
20555
20556 [BZ #16153]
20557 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20558 terminating NUL in key length.
20559
76a9b998
AZ
205602013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20561
20562 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20563 Add artificial ODP entry for vDSO symbol for PPC64.
20564 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20565 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20566
e4368156
OB
205672013-11-07 Ondřej Bílka <neleai@seznam.cz>
20568
20569 [BZ #15374]
20570 * nss/getent.c (services_keys): Recognize services starting with digit.
20571
8d6bb57c
DM
205722013-11-06 David S. Miller <davem@davemloft.net>
20573
20574 [BZ #15985]
20575 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20576 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20577
e256c421
WN
205782013-11-06 Will Newton <will.newton@linaro.org>
20579
20580 * manual/memory.texi (Malloc Examples): Remove register
20581 keyword from examples.
20582
f6e12daa 205832013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 20584
f6e12daa 20585 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 20586
9d880655
AS
205872013-11-04 Joseph Myers <joseph@codesourcery.com>
20588
fd2f9486 20589 [BZ #6981]
9d880655
AS
20590 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20591 depending on [__GCC_IEC_559 > 0].
20592 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20593 depending on [__GCC_IEC_559_COMPLEX > 0].
20594
ae129d3c
CL
205952013-11-03 Chris Leonard <cjl@sugarlabs.org>
20596
20597 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20598 to iso-639.def.
20599
4a15c2a4 206002013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
20601
20602 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20603
8b35e35d
OB
206042013-11-01 Ondřej Bílka <neleai@seznam.cz>
20605
20606 [BZ #16112]
20607 * malloc/malloc (malloc_info): Do not handle first bin as
20608 special case.
20609
1d70fd6c
CL
206102013-11-01 Chris Leonard <cjl@sugarlabs.org>
20611
20612 * locale/iso-639.def: Add Central Nahuatl (nhn).
20613
8c5c2600
BH
206142013-11-01 Bruno Haible <bruno@clisp.org>
20615
20616 [BZ #7003]
20617 * manual/math.texi (BSD Random): Specify range upper bound as
20618 in POSIX.
20619
da5579c2
CL
206202013-10-31 Chris Leonard <cjl@sugarlabs.org>
20621
20622 * locale/iso-639.def: Add Meadow Mari (mhr).
20623
5d30d853
OB
206242013-10-31 Ondřej Bílka <neleai@seznam.cz>
20625
20626 [BZ #14752], [BZ #15763]
20627 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20628 Validate name.
20629 * rt/tst_shm.c: Add test for escaping directory.
20630
a4966c61
AS
206312013-10-31 Andreas Schwab <schwab@suse.de>
20632
8a43e768 20633 [BZ #15917]
a4966c61
AS
20634 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20635 followed by 'x' as part of digit sequence.
20636 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20637
28d708c4
MAP
206382013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20639
20640 [BZ #16037]
20641 * configure.ac: allow GNU Make 4.0 and greater.
20642 * configure: Regenerated.
20643
a56ee40b
WN
206442013-10-30 Will Newton <will.newton@linaro.org>
20645
20646 [BZ #16038]
20647 * malloc/hooks.c (memalign_check): Limit alignment to the
20648 maximum representable power of two.
20649 * malloc/malloc.c (__libc_memalign): Likewise.
20650 * malloc/tst-memalign.c (do_test): Add test for very
20651 large alignment values.
20652 * malloc/tst-posix_memalign.c (do_test): Likewise.
20653
c6e4925d
OB
206542013-10-30 Ondřej Bílka <neleai@seznam.cz>
20655
20656 [BZ #11087]
20657 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20658 (munmap_chunk): Likewise.
20659 (mremap_chunk): Likewise.
20660
206612013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 20662
8a43e768 20663 [BZ #15799]
bbea82f7
OB
20664 * stdlib/div.c (div): Remove obsolete code.
20665 * stdlib/ldiv.c (ldiv): Likewise.
20666 * stdlib/lldiv.c (lldiv): Likewise.
20667
977f4b31
SP
206682013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20669
20670 [BZ #16071]
20671 * nss/nss_files/files-XXX.c (get_contents_ret): New
20672 enumerator.
20673 (get_contents): New function.
20674 (internal_getent): Use it. Expand size of LINEBUFLEN.
20675
cb8a6dbd
MF
206762013-10-30 Mike Frysinger <vapier@gentoo.org>
20677
20678 * configure.in: Moved to ...
20679 * configure.ac: ... here. Change reference to configure.in
20680 to configure.ac.
20681 * sysdeps/arm/preconfigure.ac: ... here.
20682 configure.in to configure.ac.
20683 * sysdeps/gnu/configure.in: Moved to ...
20684 * sysdeps/gnu/configure.ac: ... here.
20685 * sysdeps/i386/configure.in: Moved to ...
20686 * sysdeps/i386/configure.ac: ... here.
20687 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20688 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20689 * sysdeps/mach/configure.in: Moved to ...
20690 * sysdeps/mach/configure.ac: ... here.
20691 * sysdeps/mach/hurd/configure.in: Moved to ...
20692 * sysdeps/mach/hurd/configure.ac: ... here.
20693 * sysdeps/powerpc/configure.in: Moved to ...
20694 * sysdeps/powerpc/configure.ac: ... here.
20695 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20696 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20697 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20698 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20699 * sysdeps/s390/s390-32/configure.in: Moved to ...
20700 * sysdeps/s390/s390-32/configure.ac: ... here.
20701 * sysdeps/s390/s390-64/configure.in: Moved to ...
20702 * sysdeps/s390/s390-64/configure.ac: ... here.
20703 * sysdeps/sh/configure.in: Moved to ...
20704 * sysdeps/sh/configure.ac: ... here.
20705 * sysdeps/sparc/configure.in: Moved to ...
20706 * sysdeps/sparc/configure.ac: ... here.
20707 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20708 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20709 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20710 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20711 * sysdeps/x86_64/configure.in: Moved to ...
20712 * sysdeps/x86_64/configure.ac: ... here.
20713 * sysdeps/x86_64/preconfigure.in: Moved to ...
20714 * sysdeps/x86_64/preconfigure.ac: ... here.
20715 * aclocal.m4: Change reference to configure.in to configure.ac.
20716 * config.h.in: Likewise.
20717 * manual/install.texi: Likewise.
20718 * manual/maint.texi: Likewise.
20719 * Makefile: Likewise.
20720 * malloc/Makefile: Likewise.
20721 * nscd/Makefile: Likewise.
20722 * Makeconfig: Change reference to configure.in and
20723 preconfigure.in to configure.ac and preconfigure.ac
20724 respectively.
20725 * INSTALL: Regenerated.
20726 * configure: Likewise.
20727 * sysdeps/gnu/configure: Likewise.
20728 * sysdeps/i386/configure: Likewise.
20729 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20730 * sysdeps/mach/configure: Likewise.
20731 * sysdeps/mach/hurd/configure: Likewise.
20732 * sysdeps/powerpc/configure: Likewise.
20733 * sysdeps/powerpc/powerpc32/configure: Likewise.
20734 * sysdeps/powerpc/powerpc64/configure: Likewise.
20735 * sysdeps/s390/s390-32/configure: Likewise.
20736 * sysdeps/s390/s390-64/configure: Likewise.
20737 * sysdeps/sh/configure: Likewise.
20738 * sysdeps/sparc/configure: Likewise.
20739 * sysdeps/unix/sysv/linux/configure: Likewise.
20740 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20741 * sysdeps/x86_64/configure: Likewise.
20742 * sysdeps/x86_64/preconfigure: Likewise.
20743
36a4953a
AS
207442013-10-29 Andreas Schwab <schwab@suse.de>
20745
20746 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20747
c79a1204
SP
207482013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20749
dfa1b402
SP
20750 * benchtests/pow-inputs: Add new inputs.
20751
54f73d9c
SP
20752 * benchtests/exp-inputs: Add new inputs.
20753
c79a1204
SP
20754 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20755 conditional check for return value.
20756 (__cos32): Likewise.
20757
67beb545 207582013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
20759
20760 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20761 to provide a boost for large inputs with word alignment.
20762 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20763 implementation based on optimized PPC64 strcpy.
20764 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20765 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20766 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20767 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20768
151659f6
OB
207692013-10-25 Ondřej Bílka <neleai@seznam.cz>
20770
482a077e 20771 [BZ #2801]
151659f6
OB
20772 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20773
10b0f26b
OB
207742013-10-25 Ondřej Bílka <neleai@seznam.cz>
20775
20776 [BZ #14876]
20777 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20778 * time/tst-strptime.c (day_tests): Add testcase.
20779
ca42d35e
OB
207802013-10-25 Ondřej Bílka <neleai@seznam.cz>
20781
482a077e 20782 [BZ #14029]
ca42d35e
OB
20783 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20784
52e6d801
FB
207852013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20786
20787 [BZ #16074]
20788 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20789 MAP_FAILED on error.
20790
7cbcdb36
SP
207912013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20792
20793 [BZ #16072]
20794 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20795 heap for large requests.
20796
894f3f10
AM
207972013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20798
20799 [BZ #9954]
20800 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20801 result if the result has no associated interface.
20802 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20803 interface for all 127.X.Y.Z addresses.
20804
b85545a6
CL
208052013-10-24 Chris Leonard <cjl@sugarlabs.org>
20806
20807 * locale/iso-639.def: Add Ligurian (lij)
20808
d1f23d46
OB
208092013-10-21 Ondřej Bílka <neleai@seznam.cz>
20810
20811 [BZ #15825]
20812 * sunrpc/rpc_main.c: Document rpcgen -5.
20813
4db5b08f
MS
208142013-10-19 Michael Stahl <mstahl@redhat.com>
20815
20816 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20817
a471e96a
OB
208182013-10-19 Ondřej Bílka <neleai@seznam.cz>
20819
d1f23d46 20820 [BZ #10278]
a471e96a
OB
20821 * posix/glob.c: Match only directories when trailing slash is present.
20822 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20823 (main): Add testcase.
20824
45c30c61
OB
208252013-10-19 Ondřej Bílka <neleai@seznam.cz>
20826
20827 [BZ #15670]
20828 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20829
484c12fb
CD
208302013-10-18 Carlos O'Donell <carlos@redhat.com>
20831
3d7dc513
CD
20832 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20833 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20834 AUTH_DES and cindex for FIPS 140-2.
20835 (DES Encryption): Add cindex FIPS 46-3.
20836
484c12fb
CD
20837 * locale/locarchive.h (struct locarhandle): Add fname.
20838 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20839 if an optional argument was specified to --list-archive,
20840 otherwise NULL.
20841 * locale/programs/locarchive.c (show_archive_content): Take new
20842 argument fname and pass it via ah.fname to open_archive.
20843 * locale/programs/localedef.h: Update decl.
20844 (open_archive): If AH->fname is non-null, open that file
20845 rather than the default file name, and don't ignore ENOENT.
20846 (create_archive): Set AH.fname to NULL.
20847 (delete_locales_from_archive): Likewise.
20848 (add_locales_to_archive): Likewise.
20849 * locale/programs/locfile.c (write_all_categories): Likewise.
20850
3c8325fb
JM
208512013-10-18 Joseph Myers <joseph@codesourcery.com>
20852 Aldy Hernandez <aldyh@redhat.com>
20853
20854 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20855 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20856 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20857 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20858 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20859 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20860 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20861 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20862 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20863 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20864 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20865 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20866 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20867 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20868 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20869 Likewise.
20870 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20871 Likewise.
20872 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20873 Likewise.
20874 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20875 Likewise.
20876 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20877 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20878 Likewise.
20879 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20880 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20881 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20882 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20883 Likewise.
20884 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20885 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20886 * sysdeps/powerpc/preconfigure: Likewise.
20887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20888 Likewise.
20889 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20890 Replace contents of file by #include of <fenv_libc.h>.
20891 * sysdeps/powerpc/soft-fp/sfp-machine.h
20892 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20893 and <sys/prctl.h>.
20894 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20895 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20901 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20903 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20904 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20907 Allow copysignl PLT reference to be missing.
20908
5abe0682
RS
209092013-10-18 Richard Sandiford <richard@codesourcery.com>
20910 Joseph Myers <joseph@codesourcery.com
20911
20912 [BZ #15948]
20913 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20914 single character.
20915 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20916
c7738d08
SP
209172013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20918
20919 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20920 * elf/tst-tls1.c: Likewise.
20921 * elf/tst-tls10.h: Likewise.
20922 * elf/tst-tls14.c: Likewise.
20923 * elf/tst-tls2.c: Likewise.
20924 * elf/tst-tls3.c: Likewise.
20925 * elf/tst-tls4.c: Likewise.
20926 * elf/tst-tls5.c: Likewise.
20927 * elf/tst-tls6.c: Likewise.
20928 * elf/tst-tls7.c: Likewise.
20929 * elf/tst-tls8.c: Likewise.
20930 * elf/tst-tls9.c: Likewise.
20931 * elf/tst-tlsmod1.c: Likewise.
20932 * elf/tst-tlsmod13.c: Likewise.
20933 * elf/tst-tlsmod13a.c: Likewise.
20934 * elf/tst-tlsmod14a.c: Likewise.
20935 * elf/tst-tlsmod16a.c: Likewise.
20936 * elf/tst-tlsmod16b.c: Likewise.
20937 * elf/tst-tlsmod2.c: Likewise.
20938 * elf/tst-tlsmod3.c: Likewise.
20939 * elf/tst-tlsmod4.c: Likewise.
20940 * elf/tst-tlsmod5.c: Likewise.
20941 * elf/tst-tlsmod6.c: Likewise.
20942
0bfcf2c7
OB
209432013-10-18 Ondřej Bílka <neleai@seznam.cz>
20944
20945 [BZ #12486]
20946 * malloc/malloc.c: remove checks for statistics.
20947
264aad1e
OB
209482013-10-17 Ondřej Bílka <neleai@seznam.cz>
20949
20950 [BZ #15277]
20951 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20952 * inet/tst-network.c: Add testcase.
20953
b957ced8
AS
209542013-10-17 Andreas Schwab <schwab@suse.de>
20955
20956 [BZ #15218]
20957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20958 to determine canonical name.
20959
c5d5d574
OB
209602013-10-17 Ondřej Bílka <neleai@seznam.cz>
20961
20962 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20963 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20967 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20968 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20969 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20971 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20972 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20973 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20974 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20975 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20976 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20977 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20979 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20981 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20982 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20984 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20985 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20986 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20987 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20988 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20989 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20990 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20991 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20992 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20994 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20995 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20996 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20997 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20998 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21000 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21001 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21002 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21003 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21004 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21005 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21006 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21007 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21009 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21010 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21011 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21012 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21013 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21014 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21015 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21016 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21017 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21019 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21020
e5c2c2d0
JM
210212013-10-17 Joseph Myers <joseph@codesourcery.com>
21022
21023 [BZ #16041]
21024 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21025 make result into a quiet NaN.
21026
51ca9e29
JM
210272013-10-16 Joseph Myers <joseph@codesourcery.com>
21028
21029 * soft-fp/adddf3.c: Fix horizontal whitespace.
21030 * soft-fp/addsf3.c: Likewise.
21031 * soft-fp/addtf3.c: Likewise.
21032 * soft-fp/divdf3.c: Likewise.
21033 * soft-fp/divsf3.c: Likewise.
21034 * soft-fp/divtf3.c: Likewise.
21035 * soft-fp/double.h: Likewise.
21036 * soft-fp/eqdf2.c: Likewise.
21037 * soft-fp/eqsf2.c: Likewise.
21038 * soft-fp/eqtf2.c: Likewise.
21039 * soft-fp/extenddftf2.c: Likewise.
21040 * soft-fp/extended.h: Likewise.
21041 * soft-fp/extendsfdf2.c: Likewise.
21042 * soft-fp/extendsftf2.c: Likewise.
21043 * soft-fp/extendxftf2.c: Likewise.
21044 * soft-fp/fixdfdi.c: Likewise.
21045 * soft-fp/fixdfsi.c: Likewise.
21046 * soft-fp/fixdfti.c: Likewise.
21047 * soft-fp/fixsfdi.c: Likewise.
21048 * soft-fp/fixsfsi.c: Likewise.
21049 * soft-fp/fixsfti.c: Likewise.
21050 * soft-fp/fixtfdi.c: Likewise.
21051 * soft-fp/fixtfsi.c: Likewise.
21052 * soft-fp/fixtfti.c: Likewise.
21053 * soft-fp/fixunsdfdi.c: Likewise.
21054 * soft-fp/fixunsdfsi.c: Likewise.
21055 * soft-fp/fixunsdfti.c: Likewise.
21056 * soft-fp/fixunssfdi.c: Likewise.
21057 * soft-fp/fixunssfsi.c: Likewise.
21058 * soft-fp/fixunssfti.c: Likewise.
21059 * soft-fp/fixunstfdi.c: Likewise.
21060 * soft-fp/fixunstfsi.c: Likewise.
21061 * soft-fp/fixunstfti.c: Likewise.
21062 * soft-fp/floatdidf.c: Likewise.
21063 * soft-fp/floatdisf.c: Likewise.
21064 * soft-fp/floatditf.c: Likewise.
21065 * soft-fp/floatsidf.c: Likewise.
21066 * soft-fp/floatsisf.c: Likewise.
21067 * soft-fp/floatsitf.c: Likewise.
21068 * soft-fp/floattidf.c: Likewise.
21069 * soft-fp/floattisf.c: Likewise.
21070 * soft-fp/floattitf.c: Likewise.
21071 * soft-fp/floatundidf.c: Likewise.
21072 * soft-fp/floatundisf.c: Likewise.
21073 * soft-fp/floatunditf.c: Likewise.
21074 * soft-fp/floatunsidf.c: Likewise.
21075 * soft-fp/floatunsisf.c: Likewise.
21076 * soft-fp/floatunsitf.c: Likewise.
21077 * soft-fp/floatuntidf.c: Likewise.
21078 * soft-fp/floatuntisf.c: Likewise.
21079 * soft-fp/floatuntitf.c: Likewise.
21080 * soft-fp/fmadf4.c: Likewise.
21081 * soft-fp/fmasf4.c: Likewise.
21082 * soft-fp/fmatf4.c: Likewise.
21083 * soft-fp/gedf2.c: Likewise.
21084 * soft-fp/gesf2.c: Likewise.
21085 * soft-fp/getf2.c: Likewise.
21086 * soft-fp/ledf2.c: Likewise.
21087 * soft-fp/lesf2.c: Likewise.
21088 * soft-fp/letf2.c: Likewise.
21089 * soft-fp/muldf3.c: Likewise.
21090 * soft-fp/mulsf3.c: Likewise.
21091 * soft-fp/multf3.c: Likewise.
21092 * soft-fp/negdf2.c: Likewise.
21093 * soft-fp/negsf2.c: Likewise.
21094 * soft-fp/negtf2.c: Likewise.
21095 * soft-fp/op-1.h: Likewise.
21096 * soft-fp/op-2.h: Likewise.
21097 * soft-fp/op-4.h: Likewise.
21098 * soft-fp/op-8.h: Likewise.
21099 * soft-fp/op-common.h: Likewise.
21100 * soft-fp/quad.h: Likewise.
21101 * soft-fp/single.h: Likewise.
21102 * soft-fp/soft-fp.h: Likewise.
21103 * soft-fp/sqrtdf2.c: Likewise.
21104 * soft-fp/sqrtsf2.c: Likewise.
21105 * soft-fp/sqrttf2.c: Likewise.
21106 * soft-fp/subdf3.c: Likewise.
21107 * soft-fp/subsf3.c: Likewise.
21108 * soft-fp/subtf3.c: Likewise.
21109 * soft-fp/truncdfsf2.c: Likewise.
21110 * soft-fp/trunctfdf2.c: Likewise.
21111 * soft-fp/trunctfsf2.c: Likewise.
21112 * soft-fp/trunctfxf2.c: Likewise.
21113 * soft-fp/unorddf2.c: Likewise.
21114 * soft-fp/unordsf2.c: Likewise.
21115 * soft-fp/unordtf2.c: Likewise.
21116
9ebb0332
JM
211172013-10-15 Joseph Myers <joseph@codesourcery.com>
21118
21119 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21120 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21121
4b1a6d8b
OB
211222013-10-15 Ondřej Bílka <neleai@seznam.cz>
21123
21124 * elf/dl-libc.c: Clear initfini list after freeing.
21125
1e145589
JM
211262013-10-14 Joseph Myers <joseph@codesourcery.com>
21127
21128 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21129 * soft-fp/addsf3.c: Likewise.
21130 * soft-fp/addtf3.c: Likewise.
21131 * soft-fp/divdf3.c: Likewise.
21132 * soft-fp/divsf3.c: Likewise.
21133 * soft-fp/divtf3.c: Likewise.
21134 * soft-fp/double.h: Likewise.
21135 * soft-fp/eqdf2.c: Likewise.
21136 * soft-fp/eqsf2.c: Likewise.
21137 * soft-fp/eqtf2.c: Likewise.
21138 * soft-fp/extenddftf2.c: Likewise.
21139 * soft-fp/extended.h: Likewise.
21140 * soft-fp/extendsfdf2.c: Likewise.
21141 * soft-fp/extendsftf2.c: Likewise.
21142 * soft-fp/extendxftf2.c: Likewise.
21143 * soft-fp/fixdfdi.c: Likewise.
21144 * soft-fp/fixdfsi.c: Likewise.
21145 * soft-fp/fixdfti.c: Likewise.
21146 * soft-fp/fixsfdi.c: Likewise.
21147 * soft-fp/fixsfsi.c: Likewise.
21148 * soft-fp/fixsfti.c: Likewise.
21149 * soft-fp/fixtfdi.c: Likewise.
21150 * soft-fp/fixtfsi.c: Likewise.
21151 * soft-fp/fixtfti.c: Likewise.
21152 * soft-fp/fixunsdfdi.c: Likewise.
21153 * soft-fp/fixunsdfsi.c: Likewise.
21154 * soft-fp/fixunsdfti.c: Likewise.
21155 * soft-fp/fixunssfdi.c: Likewise.
21156 * soft-fp/fixunssfsi.c: Likewise.
21157 * soft-fp/fixunssfti.c: Likewise.
21158 * soft-fp/fixunstfdi.c: Likewise.
21159 * soft-fp/fixunstfsi.c: Likewise.
21160 * soft-fp/fixunstfti.c: Likewise.
21161 * soft-fp/floatdidf.c: Likewise.
21162 * soft-fp/floatdisf.c: Likewise.
21163 * soft-fp/floatditf.c: Likewise.
21164 * soft-fp/floatsidf.c: Likewise.
21165 * soft-fp/floatsisf.c: Likewise.
21166 * soft-fp/floatsitf.c: Likewise.
21167 * soft-fp/floattidf.c: Likewise.
21168 * soft-fp/floattisf.c: Likewise.
21169 * soft-fp/floattitf.c: Likewise.
21170 * soft-fp/floatundidf.c: Likewise.
21171 * soft-fp/floatundisf.c: Likewise.
21172 * soft-fp/floatunsidf.c: Likewise.
21173 * soft-fp/floatunsisf.c: Likewise.
21174 * soft-fp/floatuntidf.c: Likewise.
21175 * soft-fp/floatuntisf.c: Likewise.
21176 * soft-fp/floatuntitf.c: Likewise.
21177 * soft-fp/fmadf4.c: Likewise.
21178 * soft-fp/fmasf4.c: Likewise.
21179 * soft-fp/fmatf4.c: Likewise.
21180 * soft-fp/gedf2.c: Likewise.
21181 * soft-fp/gesf2.c: Likewise.
21182 * soft-fp/getf2.c: Likewise.
21183 * soft-fp/ledf2.c: Likewise.
21184 * soft-fp/lesf2.c: Likewise.
21185 * soft-fp/letf2.c: Likewise.
21186 * soft-fp/muldf3.c: Likewise.
21187 * soft-fp/mulsf3.c: Likewise.
21188 * soft-fp/multf3.c: Likewise.
21189 * soft-fp/negdf2.c: Likewise.
21190 * soft-fp/negsf2.c: Likewise.
21191 * soft-fp/negtf2.c: Likewise.
21192 * soft-fp/op-1.h: Likewise.
21193 * soft-fp/op-2.h: Likewise.
21194 * soft-fp/op-4.h: Likewise.
21195 * soft-fp/op-8.h: Likewise.
21196 * soft-fp/op-common.h: Likewise.
21197 * soft-fp/quad.h: Likewise.
21198 * soft-fp/single.h: Likewise.
21199 * soft-fp/soft-fp.h: Likewise.
21200 * soft-fp/sqrtdf2.c: Likewise.
21201 * soft-fp/sqrtsf2.c: Likewise.
21202 * soft-fp/sqrttf2.c: Likewise.
21203 * soft-fp/subdf3.c: Likewise.
21204 * soft-fp/subsf3.c: Likewise.
21205 * soft-fp/subtf3.c: Likewise.
21206 * soft-fp/truncdfsf2.c: Likewise.
21207 * soft-fp/trunctfdf2.c: Likewise.
21208 * soft-fp/trunctfsf2.c: Likewise.
21209 * soft-fp/trunctfxf2.c: Likewise.
21210 * soft-fp/unorddf2.c: Likewise.
21211 * soft-fp/unordsf2.c: Likewise.
21212 * soft-fp/unordtf2.c: Likewise.
21213
17c48a60
OB
212142013-10-14 Ondřej Bílka <neleai@seznam.cz>
21215
21216 [BZ #15672]
21217 * misc/error.c (error_tail): Fix possible buffer overflow.
21218
cabba934
OB
212192013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21220
21221 [BZ #13028]
21222 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21223 address.
21224
94bf958a
PM
212252013-10-14 P. J. McDermott <pj@pehjota.net>
21226
21227 [BZ #832]
21228 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21229 testing pipefail option.
21230
71b4dea7
JM
212312013-10-12 Joseph Myers <joseph@codesourcery.com>
21232
21233 * soft-fp/double.h: Indent preprocessor directives inside #if.
21234 * soft-fp/extended.h: Likewise.
21235 * soft-fp/op-2.h: Likewise.
21236 * soft-fp/op-4.h: Likewise.
21237 * soft-fp/op-common.h: Likewise.
21238 * soft-fp/quad.h: Likewise.
21239 * soft-fp/single.h: Likewise.
21240 * soft-fp/soft-fp.h: Likewise.
21241
55602758
YC
212422013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21243
21244 * iconv/iconv_prog.c: Fix typos.
21245 * stdio-common/psiginfo-data.h: Likewise.
21246
9cd83302
RT
212472013-10-12 Reuben Thomas <rrt@sc3d.org>
21248
21249 [BZ #15764]
21250 * locale/setlocale.c: Fix typo.
21251
99fd9f47
JM
212522013-10-12 Joseph Myers <joseph@codesourcery.com>
21253
b7ea74f0
JM
21254 [BZ #16036]
21255 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21256 signaling NaN arguments.
21257 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21258 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21259
8a509447
JM
21260 [BZ #14910]
21261 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21262 unordered operands.
21263 * soft-fp/gesf2.c (__gesf2): Likewise.
21264 * soft-fp/getf2.c (__getf2): Likewise.
21265 * soft-fp/ledf2.c (__ledf2): Likewise.
21266 * soft-fp/lesf2.c (__lesf2): Likewise.
21267 * soft-fp/letf2.c (__letf2): Likewise.
21268
98998e9f
JM
21269 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21270 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21271 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21272 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21273 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21274 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21275 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21276 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21277 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21278 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21279 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21280 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21281 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21282 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21283 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21284 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21285 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21286 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21287 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21288 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21289 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21290 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21291 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21292 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21293 * soft-fp/floattidf.c (__floattidf): Likewise.
21294 * soft-fp/floattisf.c (__floattisf): Likewise.
21295 * soft-fp/floattitf.c (__floattitf): Likewise.
21296 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21297 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21298 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21299 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21300 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21301 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21302 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21303 * soft-fp/gesf2.c (__gesf2): Likewise.
21304 * soft-fp/getf2.c (__getf2): Likewise.
21305 * soft-fp/ledf2.c (__ledf2): Likewise.
21306 * soft-fp/lesf2.c (__lesf2): Likewise.
21307 * soft-fp/letf2.c (__letf2): Likewise.
21308
8edc4a11
JM
21309 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21310 Undefine and redefine.
21311 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21312 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21313 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21314 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21315 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21316 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21317 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21318 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21319 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21320 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21321 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21322 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21323 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21324 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21325 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21326
8399acaf
JM
21327 [BZ #16032]
21328 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21329 without decrementing exponent if mantissa >= that for the
21330 denominator, not >.
21331 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21332 denominator, not >. Decrement exponent in < case instead of
21333 incrementing in >= case.
21334 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21335 without decrementing exponent if mantissa >= that for the
21336 denominator, not >.
21337
99fd9f47
JM
21338 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21339 computing saturated result for unsigned overflow.
21340
10e1cf6b
SP
213412013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21342 Jeff Law <law@redhat.com>
21343
21344 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21345 (atan2Mp): Add systemtap probe marker.
21346 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21347 (__ieee754_log): Add systemtap probe marker.
21348 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21349 (atanMp): Add systemtap probe marker.
21350 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21351 (tanMp): Add systemtap probe marker.
21352 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21353 (__slowexp): Add systemtap probe marker.
21354 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21355 (__slowpow): Add systemtap probe marker.
21356 * manual/probes.texi: Document probes.
21357
3d110c7c
EB
213582013-10-11 Eric Biggers <ebiggers3@gmail.com>
21359
21360 [BZ #15362]
21361 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21362 written.
21363 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21364 written.
21365 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21366 written to buffer but not flushed.
21367 * libio/iofwrite_u.c: Likewise.
21368 * libio/iopadn.c: Return bytes returned even if EOF was
21369 encountered.
21370 * libio/iowpadn.c: Likewise.
21371 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21372 if _IO_padn does not write the whole buffer.
21373 [!COMPILE_WPRINTF] (PAD): Likewise.
21374
75b4202a
DM
213752013-10-10 David S. Miller <davem@davemloft.net>
21376
21377 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21378 directory block.
21379
6c6352e6
JM
213802013-10-10 Joseph Myers <joseph@codesourcery.com>
21381
33b853c3
JM
21382 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21383 instead of FSF address.
21384 * soft-fp/fixdfti.c: Likewise.
21385 * soft-fp/fixsfti.c: Likewise.
21386 * soft-fp/fixtfti.c: Likewise.
21387 * soft-fp/fixunsdfti.c: Likewise.
21388 * soft-fp/fixunssfti.c: Likewise.
21389 * soft-fp/fixunstfti.c: Likewise.
21390 * soft-fp/floattidf.c: Likewise.
21391 * soft-fp/floattisf.c: Likewise.
21392 * soft-fp/floattitf.c: Likewise.
21393 * soft-fp/floatuntidf.c: Likewise.
21394 * soft-fp/floatuntisf.c: Likewise.
21395 * soft-fp/floatuntitf.c: Likewise.
21396 * soft-fp/trunctfxf2.c: Likewise.
21397
6c6352e6
JM
21398 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21399 * soft-fp/fixdfti.c: Likewise.
21400 * soft-fp/fixsfti.c: Likewise.
21401 * soft-fp/fixtfti.c: Likewise.
21402 * soft-fp/fixunsdfti.c: Likewise.
21403 * soft-fp/fixunssfti.c: Likewise.
21404 * soft-fp/fixunstfti.c: Likewise.
21405 * soft-fp/floattidf.c: Likewise.
21406 * soft-fp/floattisf.c: Likewise.
21407 * soft-fp/floattitf.c: Likewise.
21408 * soft-fp/floatuntidf.c: Likewise.
21409 * soft-fp/floatuntisf.c: Likewise.
21410 * soft-fp/floatuntitf.c: Likewise.
21411 * soft-fp/trunctfxf2.c: Likewise.
21412
3bf78b71
DM
214132013-10-10 David S. Miller <davem@davemloft.net>
21414
21415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21416
6f10289e
JM
214172013-10-10 Joseph Myers <joseph@codsourcery.com>
21418
bd878fc0
JM
21419 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21420 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21421 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21422 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21423 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21424 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21425 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21426
6f10289e
JM
21427 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21428 for NaNs before doing comparisons on argument.
21429 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21430 Likewise.
21431
321e2684
WN
214322013-10-10 Will Newton <will.newton@linaro.org>
21433
21434 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21435 passed to _int_memalign does not overflow.
21436
40fefba1
TR
214372013-10-10 Torvald Riegel <triegel@redhat.com>
21438
21439 * scripts/bench.pl: Add include-sources directive.
21440 * benchtests/README: Update documentation.
21441
2ae21ed2
JM
214422013-10-10 Joseph Myers <joseph@codesourcery.com>
21443
dcc2dd3f
JM
21444 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21445 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21446 instead of FP_INIT_ROUNDMODE.
21447 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21448 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21449
2ae21ed2
JM
21450 [BZ #16034]
21451 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21452 copy class of input value.
21453 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21454 not handle exceptions.
21455 * soft-fp/negsf2.c (__negsf2): Likewise.
21456 * soft-fp/negtf2.c (__negtf2): Likewise.
21457 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21458
cb8f9562
JM
214592013-10-09 Joseph Myers <joseph@codesourcery.com>
21460
21461 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21462 semicolon. From Linux kernel.
21463
5b60c59d
AB
214642013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21465
21466 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21467
b86835ca
YC
214682013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21469
21470 [BZ #156]
21471 * manual/socket.texi: Added statement about buffer
21472 for gethostbyname2_r.
21473
e7044ea7
OB
214742013-10-08 Ondřej Bílka <neleai@seznam.cz>
21475
21476 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21477 Use .p2align directive instead, throughout.
21478 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21479 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21480 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21482 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21483 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21484 * sysdeps/x86_64/strchr.S: Likewise.
21485 * sysdeps/x86_64/strrchr.S: Likewise.
21486
09544cbc
SP
214872013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21488
88576635
SP
21489 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21490
e7b2d1dd
SP
21491 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21492
09544cbc
SP
21493 * sysdeps/generic/math_private.h (__mpsin1): Remove
21494 declaration.
21495 (__mpcos1): Likewise.
21496 (__mpsin): New argument __range_reduce.
21497 (__mpcos): Likewise.
21498 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21499 (slow): Use __mpsin and __mpcos.
21500 (slow1): Likewise.
21501 (slow2): Likewise.
21502 (sloww): Likewise.
21503 (sloww1): Likewise.
21504 (sloww2): Likewise.
21505 (bsloww): Likewise.
21506 (bsloww1): Likewise.
21507 (bsloww2): Likewise.
21508 (cslow2): Likewise.
21509 (csloww): Likewise.
21510 (csloww1): Likewise.
21511 (csloww2): Likewise.
21512 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21513 range_reduce. Merge in __mpsin1.
21514 (__mpcos): Likewise.
21515 (__mpsin1): Remove.
21516 (__mpcos1): Likewise.
21517
7602d070
JM
215182013-10-07 Joseph Myers <joseph@codesourcery.com>
21519
21520 * locale/loadlocale.c (_nl_intern_locale_data): Use
21521 LOCFILE_ALIGNED_P.
21522 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21523 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21524 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21525 obstack data is appropriately aligned.
21526 (obstack_int32_grow_fast): Likewise.
21527 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21528 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21529 (add_locale_uint32_array): Likewise.
21530
a357259b
SP
215312013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21532
21533 * benchtests/Makefile: Remove ARGLIST and RET variables.
21534 ($(objpfx)bench-%.c): Pass only function name to the script.
21535 * benchtests/README: Update documentation.
21536 * benchtests/acos-inputs: Add new directives.
21537 * benchtests/acosh-inputs: Likewise.
21538 * benchtests/asin-inputs: Likewise.
21539 * benchtests/asinh-inputs: Likewise.
21540 * benchtests/atan-inputs: Likewise.
21541 * benchtests/atanh-inputs: Likewise.
21542 * benchtests/cos-inputs: Likewise.
21543 * benchtests/cosh-inputs: Likewise.
21544 * benchtests/exp-inputs: Likewise.
21545 * benchtests/log-inputs: Likewise.
21546 * benchtests/pow-inputs: Likewise.
21547 * benchtests/rint-inputs: Likewise.
21548 * benchtests/sin-inputs: Likewise.
21549 * benchtests/sinh-inputs: Likewise.
21550 * benchtests/tan-inputs: Likewise.
21551 * benchtests/tanh-inputs: Likewise.
21552 * scripts/bench.pl: Add support for new directives.
21553
9ec1b13d
AM
215542013-10-07 Alan Modra <amodra@gmail.com>
21555
21556 * README: Fix careless merge.
21557
8b7d57cd
AM
215582013-10-05 Alan Modra <amodra@gmail.com>
21559
21560 * NEWS: Mention powerpc64le support and bugs fixed.
21561 * README: Both big-endian and little-endian powerpc64 supported.
21562
7b7bab13
ST
215632013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21564
57f41c40
AS
21565 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21566 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
21567 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21568 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21569
d39baad1
RA
215702013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21571
21572 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21573 match prototype.
21574
cd78f7e7
JM
215752013-10-04 Joseph Myers <joseph@codesourcery.com>
21576
29d73d86
JM
21577 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21578 Move -mhard-float appending from
21579 ports/sysdeps/powerpc/powerpc32/Makefile.
21580 [$(with-fp) = yes] (ASFLAGS): Likewise.
21581 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21582 * sysdeps/powerpc/nofpu: Move directory from
21583 ports/sysdeps/powerpc/nofpu.
21584 * sysdeps/powerpc/soft-fp: Move directory from
21585 ports/sysdeps/powerpc/soft-fp.
21586 * sysdeps/powerpc/powerpc32/405: Move directory from
21587 ports/sysdeps/powerpc/powerpc32/405.
21588 * sysdeps/powerpc/powerpc32/440: Move directory from
21589 ports/sysdeps/powerpc/powerpc32/440.
21590 * sysdeps/powerpc/powerpc32/464: Move directory from
21591 ports/sysdeps/powerpc/powerpc32/464.
21592 * sysdeps/powerpc/powerpc32/476: Move directory from
21593 ports/sysdeps/powerpc/powerpc32/476.
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21595 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21597 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21599 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21601 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21603 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21604 * README: Update for powerpc-*-linux-gnu software floating point
21605 support in libc.
21606
e246b347
JM
21607 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21608 case to powerpc/powerpc32*.
21609 * sysdeps/unix/sysv/linux/configure: Regenerated.
21610
89c2003e
JM
21611 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21612 (_FPU_MASK_OM): Define as 0x04.
21613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21615 0x00c10080.
21616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21617 0x0000003c.
21618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21619
cd78f7e7
JM
21620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21621 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21622 getcontext_e500.
21623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21624 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21625 setcontext_e500.
21626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21627 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21628 and setcontext_e500.
21629
c755294d
CL
216302013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21631
21632 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21633
e16d221c
SP
216342013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21635
21636 * manual/threads.texi (Default Thread Attributes): Fix typo.
21637
215c7d43
WN
216382013-10-04 Will Newton <will.newton@linaro.org>
21639
21640 * malloc/Makefile: Add tst-memalign.
21641 * malloc/tst-memalign.c: New file.
21642
27d0461b
WN
21643 * malloc/tst-posix_memalign.c: Add comments.
21644 (do_test): Add comments and call free on all potentially
21645 allocated pointers. Add space after cast.
21646
1bc92709
WN
21647 * malloc/tst-pvalloc.c: Add comments.
21648 (do_test): Add comments and call free on all potentially
21649 allocated pointers. Remove duplicate check for NULL pointer.
21650 Add space after cast.
21651
66a9be9d
WN
21652 * malloc/tst-valloc.c: Add comments.
21653 (do_test): Add comments and call free on all potentially
21654 allocated pointers. Remove duplicate check for NULL pointer.
21655 Add space after cast.
21656
4cb81307
AM
216572013-10-04 Alan Modra <amodra@gmail.com>
21658
21659 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21660 Use stdint types in rather than __attribute__((mode())).
21661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21662
f8e3e9f3
AM
216632013-10-04 Alan Modra <amodra@gmail.com>
21664
21665 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21666 Correct handling of unaligned relocs for little-endian.
21667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21668
8f9ebb08
AM
216692013-10-04 Alan Modra <amodra@gmail.com>
21670
21671 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21672 * configure: Regenerate.
21673 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21674 * shlib-versions: Likewise.
21675
0edf96c2
AM
216762013-10-04 Alan Modra <amodra@gmail.com>
21677
21678 * string/tester.c (test_memrchr): Increment reported test cycle.
21679
e0f7a380
AM
216802013-10-04 Alan Modra <amodra@gmail.com>
21681
21682 * string/test-memcpy.c (do_one_test): When reporting errors, print
21683 string address and don't overrun end of string.
21684
466b0393
AM
216852013-10-04 Alan Modra <amodra@gmail.com>
21686
21687 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21688 insrdi. Make better use of reg selection to speed exit slightly.
21689 Schedule entry path a little better. Remove useless "are we done"
21690 checks on entry to main loop. Handle wrapping around zero address.
21691 Correct main loop count. Handle single left-over word from main
21692 loop inline rather than by using loop_small. Remove extra word
21693 case in loop_small caused by wrong loop count. Add little-endian
21694 support.
21695 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21697 cache hint.
21698 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21699 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21700 support. Avoid rlwimi.
21701 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21702
3be87c77
AM
217032013-10-04 Alan Modra <amodra@gmail.com>
21704
21705 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 21706 insrdi. Formatting.
3be87c77
AM
21707 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21708 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21709 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21710 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21711 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21712 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21713
759cfef3
AM
217142013-10-04 Alan Modra <amodra@gmail.com>
21715
21716 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21717 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21718 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21719 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21720 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21721 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21722 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21723 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21724 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21725 use of regs. Use power7 mtocrf. Tidy function tails.
21726
fe6e95d7
AM
217272013-10-04 Alan Modra <amodra@gmail.com>
21728
21729 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21730 Formatting. Consistently use rXXX register defines or rN defines.
21731 Use early exit labels that avoid restoring unused non-volatile regs.
21732 Make cr field use more consistent with rWORDn compares. Rename
21733 regs used as shift registers for unaligned loop, using rN defines
21734 for short lifetime/multiple use regs.
21735 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21736 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21737 addi 1,1,64 to pop stack frame. Simplify return value code.
21738 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21739
664318c3
AM
217402013-10-04 Alan Modra <amodra@gmail.com>
21741
21742 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21743 support. Correct typos, formatting. Optimize tail. Use insrdi
21744 rather than rlwimi.
21745 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21746 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21747 little-endian support. Correct typos.
21748 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21749 rather than rlwimi.
21750 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21751 in loop and entry code to keep "and." results.
21752 (strchr): Add little-endian support. Comment. Move cntlzd
21753 earlier in tail.
21754 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21755
43b84013
AM
217562013-10-04 Alan Modra <amodra@gmail.com>
21757
21758 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21759 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21760 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21761 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21762
8a7413f9
AM
217632013-10-04 Alan Modra <amodra@gmail.com>
21764
21765 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21766 (rTMP): Define as r11.
21767 (strcmp): Add little-endian support. Optimise tail.
21768 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21769 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21770 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21771 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21772 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21774 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21775
33ee81de
AM
217762013-10-04 Alan Modra <amodra@gmail.com>
21777
21778 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21779 little-endian support. Remove unnecessary "are we done" tests.
21780 Handle "s" wrapping around zero and extremely large "size".
21781 Correct main loop count. Handle single left-over word from main
21782 loop inline rather than by using small_loop. Correct comments.
21783 Delete "zero" tail, use "end_max" instead.
21784 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21785
db9b4570
AM
217862013-10-04 Alan Modra <amodra@gmail.com>
21787
21788 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21789 support. Don't branch over align.
21790 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21791 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21792 support. Rearrange tmp reg use to suit. Comment.
21793 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21794
f7c399cf
AM
217952013-10-04 Alan Modra <amodra@gmail.com>
21796
21797 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21798
0b2c2ace
AM
217992013-10-04 Alan Modra <amodra@gmail.com>
21800
21801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21802 conditional form of branch and link when obtaining pc.
21803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21804
02f04a6c
AM
218052013-10-04 Alan Modra <amodra@gmail.com>
21806
21807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21808 HIWORD/LOWORD.
21809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21811
9b874b2f
AM
218122013-10-04 Alan Modra <amodra@gmail.com>
21813
21814 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21815 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21816 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21817 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21818 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21819 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21820 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21821 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21822 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21823 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21824
be1e5d31
AB
218252013-10-04 Anton Blanchard <anton@au1.ibm.com>
21826 Alistair Popple <alistair@ozlabs.au.ibm.com>
21827 Alan Modra <amodra@gmail.com>
21828
21829 [BZ #15723]
21830 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21831 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21832 _dl_hwcap access for little-endian.
21833 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21834 destroy vmx regs when saving unaligned.
21835 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21836 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21837 destroy vmx regs when saving unaligned.
21838
fef13a78
AM
218392013-10-04 Alan Modra <amodra@gmail.com>
21840
21841 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21842 Don't use a union to pack hi/low value.
21843
76a66d51
AB
218442013-10-04 Anton Blanchard <anton@au1.ibm.com>
21845
21846 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21847 for little-endian.
21848 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21849 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21850 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21851 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21852 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21853
6a31fe7f
AM
218542013-10-04 Alan Modra <amodra@gmail.com>
21855
21856 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21857 constants to usual value for .cst8 section, and remove redundant
21858 high address load.
21859 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21860 constant for 0x1p52. Load little-endian words of double from
21861 correct stack offsets.
21862
7b88401f
AM
218632013-10-04 Alan Modra <amodra@gmail.com>
21864
21865 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21866 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21867 words of double from correct stack offsets.
21868 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21869 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21870 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21871 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21872 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21873 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21874 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21875 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21876 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21877 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21878 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21879 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21880 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21881 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21882 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21883 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21884 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21885
9c008155
AM
218862013-10-04 Alan Modra <amodra@gmail.com>
21887
21888 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21889 64-bit int/double union.
21890 (_FPU_SETCW): Likewise.
21891 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21892 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21893
da13146d
AM
218942013-10-04 Alan Modra <amodra@gmail.com>
21895
21896 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21897 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21898
603e8410
AM
218992013-10-04 Alan Modra <amodra@gmail.com>
21900
21901 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21902 use vector int constants.
21903 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21904
4a28b3ca
AB
219052013-10-04 Anton Blanchard <anton@au1.ibm.com>
21906
21907 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21908 array with long long.
21909 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21910 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21911 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21912 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21913 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21914 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21915 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21916 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21917 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21918 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21919 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21920 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21921 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21922
2ca85d2b
AB
219232013-10-04 Anton Blanchard <anton@au1.ibm.com>
21924
21925 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21926 (__signbit): Likewise. Correct for little-endian.
21927 (__signbitl): Call __signbit.
21928 (lrint): Correct for little-endian.
21929 (lrintf): Call lrint.
21930
62a728ae
AM
219312013-10-04 Alan Modra <amodra@gmail.com>
21932
21933 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21934 union 32-bit int array member with 64-bit int array.
21935 (t515, tm256): Double rather than long double.
21936 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21937
32c301df
AM
219382013-10-04 Alan Modra <amodra@gmail.com>
21939
21940 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21941 Delete.
21942 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21943 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21944 version of math_ldbl.h.
21945
650ef4bd
AM
219462013-10-04 Alan Modra <amodra@gmail.com>
21947
21948 [BZ #15734], [BZ #15735]
21949 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21950 all uses of ieee875 long double macros and unions. Simplify test
21951 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21952 ldbl_extract_mantissa value for ix,iy exponents. Properly
21953 normalize after ldbl_extract_mantissa, and don't add hidden bit
21954 already handled. Don't treat low word of ieee854 mantissa like
21955 low word of IBM long double and mask off bit when testing for
21956 zero.
21957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21958 all uses of ieee875 long double macros and unions. Simplify tests
21959 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21960 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21961 two1022, instead use their values. Recognise that tests for large
21962 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21963 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21964 Rewrite all uses of ieee875 long double macros and unions. Simplify
21965 test for 0.0L and nan. Correct negation.
21966 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21967 ieee875 long double macros and unions. Correct output for large
21968 magnitude x. Correct absolute value calculation.
21969 (__erfcl): Likewise.
21970 * math/libm-test.inc: Add tests for errors discovered in IBM long
21971 double versions of fmodl, remainderl, erfl and erfcl.
21972
765714ca
AM
219732013-10-04 Alan Modra <amodra@gmail.com>
21974
21975 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21976 all uses of ieee854 long double macros and unions. Simplify tests
21977 for long doubles that are fully specified by the high double.
21978 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21979 Likewise.
21980 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21981 Remove dead code too.
21982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21983 (__ieee754_ynl): Likewise.
21984 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21985 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21986 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21987 Remove dead code too.
21988 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21989 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21990 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21992 Simplify.
21993 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21994 Simplify.
21995 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21996 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21997 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21998 Comment on variable precision.
21999 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22001 Likewise.
22002 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22003 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22004 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22005 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22006 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22007
4ebd120c
AM
220082013-10-04 Alan Modra <amodra@gmail.com>
22009
22010 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22012 all uses of ieee854 long double macros and unions.
22013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22015 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22016 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22017 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22018 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22019 Likewise.
22020 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22021 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22022 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22023 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22024 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22025 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22026 Simplify sign and nan test too.
22027 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22028 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22029 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22030 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22031 Likewise.
22032 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22033 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22034 Likewise.
22035 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22036 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22037 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22038 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22039 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22041
1b6adf88
AM
220422013-10-04 Alan Modra <amodra@gmail.com>
22043
22044 * stdio-common/printf_size.c (__printf_size): Don't use
22045 union ieee854_long_double in fpnum union.
22046 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22047 signbit macro to retrieve sign from long double.
22048 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22049 retrieve sign from long double.
22050 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22051 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22052 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22053 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22054 * math/test-misc.c (main): Don't use union ieee854_long_double.
22055
4cf69995
AM
220562013-10-04 Alan Modra <amodra@gmail.com>
22057
22058 [BZ #15680]
22059 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22060 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22061 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22062 calculation. Remove unnecessary test for denormal exponent.
22063 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22064 Correct handling of denormals. Avoid undefined shift behaviour.
22065 Correct normalisation of low mantissa when low double is denormal.
22066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22067 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22068 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22069 Correct normalisation of low mantissa. Test for overflow of high
22070 mantissa and normalise.
22071 (ldbl_nearbyint): Use more readable constant for two52.
22072 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22073 (__mpn_construct_long_double): Fix test for overflow of high
22074 mantissa and correct normalisation. Avoid undefined shift.
22075
9605ca6c
AM
220762013-10-04 Alan Modra <amodra@gmail.com>
22077
22078 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22079 (union ibm_extended_long_double): Define as an array of ieee754_double.
22080 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22081 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22082 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22083 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22085 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22086 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22087 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22088 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22089 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22090 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22091
975569d0
JM
220922013-10-03 Joseph Myers <joseph@codesourcery.com>
22093
d3d23756
JM
22094 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22095 page size instead of calling getpagesize.
22096
975569d0
JM
22097 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22098 (LOCFILE_ALIGN_MASK): Likewise.
22099 (LOCFILE_ALIGN_UP): Likewise.
22100 (LOCFILE_ALIGNED_P): Likewise.
22101 * locale/programs/ld-collate.c (collate_output): Use the new
22102 macros instead of __alignof__ (int32_t).
22103 * locale/weight.h (findidx): Likewise.
22104
b1fe1f2b
OB
221052013-10-03 Ondřej Bílka <neleai@seznam.cz>
22106
22107 [BZ #431]
22108 * manual/string.texi: Fix strncat and wcsncat.
22109
5f855e35
BM
221102013-10-03 Brooks Moses <bmoses@google.com>
22111
22112 [BZ #15915]
22113 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22114 * Makerules: ...here, and adjust associated comments.
22115
3cef6009
WN
221162013-10-02 Will Newton <will.newton@linaro.org>
22117
22118 * malloc/Makefile: Add tst-pvalloc.
22119 * malloc/tst-pvalloc.c: New file.
22120
7815420b
WN
221212013-10-02 Will Newton <will.newton@linaro.org>
22122
22123 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22124 improve test coverage.
22125
4868b204
WN
221262013-10-02 Will Newton <will.newton@linaro.org>
22127
22128 * malloc/Makefile: Add tst-posix_memalign.
22129 * malloc/tst-posix_memalign.c: New file.
22130
29c793b3
EB
221312013-10-01 Eric Blake <eblake@redhat.com>
22132
22133 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22134 Use __THROWNL rather than __THROW on static functions.
22135
fd967522
PM
221362013-09-30 Petr Machata <pmachata@redhat.com>
22137
22138 * elf/elf.h (R_AARCH64_ABS16): New macro.
22139 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22140 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22141 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22142 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22143 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22144 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22145 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22146 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22147 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22148 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22149 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22150 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22151 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22152 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22153 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22154 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22155 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22156 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22157 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22158 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22159 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22160 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22161 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22162 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22163 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22164 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22165 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22166 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22167 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22168 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22169 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22170 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22171 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22172 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22173 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22174 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22175 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22176 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22177 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22178 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22179 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22180 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22181 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22182 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22183 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22184 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22185 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22186 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22187 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22188 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22189 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22190 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22191 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22192 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22193 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22194 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22195 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22196 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22197 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22198 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22199 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22200 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22201 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22202 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22203 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22204 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22205 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22206 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22207 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22208 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22209 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22210 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22211 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22212 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22213 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22214 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22215 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22216 (R_AARCH64_TLSDESC_LDR): Likewise.
22217 (R_AARCH64_TLSDESC_ADD): Likewise.
22218 (R_AARCH64_TLSDESC_CALL): Likewise.
22219
b2179107
AS
222202013-09-30 Andreas Schwab <schwab@suse.de>
22221
22222 [BZ #15048]
22223 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22224 the nss database lookup.
22225 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22227
47f28d0a
MF
222282013-09-28 Mike Frysinger <vapier@gentoo.org>
22229
22230 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22231
222322013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22233
22234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22235 ${Bash-specific parameter/pattern/string} parameter expansion.
22236 * sysdeps/unix/make-syscalls.sh: Likewise.
22237
f4518a17
KK
222382013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22239
22240 * sysdeps/sh/stackguard-macros.h: New file.
22241
dc1a95c7
OB
222422013-09-26 Ondřej Bílka <neleai@seznam.cz>
22243
22244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22245 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22246 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22247 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22248 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22249 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22250
5ebbff8f
AZ
222512013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22252
22253 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22254 Fix thread ID register.
22255
4fd2cf9f
JM
222562013-09-25 Joseph Myers <joseph@codesourcery.com>
22257
22258 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22259 [POSIX || UNIX98]: Require rather than permitting all symbols from
22260 <time.h>.
22261 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22262 element of struct sched_param.
22263 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22264 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22265 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22266 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22267 constant.
22268
12c22bc4
OL
222692013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22270
22271 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22272 argument calculation.
22273
a03d8ea7
JM
222742013-09-24 Joseph Myers <joseph@codesourcery.com>
22275
22276 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22277 Expect macro.
22278 [POSIX] (pthread_attr_t): Do not require type.
22279 [POSIX] (pthread_cond_t): Likewise.
22280 [POSIX] (pthread_condattr_t): Likewise.
22281 [POSIX] (pthread_key_t): Likewise.
22282 [POSIX] (pthread_mutex_t): Likewise.
22283 [POSIX] (pthread_mutexattr_t): Likewise.
22284 [POSIX] (pthread_once_t): Likewise.
22285 [POSIX] (pthread_t): Likewise.
22286 [POSIX-based standards] (pthread_atfork): Expect function.
22287
6055173a
JM
222882013-09-24 Joseph Myers <joseph@codesourcery.com>
22289 Richard Sandiford <richard@codesourcery.com>
22290
22291 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22292 (swap_endianness_p): New extern variable.
22293 (set_big_endian): New inline function.
22294 (maybe_swap_uint32): Likewise.
22295 (maybe_swap_uint32_array): Likewise.
22296 (maybe_swap_uint32_obstack): Likewise.
22297 * locale/programs/locfile.c: Include <stdbool.h>.
22298 (swap_endianness_p): New variable.
22299 (add_locale_uint32): Call maybe_swap_uint32.
22300 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22301 (write_locale_data): Call maybe_swap_uint32_array.
22302 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22303 maybe_swap_uint32.
22304 (obstack_int32_grow_fast): Likewise.
22305 (output_weightwc): Call maybe_swap_uint32_obstack.
22306 (collate_output): Likewise.
22307 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22308 (OPT_LITTLE_ENDIAN): Likewise.
22309 (options): Add --little-endian and --big-endian options.
22310 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22311 * locale/programs/locarchive.c: Include "locfile.h".
22312 (GET): New macro.
22313 (SET): Likewise.
22314 (INC): Likewise.
22315 (create_archive): Use the new macros to access fields of
22316 structures directly mapped from or written to locale archives.
22317 (oldlocrecentcmp): Likewise.
22318 (enlarge_archive): Likewise.
22319 (insert_name): Likewise.
22320 (add_alias): Likewise.
22321 (add_locale): Likewise.
22322 (delete_locales_from_archive): Likewise.
22323 (show_archive_content): Likewise.
22324 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22325 locale data.
22326
39bf0bb4
RM
223272013-09-24 Roland McGrath <roland@hack.frob.com>
22328
22329 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22330 http://www.gnu.org/doc/freemanuals.texi.
22331 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22332
f02eed10
WN
223332013-09-24 Will Newton <will.newton@linaro.org>
22334
22335 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22336 macro.
22337
a3a6c312
JM
223382013-09-23 Joseph Myers <joseph@codesourcery.com>
22339
22340 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22341 unsigned char.
22342
107375ac
MR
223432013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22344
22345 * manual/threads.texi (POSIX Threads): Fix a typo.
22346
141f3a77
SP
223472013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22348
303e567a
SP
22349 [BZ #14547]
22350 * string/tst-strcoll-overflow.c: New test case.
22351 * string/Makefile (xtests): Add tst-strcoll-overflow.
22352 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22353 cache if string sizes may cause integer overflow.
22354
141f3a77
SP
22355 [BZ #14547]
22356 * string/strcoll_l.c (coll_seq): New members rule, idx,
22357 save_idx and back_us.
22358 (get_next_seq_nocache): New function.
22359 (do_compare_nocache): New function.
22360 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22361 when malloc fails.
22362
c61b4d41
CD
223632013-09-23 Carlos O'Donell <carlos@redhat.com>
22364
0b1f8e35
CD
22365 [BZ #15754]
22366 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22367 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22368 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22369
c61b4d41
CD
22370 [BZ #15754]
22371 * elf/Makefile (tests): Add tst-ptrguard1.
22372 (tests-static): Add tst-ptrguard1-static.
22373 (tst-ptrguard1-ARGS): Define.
22374 (tst-ptrguard1-static-ARGS): Define.
22375 * elf/tst-ptrguard1.c: New file.
22376 * elf/tst-ptrguard1-static.c: New file.
22377 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22378 * sysdeps/i386/stackguard-macros.h: Likewise.
22379 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22380 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22381 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22382 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22383 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22384 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22385
223862013-09-23 Hector Marco <hecmargi@upv.es>
22387 Ismael Ripoll <iripoll@disca.upv.es>
22388 Carlos O'Donell <carlos@redhat.com>
22389
22390 [BZ #15754]
22391 * sysdeps/generic/stackguard-macros.h: Define
22392 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22393 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22394 Define __pointer_chk_guard_local.
22395 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22396 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22397
f5f4e7b4
VV
223982013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22399
22400 [BZ #15859]
22401 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22402
5bb43a43
AS
224032013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22404
22405 * include/string.h (__ffs): Declare as hidden.
22406 * string/ffs.c (__ffs): Define as hidden.
22407 * sysdeps/i386/ffs.c (__ffs): Likewise.
22408 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22409 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22410 * sysdeps/s390/ffs.c (__ffs): Likewise.
22411 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22412
3ea5be54
AO
224132013-09-20 Alexandre Oliva <aoliva@redhat.com>
22414
ffb89e53
AO
22415 * NEWS: Mention malloc probes.
22416
322dea08
AO
22417 * malloc/arena.c (new_heap): New memory_heap_new probe.
22418 (grow_heap): New memory_heap_more probe.
22419 (shrink_heap): New memory_heap_less probe.
22420 (heap_trim): New memory_heap_free probe.
22421 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22422 (systrim): New memory_sbrk_less probe.
22423 * manual/probes.texi: Document them.
22424
655673f3
AO
22425 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22426 * manual/probes.texi: Document it.
22427
35fed6f1
AO
22428 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22429 (__libc_realloc): Add memory_realloc_retry probe.
22430 (__libc_memalign): Add memory_memalign_retry probe.
22431 (__libc_valloc): Add memory_valloc_retry probe.
22432 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22433 (__libc_calloc): Add memory_calloc_retry probe.
22434 * manual/probes.texi: Document them.
22435
6999d38c
AO
22436 * malloc/arena.c (get_free_list): Add probe
22437 memory_arena_reuse_free_list.
22438 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22439 and memory_arena_reuse.
22440 (arena_get2) [!PER_THREAD]: Likewise.
22441 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22442 memory_arena_reuse_realloc.
22443 * manual/probes.texi: Document them.
22444
0653427f
AO
22445 * malloc/malloc.c (__libc_free): Add
22446 memory_mallopt_free_dyn_thresholds probe.
22447 (__libc_mallopt): Add multiple memory_mallopt probes.
22448 * manual/probes.texi: Document them.
22449
3ea5be54
AO
22450 * malloc/malloc.c: Include stap-probe.h.
22451 (__libc_mallopt): Add memory_mallopt probe.
22452 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22453 * manual/probes.texi: New.
22454 * manual/Makefile (chapters): Add probes.
22455 * manual/threads.texi: Set next node.
22456
e35696c3 224572013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 22458
e35696c3
CL
22459 [BZ #15963, #13985]
22460 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22461 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22462 Add `Chinese' to `nan' entry name.
22463
4aafb73c
SP
224642013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22465
22466 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22467 (POLYNOMIAL): Likewise.
22468 (TAYLOR_SINCOS): Likewise.
22469 (TAYLOR_SLOW): Likewise.
22470 (__sin): Use TAYLOR_SINCOS.
22471 (__cos): Likewise.
22472 (slow): Use TAYLOR_SLOW.
22473 (sloww): Likewise.
22474 (bsloww): Likewise.
22475 (csloww): Likewise.
22476
d84f25c7
LD
224772013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22478
22479 * stdlib/strtod_l.c: Fix buffer overrun.
22480
5eea0404
SP
224812013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22482
7849ff93
SP
22483 * benchtests/Makefile (bench): Add sincos.
22484 * benchtests/bench-sincos.c: New file.
22485
cfa3c886
SP
22486 * math/libm-test.inc (cos_test_data): New test inputs.
22487 (sin_test_data): Likewise.
22488
b348e1e3
SP
22489 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22490 macro.
22491 (__sin): Use it.
22492 (__cos): Likewise.
22493 (slow1): Likewise.
22494 (slow2): Likewise.
22495 (sloww1): Likewise.
22496 (sloww2): Likewise.
22497 (bsloww1): Likewise.
22498 (bsloww2): Likewise.
22499 (cslow2): Likewise.
22500 (csloww1): Likewise.
22501 (csloww2): Likewise.
22502
6cce25f8
SP
22503 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22504 function.
22505 (__sin): Use it.
22506 (__cos): Likewise.
22507
5eea0404
SP
22508 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22509 gotos.
22510 (__cos): Likewise.
22511
9c21573c
MR
225122013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22513
22514 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22515 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22516 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22517 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22518 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22519 * elf/cache.c (print_entry): Handle the new cache flags.
22520
24d22e65
JM
225212013-09-18 Joseph Myers <joseph@codesourcery.com>
22522 Aldy Hernandez <aldyh@redhat.com>
22523
22524 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22525 Change condition to [_SOFT_FLOAT].
22526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22538 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22541 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22542 declaration.
22543
d13ef066
JM
225442013-09-18 Joseph Myers <joseph@codesourcery.com>
22545
2e071de0
JM
22546 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22547 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22548 (__longjmp): Use LOAD_GP to load saved GPRs.
22549 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22550 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22551 (__sigsetjmp): Use SAVE_GP to save GPRs.
22552
d13ef066
JM
22553 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22554 Do not append -msoft-float.
22555 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22556
97a0650b
SP
225572013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22558
22559 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22560
11ca09e9
JM
225612013-09-17 Joseph Myers <joseph@codesourcery.com>
22562
22563 [BZ #15966]
22564 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22565 (_FPU_GETCW): Use initial "__" on variable and field names but not
22566 on macro parameter name.
22567 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22568 parentheses around reference to macro parameter.
22569
08ffcf34
RS
225702013-09-13 Richard Sandiford <richard@codesourcery.com>
22571
22572 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22573 prototype.
22574 (ctype_startup): Use uint32_t in cast and sizeof for
22575 ctype->charnames.
22576
ae7080d3
JL
225772013-09-11 Jia Liu <proljc@gmail.com>
22578
22579 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22580 __daddr_t_defined.
22581 [__FreeBSD__]: Likewise.
22582
5905e7b3
OB
225832013-09-11 Ondřej Bílka <neleai@seznam.cz>
22584
22585 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22586 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22587 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22588 (strchr): Remove __strchr_sse42 ifunc selection.
22589 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22590 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22591
b987c776
WN
225922013-09-11 Will Newton <will.newton@linaro.org>
22593
22594 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22595 parameter to RES. Remove hardcoded 1000 value.
22596 * benchtests/bench-skeleton.c (main): Pass RES parameter
22597 to TIMING_INIT and multiply result by 1000.
22598
ddf985af
AZ
225992013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22600
22601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22602
ffdd3181
AS
226032013-09-11 Andreas Schwab <schwab@suse.de>
22604
22605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22606 if not defined.
22607 (O_TMPFILE) [__USE_GNU]: Define.
22608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22609 Define.
22610
b73ed247
WN
226112013-09-11 Will Newton <will.newton@linaro.org>
22612
22613 [BZ #15857]
22614 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22615 does not overflow.
22616
55e17aad
WN
226172013-09-11 Will Newton <will.newton@linaro.org>
22618
22619 [BZ #15856]
22620 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22621 does not overflow.
22622
1159a193
WN
226232013-09-11 Will Newton <will.newton@linaro.org>
22624
22625 [BZ #15855]
22626 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22627 does not overflow.
22628
5905e7b3 226292013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
22630
22631 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22632 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22636
cdfc721b
AM
226372013-09-10 Allan McRae <allan@archlinux.org>
22638
aa04af00
AM
22639 [BZ #15748]
22640 * manual/arith.texi (Parsing of Floats): Clarify
22641 cross-reference.
22642
cdfc721b
AM
22643 [BZ #15849]
22644 * manual/install.texi (Running make install): Mention
22645 --enable-pt-chown.
22646 * INSTALL: Regenerated.
22647
95e7cf29
MR
226482013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22649
22650 * csu/init-first.c (_init): Remove the !SHARED condition around
22651 FPU control word initialization.
22652 * elf/dl-support.c (_dl_fpu_control): New variable.
22653 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22654 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22655 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22656 * math/test-fpucw-static.c: New file.
22657 * math/test-fpucw-ieee.c: New file.
22658 * math/test-fpucw-ieee-static.c: New file.
22659 * math/Makefile (tests): Add `test-fpucw-ieee' and
22660 `$(tests-static)'.
22661 (tests-static): New variable.
22662 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22663 dependency to...
22664 [($(build-shared),yes)]
22665 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22666 ... this.
22667 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22668 New dependency.
22669
83e43bf0
AM
226702013-09-09 Allan McRae <allan@archlinux.org>
22671
a9f5ce09
AM
22672 [BZ #15939]
22673 * manual/string.texi (Collation Functions): Fix typo in
22674 strcoll example.
22675 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22676
34829bc2
AM
22677 [BZ #15893]
22678 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22679
3932737d
AM
22680 [BZ #15892]
22681 * libio/memstream.c (open_memstream): Fix memory leak.
22682 * libio/wmemstream.c (open_wmemstream): Likewise.
22683
83e43bf0
AM
22684 [BZ #15895]
22685 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22686
0c66b8e9
WN
226872013-09-09 Will Newton <will.newton@linaro.org>
22688
22689 * malloc/Makefile: Add tst-realloc to tests.
22690 * malloc/tst-realloc.c: New file.
22691
f6b00fd1
AM
226922013-09-09 Allan McRae <allan@archlinux.org>
22693
22694 [BZ #15844]
22695 * COPYING: Update from GNU website to fix FSF address.
22696 * COPYING.LIB: Likewise.
22697
eec55e16
DM
226982013-09-06 David S. Miller <davem@davemloft.net>
22699
22700 * po/zh_TW.po: Update Chinese (traditional) translation from
22701 translation project.
22702
1ecbb381
RS
227032013-09-06 Richard Sandiford <richard@codesourcery.com>
22704 Joseph Myers <joseph@codesourcery.com>
22705
22706 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22707 "localeinfo.h".
22708 (obstack_chunk_alloc): New macro.
22709 (obstack_chunk_free): Likewise.
22710 (record_offset): New function.
22711 (init_locale_data): Likewise.
22712 (align_locale_data): Likewise.
22713 (add_locale_empty): Likewise.
22714 (add_locale_raw_data): Likewise.
22715 (add_locale_raw_obstack): Likewise.
22716 (add_locale_string): Likewise.
22717 (add_locale_wstring): Likewise.
22718 (add_locale_uint32): Likewise.
22719 (add_locale_uint32_array): Likewise.
22720 (add_locale_char): Likewise.
22721 (start_locale_structure): Likewise.
22722 (end_locale_structure): Likewise.
22723 (start_locale_prelude): Likewise.
22724 (end_locale_prelude): Likewise.
22725 (write_locale_data): Take locale_file structure rather than an
22726 iovec.
22727 * locale/programs/locfile.h: Include "obstack.h".
22728 (struct locale_file): Change to store locale file contents instead
22729 of header.
22730 (init_locale_data): New prototype.
22731 (align_locale_data): Likewise.
22732 (add_locale_empty): Likewise.
22733 (add_locale_raw_data): Likewise.
22734 (add_locale_raw_obstack): Likewise.
22735 (add_locale_string): Likewise.
22736 (add_locale_wstring): Likewise.
22737 (add_locale_uint32): Likewise.
22738 (add_locale_uint32_array): Likewise.
22739 (add_locale_char): Likewise.
22740 (start_locale_structure): Likewise.
22741 (end_locale_structure): Likewise.
22742 (start_locale_prelude): Likewise.
22743 (end_locale_prelude): Likewise.
22744 (write_locale_data): Update prototype.
22745 * locale/programs/3level.h (struct TABLE): Remove result field.
22746 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22747 Use new locale_file interface.
22748 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22749 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22750 * locale/programs/ld-address.c (address_output): Use new
22751 locale_file interface.
22752 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22753 NO_ADD_LOCALE.
22754 (collate_finish): Don't call collseq_table_finalize.
22755 (collate_output): Use new locale_file interface.
22756 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22757 in file.
22758 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22759 (TABLE): Move defines earlier in file.
22760 (ELEMENT): Likewise.
22761 (DEFAULT): Likewise.
22762 (wctrans_table_add): Move macro and inline function earlier in
22763 file.
22764 (struct wctype_table): Move type earlier in file.
22765 (add_locale_wctype_table): New static prototype.
22766 (struct locale_ctype_t): Use logical types instead of struct iovec
22767 pointers for members.
22768 (ctype_output): Use new locale_file interface.
22769 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22770 new locale_file interface.
22771 (allocate_arrays): Update for use of new locale_file interface.
22772 * locale/programs/ld-identification.c (identification_output): Use
22773 new locale_file interface.
22774 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22775 * locale/programs/ld-messages.c (messages_output): Likewise.
22776 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22777 * locale/programs/ld-name.c (name_output): Likewise.
22778 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22779 * locale/programs/ld-paper.c (paper_output): Likewise.
22780 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22781 * locale/programs/ld-time.c (time_output): Likewise.
22782
e029e2e5
AZ
227832013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22784
22785 * benchtests/Makefile: Add memrchr benchmark.
22786 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22787 benchmark as memrchr.
22788 * benchtests/bench-memrchr-ifunc.c: New file.
22789 * benchtests/bench-memrchr.c: New file.
22790
bbf6e8e4
WN
227912013-09-06 Will Newton <will.newton@linaro.org>
22792
22793 * benchtests/Makefile (string-bench): Add memcpy.
22794
6c82a2f8
CD
227952013-09-05 Carlos O'Donell <carlos@redhat.com>
22796 Cong Wang <amwang@redhat.com>
22797
e732c5f0 22798 [BZ #15850]
6c82a2f8
CD
22799 * sysdeps/unix/sysv/linux/bits/in.h
22800 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22801 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22802 before __USE_KERNEL_IPV6_DEFS uses.
22803 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22804 IPPROTO_BEETPH.
22805 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22806 sockaddr_in6, or ipv6_mreq.
22807
5430fc65
AZ
228082013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22809
22810 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22811 memory access for final bytes in some large inputs.
22812 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22813
4660856c
AZ
228142013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22815
22816 * string/test-memrchr.c: New file.
22817 * string/test-memrchr-ifunc.c: New file.
22818 * string/Makefile: Add new memrchr testcase.
22819
bb8ea713
MF
228202013-09-05 Mike Frysinger <vapier@gentoo.org>
22821
22822 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22823 fanotify_init returns EPERM.
22824
b92a20b5
JM
228252013-09-04 Joseph Myers <joseph@codesourcery.com>
22826
22827 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22828 errors.
22829 (top level): Treat second token from macro or constant entries for
22830 allowed headers as allowed.
22831 * include/complex.h: Condition internal declarations on
22832 [!_ISOMAC].
22833 * include/fenv.h: Condition include of <stdbool.h> and internal
22834 declarations on [!_ISOMAC].
7447ccd9
CL
22835
228362013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22837
3e181dda 22838 [BZ #15923]
7447ccd9
CL
22839 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22840
3f2e46a4
JM
228412013-09-04 Joseph Myers <joseph@codesourcery.com>
22842
22843 * configure.in (--enable-versioning): Remove configure option.
22844 (libc_cv_asm_symver_directive): Remove configure test.
22845 (libc_cv_ld_version_script_option): Likewise.
22846 (VERSIONING): Remove variable and AC_SUBST.
22847 (DO_VERSIONING): Remove AC_DEFINE.
22848 * configure: Regenerated.
22849 * config.h.in (DO_VERSIONING): Remove macro.
22850 * Makerules [$(versioning) = yes]: Change conditionals to
22851 [$(build-shared) = yes].
22852 * config.make.in (versioning): Remove variable.
22853 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22854 [$(build-shared) = yes].
22855 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22856 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22857 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22858 [$(build-shared) = yes].
22859 * extra-lib.mk [$(versioning) = yes]: Likewise.
22860 * hurd/Makefile [$(versioning) = yes]: Likewise.
22861 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22862 [SHARED].
22863 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22864 [SHARED].
22865 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22866 [SHARED && !NO_HIDDEN].
22867 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22868 [SHARED].
22869 [SHARED && DO_VERSIONING]: Likewise..
22870 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22871 [$(build-shared) = yes].
22872 * manual/install.texi (--disable-versioning): Remove
22873 documentation.
22874 * INSTALL: Regenerated.
22875 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22876 to [SHARED].
22877 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22878 [$(build-shared) = yes].
22879 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22880 * sysdeps/i386/i686/multiarch/strstr-c.c
22881 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22882 [SHARED && !NO_HIDDEN].
22883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22884 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22885 * sysdeps/powerpc/powerpc32/dl-machine.c
22886 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22887 * sysdeps/powerpc/powerpc32/sysdep.h
22888 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22889 to [SHARED && PIC && !NO_HIDDEN].
22890 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22891 conditional to [SHARED].
22892
44558701
WN
228932013-09-04 Will Newton <will.newton@linaro.org>
22894
22895 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22896 * benchtests/bench-string.h: Include bench-timing.h instead
22897 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22898 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22899 call to HP_TIMING_DIFF_INIT.
22900 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22901 instead of hp-timing.h macros.
22902 * benchtests/bench-memchr.c: Likewise.
22903 * benchtests/bench-memcmp.c: Likewise.
22904 * benchtests/bench-memcpy.c: Likewise.
22905 * benchtests/bench-memmem.c: Likewise.
22906 * benchtests/bench-memmove.c: Likewise.
22907 * benchtests/bench-memset.c: Likewise.
22908 * benchtests/bench-rawmemchr.c: Likewise.
22909 * benchtests/bench-strcasecmp.c: Likewise.
22910 * benchtests/bench-strcasestr.c: Likewise.
22911 * benchtests/bench-strcat.c: Likewise.
22912 * benchtests/bench-strchr.c: Likewise.
22913 * benchtests/bench-strcmp.c: Likewise.
22914 * benchtests/bench-strcpy.c: Likewise.
22915 * benchtests/bench-strcpy_chk.c: Likewise.
22916 * benchtests/bench-strlen.c: Likewise.
22917 * benchtests/bench-strncasecmp.c: Likewise.
22918 * benchtests/bench-strncat.c: Likewise.
22919 * benchtests/bench-strncmp.c: Likewise.
22920 * benchtests/bench-strncpy.c: Likewise.
22921 * benchtests/bench-strnlen.c: Likewise.
22922 * benchtests/bench-strpbrk.c: Likewise.
22923 * benchtests/bench-strrchr.c: Likewise.
22924 * benchtests/bench-strspn.c: Likewise.
22925 * benchtests/bench-strstr.c: Likewise.
22926
cae16d66
WN
229272013-09-04 Will Newton <will.newton@linaro.org>
22928
22929 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22930
ffa3cd7f
JM
229312013-09-03 Joseph Myers <joseph@codesourcery.com>
22932
22933 [BZ #15427]
22934 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22935 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22936 * math/libm-test.inc (lgamma_test_data): Add more tests.
22937 * sysdeps/i386/fpu/libm-test-ulps: Update.
22938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22939
8f02859f
OB
229402013-09-03 Ondřej Bílka <neleai@seznam.cz>
22941
22942 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22944 Add ifunc.
22945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22946 Add strcmp-sse2-unaligned
22947 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22948
18d43716
MF
229492013-09-02 Mike Frysinger <vapier@gentoo.org>
22950
22951 * Versions.def (libc): Add GLIBC_2.19.
22952
ac444012
MF
229532013-09-02 Mike Frysinger <vapier@gentoo.org>
22954
22955 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22956 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22957
b7835e32
JM
229582013-09-02 Joseph Myers <joseph@codesourcery.com>
22959
22960 [BZ #14155]
22961 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22962 intermediate calculations in recurrence.
22963 (__ieee754_ynf): Likewise.
22964 * math/libm-test.inc (jn_test_data): Do not allow spurious
22965 underflow exception. Add more tests.
22966 (yn_test_data): Add more tests.
22967 * sysdeps/i386/fpu/libm-test-ulps: Update.
22968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22969
8220f4f0
OB
229702013-09-02 Ondřej Bílka <neleai@seznam.cz>
22971
22972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22973
f24a6d08
OB
229742013-08-30 Ondřej Bílka <neleai@seznam.cz>
22975
22976 * csu/init-first.c: Fix then/than typos.
22977 * locale/programs/ld-collate.c: Likewise.
22978 * locale/programs/linereader.h: Likewise.
22979 * manual/charset.texi: Likewise.
22980 * manual/filesys.texi: Likewise.
22981 * manual/stdio.texi: Likewise.
22982 * manual/string.texi: Likewise.
22983 * stdlib/fmtmsg.c: Likewise.
22984 * sysdeps/i386/stpncpy.S: Likewise.
22985 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22986 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22987 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22988 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22989
382466e0
OB
229902013-08-30 Ondřej Bílka <neleai@seznam.cz>
22991
22992 * elf/dl-open.c: Fix typos.
22993 * iconvdata/gbbig5.c: Likewise.
22994 * iconvdata/iso-2022-jp.c: Likewise.
22995 * iconv/gconv_int.h: Likewise.
22996 * iconv/loop.c: Likewise.
22997 * nis/rpcsvc/nis.h: Likewise.
22998 * resolv/ns_name.c: Likewise.
22999 * stdio-common/vfscanf.c: Likewise.
23000 * streams/stropts.h: Likewise.
23001 * sunrpc/rpc_thread.c: Likewise.
23002 * sysdeps/i386/strpbrk.S: Likewise.
23003 * sysdeps/ieee754/k_standard.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23005 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23006 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23007 * sysdeps/mach/hurd/profil.c: Likewise.
23008 * sysdeps/s390/dl-procinfo.h: Likewise.
23009 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23010 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23011 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23012 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23013 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23014
0186c6e9
OB
230152013-08-30 Ondřej Bílka <neleai@seznam.cz>
23016
23017 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23019
d4e16af1
OB
230202013-08-29 Ondřej Bílka <neleai@seznam.cz>
23021
23022 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23023 aix specific files.
23024 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23025 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23026 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23027 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23028 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23029 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23030 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23031 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23032
88335980
TS
230332013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23034 Roland McGrath <roland@hack.frob.com>
23035
23036 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23037 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23038
ed479b02
ST
230392013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23040
23041 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23042 __executable_start symbol instead of _start.
23043
f1cc4c86
TS
230442013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23045
d821f07c
TS
23046 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23047 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23048 Move macros to...
23049 * sysdeps/gnu/ldsodefs.h: ... this new file.
23050
c54290cf
TS
23051 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23052 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23053 instead of ELFOSABI_LINUX.
23054
0007fc9b 23055 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23056 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23057 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23058 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23059 Likewise.
23060 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23061 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23062 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23063 Likewise.
23064 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23065 (ibm_extended_long_double): Add ieee_nan member.
23066 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23067 (do_test): New function.
23068
f1cc4c86
TS
23069 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23070 TEST_TRUNC.
23071 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23072 functions, renamed from truncdfsf_test, trunctfsf_test,
23073 trunctfdf_test.
23074 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23075 functions.
23076 (do_test): Run all these.
23077
6f65e668
OB
230782013-08-29 Ondřej Bílka <neleai@seznam.cz>
23079
23080 * argp/argp-help.c: Fix typos.
23081 * argp/argp-parse.c: Likewise.
23082 * debug/backtracesyms.c: Likewise.
23083 * elf/elf.h: Likewise.
23084 * malloc/malloc.c: Likewise.
23085 * nis/nis_print.c: Likewise.
23086 * resolv/res_comp.c: Likewise.
23087 * stdlib/stdlib.h: Likewise.
23088 * sunrpc/clnt_tcp.c: Likewise.
23089 * sunrpc/clnt_udp.c: Likewise.
23090 * sunrpc/clnt_unix.c: Likewise.
23091 * sysdeps/unix/bsd/ptsname.c: Likewise.
23092 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23093 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23095 Likewise.
23096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23097 Likewise.
23098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23099 Likewise.
6f65e668
OB
23100 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23101
3a309239
SP
231022013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23103
23104 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23106
3b813b29
MF
231072013-08-27 Mike Frysinger <vapier@gentoo.org>
23108
23109 [BZ #15897]
23110 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23111 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23112 ($(objpfx)bug-dl-leaf): New rule.
23113 ($(objpfx)bug-dl-leaf.so): Likewise.
23114 ($(objpfx)bug-dl-leaf.out): Likewise.
23115 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23116 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23117 * dlfcn/bug-dl-leaf.c: New test.
23118 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23119 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23120 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23121 (dlclose): Likewise.
23122 (dlmopen): Likewise.
23123
8cc3269f
RM
231242013-08-27 Roland McGrath <roland@hack.frob.com>
23125
7f9d0034
RM
23126 * include/netdb.h [!_ISOMAC]:
23127 Don't include <tls.h>.
23128 (h_errno, __libc_h_errno): Move declaration and macros out of
23129 [_LIBC_REENTRANT].
23130
fb431262
RM
23131 * include/resolv.h [_RESOLV_H_]:
23132 Don't include <tls.h>.
23133 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23134 * resolv/res_libc.c: Don't include <tls.h>.
23135 (_res): Use __attribute__ ((nocommon)) in place of
23136 __attribute__ ((section (".bss"))).
23137
bd81123a
RM
23138 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23139 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23140
c4e42566
RM
23141 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23142
f890a59b
RM
23143 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23144 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23145
23146 * resolv/res_mkquery.c: Include <sys/time.h>.
23147
5d1f0a09
RM
23148 * inet/ifreq.c: Moved to ...
23149 * sysdeps/unix/ifreq.c: ... here.
23150 * inet/ifreq.c: New file, true stub version.
23151
6fcf28b3
RM
23152 * socket/sa_len.c: New file.
23153 * socket/Makefile (aux): Add it.
23154 * sysdeps/unix/sysv/linux/Makefile
23155 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23156 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23157 and #include <socket/sa_len.c>.
23158 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23159 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23160
e041fb8b
RM
23161 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23162 * bits/socket.h: ... here.
23163
8cc3269f
RM
23164 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23165 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23166 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23167
5d228a43
AS
231682013-08-27 Andreas Schwab <schwab@suse.de>
23169
45b8accc
AS
23170 [BZ #15736]
23171 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23172 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23173 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23174 * string/test-strcasecmp.c (test_main): Run tests in several
23175 locales.
23176 * string/test-strncasecmp.c (test_main): Likewise.
23177
5d228a43
AS
23178 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23179 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23180 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23182 (__strncasecmp_ssse3) [PIC]: Likewise.
23183
59d112a4
RM
231842013-08-26 Roland McGrath <roland@hack.frob.com>
23185
53234cc3
RM
23186 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23187
59d112a4
RM
23188 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23189 instead of explicitly declaring xdecrypt.
23190 * nis/nss_nis/nis-publickey.c: Likewise.
23191
595aba70
SP
231922013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23193
23194 [BZ #15890]
23195 * nscd/aicache.c: Include res_hconf.h.
23196 (addhstaiX): Initialize res_hconf.
23197
ffabd393
AS
231982013-08-26 Andreas Schwab <schwab@suse.de>
23199
23200 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23201 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23202
e0a69f5c
SP
232032013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23204
23205 * nscd/aicache.c (addhstaiX): Fix indentation.
23206
8c12f01d
MF
232072013-08-25 Mike Frysinger <vapier@gentoo.org>
23208
23209 * configure.ac: Quote $build_pt_chown test.
23210 * configure: Regenerated.
23211
8fe89494
JM
232122013-08-23 Joseph Myers <joseph@codesourcery.com>
23213
23214 [BZ #15532]
23215 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23216 * math/s_cexpf.c (__cexpf): Likewise.
23217 * math/s_cexpl.c (__cexpl): Likewise.
23218 * math/libm-test.inc (cexp_test_data): Correct expected return
23219 value for NaN + i0. Add another test.
23220
75b181d6
DM
232212013-08-22 David S. Miller <davem@davemloft.net>
23222
23223 * po/ca.po: Update Catalan translation from translation project.
936241e4 23224 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23225
acd06bb1
JM
232262013-08-21 Joseph Myers <joseph@codesourcery.com>
23227
23228 [BZ #15797]
23229 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23230 is infinite, not alongside NaN test.
23231 * math/s_fdimf.c (__fdimf): Likewise.
23232 * math/s_fdiml.c (__fdiml): Likewise.
23233 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23234 errno is unchanged.
23235
c0c3f78a
OB
232362013-08-21 Ondřej Bílka <neleai@seznam.cz>
23237
23238 * argp/argp-help.c: Fix typos.
23239 * crypt/speeds.c: Likewise.
23240 * csu/check_fds.c: Likewise.
23241 * elf/dl-load.c: Likewise.
23242 * elf/dl-open.c: Likewise.
23243 * elf/reldep3.c: Likewise.
23244 * elf/reldep.c: Likewise.
23245 * elf/sprof.c: Likewise.
23246 * iconv/iconv_charmap.c: Likewise.
23247 * iconv/skeleton.c: Likewise.
23248 * iconv/strtab.c: Likewise.
23249 * io/lockf64.c: Likewise.
23250 * libio/libioP.h: Likewise.
23251 * resolv/gai_notify.c: Likewise.
23252 * resolv/ns_name.c: Likewise.
23253 * resolv/ns_samedomain.c: Likewise.
23254 * resolv/res_send.c: Likewise.
23255 * stdlib/random.c: Likewise.
23256 * sunrpc/rpc/xdr.h: Likewise.
23257 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23258 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23259 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23260 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23261 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23262 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23264 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23265 * sysdeps/mach/hurd/check_fds.c: Likewise.
23266 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23267 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23268 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23269 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23270 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23271 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23272 * sysdeps/pthread/aio_notify.c: Likewise.
23273 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23274 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23275 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23277 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23278
46ed1038
LD
232792013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23280
23281 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23282 version if bit_Slow_SSE4_2 is set.
23283 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23284 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23285
d400dcac
AZ
232862013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23287
23288 [BZ #15867]
23289 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23290 trampoline stack frame information.
23291 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23292 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23293 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23294 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23295 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23296 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23297 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23298 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23299 sa_flags value.
23300 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23301 interrupting a syscall and set with option SA_SIGINFO.
23302
42c8fdd8
JM
233032013-08-20 Joseph Myers <joseph@codesourcery.com>
23304
c980f2f4
JM
23305 [BZ #15531]
23306 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23307 argument is infinite.
23308 * math/s_cprojf.c (__cprojf): Likewise.
23309 * math/s_cprojl.c (__cprojl): Likewise.
23310 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23311 * math/libm-test.inc (cproj_test_data): Add more tests.
23312
0716c4fc
JM
23313 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23314
42c8fdd8
JM
23315 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23316 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23317 size. Use __ffs to determine corresponding shift.
23318
b31469d0
JM
233192013-08-20 Joseph Myers <joseph@codesourcery.com>
23320 Roland McGrath <roland@hack.frob.com>
23321
23322 * Makefile (INSTALL): Remove trailing blank lines from output of
23323 makeinfo.
23324
4e39af6e
AK
233252013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23326
23327 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23328 Align 32 bit compat elf_greg to 8 bytes.
23329
f315524e
AA
233302013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23331
23332 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23333
1326ba1a
SP
233342013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23335
23336 * string/strcoll_l.c (coll_seq): New structure.
23337 (get_next_seq_cached): New function.
23338 (get_next_seq): New function.
23339 (do_compare): New function.
23340 (STRCOLL): Use GNU style definition. Simplify implementation
23341 by using get_next_seq, get_next_seq_cached and do_compare.
23342
91ce4085
FW
233432013-08-16 Florian Weimer <fweimer@redhat.com>
23344
23345 [BZ #14699]
23346 CVE-2013-4237
23347 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23348 member.
23349 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23350 member.
23351 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23352 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23353 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23354 conditional.
23355 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23356 GETDENTS_64BIT_ALIGNED.
23357 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23358 * manual/filesys.texi (Reading/Closing Directory): Document
23359 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23360 strongly.
23361 * manual/conf.texi (Limits for Files): Add portability note to
23362 NAME_MAX, PATH_MAX.
23363 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23364
ca0a6bc4
AS
233652013-08-13 Andreas Schwab <schwab@suse.de>
23366
23367 [BZ #15749]
23368 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23369 of fabs.
23370 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23371 LDBL_MAX_EXP >= 16384]: Add tests for it.
23372
6c1fd795
DM
233732013-08-12 David S. Miller <davem@davemloft.net>
23374
23375 * version.h (RELEASE): Set to "development".
23376 (VERSION): Set to "2.18.90".
23377 * NEWS: Add 2.19 section.
23378
31ad488d
DM
233792013-08-03 David S. Miller <davem@davemloft.net>
23380
23381 * po/ko.po: Update Korean translation from translation project.
23382
db24e684
DM
233832013-08-01 David S. Miller <davem@davemloft.net>
23384
23385 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23386 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23387 Bilka.
23388
f723285b
DM
233892013-07-30 David S. Miller <davem@davemloft.net>
23390
23391 * po/fr.po: Update French translation from translation project.
23392
3cbc52db
DM
233932013-07-28 David S. Miller <davem@davemloft.net>
23394
30bbc0cc
DM
23395 * po/cs.po: Update Czech translation from translation project.
23396
3cbc52db
DM
23397 * po/sv.po: Update Swedish translation from translation project.
23398
d492e6d0
DM
233992013-07-27 David S. Miller <davem@davemloft.net>
23400
f1a7f492
DM
23401 * po/eo.po: Update Esperanto translation from translation project.
23402
90e62a4a
DM
23403 * po/vi.po: Update Vietnamese translation from translation project.
23404
d492e6d0
DM
23405 * po/de.po: Update German translation from translation project.
23406
d4baa62d
DM
234072013-07-26 David S. Miller <davem@davemloft.net>
23408
641aa7b4
DM
23409 * po/bg.po: Update Bulgarian translation from translation project.
23410
d4baa62d
DM
23411 * po/nl.po: Update Dutch translation from translation project.
23412 * po/pl.po: Update Polish translation from translation project.
23413 * po/ru.po: Update Russian translation from translation project.
23414
61a9dcb9
DM
234152013-07-24 David S. Miller <davem@davemloft.net>
23416
23417 * po/libc.pot: Update.
23418
7b1f8b58
AZ
234192013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23420
23421 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23422 variable page size.
23423 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23424 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23425 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23426
a8fc7a03
AK
234272013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23428
23429 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23430
e4608715
CD
234312013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23432 Andreas Schwab <schwab@suse.de>
23433 Roland McGrath <roland@hack.frob.com>
23434 Joseph Myers <joseph@codesourcery.com>
23435 Carlos O'Donell <carlos@redhat.com>
23436
23437 [BZ #15755]
23438 * config.h.in: Define HAVE_PT_CHOWN.
23439 * config.make.in (build-pt-chown): New variable.
23440 * configure.in (--enable-pt_chown): New configure option.
23441 * configure: Regenerate.
23442 * login/Makefile: Include Makeconfig. Build pt_chown only if
23443 build-pt-chown is enabled.
23444 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23445 pt_chown to fix pty ownership.
23446 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23447 CLOSE_ALL_FDS.
23448 * manual/install.texi (Configuring and compiling): Mention
23449 --enable-pt_chown. Add @findex for grantpt.
23450 * INSTALL: Regenerate.
23451
da2d62df
DM
234522013-07-20 David S. Miller <davem@davemloft.net>
23453
23454 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23455 difference between 32-bit and 64-bit.
23456
d7e06450
CD
234572013-07-15 Carlos O'Donell <carlos@redhat.com>
23458
23459 [BZ #15711]
23460 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23461 Avoid system header dependency with -ffreestanding.
23462 ($(objpfx)bits/syscall%d): Likewise.
23463
f959cfd7
DM
234642013-07-13 David S. Miller <davem@davemloft.net>
23465
23466 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23467 underflows from atanl/atan2l due to bug 15319.
23468 (casinh_test_data): Likewise.
23469
c61f8513
DM
234702013-07-07 David S. Miller <davem@davemloft.net>
23471
23472 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23473
72c90ed0
JA
234742013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23475
23476 * sysdeps/i386/fpu/libm-test-ulps: Update.
23477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23478
52dfbe13
SP
234792013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23480
23481 * configure.in (--enable-lock-elision): Fix message text.
23482 * INSTALL: Regenerate.
23483 * configure: Regenerate.
23484
3f169543
AZ
234852013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23486
23487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23488
521c6785
AJ
234892013-07-03 Andreas Jaeger <aj@suse.de>
23490
23491 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23492 define.
23493 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23494 (ptrace_peeksiginfo_args): Add.
23495 (__ptrace_peeksiginfo_flags): Add.
23496 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23497 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23499
d2cc15cb
AM
235002013-07-03 Allan McRae <allan@archlinux.org>
23501
23502 * sysdeps/i386/fpu/libm-test-ulps: Update.
23503
3aaeeca7
DM
235042013-07-02 David S. Miller <davem@davemloft.net>
23505
23506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23507
5314ed1a
MT
235082013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23509
23510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23511
67338156
JM
235122013-07-02 Joseph Myers <joseph@codesourcery.com>
23513
23514 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23516
1717da59
AK
235172013-07-02 Andi Kleen <ak@linux.intel.com>
23518
23519 * config.h.in (ENABLE_LOCK_ELISION): Add.
23520 * configure.in (--enable-lock-elision): Add option.
23521 * manual/install.texi: Document --enable lock elision.
23522 * configure: Regenerate
23523 * INSTALL: Regenerate.
23524
1c81621c
L
235252013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23526
23527 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23528 SSE4.2 strcasecmp for libc.a.
23529 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23530
77f01ab5
JM
235312013-07-02 Joseph Myers <joseph@codesourcery.com>
23532
23533 [BZ #13304]
23534 * soft-fp/op-common.h (_FP_FMA): New macro.
23535 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23536 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23537 (_FP_MUL_MEAT_1_imm): ... here.
23538 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23539 (_FP_MUL_MEAT_1_wide): ... here.
23540 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23541 (_FP_MUL_MEAT_1_hard): ... here.
23542 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23543 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23544 (_FP_MUL_MEAT_2_wide): ... here.
23545 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23546 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23547 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23548 (_FP_MUL_MEAT_2_gmp): ... here.
23549 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23550 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23551 (_FP_MUL_MEAT_4_wide): ... here.
23552 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23553 (_FP_MUL_MEAT_4_gmp): ... here.
23554 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23555 (_FP_WFRACBITS_DW_S): Likewise.
23556 (_FP_WFRACXBITS_DW_S): Likewise.
23557 (_FP_HIGHBIT_DW_S): Likewise.
23558 (FP_FMA_S): Likewise.
23559 (_FP_FRAC_HIGH_DW_S): Likewise.
23560 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23561 (_FP_WFRACBITS_DW_D): Likewise.
23562 (_FP_WFRACXBITS_DW_D): Likewise.
23563 (_FP_HIGHBIT_DW_D): Likewise.
23564 (FP_FMA_D): Likewise.
23565 (_FP_FRAC_HIGH_DW_D): Likewise.
23566 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23567 (_FP_WFRACBITS_DW_E): Likewise.
23568 (_FP_WFRACXBITS_DW_E): Likewise.
23569 (_FP_HIGHBIT_DW_E): Likewise.
23570 (FP_FMA_E): Likewise.
23571 (_FP_FRAC_HIGH_DW_E): Likewise.
23572 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23573 (_FP_WFRACBITS_DW_Q): Likewise.
23574 (_FP_WFRACXBITS_DW_Q): Likewise.
23575 (_FP_HIGHBIT_DW_Q): Likewise.
23576 (FP_FMA_Q): Likewise.
23577 (_FP_FRAC_HIGH_DW_Q): Likewise.
23578 * soft-fp/fmasf4.c: New file.
23579 * soft-fp/fmadf4.c: Likewise.
23580 * soft-fp/fmatf4.c: Likewise.
23581
6308fd9a
LD
235822013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23583
23584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23585 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23586 Silvermont.
23587 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23588 macro.
23589 (index_Slow_SSE4_2): Likewise.
23590 (index_Prefer_PMINUB_for_stringop): Likewise.
23591 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23592 bit_Slow_SSE4_2 is set.
23593 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23594 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23595
89cd9569
RA
235962013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23597
23598 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23599 rtld_global._dl_hwcap2.
23600 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23601 POWER8.
23602 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23603 POWER8 feature descriptions defined in _dl_hwcap2.
23604 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23605 string handling for POWER8 feature bits.
23606 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23607 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23608 _dl_powerpc_cap_flags.
23609 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23610 * sysdeps/powerpc/rtld-global-offsets.sym
23611 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23612 _dl_hwcap2 in the rtld_global_ro structure.
23613
1ae8bfe0
RA
236142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23615
23616 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23617 hardware capabilities in support of AT_HWCAP2.
23618 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23619 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23620 GLRO(dl_hwcap2).
23621 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23622 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23623 explicitly the unknown a_type display mechanism is used.
23624 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23625 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23626 struct member.
23627 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23628 to macro prototype for AT_HWCAP2 support.
23629 * sysdeps/i386/dl-procinfo.h: Likewise.
23630 * sysdeps/s390/dl-procinfo.h: Likewise.
23631 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23632 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23633 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23634 return -1 for unknown a_type display fallback.
23635 * sysdeps/sparc/dl-procinfo.h: Likewise.
23636 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23637 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23638
8fbec010
JM
236392013-06-28 Joseph Myers <joseph@codesourcery.com>
23640
23641 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23642 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23643
0432680e
PY
236442013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23645
23646 [BZ #12492]
23647 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23648 mprotect making __stack_prot writable.
23649
ce61a2ad
NF
236502013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23651 Joseph Myers <joseph@codesourcery.com>
23652
23653 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23654 as being properly aligned.
23655
f91f1c0f
MR
236562013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23657
3d0f5d0c
MR
23658 * dlfcn/modstatic5.c: New file.
23659 * dlfcn/tststatic5.c: New file.
23660 * dlfcn/Makefile (tests): Add tststatic5.
23661 (tests-static): Likewise.
23662 (modules-names): Add modstatic5.
23663 (tststatic5-ENV): New variable.
23664 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23665
f91f1c0f
MR
23666 [BZ #15022]
23667 * elf/dl-support.c (_dl_main_map): New variable.
23668 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23669 (_dl_nns, _dl_load_adds): Set to 1.
23670 (_dl_initial_searchlist): Refer to _dl_main_map.
23671 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23672 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23673 call to _dl_get_origin.
23674 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23675 around call_map.
23676 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23677 * dlfcn/modstatic3.c: New file.
23678 * dlfcn/tststatic3.c: New file.
23679 * dlfcn/tststatic4.c: New file.
23680 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23681 (tests-static): Likewise.
23682 (modules-names): Add modstatic3.
23683 (tststatic3-ENV, tststatic4-ENV): New variables.
23684 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23685 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23686
cbe7d24b
JM
236872013-06-26 Joseph Myers <joseph@codesourcery.com>
23688
23689 * configure.in (CC): Require GCC version 4.4 or later.
23690 * configure: Regenerated.
23691 * manual/install.texi (Tools for Compilation): Update GCC version
23692 requirement.
23693 * INSTALL: Regenerated.
23694
11b8a0e1
LD
236952013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23696
23697 [BZ #15674]
bb5bb87c
L
23698 * string/test-memcmp.c (check2): New.
23699 (main): Call check2.
23700
11b8a0e1
LD
23701 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23702
b0037103
MR
237032013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23704
23705 [BZ #15022]
23706 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23707 over to...
23708 (dl_open_worker) [!SHARED]: ... here.
23709
c18c701d
RA
237102013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23711
23712 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23713
1d17fa5f
RH
237142013-06-25 Richard Henderson <rth@redhat.com>
23715
23716 * locale/programs/locarchive.c: Include <libc-internal.h>
23717
8fcb833a
JM
237182013-06-25 Joseph Myers <joseph@codesourcery.com>
23719
23720 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23721 trailing whitespace removed.
23722
17db6e8d
MF
237232013-06-24 Mike Frysinger <vapier@gentoo.org>
23724
23725 [BZ #10283]
17db6e8d
MF
23726 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23727 * locale/programs/locarchive.c: Include libc-mmap.h.
23728 (prepare_address_space): Take two new outputs (the mmap base and len).
23729 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23730 values.
23731 (create_archive): Declare new mmap base and len values for
23732 prepare_address_space, and store the result in ah.
23733 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23734 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23735 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23736 Declare new mmap base and len values for
23737 prepare_address_space, and store the result in new_ah.
23738 (open_archive): Declare new mmap base and len values for
23739 prepare_address_space, and store the result in ah.
23740 (close_archive): If ah->mmap_base is not NULL, use that and
23741 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23742 * sysdeps/generic/libc-mmap.h: New file.
23743
d605071e
MF
237442013-06-24 Mike Frysinger <vapier@gentoo.org>
23745
23746 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23747 (ALIGN_UP): Likewise.
23748 (PTR_ALIGN_DOWN): Likewise.
23749 (PTR_ALIGN_UP): Likewise.
23750
2f063a6e
RA
237512013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23752
23753 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23754 entry mapped to PPC_PLATFORM_POWER8.
23755 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23756 POWER8.
23757 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23758 (_dl_string_platform): Add case for exporting platform position for
23759 POWER8.
23760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23761 search path to sysdeps/powerpc/powerpc32/power8 directory.
23762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23763 search path to sysdeps/powerpc/powerpc64/power8 directory.
23764 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23765 power7 directories.
23766 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23767 power7 directories.
23768
a31ee4b3
SP
237692013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23770
a74ca98f
SP
23771 * INSTALL: Regenerate.
23772
a31ee4b3
SP
23773 * nscd/connections.c (nscd_init): Fix comment.
23774
695c378f
JM
237752013-06-22 Joseph Myers <joseph@codesourcery.com>
23776
d8412221
JM
23777 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23778
695c378f
JM
23779 [BZ #15667]
23780 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23781 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23782
d1d54715
MR
237832013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23784
23785 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23786 DL_DST_REQ_STATIC.
23787 (DL_DST_REQ_STATIC): Remove macro.
23788
8fdda7af
JM
237892013-06-21 Joseph Myers <joseph@codesourcery.com>
23790
23791 [BZ #7006]
23792 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23793 with a shift of 0 bits.
23794
f3bc5e5a
MR
237952013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23796
23797 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23798 $(tststatic-ENV).
23799
be09e8c9
KK
238002013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23801
23802 [BZ #15655]
23803 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23804
85c2e611
AZ
238052013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23806
23807 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23808 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23809 accepts -fno-tree-loop-distribute-patterns.
23810 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23811 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23812 recursive call.
23813 * string/memset.c (memset): Likewise.
23814 * string/test-memmove.c (simple_memmove): Disable loop transformation
23815 to library calls.
23816 * string/test-memset.c (simple_memset): Likewise.
23817 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23818 * benchtests/bench-memset.c (simple_memset): Likewise.
23819 * configure: Regenerated.
23820
c91e0825
JM
238212013-06-20 Joseph Myers <joseph@codesourcery.com>
23822
b8c792af
JM
23823 * math/test-misc.c (main): Ignore fesetround failure when failures
23824 of subsequent rounding tests would be ignored.
23825
c91e0825
JM
23826 [BZ #15654]
23827 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23828 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23829 * math/fegetenv.c (__fegetenv): Return 0.
23830 * math/fegetexcept.c (fegetexcept): Return 0.
23831 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23832 FE_TONEAREST.
23833 * math/feholdexcpt.c (feholdexcept): Return 0.
23834 * math/fesetenv.c (__fesetenv): Return 0.
23835 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23836 argument FE_TONEAREST.
23837 * math/feupdateenv.c (__feupdateenv): Return 0.
23838 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23839
bfcacbde
RM
238402013-06-18 Roland McGrath <roland@hack.frob.com>
23841
23842 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23843 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23844 ($(objpfx)rtld-%.os rules): Use them.
23845
e55a9b25
AZ
238462013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23847
23848 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23849 fields.
23850
346d65b3
RM
238512013-06-17 Roland McGrath <roland@hack.frob.com>
23852
12086fb4
RM
23853 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23854 length of target pattern, then descending length of dependency pattern.
23855 * configure.in (AWK): Require gawk 3.1.2 or newer.
23856 * manual/install.texi (Tools for Compilation): Say that we do.
23857 * configure: Regenerated.
23858
346d65b3
RM
23859 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23860 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23861 * scripts/sysd-rules.awk: ... this new script.
23862 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23863 than a glob-style pattern.
23864
1a846317
JM
238652013-06-17 Joseph Myers <joseph@codesourcery.com>
23866
23867 * math/test-misc.c (main): Do not treat incorrectly rounded
23868 conversions as failure unless ROUNDING_TESTS passes.
23869
8fc75e6f
JM
238702013-06-15 Joseph Myers <joseph@codesourcery.com>
23871
3711a167
JM
23872 [BZ #15631]
23873 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23874 restore exception state around main square root computation, then
23875 check for inexactness explicitly.
23876
8fc75e6f
JM
23877 * math/libm-test.inc (fma_test_data): Add another test.
23878
61dd6208
SP
238792013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23880
adf23d2c
SP
23881 * manual/threads.texi (Non-POSIX Extensions): New document
23882 node. Document pthread_getattr_default_np and
23883 pthread_setattr_default_np.
23884
61dd6208
SP
23885 * Versions.def (libpthread): Add GLIBC_2.18.
23886 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23888 Likewise.
23889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23890 Likewise.
23891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23892 Likewise.
23893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23894 Likewise.
23895 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23896 Likewise.
23897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23898 Likewise.
23899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23900 Likewise.
23901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23902 Likewise.
23903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23904 Likewise.
23905
d086fc7b
LD
239062013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23907
23908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23909 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23910
747ef469
SP
239112013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23912 H.J. Lu <hjl.tools@gmail.com>
23913
23914 [BZ #15627]
23915 * sysdeps/x86_64/rtld-memset.c: Remove file.
23916 * sysdeps/x86_64/rtld-memset.S: New file.
23917
1b2feed2
JM
239182013-06-14 Joseph Myers <joseph@codesourcery.com>
23919
23920 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23921 (test_in_one_mode): Take arguments for whether the rounding mode
23922 is supported for each floating-point type.
23923 (do_test): Pass new arguments to test_in_one_mode using
23924 ROUNDING_TESTS.
23925
a58ad3f8
RM
239262013-06-13 Roland McGrath <roland@hack.frob.com>
23927
23928 * posix/tst-waitid.c (do_test): Distinguish different instances of
23929 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23930 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23931 before entering the kernel for waitpid.
23932
c204ab28
SP
239332013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23934
23935 * NEWS: Fix note on clock function precision. Text by Roland
23936 McGrath.
23937
f4a29fba
RM
239382013-06-13 Roland McGrath <roland@hack.frob.com>
23939
23940 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23941 it into place only when and if the sanity check passes.
23942
1f24b9ad
JM
239432013-06-13 Joseph Myers <joseph@codesourcery.com>
23944
23945 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23946 output for whether conversion result is exact. Take argument
23947 indicating whether type is IBM long double.
23948 (round_for_all): Change need_exact field to ibm_ld.
23949 * stdlib/tst-strtod-round.c (struct exactness): New type.
23950 (struct test): Change bool ld_ok field to struct exactness exact.
23951 (TEST): Update all definitions for change to field.
23952 (tests): Regenerate array contents.
23953 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23954 field value. Check for IBM long double here.
23955 (do_test): Update calls to test_in_one_mode.
23956
58206c68
SP
239572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23958
23959 [BZ #12515]
23960 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23961 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23962
2d6f4c5b 239632013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
23964
23965 [BZ #15605]
23966 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23967 generated by the compiler on loop optimizations.
23968 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23969 general definitions.
23970
94f2c076
JM
239712013-06-12 Joseph Myers <joseph@codesourcery.com>
23972
23973 * math/bug-nextafter.c: Include <math-tests.h>.
23974 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23975 the relevant type.
23976 * math/bug-nexttoward.c: Include <math-tests.h>.
23977 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23978 the relevant type.
23979 * math/test-misc.c: Include <math-tests.h>.
23980 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23981 the relevant type.
23982
e0e50a0a
AJ
239832013-06-12 Andreas Jaeger <aj@suse.de>
23984
23985 * po/ia.po: Update Interlingua translation from translation
23986 project.
23987
25061094
SP
239882013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23989
23990 * include/fenv.h: Include stdbool.h.
23991 (struct rm_ctx): New structure.
23992 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23993 Define macro.
23994 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23995 (SET_RESTORE_ROUNDF): Likewise.
23996 (SET_RESTORE_ROUNDL): Likewise.
23997 (SET_RESTORE_ROUND_NOEX): Likewise.
23998 (SET_RESTORE_ROUND_NOEXF): Likewise.
23999 (SET_RESTORE_ROUND_NOEXL): Likewise.
24000 (SET_RESTORE_ROUND_53BIT): Likewise.
24001 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24002 (libc_feresetround_noexf_ctx): Likewise.
24003 (libc_feresetround_noexl_ctx): Likewise.
24004 (libc_feholdsetround_53bit_ctx): Likewise.
24005 (libc_feresetround_53bit_ctx): Likewise.
24006 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24007 (libc_feholdexcept_setround_sse_ctx): New function.
24008 (libc_fesetenv_sse_ctx): Likewise.
24009 (libc_feupdateenv_sse_ctx): Likewise.
24010 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24011 (libc_feholdexcept_setround_387_ctx): Likewise.
24012 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24013 (libc_feholdsetround_387_prec_ctx): Likewise.
24014 (libc_feholdsetround_387_ctx): Likewise.
24015 (libc_feholdsetround_387_53bit_ctx): Likewise.
24016 (libc_feholdsetround_sse_ctx): Likewise.
24017 (libc_feresetround_sse_ctx): Likewise.
24018 (libc_feresetround_387_ctx): Likewise.
24019 (libc_feupdateenv_387_ctx): Likewise.
24020 (libc_feholdexcept_setroundf_ctx): Define macro.
24021 (libc_fesetenvf_ctx): Likewise.
24022 (libc_feupdateenvf_ctx): Likewise.
24023 (libc_feholdsetroundf_ctx): Likewise.
24024 (libc_feresetroundf_ctx): Likewise.
24025 (libc_feholdexcept_setround_ctx): Likewise.
24026 (libc_fesetenv_ctx): Likewise.
24027 (libc_feupdateenv_ctx): Likewise.
24028 (libc_feholdsetround_ctx): Likewise.
24029 (libc_feresetround_ctx): Likewise.
24030 (libc_feholdexcept_setroundl_ctx): Likewise.
24031 (libc_feupdateenvl_ctx): Likewise.
24032 (libc_feholdsetroundl_ctx): Likewise.
24033 (libc_feresetroundl_ctx): Likewise.
24034 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24035 (libc_feresetround_53bit_ctx): Likewise.
24036
59b30555
SP
240372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24038
24039 * locale/iso-639.def: Convert to UTF-8.
24040
f1d73d30
JM
240412013-06-11 Joseph Myers <joseph@codesourcery.com>
24042
24043 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24044 (EXCEPTION_TESTS_double): Likewise.
24045 (EXCEPTION_TESTS_long_double): Likewise.
24046 (EXCEPTION_TESTS): Likewise.
24047 * math/libm-test.inc (test_exceptions): Only test exceptions if
24048 EXCEPTION_TESTS (FLOAT).
24049
94aca5e7
SP
240502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24051
24052 * benchtests/Makefile (string-bench): Add strcpy_chk and
24053 stpcpy_chk.
24054 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24055 * benchtests/bench-stpcpy_chk.c: New file.
24056 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24057 * benchtests/bench-strcpy_chk.c: New file.
24058 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24059 code.
24060 (do_test): Likewise.
24061
fac0c5f2
RA
240622013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24063
24064 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24065 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24066 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24067 with tabs where appropriate.
24068 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24069 dl-procinfo.h.
24070 [PPC_PLATFORM_PPC440]: Likewise.
24071 [PPC_PLATFORM_PPC464]: Likewise.
24072 [PPC_PLATFORM_PPC476]: Likewise.
24073 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24074 ppc464, and ppc476 platform strings merging from ports/
24075 dl-procinfo.h.
24076
f22bc486
AS
240772013-06-11 Andreas Schwab <schwab@suse.de>
24078
24079 [BZ #14991]
24080 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24081 (from_ucs4_idx): Regenerate.
24082 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24083 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24084 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24085 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24086 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24087 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24088 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24089 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24090 from FROM_LOOP and TO_LOOP specific macros.
24091 (BODY): Handle combining characters.
24092 * iconvdata/BIG5HKSCS.irreversible: Update.
24093 * iconvdata/BIG5HKSCS.precomposed: New file.
24094 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24095 characters.
24096 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24097
c1f75dc3
SP
240982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24099
4eacded2
SP
24100 * include/sys/time.h: Fix indentation and add copyright header.
24101
fec799f8
SP
24102 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24103 (do_test): Likewise.
24104 * string/test-memchr.c (do_one_test): Likewise.
24105 (do_test): Likewise.
24106 * string/test-memcmp.c (do_one_test): Likewise.
24107 (do_test): Likewise.
24108 * string/test-memcpy.c (do_one_test): Likewise.
24109 (do_test): Likewise.
24110 * string/test-memmem.c (do_one_test): Likewise.
24111 (do_test): Likewise.
24112 (do_random_tests): Likewise.
24113 * string/test-memmove.c (do_one_test): Likewise.
24114 (do_test): Likewise.
24115 * string/test-memset.c (do_one_test): Likewise.
24116 (do_test): Likewise.
24117 * string/test-rawmemchr.c (do_one_test): Likewise.
24118 (do_test): Likewise.
24119 * string/test-strcasecmp.c (do_one_test): Likewise.
24120 (do_test): Likewise.
24121 * string/test-strcasestr.c (do_one_test): Likewise.
24122 (do_test): Likewise.
24123 * string/test-strcat.c (do_one_test): Likewise.
24124 (do_test): Likewise.
24125 * string/test-strchr.c (do_one_test): Likewise.
24126 (do_test): Likewise.
24127 * string/test-strcmp.c (do_one_test): Likewise.
24128 (do_test): Likewise.
24129 * string/test-strcpy.c (do_one_test): Likewise.
24130 (do_test): Likewise.
24131 * string/test-string.h: Likewise.
24132 (test_init): Likewise.
24133 * string/test-strlen.c (do_one_test): Likewise.
24134 (do_test): Likewise.
24135 * string/test-strncasecmp.c (do_one_test): Likewise.
24136 (do_test): Likewise.
24137 * string/test-strncat.c (do_one_test): Likewise.
24138 (do_test): Likewise.
24139 * string/test-strncmp.c (do_one_test): Likewise.
24140 (do_test_limit): Likewise.
24141 (do_test): Likewise.
24142 * string/test-strncpy.c (do_one_test): Likewise.
24143 (do_test): Likewise.
24144 * string/test-strnlen.c (do_one_test): Likewise.
24145 (do_test): Likewise.
24146 * string/test-strpbrk.c (do_one_test): Likewise.
24147 (do_test): Likewise.
24148 * string/test-strrchr.c (do_one_test): Likewise.
24149 (do_test): Likewise.
24150 * string/test-strspn.c (do_one_test): Likewise.
24151 (do_test): Likewise.
24152 * string/test-strstr.c (do_one_test): Likewise.
24153 (do_test): Likewise.
24154
97020474
SP
24155 * benchtests/Makefile (string-bench): Add string benchmarks.
24156 * benchtests/bench-bcopy-ifunc.c: New file.
24157 * benchtests/bench-bcopy.c: New file.
24158 * benchtests/bench-bzero-ifunc.c: New file.
24159 * benchtests/bench-bzero.c: New file.
24160 * benchtests/bench-memccpy-ifunc.c: New file.
24161 * benchtests/bench-memccpy.c: New file.
24162 * benchtests/bench-memchr-ifunc.c: New file.
24163 * benchtests/bench-memchr.c: New file.
24164 * benchtests/bench-memcmp-ifunc.c: New file.
24165 * benchtests/bench-memcmp.c: New file.
24166 * benchtests/bench-memmem-ifunc.c: New file.
24167 * benchtests/bench-memmem.c: New file.
24168 * benchtests/bench-memmove-ifunc.c: New file.
24169 * benchtests/bench-memmove.c: New file.
24170 * benchtests/bench-mempcpy-ifunc.c: New file.
24171 * benchtests/bench-mempcpy.c: New file.
24172 * benchtests/bench-memset-ifunc.c: New file.
24173 * benchtests/bench-memset.c: New file.
24174 * benchtests/bench-rawmemchr-ifunc.c: New file.
24175 * benchtests/bench-rawmemchr.c: New file.
24176 * benchtests/bench-stpcpy-ifunc.c: New file.
24177 * benchtests/bench-stpcpy.c: New file.
24178 * benchtests/bench-stpncpy-ifunc.c: New file.
24179 * benchtests/bench-stpncpy.c: New file.
24180 * benchtests/bench-strcasecmp-ifunc.c: New file.
24181 * benchtests/bench-strcasecmp.c: New file.
24182 * benchtests/bench-strcasestr-ifunc.c: New file.
24183 * benchtests/bench-strcasestr.c: New file.
24184 * benchtests/bench-strcat-ifunc.c: New file.
24185 * benchtests/bench-strcat.c: New file.
24186 * benchtests/bench-strchr-ifunc.c: New file.
24187 * benchtests/bench-strchr.c: New file.
24188 * benchtests/bench-strchrnul-ifunc.c: New file.
24189 * benchtests/bench-strchrnul.c: New file.
24190 * benchtests/bench-strcmp-ifunc.c: New file.
24191 * benchtests/bench-strcmp.c: New file.
24192 * benchtests/bench-strcpy-ifunc.c: New file.
24193 * benchtests/bench-strcpy.c: New file.
24194 * benchtests/bench-strcspn-ifunc.c: New file.
24195 * benchtests/bench-strcspn.c: New file.
24196 * benchtests/bench-strlen-ifunc.c: New file.
24197 * benchtests/bench-strlen.c: New file.
24198 * benchtests/bench-strncasecmp-ifunc.c: New file.
24199 * benchtests/bench-strncasecmp.c: New file.
24200 * benchtests/bench-strncat-ifunc.c: New file.
24201 * benchtests/bench-strncat.c: New file.
24202 * benchtests/bench-strncmp-ifunc.c: New file.
24203 * benchtests/bench-strncmp.c: New file.
24204 * benchtests/bench-strncpy-ifunc.c: New file.
24205 * benchtests/bench-strncpy.c: New file.
24206 * benchtests/bench-strnlen-ifunc.c: New file.
24207 * benchtests/bench-strnlen.c: New file.
24208 * benchtests/bench-strpbrk-ifunc.c: New file.
24209 * benchtests/bench-strpbrk.c: New file.
24210 * benchtests/bench-strrchr-ifunc.c: New file.
24211 * benchtests/bench-strrchr.c: New file.
24212 * benchtests/bench-strspn-ifunc.c: New file.
24213 * benchtests/bench-strspn.c: New file.
24214 * benchtests/bench-strstr-ifunc.c: New file.
24215 * benchtests/bench-strstr.c: New file.
24216
c1f75dc3
SP
24217 * benchtests/Makefile: Disable parallel execution of targets.
24218 (string-bench): Add memcpy.
24219 (benchset): New variable to store a list of benchmark sets.
24220 (bench-func): Renamed from bench.
24221 (bench-set): New target.
24222 (bench): Depend on bench-func and bench-set.
24223 * benchtests/README: Add section on benchmark sets.
24224 * benchtests/bench-memcpy-ifunc.c: New file.
24225 * benchtests/bench-memcpy.c: New file.
24226 * benchtests/bench-string.h: New file.
24227
50fd745b
AS
242282013-06-11 Andreas Schwab <schwab@suse.de>
24229
24230 [BZ #15577]
24231 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24232 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24233 values in the triple.
24234 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24235 terminator in the group key.
24236
3ee7e9fe
AJ
242372013-06-11 Andreas Jaeger <aj@suse.de>
24238
24239 * po/zh_TW.po: Update Chinese (traditional) translation from
24240 translation project.
24241
89fb6835
SP
242422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24243
24244 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24245 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24246 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24248 (clock_getcpuclockid): Likewise.
24249 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24250 Add weak_alias and libc_hidden_def.
24251 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24252 * rt/clock_gettime.c (clock_gettime): Rename to
24253 __clock_gettime. Add weak_alias and libc_hidden_def.
24254 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24255 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24256 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24257 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24258 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24259 Likewise.
24260 * rt/clock_settime.c (clock_settime): Rename to
24261 __clock_settime. Add weak_alias and libc_hidden_def.
24262 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24263
0efa6f8b
JM
242642013-06-10 Joseph Myers <joseph@codesourcery.com>
24265
b8c61b4b
JM
24266 * mach/err_boot.sub: Remove trailing whitespace.
24267 * mach/err_ipc.sub: Likewise.
24268 * mach/err_mach.sub: Likewise.
24269
0efa6f8b
JM
24270 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24271 (ROUNDING_TESTS_double): Likewise.
24272 (ROUNDING_TESTS_long_double): Likewise.
24273 (ROUNDING_TESTS): Likewise.
24274 * math/libm-test.inc: Include <math-tests.h>.
24275 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24276 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24277 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24278 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24279
50b818bf
SP
242802013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24281
24282 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24283 of assigning.
24284
60d2f8f3
JM
242852013-06-08 Joseph Myers <joseph@codesourcery.com>
24286
4902d2c3
JM
24287 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24288 otherwise empty TRANS lines.
24289 * sysdeps/gnu/errlist.c: Regenerated.
24290
60d2f8f3
JM
24291 * catgets/gencat.c (error_print): Use (void) in function
24292 definition.
24293 * crypt/crypt_util.c (__init_des): Likewise.
24294 * crypt/speeds.c (Stop): Likewise.
24295 (main): Likewise.
24296 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24297 * inet/ruserpass.c (token): Likewise.
24298 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24299 * intl/localealias.c (extend_alias_table): Likewise.
24300 * intl/plural-exp.c (init_germanic_plural): Likewise.
24301 * libio/fcloseall.c (__fcloseall): Likewise.
24302 * libio/genops.c (_IO_flush_all): Likewise.
24303 (_IO_flush_all_linebuffered): Likewise.
24304 (_IO_cleanup): Likewise.
24305 (_IO_iter_begin): Likewise.
24306 (_IO_iter_end): Likewise.
24307 (_IO_list_lock): Likewise.
24308 (_IO_list_unlock): Likewise.
24309 (_IO_list_resetlock): Likewise.
24310 * libio/getchar.c (getchar): Likewise.
24311 * libio/getchar_u.c (getchar_unlocked): Likewise.
24312 * libio/getwchar.c (getwchar): Likewise.
24313 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24314 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24315 * login/getpt.c (__getpt): Likewise.
24316 * login/tst-utmp.c (main): Likewise.
24317 * malloc/hooks.c (__malloc_check_init): Likewise.
24318 * malloc/malloc.c (__malloc_stats): Likewise.
24319 * malloc/mtrace.c (tr_break): Likewise.
24320 (mtrace): Likewise.
24321 (muntrace): Likewise.
24322 * misc/fstab.c (endfsent): Likewise.
24323 * misc/getclktck.c (__getclktck): Likewise.
24324 * misc/getdtsz.c (__getdtablesize): Likewise.
24325 * misc/gethostid.c (gethostid): Likewise.
24326 * misc/getpagesize.c (__getpagesize): Likewise.
24327 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24328 (__get_nprocs): Likewise.
24329 (__get_phys_pages): Likewise.
24330 (__get_avphys_pages): Likewise.
24331 * misc/getttyent.c (getttyent): Likewise.
24332 (setttyent): Likewise.
24333 (endttyent): Likewise.
24334 * misc/getusershell.c (getusershell): Likewise.
24335 (endusershell): Likewise.
24336 (setusershell): Likewise.
24337 (initshells): Likewise.
24338 * misc/hsearch.c (__hdestroy): Likewise.
24339 * misc/sync.c (sync): Likewise.
24340 * misc/syslog.c (closelog_internal): Likewise.
24341 (closelog): Likewise.
24342 * misc/ttyslot.c (ttyslot): Likewise.
24343 * misc/vhangup.c (vhangup): Likewise.
24344 * posix/fork.c (__fork): Likewise.
24345 * posix/getegid.c (__getegid): Likewise.
24346 * posix/geteuid.c (__geteuid): Likewise.
24347 * posix/getgid.c (__getgid): Likewise.
24348 * posix/getpid.c (__getpid): Likewise.
24349 * posix/getppid.c (__getppid): Likewise.
24350 * posix/getuid.c (__getuid): Likewise.
24351 * posix/pause.c (pause): Likewise.
24352 * posix/setpgrp.c (setpgrp): Likewise.
24353 * posix/setsid.c (__setsid): Likewise.
24354 * posix/test-vfork.c (noop): Likewise.
24355 * resolv/gethnamaddr.c (_endhtent): Likewise.
24356 (_gethtent): Likewise.
24357 (ht_endhostent): Likewise.
24358 (gethostent): Likewise.
24359 (dns_service): Likewise.
24360 * stdlib/drand48.c (drand48): Likewise.
24361 * stdlib/lrand48.c (lrand48): Likewise.
24362 * stdlib/mrand48.c (mrand48): Likewise.
24363 * stdlib/rand.c (rand): Likewise.
24364 * stdlib/random.c (__random): Likewise.
24365 * stdlib/setenv.c (clearenv): Likewise.
24366 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24367 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24368 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24369 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24370 (__get_nprocs): Likewise.
24371 (__get_phys_pages): Likewise.
24372 (__get_avphys_pages): Likewise.
24373 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24374 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24375 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24376 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24377 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24378 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24379 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24380 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24381 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24382 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24383 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24384 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24385 * sysdeps/posix/clock.c (clock): Likewise.
24386 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24387 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24388 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24389 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24390 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24392 (__get_nprocs_conf): Likewise.
24393 (__get_phys_pages): Likewise.
24394 (__get_avphys_pages): Likewise.
24395 * time/clock.c (clock): Likewise.
24396 * time/tzset.c (__tzname_max): Likewise.
24397
2e09a79a
JM
243982013-06-07 Joseph Myers <joseph@codesourcery.com>
24399
24400 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24401 (__bswap_32): Do not use "register".
24402 * crypt/crypt.c (_ufc_doit_r): Likewise.
24403 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24404 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24405 * gmon/gmon.c (__monstartup): Likewise.
24406 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24407 * hurd/hurdmalloc.c (more_memory): Likewise.
24408 (malloc): Likewise.
24409 (free): Likewise.
24410 (realloc): Likewise.
24411 (malloc_fork_prepare): Likewise.
24412 (malloc_fork_parent): Likewise.
24413 (malloc_fork_child): Likewise.
24414 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24415 (_svcauth_des): Likewise.
24416 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24417 * inet/inet_net.c (inet_network): Likewise.
24418 * inet/inet_netof.c (inet_netof): Likewise.
24419 * inet/rcmd.c (__validuser2_sa): Likewise.
24420 * io/fts.c (fts_open): Likewise.
24421 (fts_load): Likewise.
24422 (fts_close): Likewise.
24423 (fts_read): Likewise.
24424 (fts_children): Likewise.
24425 (fts_build): Likewise.
24426 (fts_stat): Likewise.
24427 (fts_sort): Likewise.
24428 (fts_alloc): Likewise.
24429 (fts_lfree): Likewise.
24430 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24431 (_IO_file_xsgetn): Likewise.
24432 (_IO_file_xsgetn_mmap): Likewise.
24433 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24434 (_IO_cookie_write): Likewise.
24435 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24436 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24437 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24438 * malloc/obstack.c (_obstack_begin): Likewise.
24439 (_obstack_begin_1): Likewise.
24440 (_obstack_newchunk): Likewise.
24441 (_obstack_allocated_p): Likewise.
24442 (obstack_free): Likewise.
24443 (_obstack_memory_used): Likewise.
24444 * misc/getttyent.c (getttynam): Likewise.
24445 (getttyent): Likewise.
24446 (skip): Likewise.
24447 (value): Likewise.
24448 * misc/getusershell.c (initshells): Likewise.
24449 * misc/syslog.c (__vsyslog_chk): Likewise.
24450 * misc/ttyslot.c (ttyslot): Likewise.
24451 * nis/nis_hash.c (__nis_hash): Likewise.
24452 * posix/fnmatch_loop.c (FCT): Likewise.
24453 * posix/getconf.c (print_all): Likewise.
24454 (main): Likewise.
24455 * posix/getopt.c (exchange): Likewise.
24456 * posix/glob.c (globfree): Likewise.
24457 (prefix_array): Likewise.
24458 (__glob_pattern_type): Likewise.
24459 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24460 (NS_GET32): Likewise.
24461 (NS_PUT16): Likewise.
24462 (NS_PUT32): Likewise.
24463 * resolv/gethnamaddr.c (getanswer): Likewise.
24464 (gethostbyname2): Likewise.
24465 (gethostbyaddr): Likewise.
24466 (_gethtent): Likewise.
24467 (_gethtbyname2): Likewise.
24468 (_gethtbyaddr): Likewise.
24469 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24470 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24471 * resolv/res_init.c (__res_vinit): Likewise.
24472 (net_mask): Likewise.
24473 * resolv/res_mkquery.c (outchar): Likewise.
24474 (PRINT): Likewise.
24475 * stdio-common/printf_fp.c (outchar): Likewise.
24476 (PRINT): Likewise.
24477 * stdio-common/printf_fphex.c (outchar): Likewise.
24478 (PRINT): Likewise.
24479 * stdio-common/printf_size.c (outchar): Likewise.
24480 (PRINT): Likewise.
24481 * stdio-common/test_rdwr.c (main): Likewise.
24482 * stdio-common/tfformat.c (matches): Likewise.
24483 * stdio-common/vfprintf.c (outchar): Likewise.
24484 (printf_unknown): Likewise.
24485 (buffered_vfprintf): Likewise.
24486 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24487 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24488 (ReadFile): Likewise.
24489 * stdlib/qsort.c (SWAP): Likewise.
24490 (_quicksort): Likewise.
24491 * stdlib/setenv.c (__add_to_environ): Likewise.
24492 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24493 * stdlib/strtol_l.c (__strtol_l): Likewise.
24494 * stdlib/tst-strtod.c (main): Likewise.
24495 * stdlib/tst-strtol.c (main): Likewise.
24496 * stdlib/tst-strtoll.c (main): Likewise.
24497 * string/bits/string2.h (__strcmp_cc): Likewise.
24498 (__strcmp_cg): Likewise.
24499 (__strcspn_c1): Likewise.
24500 (__strcspn_c2): Likewise.
24501 (__strcspn_c3): Likewise.
24502 (__strspn_c1): Likewise.
24503 (__strspn_c2): Likewise.
24504 (__strspn_c3): Likewise.
24505 (__strsep_1c): Likewise.
24506 (__strsep_2c): Likewise.
24507 (__strsep_3c): Likewise.
24508 * string/memccpy.c (__memccpy): Likewise.
24509 * string/stpcpy.c (__stpcpy): Likewise.
24510 * string/strcmp.c (strcmp): Likewise.
24511 * string/strrchr.c (strrchr): Likewise.
24512 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24513 Likewise.
24514 * sysdeps/mach/hurd/getcwd.c
24515 (_hurd_canonicalize_directory_name_internal): Likewise.
24516 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24517 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24518 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24519 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24520 Likewise, in both definitions.
24521 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24522 definitions.
24523 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24524 64] (__bswap_64): Likewise.
24525 * time/test_time.c (main): Likewise.
24526 * time/tzfile.c (__tzfile_read): Likewise.
24527 (__tzfile_compute): Likewise.
24528 * time/tzset.c (__tzset_parse_tz): Likewise.
24529 (tzset_internal): Likewise.
24530 (compute_change): Likewise.
24531 * wcsmbs/wcscat.c (__wcscat): Likewise.
24532 * wcsmbs/wcschr.c (wcschr): Likewise.
24533 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24534 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24535 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24536 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24537 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24538 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24539 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24540 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24541 * wcsmbs/wmemset.c (wmemset): Likewise.
24542
9e54314b
JM
245432013-06-06 Joseph Myers <joseph@codesourcery.com>
24544
24545 * scripts/config.guess: Update to version 2013-05-16.
24546 * scripts/config.sub: Update to version 2013-04-24.
24547 * scripts/install-sh: Update to version 2011-11-20.07.
24548 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24549 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24550
350635a5
OB
245512013-06-06 Ondřej Bílka <neleai@seznam.cz>
24552
24553 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24554 * elf/sln.c: Likewise.
24555 * hurd/hurd/ioctl.h: Likewise.
24556 * hurd/hurdmalloc.c: Likewise.
24557 * hurd/xattr.c: Likewise.
24558 * include/shlib-compat.h: Likewise.
24559 * inet/ruserpass.c: Likewise.
24560 * libio/iofgets_u.c: Likewise.
24561 * libio/iofgetws_u.c: Likewise.
24562 * locale/programs/ld-identification.c: Likewise.
24563 * locale/programs/ld-time.c: Likewise.
24564 * mach/msg-destroy.c: Likewise.
24565 * nss/nss_files/files-netgrp.c: Likewise.
24566 * resolv/res_data.c: Likewise.
24567 * soft-fp/op-1.h: Likewise.
24568 * soft-fp/op-2.h: Likewise.
24569 * soft-fp/op-4.h: Likewise.
24570 * soft-fp/op-common.h: Likewise.
24571 * stdio-common/printf_fphex.c: Likewise.
24572 * stdlib/strtod_l.c: Likewise.
24573 * sunrpc/rpc/clnt.h: Likewise.
24574 * sysdeps/generic/framestate.c: Likewise.
24575 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24576 * sysdeps/i386/bsd-setjmp.S: Likewise.
24577 * sysdeps/i386/__longjmp.S: Likewise.
24578 * sysdeps/i386/setjmp.S: Likewise.
24579 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24580 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24581 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24589 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24595 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24597 * sysdeps/ieee754/support.c: Likewise.
24598 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24599 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24600 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24601 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24602 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24603 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24604 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24605 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24606 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24607 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24608 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24609 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24610 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24611 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24612 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24613 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24614 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24616
44a988af
OB
246172013-06-05 Ondřej Bílka <neleai@seznam.cz>
24618
25506f09 24619 * posix/transbug.c: Remove executable mode.
44a988af 24620
9c84384c
JM
246212013-06-05 Joseph Myers <joseph@codesourcery.com>
24622
24623 * crypt/speeds.c: Remove trailing whitespace.
24624 * dlfcn/default.c: Likewise.
24625 * elf/ifuncdep2.c: Likewise.
24626 * elf/ifuncmain1.c: Likewise.
24627 * elf/ifuncmain1vis.c: Likewise.
24628 * elf/testobj.h: Likewise.
24629 * elf/tst-stackguard1.c: Likewise.
24630 * gmon/sys/gmon.h: Likewise.
24631 * hurd/hurdmsg.c: Likewise.
24632 * hurd/new-fd.c: Likewise.
24633 * hurd/ports-get.c: Likewise.
24634 * iconvdata/ibm1008_420.c: Likewise.
24635 * inet/tst-getni1.c: Likewise.
24636 * inet/tst-getni2.c: Likewise.
24637 * libio/ioungetc.c: Likewise.
24638 * libio/wfiledoalloc.c: Likewise.
24639 * manual/libm-err-tab.pl: Likewise.
24640 * math/w_dremf.c: Likewise.
24641 * misc/ftruncate.c: Likewise.
24642 * posix/bug-glob2.c: Likewise.
24643 * posix/tst-pcre.c: Likewise.
24644 * posix/wait4.c: Likewise.
24645 * resolv/README: Likewise.
24646 * resolv/res_debug.h: Likewise.
24647 * resolv/tst-inet_ntop.c: Likewise.
24648 * setjmp/bug269-setjmp.c: Likewise.
24649 * soft-fp/extended.h: Likewise.
24650 * soft-fp/op-1.h: Likewise.
24651 * soft-fp/op-2.h: Likewise.
24652 * soft-fp/op-4.h: Likewise.
24653 * soft-fp/op-8.h: Likewise.
24654 * soft-fp/testit.c: Likewise.
24655 * stdio-common/bug16.c: Likewise.
24656 * stdlib/random.c: Likewise.
24657 * sunrpc/rpcsvc/rquota.x: Likewise.
24658 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24659 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24660 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24661 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24662 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24663 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24664 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24665 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24666 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24667 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24668 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24669 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24670 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24674 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24676 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24680 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24685 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24687 * sysdeps/ieee754/s_lib_version.c: Likewise.
24688 * sysdeps/mach/hurd/check_fds.c: Likewise.
24689 * sysdeps/mach/hurd/getsockname.c: Likewise.
24690 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24691 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24692 * sysdeps/powerpc/bits/link.h: Likewise.
24693 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24694 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24695 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24696 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24697 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24698 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24699 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24700 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24701 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24702 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24703 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24704 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24705 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24706 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24707 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24708 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24709 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24710 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24712 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24713 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24714 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24716 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24717 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24718 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24719 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24720 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24722 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24723 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24724 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24725 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24726 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24727 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24728 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24729 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24730 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24731 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24732 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24733 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24734 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24735 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24736 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24737 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24738 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24739 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24740 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24741 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24742 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24745 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24746 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24747 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24748 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24749 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24750 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24751 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24752 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24753 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24754 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24755 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24756 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24757 * sysdeps/powerpc/sysdep.h: Likewise.
24758 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24759 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24760 * sysdeps/sh/dl-trampoline.S: Likewise.
24761 * sysdeps/sh/memset.S: Likewise.
24762 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24763 * sysdeps/sh/strlen.S: Likewise.
24764 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24765 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24766 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24767 * sysdeps/sparc/sparc32/rem.S: Likewise.
24768 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24769 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24770 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24771 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24772 * sysdeps/sparc/sparc32/urem.S: Likewise.
24773 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24774 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24775 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24776 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24777 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24778 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24779 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24780 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24781 * sysdeps/unix/bsd/times.c: Likewise.
24782 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24783 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24787 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24788 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24789 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24790 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24791 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24792 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24793 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24794 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24795 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24796 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24797 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24798 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24799 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24800 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24801 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24802 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24803 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24804 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24805 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24806 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24807 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24808 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24809 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24810 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24811 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24812 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24813 * sysdeps/x86_64/strcspn.S: Likewise.
24814
869378a5
RA
248152013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24816
24817 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24818 generated file. Regenerate properly from gen-translit.pl.
24819 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24820 locale/C-translit.h.
24821
840e2943
AS
248222013-06-05 Andreas Schwab <schwab@suse.de>
24823
24824 [BZ #15100]
24825 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24826 week as 6 instead of -1.
24827 * time/tst-strptime.c (day_tests): Add test case.
24828
4c60cb0c
SP
248292013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24830
24831 * sysdeps/generic/math_private.h
24832 (libc_feholdexcept_setround_53bit): Replace with
24833 libc_feholdsetround_53bit.
24834 (libc_feupdateenv_53bit): Replace with
24835 libc_feresetround_53bit.
24836 (SET_RESTORE_ROUND_53BIT): Adjust.
24837
d180203e
SP
248382013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24839
96df079a
SP
24840 * string/test-strchrnul.c: Add copyright header.
24841
d180203e
SP
24842 * posix/tst-getaddrinfo4.c: Increase test timeout.
24843
8b0ccb2d
CD
248442013-06-03 Carlos O'Donell <carlos@redhat.com>
24845
24846 [BZ #15536]
24847 * math/libm-test.inc (MAX_EXP): Remove
24848 (MIN_EXP): Define.
24849 (ulp): Use MIN_EXP - MANT_DIG.
24850 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24851
3b3c4d40
CD
248522013-05-31 Carlos O'Donell <carlos@redhat.com>
24853
24854 * po/be.po: Revert last change.
24855 * po/zh_CN.po: Likewise.
24856 * po/header.pot: Likewise.
24857
fab7ce3f
JM
248582013-05-31 Joseph Myers <joseph@codesourcery.com>
24859
24860 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24861 link-libc-deps to empty as target-specific variable.
24862 * Makerules (link-libc-args): New variable.
24863 (libc-for-link): Likewise.
24864 (link-libc-deps): Likewise.
24865 (lib%.so): Depend on $(link-libc-deps). Link with
24866 $(link-libc-args).
24867 (build-module): Link with $(link-libc-args).
24868 (build-module-asneeded): Likewise.
24869 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24870 list of objects.
24871 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24872 target-specific variable.
24873 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24874 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24875 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24876 libc.
24877 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24878 libc and ld.so.
24879 ($(objpfx)libpcprofile.so): Likewise.
24880 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24881 libc_nonshared.a.
24882 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24883 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24884 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24885 $(link-libc-deps).
24886 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24887 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24888 * login/Makefile ($(objpfx)libutil.so): Likewise.
24889 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24890 * math/Makefile ($(objpfx)libm.so): Likewise.
24891 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24892 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24893 variable instead of depending directly on libc.
24894 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24895 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24896 $(link-libc-deps).
24897 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24898 libc.
24899 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24900 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24901 ($(objpfx)libanl.so): Likewise.
24902 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24903 ld.so.
24904 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24905 $(link-libc-deps).
24906 * sysdeps/i386/fpu/Makefile: Remove file.
24907 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24908 ($(objpfx)libm.so): Remove dependency on ld.so.
24909
eca5920c
PF
249102013-05-30 Patsy Franklin <pfrankli@redhat.com>
24911
24912 [BZ # 15553]
24913 * nis/yp_xdr.c (XDRMAXNAME): Define.
24914 (XDRMAXRECORD): Define.
24915 (xdr_domainname): Use XDRMAXNAME.
24916 (xdr_mapname): Likewise.
24917 (xdr_peername): Likewise.
24918 (xdr_keydat): Use XDRMAXRECORD.
24919 (xdr_valdat): Likewise.
24920
249212013-05-30 Jeff Law <law@redhat.com>
96945714
JL
24922
24923 [BZ #14256]
24924 * manual/errno.texi (ESTALE): Update to account for more than
24925 just NFS file systems.
24926 * sysdeps/gnu/errlist.c: Regenerated.
24927
b9375348
SP
249282013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24929
24930 [BZ #15465]
24931 * elf/Makefile (tests): Add tst-null-argv.
24932 (modules-names): Add tst-null-argv-lib.
24933 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24934 (tst-null-argv-ENV): Set environment for tst-null-argv.
24935 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24936 (RTLD_PROGNAME): New macro.
24937 * elf/tst-null-argv.c: New test case.
24938 * elf/tst-null-argv-lib.c: Library for test case.
24939 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24940 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24941 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24942 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24943 * elf/dl-init.c (call_init): Likewise.
24944 (_dl_init): Likewise.
24945 * elf/dl-load.c (print_search_path): Likewise.
24946 (_dl_map_object): Likewise.
24947 * elf/dl-lookup.c (do_lookup_x): Likewise.
24948 (add_dependency): Likewise.
24949 (_dl_lookup_symbol_x): Likewise.
24950 (_dl_debug_bindings): Likewise.
24951 * elf/dl-open.c (_dl_show_scope): Likewise.
24952 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24953 * elf/dl-version.c (match_symbol): Likewise.
24954 (_dl_check_map_versions): Likewise.
24955 * elf/rtld.c (dl_main): Likewise.
24956 (print_unresolved): Use RTLD_PROGNAME.
24957 (print_missing_version): Likewise.
24958 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24959 (elf_machine_rela): Likewise.
24960 * sysdeps/powerpc/powerpc32/dl-machine.c
24961 (__process_machine_rela): Likewise.
24962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24963 Likewise.
24964 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24965 Likewise.
24966 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24967 Likewise.
24968 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24969 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24970 Likewise.
24971 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24972 Likewise.
24973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24974
8a9f20c8
CD
249752013-05-28 Carlos O'Donell <carlos@redhat.com>
24976
24977 * po/be.po: Add descriptive title.
24978 * po/zh_CN.po: Likewise.
24979 * po/header.pot: Likewise.
24980
0e60d68e
MF
249812013-05-28 Mike Frysinger <vapier@gentoo.org>
24982
24983 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24984 error message.
24985 (enlarge_archive): Likewise.
24986
56b672e9
BN
249872013-05-28 Ben North <ben@redfrontdoor.org>
24988
24989 * manual/arith.texi (frexp): It is the magnitude of the return
24990 value which lies in [0.5, 1), not the return value itself.
24991
5e056687
AZ
249922013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24993
24994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24995
2b66ef5d
TS
249962013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24997
528c2405
TS
24998 * stdio-common/bug26.c (main): Correct fscanf template.
24999
07b4c13d
TS
25000 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25001 declare _dl_skip_args.
25002
ec9dd97c
TS
25003 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25004 Don't declare.
25005
2b66ef5d
TS
25006 * manual/platform.texi: Add missing @end deftypefun.
25007
4f8dfe27
JM
250082013-05-24 Joseph Myers <joseph@codesourcery.com>
25009
0323d086
JM
25010 [BZ #15529]
25011 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25012 bit of mantissa of 2^16382.
25013 * math/libm-test.inc (hypot_test_data): Add more tests.
25014
dd4259b9
JM
25015 * math/libm-test.inc: Add drem and pow10 to list of tested
25016 functions.
25017 (pow10_test): New function.
25018 (drem_test): Likewise.
25019 (drem_test_tonearest): Likewise.
25020 (drem_test_towardzero): Likewise.
25021 (drem_test_downward): Likewise.
25022 (drem_test_upward): Likewise.
25023 (main): Call the new functions.
25024
4f8dfe27
JM
25025 * math/libm-test.inc (finite_test_data): Remove.
25026 (finite_test): Run tests from isfinite_test_data.
25027 (gamma_test_data): Remove.
25028 (gamma_test): Run tests from lgamma_test_data.
25029 * sysdeps/i386/fpu/libm-test-ulps: Update.
25030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25031
d116b7c4
AZ
250322013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25033
25034 * manual/platform.texi: Add PowerPC PPR function set documentation.
25035 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25036 implementation.
25037
e96e3767
CD
250382013-05-24 Carlos O'Donell <carlos@redhat.com>
25039
25040 * math/libm-test.inc (MAX_EXP): Define.
25041 (ULPDIFF): Define.
25042 (ulp): New function.
25043 (check_float_internal): Use ULPDIFF.
25044 (cpow_test): Disable failing test.
25045 (check_ulp): Test ulp() implemetnation.
25046 (main): Call check_ulp before starting tests.
25047
b679a606
JM
250482013-05-24 Joseph Myers <joseph@codesourcery.com>
25049
e8bdba36
JM
25050 * math/gen-libm-test.pl (generate_testfile): Do not handle
25051 START_DATA and END_DATA.
25052 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25053 END_DATA.
25054 (acos_tonearest_test_data): Likewise.
25055 (acos_towardzero_test_data): Likewise.
25056 (acos_downward_test_data): Likewise.
25057 (acos_upward_test_data): Likewise.
25058 (acosh_test_data): Likewise.
25059 (asin_test_data): Likewise.
25060 (asin_tonearest_test_data): Likewise.
25061 (asin_towardzero_test_data): Likewise.
25062 (asin_downward_test_data): Likewise.
25063 (asin_upward_test_data): Likewise.
25064 (asinh_test_data): Likewise.
25065 (atan_test_data): Likewise.
25066 (atanh_test_data): Likewise.
25067 (atan2_test_data): Likewise.
25068 (cabs_test_data): Likewise.
25069 (cacos_test_data): Likewise.
25070 (cacosh_test_data): Likewise.
25071 (carg_test_data): Likewise.
25072 (casin_test_data): Likewise.
25073 (casinh_test_data): Likewise.
25074 (catan_test_data): Likewise.
25075 (catanh_test_data): Likewise.
25076 (cbrt_test_data): Likewise.
25077 (ccos_test_data): Likewise.
25078 (ccosh_test_data): Likewise.
25079 (ceil_test_data): Likewise.
25080 (cexp_test_data): Likewise.
25081 (cimag_test_data): Likewise.
25082 (clog_test_data): Likewise.
25083 (clog10_test_data): Likewise.
25084 (conj_test_data): Likewise.
25085 (copysign_test_data): Likewise.
25086 (cos_test_data): Likewise.
25087 (cos_tonearest_test_data): Likewise.
25088 (cos_towardzero_test_data): Likewise.
25089 (cos_downward_test_data): Likewise.
25090 (cos_upward_test_data): Likewise.
25091 (cosh_test_data): Likewise.
25092 (cosh_tonearest_test_data): Likewise.
25093 (cosh_towardzero_test_data): Likewise.
25094 (cosh_downward_test_data): Likewise.
25095 (cosh_upward_test_data): Likewise.
25096 (cpow_test_data): Likewise.
25097 (cproj_test_data): Likewise.
25098 (creal_test_data): Likewise.
25099 (csin_test_data): Likewise.
25100 (csinh_test_data): Likewise.
25101 (csqrt_test_data): Likewise.
25102 (ctan_test_data): Likewise.
25103 (ctan_tonearest_test_data): Likewise.
25104 (ctan_towardzero_test_data): Likewise.
25105 (ctan_downward_test_data): Likewise.
25106 (ctan_upward_test_data): Likewise.
25107 (ctanh_test_data): Likewise.
25108 (ctanh_tonearest_test_data): Likewise.
25109 (ctanh_towardzero_test_data): Likewise.
25110 (ctanh_downward_test_data): Likewise.
25111 (ctanh_upward_test_data): Likewise.
25112 (erf_test_data): Likewise.
25113 (erfc_test_data): Likewise.
25114 (exp_test_data): Likewise.
25115 (exp_tonearest_test_data): Likewise.
25116 (exp_towardzero_test_data): Likewise.
25117 (exp_downward_test_data): Likewise.
25118 (exp_upward_test_data): Likewise.
25119 (exp10_test_data): Likewise.
25120 (exp2_test_data): Likewise.
25121 (expm1_test_data): Likewise.
25122 (fabs_test_data): Likewise.
25123 (fdim_test_data): Likewise.
25124 (finite_test_data): Likewise.
25125 (floor_test_data): Likewise.
25126 (fma_test_data): Likewise.
25127 (fma_towardzero_test_data): Likewise.
25128 (fma_downward_test_data): Likewise.
25129 (fma_upward_test_data): Likewise.
25130 (fmax_test_data): Likewise.
25131 (fmin_test_data): Likewise.
25132 (fmod_test_data): Likewise.
25133 (fpclassify_test_data): Likewise.
25134 (frexp_test_data): Likewise.
25135 (gamma_test_data): Likewise.
25136 (hypot_test_data): Likewise.
25137 (ilogb_test_data): Likewise.
25138 (isfinite_test_data): Likewise.
25139 (isgreater_test_data): Likewise.
25140 (isgreaterequal_test_data): Likewise.
25141 (isinf_test_data): Likewise.
25142 (isless_test_data): Likewise.
25143 (islessequal_test_data): Likewise.
25144 (islessgreater_test_data): Likewise.
25145 (isnan_test_data): Likewise.
25146 (isnormal_test_data): Likewise.
25147 (issignaling_test_data): Likewise.
25148 (isunordered_test_data): Likewise.
25149 (j0_test_data): Likewise.
25150 (j1_test_data): Likewise.
25151 (jn_test_data): Likewise.
25152 (ldexp_test_data): Likewise.
25153 (lgamma_test_data): Likewise.
25154 (lrint_test_data): Likewise.
25155 (lrint_tonearest_test_data): Likewise.
25156 (lrint_towardzero_test_data): Likewise.
25157 (lrint_downward_test_data): Likewise.
25158 (lrint_upward_test_data): Likewise.
25159 (llrint_test_data): Likewise.
25160 (llrint_tonearest_test_data): Likewise.
25161 (llrint_towardzero_test_data): Likewise.
25162 (llrint_downward_test_data): Likewise.
25163 (llrint_upward_test_data): Likewise.
25164 (log_test_data): Likewise.
25165 (log10_test_data): Likewise.
25166 (log1p_test_data): Likewise.
25167 (log2_test_data): Likewise.
25168 (logb_test_data): Likewise.
25169 (logb_downward_test_data): Likewise.
25170 (lround_test_data): Likewise.
25171 (llround_test_data): Likewise.
25172 (modf_test_data): Likewise.
25173 (nearbyint_test_data): Likewise.
25174 (nextafter_test_data): Likewise.
25175 (nexttoward_test_data): Likewise.
25176 (pow_test_data): Likewise.
25177 (pow_tonearest_test_data): Likewise.
25178 (pow_towardzero_test_data): Likewise.
25179 (pow_downward_test_data): Likewise.
25180 (pow_upward_test_data): Likewise.
25181 (remainder_test_data): Likewise.
25182 (remainder_tonearest_test_data): Likewise.
25183 (remainder_towardzero_test_data): Likewise.
25184 (remainder_downward_test_data): Likewise.
25185 (remainder_upward_test_data): Likewise.
25186 (remquo_test_data): Likewise.
25187 (rint_test_data): Likewise.
25188 (rint_tonearest_test_data): Likewise.
25189 (rint_towardzero_test_data): Likewise.
25190 (rint_downward_test_data): Likewise.
25191 (rint_upward_test_data): Likewise.
25192 (round_test_data): Likewise.
25193 (scalb_test_data): Likewise.
25194 (scalbn_test_data): Likewise.
25195 (scalbln_test_data): Likewise.
25196 (signbit_test_data): Likewise.
25197 (sin_test_data): Likewise.
25198 (sin_tonearest_test_data): Likewise.
25199 (sin_towardzero_test_data): Likewise.
25200 (sin_downward_test_data): Likewise.
25201 (sin_upward_test_data): Likewise.
25202 (sincos_test_data): Likewise.
25203 (sinh_test_data): Likewise.
25204 (sinh_tonearest_test_data): Likewise.
25205 (sinh_towardzero_test_data): Likewise.
25206 (sinh_downward_test_data): Likewise.
25207 (sinh_upward_test_data): Likewise.
25208 (sqrt_test_data): Likewise.
25209 (tan_test_data): Likewise.
25210 (tan_tonearest_test_data): Likewise.
25211 (tan_towardzero_test_data): Likewise.
25212 (tan_downward_test_data): Likewise.
25213 (tan_upward_test_data): Likewise.
25214 (tanh_test_data): Likewise.
25215 (tgamma_test_data): Likewise.
25216 (trunc_test_data): Likewise.
25217 (y0_test_data): Likewise.
25218 (y1_test_data): Likewise.
25219 (yn_test_data): Likewise.
25220 (significand_test_data): Likewise.
25221
b679a606
JM
25222 * math/gen-libm-test.pl (@functions): Remove variable.
25223 (generate_testfile): Don't handle START and END lines.
25224 * math/libm-test.inc (START): New macro.
25225 (END): Likewise.
25226 (END_COMPLEX): Likewise.
25227 (acos_test): Use END macro without arguments.
25228 (acos_test_tonearest): Likewise.
25229 (acos_test_towardzero): Likewise.
25230 (acos_test_downward): Likewise.
25231 (acos_test_upward): Likewise.
25232 (acosh_test): Likewise.
25233 (asin_test): Likewise.
25234 (asin_test_tonearest): Likewise.
25235 (asin_test_towardzero): Likewise.
25236 (asin_test_downward): Likewise.
25237 (asin_test_upward): Likewise.
25238 (asinh_test): Likewise.
25239 (atan_test): Likewise.
25240 (atanh_test): Likewise.
25241 (atan2_test): Likewise.
25242 (cabs_test): Likewise.
25243 (cacos_test): Use END_COMPLEX macro without arguments.
25244 (cacosh_test): Likewise.
25245 (carg_test): Use END macro without arguments.
25246 (casin_test): Use END_COMPLEX macro without arguments.
25247 (casinh_test): Likewise.
25248 (catan_test): Likewise.
25249 (catanh_test): Likewise.
25250 (cbrt_test): Use END macro without arguments.
25251 (ccos_test): Use END_COMPLEX macro without arguments.
25252 (ccosh_test): Likewise.
25253 (ceil_test): Use END macro without arguments.
25254 (cexp_test): Use END_COMPLEX macro without arguments.
25255 (cimag_test): Use END macro without arguments.
25256 (clog_test): Use END_COMPLEX macro without arguments.
25257 (clog10_test): Likewise.
25258 (conj_test): Likewise.
25259 (copysign_test): Use END macro without arguments.
25260 (cos_test): Likewise.
25261 (cos_test_tonearest): Likewise.
25262 (cos_test_towardzero): Likewise.
25263 (cos_test_downward): Likewise.
25264 (cos_test_upward): Likewise.
25265 (cosh_test): Likewise.
25266 (cosh_test_tonearest): Likewise.
25267 (cosh_test_towardzero): Likewise.
25268 (cosh_test_downward): Likewise.
25269 (cosh_test_upward): Likewise.
25270 (cpow_test): Use END_COMPLEX macro without arguments.
25271 (cproj_test): Likewise.
25272 (creal_test): Use END macro without arguments.
25273 (csin_test): Use END_COMPLEX macro without arguments.
25274 (csinh_test): Likewise.
25275 (csqrt_test): Likewise.
25276 (ctan_test): Likewise.
25277 (ctan_test_tonearest): Likewise.
25278 (ctan_test_towardzero): Likewise.
25279 (ctan_test_downward): Likewise.
25280 (ctan_test_upward): Likewise.
25281 (ctanh_test): Likewise.
25282 (ctanh_test_tonearest): Likewise.
25283 (ctanh_test_towardzero): Likewise.
25284 (ctanh_test_downward): Likewise.
25285 (ctanh_test_upward): Likewise.
25286 (erf_test): Use END macro without arguments.
25287 (erfc_test): Likewise.
25288 (exp_test): Likewise.
25289 (exp_test_tonearest): Likewise.
25290 (exp_test_towardzero): Likewise.
25291 (exp_test_downward): Likewise.
25292 (exp_test_upward): Likewise.
25293 (exp10_test): Likewise.
25294 (exp2_test): Likewise.
25295 (expm1_test): Likewise.
25296 (fabs_test): Likewise.
25297 (fdim_test): Likewise.
25298 (finite_test): Likewise.
25299 (floor_test): Likewise.
25300 (fma_test): Likewise.
25301 (fma_test_towardzero): Likewise.
25302 (fma_test_downward): Likewise.
25303 (fma_test_upward): Likewise.
25304 (fmax_test): Likewise.
25305 (fmin_test): Likewise.
25306 (fmod_test): Likewise.
25307 (fpclassify_test): Likewise.
25308 (frexp_test): Likewise.
25309 (gamma_test): Likewise.
25310 (hypot_test): Likewise.
25311 (ilogb_test): Likewise.
25312 (isfinite_test): Likewise.
25313 (isgreater_test): Likewise.
25314 (isgreaterequal_test): Likewise.
25315 (isinf_test): Likewise.
25316 (isless_test): Likewise.
25317 (islessequal_test): Likewise.
25318 (islessgreater_test): Likewise.
25319 (isnan_test): Likewise.
25320 (isnormal_test): Likewise.
25321 (issignaling_test): Likewise.
25322 (isunordered_test): Likewise.
25323 (j0_test): Likewise.
25324 (j1_test): Likewise.
25325 (jn_test): Likewise.
25326 (ldexp_test): Likewise.
25327 (lgamma_test): Likewise.
25328 (lrint_test): Likewise.
25329 (lrint_test_tonearest): Likewise.
25330 (lrint_test_towardzero): Likewise.
25331 (lrint_test_downward): Likewise.
25332 (lrint_test_upward): Likewise.
25333 (llrint_test): Likewise.
25334 (llrint_test_tonearest): Likewise.
25335 (llrint_test_towardzero): Likewise.
25336 (llrint_test_downward): Likewise.
25337 (llrint_test_upward): Likewise.
25338 (log_test): Likewise.
25339 (log10_test): Likewise.
25340 (log1p_test): Likewise.
25341 (log2_test): Likewise.
25342 (logb_test): Likewise.
25343 (logb_test_downward): Likewise.
25344 (lround_test): Likewise.
25345 (llround_test): Likewise.
25346 (modf_test): Likewise.
25347 (nearbyint_test): Likewise.
25348 (nextafter_test): Likewise.
25349 (nexttoward_test): Likewise.
25350 (pow_test): Likewise.
25351 (pow_test_tonearest): Likewise.
25352 (pow_test_towardzero): Likewise.
25353 (pow_test_downward): Likewise.
25354 (pow_test_upward): Likewise.
25355 (remainder_test): Likewise.
25356 (remainder_test_tonearest): Likewise.
25357 (remainder_test_towardzero): Likewise.
25358 (remainder_test_downward): Likewise.
25359 (remainder_test_upward): Likewise.
25360 (remquo_test): Likewise.
25361 (rint_test): Likewise.
25362 (rint_test_tonearest): Likewise.
25363 (rint_test_towardzero): Likewise.
25364 (rint_test_downward): Likewise.
25365 (rint_test_upward): Likewise.
25366 (round_test): Likewise.
25367 (scalb_test): Likewise.
25368 (scalbn_test): Likewise.
25369 (scalbln_test): Likewise.
25370 (signbit_test): Likewise.
25371 (sin_test): Likewise.
25372 (sin_test_tonearest): Likewise.
25373 (sin_test_towardzero): Likewise.
25374 (sin_test_downward): Likewise.
25375 (sin_test_upward): Likewise.
25376 (sincos_test): Likewise.
25377 (sinh_test): Likewise.
25378 (sinh_test_tonearest): Likewise.
25379 (sinh_test_towardzero): Likewise.
25380 (sinh_test_downward): Likewise.
25381 (sinh_test_upward): Likewise.
25382 (sqrt_test): Likewise.
25383 (tan_test): Likewise.
25384 (tan_test_tonearest): Likewise.
25385 (tan_test_towardzero): Likewise.
25386 (tan_test_downward): Likewise.
25387 (tan_test_upward): Likewise.
25388 (tanh_test): Likewise.
25389 (tgamma_test): Likewise.
25390 (trunc_test): Likewise.
25391 (y0_test): Likewise.
25392 (y1_test): Likewise.
25393 (yn_test): Likewise.
25394 (significand_test): Likewise.
25395
bae143d2
OB
253962013-05-24 Ondřej Bílka <neleai@seznam.cz>
25397
25398 [BZ #15381]
25399 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25400
9323d39b
EM
254012013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25402
d4ea44a0 25403 [BZ #14894]
9323d39b
EM
25404 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25405 __ppc_mdoio and __ppc_mdoom.
25406 * manual/platform.texi: Document new functions __ppc_yield,
25407 __ppc_mdoio and __ppc_mdoom.
25408
13e23af7
CD
254092013-05-22 Carlos O'Donell <carlos@redhat.com>
25410
25411 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25412 (main): Mention "tls" pseudo-hwcap is legacy.
25413 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25414
351fe550
JM
254152013-05-22 Joseph Myers <joseph@codesourcery.com>
25416
25417 * math/gen-libm-test.pl (parse_args): Output only string of
25418 arguments as text for test name, not full call or descriptions of
25419 tests for extra outputs.
25420 (generate_testfile): Do not pass function name to parse_args.
25421 Generate this_func variable from START.
25422 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25423 field to arg_str.
25424 (struct test_ff_f_data): Likewise.
25425 (test_ff_f_data_nexttoward): Likewise.
25426 (struct test_fi_f_data): Likewise.
25427 (struct test_fl_f_data): Likewise.
25428 (struct test_if_f_data): Likewise.
25429 (struct test_fff_f_data): Likewise.
25430 (struct test_c_f_data): Likewise.
25431 (struct test_f_f1_data): Likewise. Remove field extra_name.
25432 (struct test_fF_f1_data): Likewise.
25433 (struct test_ffI_f1_data): Likewise.
25434 (struct test_c_c_data): Rename test_name field to arg_str.
25435 (struct test_cc_c_data): Likewise.
25436 (struct test_f_i_data): Likewise.
25437 (struct test_ff_i_data): Likewise.
25438 (struct test_f_l_data): Likewise.
25439 (struct test_f_L_data): Likewise.
25440 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25441 and extra2_name.
25442 (COMMON_TEST_SETUP): New macro.
25443 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25444 (COMMON_TEST_CLEANUP): Likewise.
25445 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25446 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25447 macros.
25448 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25449 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25450 macros.
25451 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25452 (RUN_TEST_fff_f): Take argument string. Call new setup and
25453 cleanup macros.
25454 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25455 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25456 macros.
25457 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25458 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25459 macros.
25460 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25461 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25462 cleanup macros.
25463 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25464 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25465 cleanup macros.
25466 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25467 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25468 cleanup macros.
25469 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25470 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25471 macros.
25472 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25473 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25474 macros.
25475 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25476 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25477 macros.
25478 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25479 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25480 cleanup macros.
25481 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25482 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25483 cleanup macros.
25484 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25485 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25486 macros.
25487 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25488 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25489 cleanup macros.
25490 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25491 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25492 macros.
25493 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25494 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25495 macros.
25496 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25497 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25498 cleanup macros.
25499 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25500
85118d4d
EBM
255012013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25502
25503 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25504 to _sifields.sigfault.
25505 (si_addr_lsb): Define new macro.
25506 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25508 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25509
7a44c18f
CD
255102013-05-03 Carlos O'Donell <carlos at redhat.com>
25511
25512 [BZ #15441]
25513 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25514 returns -1.
25515 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25516 null return -1.
25517 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25518 loading the domain.
25519
b50a7181
JM
255202013-05-22 Joseph Myers <joseph@codesourcery.com>
25521
25522 * math/gen-libm-test.pl (parse_args): Do not include expected
25523 result in test name.
25524 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25526 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25527 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25528 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25530
051063c8
SP
255312013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25532
3ce9e010
SP
25533 * benchtests/Makefile: Sort function entries.
25534
051063c8
SP
25535 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25536 tanh, asinh, acosh, atanh.
25537 * benchtests/acos-inputs: New file.
25538 * benchtests/acosh-inputs: New file.
25539 * benchtests/asin-inputs: New file.
25540 * benchtests/asinh-inputs: New file.
25541 * benchtests/atanh-inputs: New file.
25542 * benchtests/cosh-inputs: New file.
25543 * benchtests/log-inputs: New file.
25544 * benchtests/sinh-inputs: New file.
25545 * benchtests/tanh-inputs: New file.
25546
47c22455
DL
255472013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25548
25549 [BZ #15339]
25550 * posix/tst-getaddrinfo4.c: New test.
25551 * posix/Makefile (tests): Add it.
25552
3d04f5db
SP
255532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25554
25555 [BZ #15339]
25556 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25557 when no services were used.
25558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25559 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25560
d5dd6189
AS
255612013-05-21 Andreas Schwab <schwab@suse.de>
25562
25563 [BZ #15014]
25564 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25565 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25566 successful.
25567 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25568 redundant variable declarations and reallocation of buffer when
25569 parsing as IPv6 address. Always set NSS status when called from
25570 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25571 buffer too small. Correct computation of needed size.
25572 * nss/Makefile (tests): Add test-digits-dots.
25573 * nss/test-digits-dots.c: New test.
25574
fef94eab
SP
255752013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25576
25577 * benchtests/Makefile: Remove instructions for adding
25578 benchmark tests.
25579 * benchtests/README: New file to explain how to execute and
25580 enhance the benchmark tests.
25581
e39adf43
AS
255822013-05-21 Andreas Schwab <schwab@suse.de>
25583
25584 [BZ #15493]
25585 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25586 * setjmp/tst-sigsetjmp.c: New test.
25587
b2b671b6
OB
255882013-05-20 Ondřej Bílka <neleai@seznam.cz>
25589
25590 * sysdeps/x86_64/memset.S (memset): New implementation.
25591 (__bzero): Likewise.
25592 (__memset_tail): New function.
25593
2d48b41c
OB
255942013-05-20 Ondřej Bílka <neleai@seznam.cz>
25595
25596 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25597 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25598 __memcpy_sse2_unaligned ifunc selection.
25599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25600 Add memcpy-sse2-unaligned.S.
25601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25602 Add: __memcpy_sse2_unaligned.
25603
f16cc3eb
JM
256042013-05-19 Joseph Myers <joseph@codesourcery.com>
25605
3e694268
JM
25606 [BZ #15490]
25607 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25608 math_force_eval before restoring floating-point envrionment.
25609 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25610 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25611 Likewise.
25612 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25613 <math_private.h>.
25614 (__nearbyintl): Use math_force_eval before restoring
25615 floating-point environment.
25616 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25617
db62a907
JM
25618 * math/gen-libm-test.pl (special_functions): Remove.
25619 (parse_args): Don't handle TEST_extra. Handle functions with no
25620 return value.
25621 * math/libm-test.inc (struct test_sincos_data): Replace with
25622 struct test_fFF_11_data.
25623 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25624 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25625 (sincos_test_data): Change element type to struct
25626 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25627 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25628 RUN_TEST_LOOP_sincos.
25629 * math/README.libm-test: Don't mention special handling of
25630 individual functions.
25631 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25632 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25633 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25634 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25635 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25637
f16cc3eb
JM
25638 * math/gen-libm-test.pl (get_variable): Remove function.
25639 (parse_args): Don't show pointer parameters to call in test
25640 names. Use "extra output N" in test names for extra outputs
25641 rather than naming variables.
25642
3779b5b6
JM
256432013-05-18 Joseph Myers <joseph@codesourcery.com>
25644
2ee094ff
JM
25645 [BZ #15488]
25646 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25647 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25648 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25649 double tests.
25650 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25651 disable.
25652 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25653 check_long_double.
25654
3779b5b6
JM
25655 * math/gen-libm-test.pl (@tests): Remove variable.
25656 ($count): Likewise.
25657 (new_test): Remove function.
25658 (show_exceptions): New function.
25659 (special_functions): Use show_exceptions instead of new_test.
25660 (parse_args): Likewise.
25661 (generate_testfile): Pass only function name in generated call to
25662 print_max_error or print_complex_max_error.
25663 (get_ulps): Do not handle complex tests specially.
25664 (output_test): Rename to ...
25665 (get_all_ulps_for_test): ... this. Return a string rather than
25666 printing to a file. Require ulps to be present.
25667 (output_ulps): Generate arrays rather than #defines.
25668 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25669 (struct ulp_data): New type.
25670 (BUILD_COMPLEX_ULP): Remove macro.
25671 (compare_ulp_data): New function.
25672 (find_ulps): Likewise.
25673 (find_test_ulps): Likewise.
25674 (find_function_ulps): Likewise.
25675 (find_complex_function_ulps): Likewise.
25676 (print_max_error): Determine allowed ulps using
25677 find_function_ulps.
25678 (print_complex_max_error): Determine allowed ulps using
25679 find_complex_function_ulps.
25680 (check_float_internal): Determine max ulps using find_test_ulps.
25681 (check_float): Do not take max_ulp parameter. Update call to
25682 check_float_internal.
25683 (check_complex): Likewise.
25684 (check_int): Do not take max_ulp parameter.
25685 (check_long): Likewise.
25686 (check_bool): Likewise.
25687 (check_longlong): Likewise.
25688 (struct test_f_f_data): Remove max_ulp field.
25689 (struct test_ff_f_data): Likewise.
25690 (struct test_ff_f_data_nexttoward): Likewise.
25691 (struct test_fi_f_data): Likewise.
25692 (struct test_fl_f_data): Likewise.
25693 (struct test_if_f_data): Likewise.
25694 (struct test_fff_f_data): Likewise.
25695 (struct test_c_f_data): Likewise.
25696 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25697 (struct test_fF_f1_data): Likewise.
25698 (struct test_ffI_f1_data): Likewise.
25699 (struct test_c_c_data): Remove max_ulp field.
25700 (struct test_cc_c_data): Likewise.
25701 (struct test_f_i_data): Likewise.
25702 (struct test_ff_i_data): Likewise.
25703 (struct test_f_l_data): Likewise.
25704 (struct test_f_L_data): Likewise.
25705 (struct test_sincos_data): Likewise.
25706 (RUN_TEST_f_f): Do not handle ulps.
25707 (RUN_TEST_LOOP_f_f): Likewise.
25708 (RUN_TEST_2_f): Likewise.
25709 (RUN_TEST_LOOP_2_f): Likewise.
25710 (RUN_TEST_fff_f): Likewise.
25711 (RUN_TEST_LOOP_fff_f): Likewise.
25712 (RUN_TEST_c_f): Likewise.
25713 (RUN_TEST_LOOP_c_f): Likewise.
25714 (RUN_TEST_f_f1): Likewise.
25715 (RUN_TEST_LOOP_f_f1): Likewise.
25716 (RUN_TEST_fF_f1): Likewise.
25717 (RUN_TEST_LOOP_fF_f1): Likewise.
25718 (RUN_TEST_fI_f1): Likewise.
25719 (RUN_TEST_LOOP_fI_f1): Likewise.
25720 (RUN_TEST_ffI_f1): Likewise.
25721 (RUN_TEST_LOOP_ffI_f1): Likewise.
25722 (RUN_TEST_c_c): Likewise.
25723 (RUN_TEST_LOOP_c_c): Likewise.
25724 (RUN_TEST_cc_c): Likewise.
25725 (RUN_TEST_LOOP_cc_c): Likewise.
25726 (RUN_TEST_f_i): Likewise.
25727 (RUN_TEST_LOOP_f_i): Likewise.
25728 (RUN_TEST_f_i_tg): Likewise.
25729 (RUN_TEST_LOOP_f_i_tg): Likewise.
25730 (RUN_TEST_ff_i_tg): Likewise.
25731 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25732 (RUN_TEST_f_b): Likewise.
25733 (RUN_TEST_LOOP_f_b): Likewise.
25734 (RUN_TEST_f_b_tg): Likewise.
25735 (RUN_TEST_LOOP_f_b_tg): Likewise.
25736 (RUN_TEST_f_l): Likewise.
25737 (RUN_TEST_LOOP_f_l): Likewise.
25738 (RUN_TEST_f_L): Likewise.
25739 (RUN_TEST_LOOP_f_L): Likewise.
25740 (RUN_TEST_sincos): Likewise.
25741 (RUN_TEST_LOOP_sincos): Likewise.
25742
8269107f
JM
257432013-05-17 Joseph Myers <joseph@codesourcery.com>
25744
bb38759d
JM
25745 [BZ #15480]
25746 [BZ #15485]
25747 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25748 main case of finite arguments, set rounding mode to FE_TONEAREST
25749 and discard exceptions.
25750 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25751 exceptions.
25752 (remainder_tonearest_test_data): New variable.
25753 (remainder_test_tonearest): New function.
25754 (remainder_towardzero_test_data): New variable.
25755 (remainder_test_towardzero): New function.
25756 (remainder_downward_test_data): New variable.
25757 (remainder_test_downward): New function.
25758 (remainder_upward_test_data): New variable.
25759 (remainder_test_upward): New function.
25760 (main): Call the new test functions.
25761
a00bdcf0
JM
25762 * math/libm-test.inc (struct test_f_f1_data): Remove field
25763 extra_init.
25764 (struct test_fF_f1_data): Likewise.
25765 (struct test_ffI_f1_data): Likewise.
25766 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25767 based on value of EXTRA_EXPECTED.
25768 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25769 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25770 EXTRA_VAR based on value of EXTRA_EXPECTED.
25771 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25772 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25773 EXTRA_VAR based on value of EXTRA_EXPECTED.
25774 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25775 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25776 EXTRA_VAR based on value of EXTRA_EXPECTED.
25777 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25778 * math/gen-libm-test.pl (parse_args): Don't output initializers
25779 for extra output values.
25780
de407f79
JM
25781 * math/libm-test.inc (check_int): Expect result to be exactly
25782 equal to expected value and do not handle ulps.
25783 (check_long): Likewise.
25784 (check_longlong): Likewise.
25785
8269107f
JM
25786 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25787 exceptions.
25788 (cimag_test_data): Likewise.
25789 (conj_test_data): Likewise.
25790 (copysign_test_data): Likewise.
25791 (cproj_test_data): Likewise.
25792 (creal_test_data): Likewise.
25793 (fabs_test_data): Likewise.
25794 (fdim_test_data): Likewise.
25795 (finite_test_data): Likewise.
25796 (floor_test_data): Likewise.
25797 (fmax_test_data): Likewise.
25798 (fmin_test_data): Likewise.
25799 (fmod_test_data): Likewise.
25800 (fpclassify_test_data): Likewise.
25801 (frexp_test_data): Likewise.
25802 (ilogb_test_data): Likewise.
25803 (isfinite_test_data): Likewise.
25804 (isgreater_test_data): Likewise.
25805 (isgreaterequal_test_data): Likewise.
25806 (isinf_test_data): Likewise.
25807 (isless_test_data): Likewise.
25808 (islessequal_test_data): Likewise.
25809 (islessgreater_test_data): Likewise.
25810 (isnan_test_data): Likewise.
25811 (isnormal_test_data): Likewise.
25812 (issignaling_test_data): Likewise.
25813 (isunordered_test_data): Likewise.
25814 (ldexp_test_data): Likewise.
25815 (lrint_test_data): Likewise.
25816 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25817 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25818 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25819 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25820 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25821 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25822 test input.
25823 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25824 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25825 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25826 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25827 that test input.
25828 (lrint_downward_test_data): Test for "inexact" exceptions.
25829 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25830 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25831 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25832 test input.
25833 (lrint_upward_test_data): Test for "inexact" exceptions.
25834 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25835 test input.
25836 (llrint_test_data): Test for "inexact" exceptions.
25837 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25838 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25839 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25840 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25841 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25842 (llrint_downward_test_data): Test for "inexact" exceptions.
25843 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25844 (llrint_upward_test_data): Test for "inexact" exceptions.
25845 (logb_test_data): Likewise.
25846 (logb_downward_test_data): Likewise.
25847 (nextafter_test_data): Likewise.
25848 (nexttoward_test_data): Likewise.
25849 (remainder_test_data): Likewise.
25850 (remquo_test_data): Likewise.
25851 (scalbn_test_data): Likewise.
25852 (scalbln_test_data): Likewise.
25853 (signbit_test_data): Likewise.
25854 (sqrt_test_data): Likewise.
25855 (significand_test_data): Likewise.
25856
48a18de1
SP
258572013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25858
25859 [BZ #15424]
25860 * benchtests/bench-modf.c (struct args): Mark arg0 as
25861 volatile.
25862 * scripts/bench.pl: Mark members of struct args as volatile.
25863
13d3b41a
AZ
258642013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25865
68191c1d 25866 [BZ # 15497]
13d3b41a
AZ
25867 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25868 negative infinity on POWER6 or lower.
25869 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25870
2848b105
MR
258712013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25872
25873 [BZ #15442]
25874 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25875 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25876 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25877 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25878 (_FP_SETQNAN): New macro.
25879 (_FP_SETQNAN_SEMIRAW): Likewise.
25880 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25881 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25882 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25883 (FP_EXTEND): Use _FP_FRAC_SNANP.
25884 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25885 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25886 into account.
25887 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25888 New macro.
25889 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25890 Likewise.
25891
323e5cb7
JM
258922013-05-16 Joseph Myers <joseph@codesourcery.com>
25893
c58b274f
JM
25894 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25895 with DIVIDE_BY_ZERO_EXCEPTION.
25896 (gamma_test_data): Likewise.
25897 (lgamma_test_data): Likewise.
25898 (log_test_data): Likewise.
25899 (log10_test_data): Likewise.
25900 (log2_test_data): Likewise.
25901 (tgamma_test_data): Likewise.
25902
0ab34904
JM
25903 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25904 (acos_test_tonearest): Likewise.
25905 (acos_test_towardzero): Likewise.
25906 (acos_test_downward): Likewise.
25907 (acos_test_upward): Likewise.
25908 (acosh_test): Likewise.
25909 (asin_test): Likewise.
25910 (asin_test_tonearest): Likewise.
25911 (asin_test_towardzero): Likewise.
25912 (asin_test_downward): Likewise.
25913 (asin_test_upward): Likewise.
25914 (asinh_test): Likewise.
25915 (atan_test): Likewise.
25916 (atanh_test): Likewise.
25917 (atan2_test): Likewise.
25918 (cabs_test): Likewise.
25919 (cacos_test): Likewise.
25920 (cacosh_test): Likewise.
25921 (casin_test): Likewise.
25922 (casinh_test): Likewise.
25923 (catan_test): Likewise.
25924 (catanh_test): Likewise.
25925 (cbrt_test): Likewise.
25926 (ccos_test): Likewise.
25927 (ccosh_test): Likewise.
25928 (cexp_test): Likewise.
25929 (clog_test): Likewise.
25930 (clog10_test): Likewise.
25931 (cos_test): Likewise.
25932 (cos_test_tonearest): Likewise.
25933 (cos_test_towardzero): Likewise.
25934 (cos_test_downward): Likewise.
25935 (cos_test_upward): Likewise.
25936 (cosh_test): Likewise.
25937 (cosh_test_tonearest): Likewise.
25938 (cosh_test_towardzero): Likewise.
25939 (cosh_test_downward): Likewise.
25940 (cosh_test_upward): Likewise.
25941 (cpow_test): Likewise.
25942 (csin_test): Likewise.
25943 (csinh_test): Likewise.
25944 (csqrt_test): Likewise.
25945 (ctan_test): Likewise.
25946 (ctan_test_tonearest): Likewise.
25947 (ctan_test_towardzero): Likewise.
25948 (ctan_test_downward): Likewise.
25949 (ctan_test_upward): Likewise.
25950 (ctanh_test): Likewise.
25951 (ctanh_test_tonearest): Likewise.
25952 (ctanh_test_towardzero): Likewise.
25953 (ctanh_test_downward): Likewise.
25954 (ctanh_test_upward): Likewise.
25955 (erf_test): Likewise.
25956 (erfc_test): Likewise.
25957 (exp_test): Likewise.
25958 (exp_test_tonearest): Likewise.
25959 (exp_test_towardzero): Likewise.
25960 (exp_test_downward): Likewise.
25961 (exp_test_upward): Likewise.
25962 (exp10_test): Likewise.
25963 (exp2_test): Likewise.
25964 (expm1_test): Likewise.
25965 (fmod_test): Likewise.
25966 (gamma_test): Likewise.
25967 (hypot_test): Likewise.
25968 (j0_test): Likewise.
25969 (j1_test): Likewise.
25970 (jn_test): Likewise.
25971 (lgamma_test): Likewise.
25972 (log_test): Likewise.
25973 (log10_test): Likewise.
25974 (log1p_test): Likewise.
25975 (log2_test): Likewise.
25976 (logb_test_downward): Likewise.
25977 (pow_test): Likewise.
25978 (pow_test_tonearest): Likewise.
25979 (pow_test_towardzero): Likewise.
25980 (pow_test_downward): Likewise.
25981 (pow_test_upward): Likewise.
25982 (remainder_test): Likewise.
25983 (remquo_test): Likewise.
25984 (sin_test): Likewise.
25985 (sin_test_tonearest): Likewise.
25986 (sin_test_towardzero): Likewise.
25987 (sin_test_downward): Likewise.
25988 (sin_test_upward): Likewise.
25989 (sincos_test): Likewise.
25990 (sinh_test): Likewise.
25991 (sinh_test_tonearest): Likewise.
25992 (sinh_test_towardzero): Likewise.
25993 (sinh_test_downward): Likewise.
25994 (sinh_test_upward): Likewise.
25995 (sqrt_test): Likewise.
25996 (tan_test): Likewise.
25997 (tan_test_tonearest): Likewise.
25998 (tan_test_towardzero): Likewise.
25999 (tan_test_downward): Likewise.
26000 (tan_test_upward): Likewise.
26001 (tanh_test): Likewise.
26002 (tgamma_test): Likewise.
26003 (y0_test): Likewise.
26004 (y1_test): Likewise.
26005 (yn_test): Likewise.
26006
323e5cb7
JM
26007 * math/gen-libm-test.pl (adjust_arg): Remove function.
26008 (special_function): Remove argument $in_func. Only handle
26009 generating output for tables of tests, not inside functions.
26010 (parse_args): Likewise.
26011 (generate_testfile): Remove variable $in_func. Update call to
26012 parse_args.
26013 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26014 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26015 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26016 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26017 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26018 (MAX_VALUE_INIT): Rename macro to max_value.
26019 (MIN_VALUE_INIT): Rename macro to min_value.
26020 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26021 (plus_zero): Remove variable.
26022 (minus_zero): Likewise.
26023 (plus_infty): Likewise.
26024 (minus_infty): Likewise.
26025 (qnan_value): Likewise.
26026 (max_value): Likewise.
26027 (min_value): Likewise.
26028 (min_subnorm_value): Likewise.
26029
e054f494
RA
260302013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26031
26032 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26033 uint64_t or uint32_t usage.
26034 * crypt/sha256-block.c: Likewise.
26035 * crypt/sha256-crypt.c: Likewise.
26036 * crypt/sha256.c: Likewise.
26037 * crypt/sha512-block.c: Likewise.
26038 * crypt/sha512-crypt.c: Likewise.
26039 * crypt/sha512.c: Likewise.
26040 * debug/backtrace-tst.c: Likewise.
26041 * debug/pcprofiledump.c: Likewise.
26042 * elf/cache.c: Likewise.
26043 * elf/dl-cache.c: Likewise.
26044 * elf/dl-misc.c: Likewise.
26045 * elf/dl-profile.c: Likewise.
26046 * elf/dl-support.c: Likewise.
26047 * elf/ldconfig.c: Likewise.
26048 * elf/sprof.c: Likewise.
26049 * iconv/dummy-repertoire.c: Likewise.
26050 * iconv/iconv_charmap.c: Likewise.
26051 * iconv/skeleton.c: Likewise.
26052 * iconvdata/8bit-generic.c: Likewise.
26053 * iconvdata/cp737.h: Likewise.
26054 * iconvdata/cp775.h: Likewise.
26055 * iconvdata/ibm1008.h: Likewise.
26056 * iconvdata/ibm1025.h: Likewise.
26057 * iconvdata/ibm1046.h: Likewise.
26058 * iconvdata/ibm1097.h: Likewise.
26059 * iconvdata/ibm1112.h: Likewise.
26060 * iconvdata/ibm1122.h: Likewise.
26061 * iconvdata/ibm1123.h: Likewise.
26062 * iconvdata/ibm1124.h: Likewise.
26063 * iconvdata/ibm1129.h: Likewise.
26064 * iconvdata/ibm1130.h: Likewise.
26065 * iconvdata/ibm1132.h: Likewise.
26066 * iconvdata/ibm1133.h: Likewise.
26067 * iconvdata/ibm1137.h: Likewise.
26068 * iconvdata/ibm1140.h: Likewise.
26069 * iconvdata/ibm1141.h: Likewise.
26070 * iconvdata/ibm1142.h: Likewise.
26071 * iconvdata/ibm1143.h: Likewise.
26072 * iconvdata/ibm1144.h: Likewise.
26073 * iconvdata/ibm1145.h: Likewise.
26074 * iconvdata/ibm1146.h: Likewise.
26075 * iconvdata/ibm1147.h: Likewise.
26076 * iconvdata/ibm1148.h: Likewise.
26077 * iconvdata/ibm1149.h: Likewise.
26078 * iconvdata/ibm1153.h: Likewise.
26079 * iconvdata/ibm1154.h: Likewise.
26080 * iconvdata/ibm1155.h: Likewise.
26081 * iconvdata/ibm1156.h: Likewise.
26082 * iconvdata/ibm1157.h: Likewise.
26083 * iconvdata/ibm1158.h: Likewise.
26084 * iconvdata/ibm1160.h: Likewise.
26085 * iconvdata/ibm1161.h: Likewise.
26086 * iconvdata/ibm1162.h: Likewise.
26087 * iconvdata/ibm1163.h: Likewise.
26088 * iconvdata/ibm1164.h: Likewise.
26089 * iconvdata/ibm1166.h: Likewise.
26090 * iconvdata/ibm1167.h: Likewise.
26091 * iconvdata/ibm12712.h: Likewise.
26092 * iconvdata/ibm1390.h: Likewise.
26093 * iconvdata/ibm1399.h: Likewise.
26094 * iconvdata/ibm16804.h: Likewise.
26095 * iconvdata/ibm4517.h: Likewise.
26096 * iconvdata/ibm4899.h: Likewise.
26097 * iconvdata/ibm4909.h: Likewise.
26098 * iconvdata/ibm4971.h: Likewise.
26099 * iconvdata/ibm5347.h: Likewise.
26100 * iconvdata/ibm803.h: Likewise.
26101 * iconvdata/ibm856.h: Likewise.
26102 * iconvdata/ibm901.h: Likewise.
26103 * iconvdata/ibm902.h: Likewise.
26104 * iconvdata/ibm9030.h: Likewise.
26105 * iconvdata/ibm9066.h: Likewise.
26106 * iconvdata/ibm921.h: Likewise.
26107 * iconvdata/ibm922.h: Likewise.
26108 * iconvdata/ibm9448.h: Likewise.
26109 * iconvdata/isiri-3342.h: Likewise.
26110 * iconvdata/jis0201.h: Likewise.
26111 * include/link.h: Likewise.
26112 * include/netdb.h: Likewise.
26113 * inet/check_native.c: Likewise.
26114 * inet/check_pf.c: Likewise.
26115 * inet/getipv4sourcefilter.c: Likewise.
26116 * inet/getnameinfo.c: Likewise.
26117 * inet/getsourcefilter.c: Likewise.
26118 * inet/htonl.c: Likewise.
26119 * inet/setipv4sourcefilter.c: Likewise.
26120 * inet/setsourcefilter.c: Likewise.
26121 * inet/test-inet6_opt.c: Likewise.
26122 * inet/tst-network.c: Likewise.
26123 * locale/C-collate.c: Likewise.
26124 * locale/C-ctype.c: Likewise.
26125 * locale/C-time.c: Likewise.
26126 * locale/C-translit.h: Likewise.
26127 * locale/loadarchive.c: Likewise.
26128 * locale/programs/3level.h: Likewise.
26129 * locale/programs/charmap.c: Likewise.
26130 * locale/programs/charmap.h: Likewise.
26131 * locale/programs/ld-address.c: Likewise.
26132 * locale/programs/ld-collate.c: Likewise.
26133 * locale/programs/ld-ctype.c: Likewise.
26134 * locale/programs/ld-identification.c: Likewise.
26135 * locale/programs/ld-measurement.c: Likewise.
26136 * locale/programs/ld-messages.c: Likewise.
26137 * locale/programs/ld-monetary.c: Likewise.
26138 * locale/programs/ld-name.c: Likewise.
26139 * locale/programs/ld-numeric.c: Likewise.
26140 * locale/programs/ld-paper.c: Likewise.
26141 * locale/programs/ld-telephone.c: Likewise.
26142 * locale/programs/ld-time.c: Likewise.
26143 * locale/programs/linereader.c: Likewise.
26144 * locale/programs/locale.c: Likewise.
26145 * locale/programs/locarchive.c: Likewise.
26146 * locale/programs/locfile.h: Likewise.
26147 * locale/programs/repertoire.c: Likewise.
26148 * locale/programs/simple-hash.c: Likewise.
26149 * locale/programs/simple-hash.h: Likewise.
26150 * malloc/memusage.c: Likewise.
26151 * malloc/memusagestat.c: Likewise.
26152 * nis/nis_defaults.c: Likewise.
26153 * nis/nis_hash.c: Likewise.
26154 * nis/nis_print.c: Likewise.
26155 * nis/nis_xdr.c: Likewise.
26156 * nscd/connections.c: Likewise.
26157 * nscd/hstcache.c: Likewise.
26158 * nscd/nscd_gethst_r.c: Likewise.
26159 * nscd/nscd_getserv_r.c: Likewise.
26160 * nscd/nscd_helper.c: Likewise.
26161 * nscd/servicescache.c: Likewise.
26162 * nss/makedb.c: Likewise.
26163 * nss/nss_db/db-XXX.c: Likewise.
26164 * nss/nss_db/db-initgroups.c: Likewise.
26165 * nss/nss_db/db-netgrp.c: Likewise.
26166 * nss/nss_files/files-network.c: Likewise.
26167 * nss/nss_files/files-parse.c: Likewise.
26168 * posix/bug-regex5.c: Likewise.
26169 * posix/fnmatch_loop.c: Likewise.
26170 * posix/regcomp.c: Likewise.
26171 * posix/regexec.c: Likewise.
26172 * posix/tst-rfc3484-2.c: Likewise.
26173 * posix/tst-rfc3484-3.c: Likewise.
26174 * posix/tst-rfc3484.c: Likewise.
26175 * resolv/nss_dns/dns-canon.c: Likewise.
26176 * resolv/nss_dns/dns-network.c: Likewise.
26177 * resolv/res_init.c: Likewise.
26178 * resolv/res_mkquery.c: Likewise.
26179 * resolv/tst-aton.c: Likewise.
26180 * stdlib/cxa_atexit.c: Likewise.
26181 * stdlib/cxa_finalize.c: Likewise.
26182 * stdlib/gen-fpioconst.c: Likewise.
26183 * stdlib/strtol_l.c: Likewise.
26184 * string/tst-endian.c: Likewise.
26185 * sunrpc/auth_des.c: Likewise.
26186 * sunrpc/clnt_udp.c: Likewise.
26187 * sunrpc/rtime.c: Likewise.
26188 * sunrpc/svcauth_des.c: Likewise.
26189 * sunrpc/xdr.c: Likewise.
26190 * sunrpc/xdr_intXX_t.c: Likewise.
26191 * sunrpc/xdr_rec.c: Likewise.
26192 * sysdeps/generic/ldconfig.h: Likewise.
26193 * sysdeps/generic/ldsodefs.h: Likewise.
26194 * sysdeps/generic/memusage.h: Likewise.
26195 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26198 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26205 * sysdeps/posix/getaddrinfo.c: Likewise.
26206 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26207 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26208 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26209 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26210 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26211 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26212 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26213 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26214 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26215 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26216 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26217 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26218 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26219 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26220 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26221 * sysdeps/x86_64/dl-tls.h: Likewise.
26222 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26223 * time/alt_digit.c: Likewise.
26224 * time/era.c: Likewise.
26225 * wcsmbs/tst-c16c32-1.c: Likewise.
26226
8c75f674
JM
262272013-05-16 Joseph Myers <joseph@codesourcery.com>
26228
26229 * math/libm-test.inc (struct test_sincos_data): New type.
26230 (RUN_TEST_LOOP_sincos): New macro.
26231 (sincos_test_data): New variable.
26232 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26233
e6e49e59
RH
262342013-05-16 Richard Henderson <rth@redhat.com>
26235
26236 * math/atest-exp2.c (LIMB64): New macro.
26237 (CONSTSZ): New macro.
26238 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26239 (hexdig): Move ...
26240 (print_mpn_fp): ... to function scope.
26241 (read_mpn_hex): Remove.
26242 (get_log2): Remove.
26243 (exp2_mpn): Use mp_log2.
26244 (main): Use mp_exp1.
26245
15c7c18d
JM
262462013-05-16 Joseph Myers <joseph@codesourcery.com>
26247
105a07df
JM
26248 * math/libm-test.inc: Remove comment about not testing "inexact"
26249 exceptions.
26250 (INEXACT_EXCEPTION): New macro.
26251 (NO_INEXACT_EXCEPTION): Likewise.
26252 (INVALID_EXCEPTION_OK): Update value.
26253 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26254 (OVERFLOW_EXCEPTION_OK): Likewise.
26255 (UNDERFLOW_EXCEPTION_OK): Likewise.
26256 (IGNORE_ZERO_INF_SIGN): Likewise.
26257 (ERRNO_UNCHANGED): Likewise.
26258 (ERRNO_EDOM): Likewise.
26259 (ERRNO_ERANGE): Likewise.
26260 (test_exceptions): Handle testing "inexact" exceptions.
26261 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26262 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26263 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26264 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26265 INEXACT_EXCEPTION.
26266 (rint_towardzero_test_data): Likewise.
26267 (rint_downward_test_data): Likewise.
26268 (rint_upward_test_data): Likewise.
26269
e9eee333
JM
26270 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26271 with OVERFLOW_EXCEPTION.
26272 (exp10_test_data): Likewise.
26273 (exp2_test_data): Likewise.
26274 (expm1_test_data): Likewise.
26275 (lgamma_test_data): Likewise.
26276 (pow_test_data): Likewise.
26277 (tgamma_test_data): Likewise.
26278 (yn_test_data): Remove duplicate test of overflow.
26279
1c38ff73
JM
26280 * math/libm-test.inc (struct test_cc_c_data): New type.
26281 (RUN_TEST_LOOP_cc_c): New macro.
26282 (cpow_test_data): New variable.
26283 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26284
15c7c18d
JM
26285 * math/libm-test.inc (struct test_f_L_data): New type.
26286 (RUN_TEST_LOOP_f_L): New macro.
26287 (llrint_test_data): New variable.
26288 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26289 (llrint_tonearest_test_data): New variable.
26290 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26291 (llrint_towardzero_test_data): New variable.
26292 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26293 (llrint_downward_test_data): New variable.
26294 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26295 (llrint_upward_test_data): New variable.
26296 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26297 (llround_test_data): New variable.
26298 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26299
f137ff13
PC
263002013-05-13 Peter Collingbourne <pcc@google.com>
26301
26302 * math/atest-exp2.c (get_log2): Remove const attribute.
26303
3608cb24
JM
263042013-05-15 Joseph Myers <joseph@codesourcery.com>
26305
26306 * math/libm-test.inc (struct test_f_l_data): New type.
26307 (RUN_TEST_LOOP_f_l): New macro.
26308 (lrint_test_data): New variable.
26309 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26310 (lrint_tonearest_test_data): New variable.
26311 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26312 (lrint_towardzero_test_data): New variable.
26313 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26314 (lrint_downward_test_data): New variable.
26315 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26316 (lrint_upward_test_data): New variable.
26317 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26318 (lround_test_data): New variable.
26319 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26320
39b1f617
PC
263212013-05-15 Peter Collingbourne <pcc@google.com>
26322
1deff3dc
PC
26323 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26324 (EXTRACT_WORDS64) Use where appropriate.
26325 (INSERT_WORDS64) Likewise.
26326
791f3ba0
PC
26327 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26328 constraints with x constraints.
26329 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26330
39b1f617
PC
26331 * malloc/obstack.c (_obstack_compat): Add initializer.
26332
12fba011
EM
263332013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26334
26335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26336 si_trapno and add si_addr_lsb to _sifields.sigfault.
26337 (si_trapno): Remove macro.
26338 (si_addr_lsb): Define new macro.
26339 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26340
d369f531
JM
263412013-05-15 Joseph Myers <joseph@codesourcery.com>
26342
b861c6c4
JM
26343 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26344 instead of TEST_f_l.
26345 (llrint_test_tonearest): Likewise.
26346 (llrint_test_towardzero): Likewise.
26347 (llrint_test_downward): Likewise.
26348 (llrint_test_upward): Likewise.
26349 (llround_test): Likewise.
26350
7abeee12
JM
26351 * math/libm-test.inc (struct test_f_i_data): Add comment.
26352 (RUN_TEST_LOOP_f_b): New macro.
26353 (RUN_TEST_LOOP_f_b_tg): Likewise.
26354 (finite_test_data): New variable.
26355 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26356 (isfinite_test_data): New variable.
26357 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26358 (isinf_test_data): New variable.
26359 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26360 (isnan_test_data): New variable.
26361 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26362 (isnormal_test_data): New variable.
26363 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26364 (issignaling_test_data): New variable.
26365 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26366 (signbit_test_data): New variable.
26367 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26368
cbe8c4d3
JM
26369 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26370 with INVALID_EXCEPTION.
26371 (acosh_test_data): Likewise.
26372 (asin_test_data): Likewise.
26373 (atanh_test_data): Likewise.
26374 (fmod_test_data): Likewise.
26375 (log_test_data): Likewise.
26376 (log10_test_data): Likewise.
26377 (log2_test_data): Likewise.
26378 (pow_test_data): Likewise.
26379 (sqrt_test_data): Likewise.
26380 (y0_test_data): Likewise.
26381 (y1_test_data): Likewise.
26382 (yn_test_data): Likewise.
26383
5575c0e5
JM
26384 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26385 function contents.
26386
d369f531
JM
26387 * math/libm-test.inc (struct test_ff_i_data): New type.
26388 (RUN_TEST_LOOP_ff_i_tg): New macro.
26389 (isgreater_test_data): New variable.
26390 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26391 (isgreaterequal_test_data): New variable.
26392 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26393 (isless_test_data): New variable.
26394 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26395 (islessequal_test_data): New variable.
26396 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26397 (islessgreater_test_data): New variable.
26398 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26399 (isunordered_test_data): New variable.
26400 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26401
781fd748
DM
264022013-05-14 David S. Miller <davem@davemloft.net>
26403
26404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26405
87aa21df
JM
264062013-05-14 Joseph Myers <joseph@codesourcery.com>
26407
5e908270
JM
26408 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26409
f71172e5
JM
26410 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26411 extra_test to int.
26412 (struct test_f_i_data): Change type of max_ulp to int.
26413
8cfa635a
JM
26414 * math/libm-test.inc (test_ffI_f1_data): New type.
26415 (RUN_TEST_LOOP_ffI_f1): New macro.
26416 (remquo_test_data): New variable.
26417 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26418
2bcb36b2
JM
26419 * setjmp/tst-setjmp-fp.c: New file.
26420 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26421 (link-libm): New variable.
26422 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26423
acbd839a
JM
26424 * math/libm-test.inc (struct test_f_i_data): New type.
26425 (RUN_TEST_LOOP_f_i): New macro.
26426 (RUN_TEST_LOOP_f_i_tg): Likewise.
26427 (fpclassify_test_data): New variable.
26428 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26429 (ilogb_test_data): New variable.
26430 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26431
e414d745
JM
26432 * math/libm-test.inc (scalbln_test): Correct function name in END
26433 call.
26434
d9c2a0fd
JM
26435 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26436 (RUN_TEST_LOOP_fI_f1): New macro.
26437 (frexp_test_data): New variable.
26438 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26439
9dc9095d
JM
26440 * math/libm-test.inc (struct test_fF_f1_data): New type.
26441 (RUN_TEST_LOOP_fF_f1): New macro.
26442 (modf_test_data): New variable.
26443 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26444
87aa21df
JM
26445 * math/libm-test.inc (struct test_f_f1_data): New type.
26446 (RUN_TEST_LOOP_f_f1): New macro.
26447 (gamma_test_data): New variable.
26448 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26449 (lgamma_test_data): New variable.
26450 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26451
141af660
CD
264522013-05-13 Carlos O'Donell <carlos@redhat.com>
26453
26454 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26455 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26456 (main): Comment "tls" pseudo-hwcap.
26457
6d33265c
JM
264582013-05-13 Joseph Myers <joseph@codesourcery.com>
26459
68fc074c
JM
26460 * math/libm-test.inc (struct test_fl_f_data): New type.
26461 (RUN_TEST_LOOP_fl_f): New variable.
26462 (scalbln_test_data): New variable.
26463 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26464
243216e1
JM
26465 * math/libm-test.inc (struct test_fi_f_data): New type.
26466 (RUN_TEST_LOOP_fi_f): New macro.
26467 (ldexp_test_data): New variable.
26468 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26469 (scalbn_test_data): New variable.
26470 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26471
6a1992e2
JM
26472 * math/libm-test.inc (struct test_c_f_data): New type.
26473 (RUN_TEST_LOOP_c_f): New macro.
26474 (cabs_test_data): New variable.
26475 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26476 (carg_test_data): New variable.
26477 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26478 (cimag_test_data): New variable.
26479 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26480 (creal_test_data): New variable.
26481 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26482
0e400df5
JM
26483 * math/libm-test.inc (struct test_if_f_data): New type.
26484 (RUN_TEST_LOOP_if_f): New macro.
26485 (jn_test_data): New variable.
26486 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26487 (yn_test_data): New variable.
26488 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26489
6d33265c
JM
26490 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26491
f98ece5f
AZ
264922013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26493
26494 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26495 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26496
0f7d347b
SP
264972013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26498
43fe811b
SP
26499 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26500 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26501 (bench-deps): Add bench-timing.h.
26502 * benchtests-bench-skeleton.c: Include bench-timing.h.
26503 (main): Use TIMING_* macros instead of clock_gettime.
26504 * benchtests/bench-timing.h: New file.
26505
0f7d347b
SP
26506 [BZ #14582]
26507 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26508 Renamed from _LIB_VERSION.
26509 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26510
601a3a5f
JM
265112013-05-12 Joseph Myers <joseph@codesourcery.com>
26512
4f184d30
JM
26513 * math/libm-test.inc (struct test_fff_f_data): New type.
26514 (RUN_TEST_LOOP_fff_f): New macro.
26515 (fma_test_data): New variable.
26516 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26517 (fma_towardzero_test_data): New variable.
26518 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26519 (fma_downward_test_data): New variable.
26520 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26521 (fma_upward_test_data): New variable.
26522 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26523
08198877
JM
26524 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26525 (struct test_c_c_data): New type.
26526 (RUN_TEST_LOOP_c_c): New macro.
26527 (cacos_test_data): New variable.
26528 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26529 (cacosh_test_data): New variable.
26530 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26531 (casin_test_data): New variable.
26532 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26533 (casinh_test_data): New variable.
26534 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26535 (catan_test_data): New variable.
26536 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26537 (catanh_test_data): New variable.
26538 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26539 (ccos_test_data): New variable.
26540 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26541 (ccosh_test_data): New variable.
26542 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26543 (cexp_test_data): New variable.
26544 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26545 (clog_test_data): New variable.
26546 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26547 (clog10_test_data): New variable.
26548 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26549 (conj_test_data): New variable.
26550 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26551 (cproj_test_data): New variable.
26552 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26553 (csin_test_data): New variable.
26554 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26555 (csinh_test_data): New variable.
26556 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26557 (csqrt_test_data): New variable.
26558 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26559 (ctan_test_data): New variable.
26560 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26561 (ctan_tonearest_test_data): New variable.
26562 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26563 (ctan_towardzero_test_data): New variable.
26564 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26565 (ctan_downward_test_data): New variable.
26566 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26567 (ctan_upward_test_data): New variable.
26568 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26569 (ctanh_test_data): New variable.
26570 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26571 (ctanh_tonearest_test_data): New variable.
26572 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26573 (ctanh_towardzero_test_data): New variable.
26574 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26575 (ctanh_downward_test_data): New variable.
26576 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26577 (ctanh_upward_test_data): New variable.
26578 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26579 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26580 of BUILD_COMPLEX.
26581
601a3a5f
JM
26582 * math/libm-test.inc (struct test_ff_f_data): New type.
26583 (struct test_ff_f_data_nexttoward): Likewise.
26584 (RUN_TEST_LOOP_2_f): New macro.
26585 (RUN_TEST_LOOP_ff_f): Likewise.
26586 (atan2_test_data): New variable.
26587 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26588 (copysign_test_data): New variable.
26589 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26590 (fdim_test_data): New variable.
26591 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26592 (fmax_test_data): New variable.
26593 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26594 (fmin_test_data): New variable.
26595 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26596 (fmod_test_data): New variable.
26597 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26598 (hypot_test_data): New variable.
26599 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26600 (nextafter_test_data): New variable.
26601 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26602 (nexttoward_test_data): New variable.
26603 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26604 (pow_test_data): New variable.
26605 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26606 (pow_tonearest_test_data): New variable.
26607 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26608 (pow_towardzero_test_data): New variable.
26609 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26610 (pow_downward_test_data): New variable.
26611 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26612 (pow_upward_test_data): New variable.
26613 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26614 (remainder_test_data): New variable.
26615 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26616 (scalb_test_data): New variable.
26617 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26618 * sysdeps/i386/fpu/libm-test-ulps: Update.
26619
74c57478
JM
266202013-05-11 Joseph Myers <joseph@codesourcery.com>
26621
8329e4da
JM
26622 * math/libm-test.inc (fma_test): Use max_value instead of local
26623 variable fltmax.
26624 (nextafter_test): Likewise.
26625
74c57478
JM
26626 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26627 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26628 (acos_downward_test_data): New variable.
26629 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26630 (acos_upward_test_data): New variable.
26631 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26632 (acosh_test_data): New variable.
26633 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26634 (asin_test_data): New variable.
26635 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26636 (asin_tonearest_test_data): New variable.
26637 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26638 (asin_towardzero_test_data): New variable.
26639 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26640 (asin_downward_test_data): New variable.
26641 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26642 (asin_upward_test_data): New variable.
26643 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26644 (asinh_test_data): New variable.
26645 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26646 (atan_test_data): New variable.
26647 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26648 (atanh_test_data): New variable.
26649 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26650 (cbrt_test_data): New variable.
26651 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26652 (ceil_test_data): New variable.
26653 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26654 (cos_test_data): New variable.
26655 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26656 (cos_tonearest_test_data): New variable.
26657 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26658 (cos_towardzero_test_data): New variable.
26659 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26660 (cos_downward_test_data): New variable.
26661 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26662 (cos_upward_test_data): New variable.
26663 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26664 (cosh_test_data): New variable.
26665 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26666 (cosh_tonearest_test_data): New variable.
26667 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26668 (cosh_towardzero_test_data): New variable.
26669 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26670 (cosh_downward_test_data): New variable.
26671 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26672 (cosh_upward_test_data): New variable.
26673 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26674 (erf_test_data): New variable.
26675 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26676 (erfc_test_data): New variable.
26677 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26678 (exp_test_data): New variable.
26679 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26680 (exp_tonearest_test_data): New variable.
26681 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26682 (exp_towardzero_test_data): New variable.
26683 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26684 (exp_downward_test_data): New variable.
26685 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26686 (exp_upward_test_data): New variable.
26687 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26688 (exp10_test_data): New variable.
26689 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26690 (exp2_test_data): New variable.
26691 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26692 (expm1_test_data): New variable.
26693 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26694 (fabs_test_data): New variable.
26695 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26696 (floor_test_data): New variable.
26697 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26698 (j0_test_data): New variable.
26699 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26700 (j1_test_data): New variable.
26701 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26702 (log_test_data): New variable.
26703 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26704 (log10_test_data): New variable.
26705 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26706 (log1p_test_data): New variable.
26707 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26708 (log2_test_data): New variable.
26709 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26710 (logb_test_data): New variable.
26711 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26712 (logb_downward_test_data): New variable.
26713 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26714 (nearbyint_test_data): New variable.
26715 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26716 (rint_test_data): New variable.
26717 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26718 (rint_tonearest_test_data): New variable.
26719 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26720 (rint_towardzero_test_data): New variable.
26721 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26722 (rint_downward_test_data): New variable.
26723 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26724 (rint_upward_test_data): New variable.
26725 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26726 (round_test_data): New variable.
26727 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26728 (sin_test_data): New variable.
26729 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26730 (sin_tonearest_test_data): New variable.
26731 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26732 (sin_towardzero_test_data): New variable.
26733 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26734 (sin_downward_test_data): New variable.
26735 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26736 (sin_upward_test_data): New variable.
26737 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26738 (sinh_test_data): New variable.
26739 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26740 (sinh_tonearest_test_data): New variable.
26741 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26742 (sinh_towardzero_test_data): New variable.
26743 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26744 (sinh_downward_test_data): New variable.
26745 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26746 (sinh_upward_test_data): New variable.
26747 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26748 (sqrt_test_data): New variable.
26749 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26750 (tan_test_data): New variable.
26751 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26752 (tan_tonearest_test_data): New variable.
26753 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26754 (tan_towardzero_test_data): New variable.
26755 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26756 (tan_downward_test_data): New variable.
26757 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26758 (tan_upward_test_data): New variable.
26759 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26760 (tanh_test_data): New variable.
26761 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26762 (tgamma_test_data): New variable.
26763 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26764 (trunc_test_data): New variable.
26765 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26766 (y0_test_data): New variable.
26767 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26768 (y1_test_data): New variable.
26769 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26770 (significand_test_data): New variable.
26771 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26772
7187d844
CG
267732013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26774
26775 [BZ #12387]
26776 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26777
f63fae73
PT
267782013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26779
26780 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26781
8a67a4b3
AJ
267822013-05-10 Andreas Jaeger <aj@suse.de>
26783
26784 [BZ #15448]
26785 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26786 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26787
51df539d
JM
267882013-05-10 Joseph Myers <joseph@codesourcery.com>
26789
26790 * math/gen-libm-test.pl (adjust_arg): New function.
26791 (special_functions): Handle generating output in both functions
26792 and arrays.
26793 (parse_args): Likewise.
26794 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26795 $in_func argument to parse_args.
26796 * math/libm-test.inc (struct test_f_f_data): New type.
26797 (IF_ROUND_INIT_): New macro.
26798 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26799 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26800 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26801 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26802 (ROUND_RESTORE_): Likewise.
26803 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26804 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26805 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26806 (ROUND_RESTORE_FE_UPWARD): Likewise.
26807 (RUN_TEST_LOOP_f_f): New macro.
26808 (acos_test_data): New variable.
26809 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26810 (acos_tonearest_test_data): New variable.
26811 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26812
5c637fe5
SP
268132013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26814
26815 * benchtests/bench-skeleton.c (startup): Fix coding style.
26816
ab2b9461
JM
268172013-05-10 Joseph Myers <joseph@codesourcery.com>
26818
26819 [BZ #6809]
26820 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26821 negative infinity argument.
26822 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26823 negative infinity argument.
26824 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26825 negative infinity argument.
26826 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26827 domain errors.
26828
4c0fe6fe
FW
268292013-05-10 Florian Weimer <fweimer@redhat.com>
26830
26831 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26832 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26833 * iconv/iconv_prog.c (main): Likewise.
26834 * locale/programs/charmap-dir.c (charmap_readdir)
26835 (fopen_uncompressed): Likewise.
26836 * locale/programs/locfile.c (siblings_uncached)
26837 (write_locale_data): Use lstat64 instead of lstat.
26838 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26839 stat.
26840
a3375d29
AJ
268412013-05-10 Andreas Jaeger <aj@suse.de>
26842
26843 [BZ #15395]
26844 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26845 localization.
26846 Include <locale.h>.
26847
36129722
CD
268482013-05-09 Carlos O'Donell <carlos@redhat.com>
26849
26850 * elf/dl-close.c (_dl_close_worker): Add comments.
26851
faa7f811
JM
268522013-05-09 Joseph Myers <joseph@codesourcery.com>
26853
ed41ffef
JM
26854 [BZ #15359]
26855 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26856 high part of pi/2.
26857 (__ieee754_rem_pio2l): Update comments.
26858
d0213cd0
JM
26859 [BZ #15429]
26860 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26861 high part of pi/2.
26862 (__ieee754_rem_pio2l): Update comments.
26863
0d3e777a
JM
26864 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26865 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26866
24f56066
JM
26867 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26868 M_PI_4l.
26869
faa7f811
JM
26870 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26871 (M_PI_34_LOG10El): Likewise.
26872 (M_PI2_LOG10El): Likewise.
26873 (M_PI4_LOG10El): Likewise.
26874 (M_PI_LOG10El): Likewise.
26875
e9a5e0fd
AZ
268762013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26877
26878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26879
d8cd06db
JM
268802013-05-08 Joseph Myers <joseph@codesourcery.com>
26881
a0d9f9d7
JM
26882 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26883 (MINUS_ZERO_INIT): Likewise.
26884 (PLUS_INFTY_INIT): Likewise.
26885 (MINUS_INFTY_INIT): Likewise.
26886 (QNAN_VALUE_INIT): Likewise.
26887 (MAX_VALUE_INIT): Likewise.
26888 (MIN_VALUE_INIT): Likewise.
26889 (MIN_SUBNORM_VALUE_INIT): Likewise.
26890 (plus_zero): Initialize with PLUS_ZERO_INIT.
26891 (minus_zero): Initialize with MINUS_ZERO_INIT.
26892 (plus_infty): Initialize with PLUS_INFTY_INIT.
26893 (minus_infty): Initialize with MINUS_INFTY_INIT.
26894 (qnan_value): Initialize with QNAN_VALUE_INIT.
26895 (max_value): Initialize with MAX_VALUE_INIT.
26896 (min_value): Initialize with MIN_VALUE_INIT.
26897 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26898
ae08db3b
JM
26899 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26900 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26901 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26902 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26903
f44bf14a
JM
26904 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26905 (RUN_TEST_2_f): Likewise.
26906 (RUN_TEST_ff_f): Likewise.
26907 (RUN_TEST_fi_f): Likewise.
26908 (RUN_TEST_fl_f): Likewise.
26909 (RUN_TEST_fff_f): Likewise.
26910 (RUN_TEST_c_f): Likewise.
26911 (RUN_TEST_f_f1): Likewise.
26912 (RUN_TEST_fF_f1): Likewise.
26913 (RUN_TEST_fI_f1): Likewise.
26914 (RUN_TEST_ffI_f1): Likewise.
26915 (RUN_TEST_c_c): Likewise.
26916 (RUN_TEST_cc_c): Likewise.
26917 (RUN_TEST_f_i): Likewise.
26918 (RUN_TEST_f_i_tg): Likewise.
26919 (RUN_TEST_ff_i_tg): Likewise.
26920 (RUN_TEST_f_b): Likewise.
26921 (RUN_TEST_f_b_tg): Likewise.
26922 (RUN_TEST_f_l): Likewise.
26923 (RUN_TEST_f_L): Likewise.
26924 (RUN_TEST_sincos): Likewise.
26925 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26926 whether to show exceptions. Do not include ");\n" in return
26927 value.
26928 (special_functions): Output call to RUN_TEST_sincos instead of
26929 check_float calls. Update calls to new_test.
26930 (parse_args): Output call to single RUN_TEST_* macro instead of
26931 check_* calls and other assignments. Update calls to new_test.
26932
d8cd06db
JM
26933 [BZ #2546]
26934 [BZ #2560]
26935 [BZ #5159]
26936 [BZ #15426]
26937 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26938 input to result for tgamma overflow.
26939 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26940 (gamma_coeff): New variable.
26941 (NCOEFF): New macro.
26942 (gamma_positive): New function.
26943 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26944 underflow here. Use gamma_positive instead of exp (lgamma) for
26945 other arguments.
26946 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26947 (gamma_coeff): New variable.
26948 (NCOEFF): New macro.
26949 (gammaf_positive): New function.
26950 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26951 underflow here. Use gamma_positive instead of exp (lgamma) for
26952 other arguments.
26953 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26954 (gamma_coeff): New variable.
26955 (NCOEFF): New macro.
26956 (gammal_positive): New function.
26957 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26958 underflow here. Use gamma_positive instead of exp (lgamma) for
26959 other arguments.
26960 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26961 (gamma_coeff): New variable.
26962 (NCOEFF): New macro.
26963 (gammal_positive): New function.
26964 (__ieee754_gammal_r): Handle positive infinity, overflow and
26965 underflow here. Handle NaN the same as positive infinity. Remove
26966 check x < 0xffffffff for negative integers. Use gamma_positive
26967 instead of exp (lgamma) for other arguments.
26968 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26969 (gamma_coeff): New variable.
26970 (NCOEFF): New macro.
26971 (gammal_positive): New function.
26972 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26973 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26974 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26975 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26976 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26977 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26978 * sysdeps/generic/math_private.h (__gamma_productf): New
26979 prototype.
26980 (__gamma_product): Likewise.
26981 (__gamma_productl): Likewise.
26982 * math/Makefile (libm-calls): Add gamma_product.
26983 * math/libm-test.inc (tgamma_test): Add more tests.
26984 * sysdeps/i386/fpu/libm-test-ulps: Update.
26985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26986
bb7cf681
OB
269872013-05-08 Ondřej Bílka <neleai@seznam.cz>
26988
26989 * benchtests/bench-skeleton.c (main): Preheat CPU.
26990
ba853947
AJ
269912013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26992
26993 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26994
8347c74c
RM
269952013-05-07 Roland McGrath <roland@hack.frob.com>
26996
26997 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26998 and _dl_skip_args_internal.
26999
e8dd4791
CD
270002013-05-07 Carlos O'Donell <carlos@redhat.com>
27001
27002 * manual/message.texi (Message Translation): Talk about users.
27003 Message to key mapping impacts design.
27004
c7405830
RM
270052013-05-06 Roland McGrath <roland@hack.frob.com>
27006
a9173057
RM
27007 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27008
976e2f03
RM
27009 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27010
9723ffc5
RM
27011 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27012 * sysdeps/wordsize-64/glob64.c: ... here.
27013
962e6658
RM
27014 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27015 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27016 New macros.
27017
ee586a6d
RM
27018 * debug/getlogin_r_chk.c: Moved to ...
27019 * login/getlogin_r_chk.c: ... here.
27020 * debug/Makefile (routines): Move getlogin_r_chk to ...
27021 * login/Makefile (routines): ... here.
27022 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27023 * login/Versions (libc: GLIBC_2.4): ... here.
27024
355f9165
RM
27025 * io/poll.c (__poll): Renamed from poll.
27026 Add libc_hidden_def.
27027 (poll): Define as weak alias.
27028
bd9ffde6
RM
27029 * debug/ptsname_r_chk.c: Moved to ...
27030 * login/ptsname_r_chk.c: ... here.
27031 * debug/Makefile (routines): Move ptsname_r_chk to ...
27032 * login/Makefile (routines): ... here.
27033 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27034 * login/Versions (libc: GLIBC_2.4): ... here.
27035
8fb16a04
RM
27036 * posix/getlogin.c: Moved to ...
27037 * login/getlogin.c: ... here.
27038 * posix/getlogin_r.c: Moved to ...
27039 * login/getlogin_r.c: ... here.
27040 * posix/getlogin_r.c: Moved to ...
27041 * login/getlogin_r.c: ... here.
27042 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27043 * login/Makefile (routines): ... here.
27044 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27045 * login/Versions (libc: GLIBC_2.0): ... here.
27046
b99b892f
RM
27047 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27048 (setrlimit): Define as weak alias.
27049
c7405830
RM
27050 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27051 Call __ names for open, ftruncate, and close.
27052 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27053 (truncate): Define as weak alias.
27054
5bf96de5
JM
270552013-05-06 Joseph Myers <joseph@codesourcery.com>
27056
9ea3513c
JM
27057 * math/gen-libm-test.pl (parse_args): Initialize x before each
27058 test of frexp, modf and remquo.
27059
5bf96de5
JM
27060 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27061 test signgam value.
27062
16e616a7
AZ
270632013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27064
27065 [BZ #15418]
27066 [BZ #15419]
27067 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27068 internal tests.
27069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27070
d5e82754
RM
270712013-05-06 Roland McGrath <roland@hack.frob.com>
27072
27073 * elf/dl-writev.h: New file.
27074 * elf/dl-misc.c: Include it.
27075 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27076 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27077
a7548d41
JM
270782013-05-04 Joseph Myers <joseph@codesourcery.com>
27079
b7dab1e4
JM
27080 * math/libm-test.inc (noXFails): Remove variable.
27081 (noXPasses): Likewise.
27082 (BUILD_COMPLEX_INT): Remove macro.
27083 (print_screen): Remove xfail argument.
27084 (print_screen_max_error): Likewise.
27085 (update_stats): Likewise.
27086 (print_max_error): Likewise. Update calls to other affected
27087 functions.
27088 (print_complex_max_error): Likewise.
27089 (test_single_exception): Update calls to print_screen.
27090 (test_single_errno): Likewise.
27091 (check_float_internal): Remove xfail argument. Update calls to
27092 other affected functions.
27093 (check_float): Likewise.
27094 (check_complex): Likewise.
27095 (check_int): Likewise.
27096 (check_long): Likewise.
27097 (check_bool): Likewise.
27098 (check_longlong): Likewise.
27099 (main): Don't print noXFails and noXPasses.
27100 * math/gen-libm-test.pl (top level): Don't mention expected
27101 failure handling in comment.
27102 (new_test): Don't handle expected failures.
27103 (parse_args): Don't mention expected failure handling in comment.
27104 (generate_testfile): Don't handle expected failures.
27105 (parse_ulps): Likewise.
27106 (print_ulps_file): Likewise.
27107 (get_failure): Remove function.
27108 (output_test): Don't handle expected failures.
27109 * make/README.libm-test: Don't mention expected failure handling.
27110
a7548d41
JM
27111 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27112 (minus_zero): Likewise.
27113 (plus_infty): Likewise.
27114 (minus_infty): Likewise.
27115 (qnan_value): Likewise.
27116 (max_value): Likewise.
27117 (min_value): Likewise.
27118 (min_subnorm_value): Likewise.
27119 (initialize): Do not initialize those variables dynamically.
27120
60bfd54c
RM
271212013-05-03 Roland McGrath <roland@hack.frob.com>
27122
cc0e6ed8
RM
27123 * io/open.c (__open_2): Moved to ...
27124 * io/open_2.c: ... this new file.
27125 * io/open64.c (__open64_2): Moved to ...
27126 * io/open64_2.c: ... this new file.
27127 * io/openat.c (__openat_2): Moved to ...
27128 * io/openat_2.c: ... this new file.
27129 * io/openat64.c (__openat64_2): Moved to ...
27130 * io/openat64_2.c: ... this new file.
27131 * io/Makefile (routines): Add them.
27132 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27133 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27134 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27135 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27136 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27137 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27138 (__openat64): Add hidden_ver.
27139 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27140 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27141
60bfd54c
RM
27142 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27143 Separately conditionalize setting of GLRO(dl_sysinfo) so
27144 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27145 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27146
83e7640f
AZ
271472013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27148
27149 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27150 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27151 definition.
27152 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27153 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27154 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27155 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27156 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27157
d5dc2af3
JM
271582013-05-03 Joseph Myers <joseph@codesourcery.com>
27159
c31a5b1e
JM
27160 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27161 test signgam value.
27162
d5dc2af3
JM
27163 * math/libm-test.inc (hypot_test): Do not use
27164 IGNORE_ZERO_INF_SIGN.
27165
164fd39d
AJ
271662013-05-03 Andreas Jaeger <aj@suse.de>
27167
27168 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27169 Linux 3.9.
27170 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27171 (PF_MAX): Adjust for VSOCK change.
27172
8237f48c
AZ
271732013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27174
27175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27176
9df02941
CD
271772013-05-02 Carlos O'Donell <carlos@redhat.com>
27178
27179 [BZ #15264]
27180 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27181 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27182 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27183
d422395e
DM
271842013-05-02 David S. Miller <davem@davemloft.net>
27185
27186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27187
a07c5731
OB
271882013-05-01 Ondřej Bílka <neleai@seznam.cz>
27189
27190 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27191
1324e37f
RM
271922013-05-01 Roland McGrath <roland@hack.frob.com>
27193
27194 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27195
0695940b
RS
271962013-05-01 Richard Smith <richard@metafoo.co.uk>
27197
bb5f27ad 27198 [BZ #14952]
0695940b
RS
27199 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27200 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27201 Use __attribute__ ((__gnu_inline__)).
27202 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27203 Don't use __attribute__ ((__gnu_inline__)).
27204
10de07f5
JM
272052013-05-01 Joseph Myers <joseph@codesourcery.com>
27206
27207 [BZ #15423]
27208 * math/s_catan.c (__catan): Handle small real or imaginary part of
27209 input specially to avoid spurious underflow.
27210 * math/s_catanf.c (__catanf): Likewise.
27211 * math/s_catanh.c (__catanh): Likewise.
27212 * math/s_catanhf.c (__catanhf): Likewise.
27213 * math/s_catanhl.c (__catanhl): Likewise.
27214 * math/s_catanl.c (__catanl): Likewise.
27215 * math/libm-test.inc (catan_test): Add more tests.
27216 (catanh_test): Likewise.
27217 * sysdeps/i386/fpu/libm-test-ulps: Update.
27218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27219
cb4d5414
AZ
272202013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27221
27222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27223
caf84319
JM
272242013-04-30 Joseph Myers <joseph@codesourcery.com>
27225
27226 [BZ #15416]
27227 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27228 accurately for denominator in atan2.
27229 * math/s_catanf.c (__catanf): Likewise.
27230 * math/s_catanh.c (__catanh): Likewise.
27231 * math/s_catanhf.c (__catanhf): Likewise.
27232 * math/s_catanhl.c (__catanhl): Likewise.
27233 * math/s_catanl.c (__catanl): Likewise.
27234 * math/libm-test.inc (catan_test): Add more tests.
27235 (catanh_test): Likewise.
27236 * sysdeps/i386/fpu/libm-test-ulps: Update.
27237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27238
d569c6ee
SP
272392013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27240
6dbe713d
SP
27241 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27242
f0ee064b
SP
27243 * benchtests/Makefile (bench): Remove slow benchmarks.
27244 * benchtests/atan-inputs: Add slow benchmark inputs.
27245 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27246 (BENCH_FUNC): Accept variant offset.
27247 (VARIANT): Define.
27248 * benchtests/bench-skeleton.c (main): Run benchmark for each
27249 variant.
27250 * benchtests/cos-inputs: Add slow benchmark inputs.
27251 * benchtests/exp-inputs: Likewise.
27252 * benchtests/pow-inputs: Likewise.
27253 * benchtests/sin-inputs: Likewise.
27254 * benchtests/slowatan-inputs: Remove.
27255 * benchtests/slowatan.c: Remove.
27256 * benchtests/slowcos-inputs: Remove.
27257 * benchtests/slowcos.c: Remove.
27258 * benchtests/slowexp-inputs: Remove.
27259 * benchtests/slowexp.c: Remove.
27260 * benchtests/slowpow-inputs: Remove.
27261 * benchtests/slowpow.c: Remove.
27262 * benchtests/slowsin-inputs: Remove.
27263 * benchtests/slowsin.c: Remove.
27264 * benchtests/slowtan-inputs: Remove.
27265 * benchtests/slowtan.c: Remove.
27266 * benchtests/tan-inputs: Add slow benchmark inputs.
27267 * scripts/bench.pl: Parse comments and directives.
27268
d569c6ee
SP
27269 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27270 in CPPFLAGS.
27271 ($(objpfx)bench-%.c): Remove *-ITER.
27272 * benchtests/bench-modf.c: Remove definition of ITER.
27273 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27274 (main): Loop for DURATION seconds instead of fixed number of
27275 iterations.
27276 * scripts/bench.pl: Don't expect iterations in parameters.
27277
a6a242fe
RM
272782013-04-29 Roland McGrath <roland@hack.frob.com>
27279
27280 * io/fchdir.c (__fchdir): Renamed from fchdir.
27281 (fchdir): Define as weak alias.
27282
f2da7793
JM
272832013-04-29 Joseph Myers <joseph@codesourcery.com>
27284
27285 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27286 (ERRNO_EDOM): Likewise.
27287 (ERRNO_ERANGE): Likewise.
27288 (noErrnoTests): New variable.
27289 (init_max_error): Set errno to 0.
27290 (test_single_errno): New function.
27291 (test_errno): Likewise.
27292 (check_float_internal): Call test_errno. Set errno to 0.
27293 (check_complex): Refer to errno tests in comment.
27294 (check_int): Call test_errno. Set errno to 0.
27295 (check_long): Likewise.
27296 (check_bool): Likewise.
27297 (check_longlong): Likewise.
27298 (cos_test): Use ERRNO_* flags for errno tests instead of
27299 check_int.
27300 (expm1_test): Likewise.
27301 (fmod_test): Likewise.
27302 (ilogb_test): Likewise.
27303 (lgamma_test): Likewise.
27304 (pow_test): Likewise.
27305 (remainder_test): Likewise.
27306 (sin_test): Likewise.
27307 (tan_test): Likewise.
27308 (yn_test): Likewise.
27309 (initialize): Set errno to 0.
27310 (main): Print number of errno tests.
27311 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27312
b1a36ceb
AJ
273132013-04-29 Andreas Jaeger <aj@suse.de>
27314
c3ed8088
AJ
27315 [BZ #15084]
27316 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27317 and RES_USEVC.
27318
f1a24198
AJ
27319 [BZ #15085]
27320 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27321 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27322 unimplemented.
27323
9ce3b2cb
AJ
27324 [BZ #15380]
27325 * stdlib/random.c (__initstate): Return NULL if
27326 __initstate fails.
27327
f1a24198 27328 [BZ #15086]
b1a36ceb
AJ
27329 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27330 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27331 RES_SNGLKUPREOP.
27332
7e7b6f36
AZ
273332013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27334
27335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27336
4d14f449
JM
273372013-04-29 Joseph Myers <joseph@codesourcery.com>
27338
27339 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27340 of individual tests.
27341 (casin_test): Likewise.
27342 (casinh_test): Likewise.
27343
5b4217d7
JM
273442013-04-27 Joseph Myers <joseph@codesourcery.com>
27345
27346 [BZ #15409]
27347 * math/s_catan.c (__catan): Handle arguments with large real or
27348 imaginary part separately without squaring.
27349 * math/s_catanf.c (__catanf): Likewise.
27350 * math/s_catanh.c (__catanh): Likewise.
27351 * math/s_catanhf.c (__catanhf): Likewise.
27352 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27353 and redefine.
27354 (__catanhl): Handle arguments with large real or imaginary part
27355 separately without squaring.
27356 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27357 and redefine.
27358 (__catanl): Handle arguments with large real or imaginary part
27359 separately without squaring.
27360 * math/libm-test.inc (catan_test): Add more tests.
27361 (catanh_test): Likewise.
27362 * sysdeps/i386/fpu/libm-test-ulps: Update.
27363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27364
4220c3ef
AJ
273652013-04-27 Andreas Jaeger <aj@suse.de>
27366
27367 [BZ #15007]
27368 * stdlib/stdlib.h: Update guards for qecvt.
27369 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27370 <stdlib.h>.
27371
4721b2d1
AM
273722013-04-27 Allan McRae <allan@archlinux.org>
27373
27374 * sysdeps/i386/fpu/libm-test-ulps: Update.
27375
f0302940
JM
273762013-04-26 Joseph Myers <joseph@codesourcery.com>
27377
9457fd95
JM
27378 [BZ #15406]
27379 * math/s_catan.c: Include <float.h>.
27380 (__catan): Ensure underflow exception occurs for underflowed
27381 result.
27382 * math/s_catanf.c: Include <float.h>.
27383 (__catanf): Ensure underflow exception occurs for underflowed
27384 result.
27385 * math/s_catanh.c: Include <float.h>.
27386 (__catanh): Ensure underflow exception occurs for underflowed
27387 result.
27388 * math/s_catanhf.c: Include <float.h>.
27389 (__catanhf): Ensure underflow exception occurs for underflowed
27390 result.
27391 * math/s_catanhl.c: Include <float.h>.
27392 (__catanhl): Ensure underflow exception occurs for underflowed
27393 result.
27394 * math/s_catanl.c: Include <float.h>.
27395 (__catanl): Ensure underflow exception occurs for underflowed
27396 result.
27397 * math/libm-test.inc (catan_test): Add more tests.
27398 (catanh_test): Likewise.
27399
f0302940
JM
27400 [BZ #15405]
27401 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27402 underflowed result.
27403 * math/s_ccoshf.c (__ccoshf): Likewise.
27404 * math/s_ccoshl.c (__ccoshl): Likewise.
27405 * math/s_csin.c (__csin): Likewise.
27406 * math/s_csinf.c (__csinf): Likewise.
27407 * math/s_csinh.c (__csinh): Likewise.
27408 * math/s_csinhf.c (__csinhf): Likewise.
27409 * math/s_csinhl.c (__csinhl): Likewise.
27410 * math/s_csinl.c (__csinl): Likewise.
27411 * math/libm-test.inc (ccos_test): Add more tests.
27412 (ccosh_test): Likewise.
27413 (csin_test): Likewise.
27414 (csinh_test): Likewise.
27415
aa630f59
AZ
274162013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27417
27418 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27419 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27420 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27421 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27422 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27423 powerpc/power5+/fpu folders.
27424 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27425
27426
1b835983
MT
274272013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27428
27429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27430
73709b26
JM
274312013-04-25 Joseph Myers <joseph@codesourcery.com>
27432
27433 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27434 additions to variable.
27435 [$(config-machine) = x86_64] (modules-names): Likewise.
27436 ($(objpfx)tst-audit3): Remove dependency.
27437 ($(objpfx)tst-audit3.out): Likewise.
27438 ($(objpfx)tst-audit4): Likewise.
27439 ($(objpfx)tst-audit4.out): Likewise.
27440 ($(objpfx)tst-audit5): Likewise.
27441 ($(objpfx)tst-audit5.out): Likewise.
27442 ($(objpfx)tst-audit6): Likewise.
27443 ($(objpfx)tst-audit6.out): Likewise.
27444 ($(objpfx)tst-audit7): Likewise.
27445 ($(objpfx)tst-audit7.out): Likewise.
27446 (tst-audit3-ENV): Remove variable.
27447 (tst-audit4-ENV): Likewise.
27448 (tst-audit5-ENV): Likewise.
27449 (tst-audit6-ENV): Likewise.
27450 (tst-audit7-ENV): Likewise.
27451 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27452 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27453 addition to variable.
27454 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27455 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27456 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27457 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27458 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27459 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27460 tst-audit3, tst-audit4 and tst-audit5.
27461 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27462 tst-audit6 and tst-audit7.
27463 [$(subdir) = elf] (modules-names): Add audit modules for those
27464 tests.
27465 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27466 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27467 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27468 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27469 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27470 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27471 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27472 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27473 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27474 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27475 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27476 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27477 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27478 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27479 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27480 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27481 Likewise.
27482 [$(subdir) = elf && $(config-cflags-avx) = yes]
27483 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27484 [$(subdir) = elf && $(config-cflags-avx) = yes]
27485 (CFLAGS-tst-auditmod4a.c): Likewise.
27486 [$(subdir) = elf && $(config-cflags-avx) = yes]
27487 (CFLAGS-tst-auditmod4b.c): Likewise.
27488 [$(subdir) = elf && $(config-cflags-avx) = yes]
27489 (CFLAGS-tst-auditmod6b.c): Likewise.
27490 [$(subdir) = elf && $(config-cflags-avx) = yes]
27491 (CFLAGS-tst-auditmod6c.c): Likewise.
27492 [$(subdir) = elf && $(config-cflags-avx) = yes]
27493 (CFLAGS-tst-auditmod7b.c): Likewise.
27494 * elf/tst-audit3.c: Move to ...
27495 * sysdeps/x86_64/tst-audit3.c: ... here.
27496 * elf/tst-audit4.c: Move to ...
27497 * sysdeps/x86_64/tst-audit4.c: ... here.
27498 * elf/tst-audit5.c: Move to ...
27499 * sysdeps/x86_64/tst-audit5.c: ... here.
27500 * elf/tst-audit6.c: Move to ...
27501 * sysdeps/x86_64/tst-audit6.c: ... here.
27502 * elf/tst-audit7.c: Move to ...
27503 * sysdeps/x86_64/tst-audit7.c: ... here.
27504 * elf/tst-auditmod3a.c: Move to ...
27505 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27506 * elf/tst-auditmod3b.c: Move to ...
27507 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27508 * elf/tst-auditmod4a.c: Move to ...
27509 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27510 * elf/tst-auditmod4b.c: Move to ...
27511 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27512 * elf/tst-auditmod5a.c: Move to ...
27513 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27514 * elf/tst-auditmod5b.c: Move to ...
27515 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27516 * elf/tst-auditmod6a.c: Move to ...
27517 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27518 * elf/tst-auditmod6b.c: Move to ...
27519 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27520 * elf/tst-auditmod6c.c: Move to ...
27521 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27522 * elf/tst-auditmod7a.c: Move to ...
27523 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27524 * elf/tst-auditmod7b.c: Move to ...
27525 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27526
1ef74943
PP
275272013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27528
27529 [BZ #15366]
27530 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27531 define unconditionally.
27532 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27533 define unconditionally.
27534 (INT8_C, INT16_C, etc.): Likewise.
27535
93fd48c5
MR
275362013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27537
ae9552cf
MR
27538 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27539 __ehdr_start with hidden visibility.
27540
93fd48c5
MR
27541 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27542
418601aa
CD
275432013-04-24 Carlos O'Donell <carlos@redhat.com>
27544
27545 * math/libm-test.inc (cos_test): Use accurate hex constants.
27546 (sincost_test): Likewise.
27547
2f38fbfe
JM
275482013-04-24 Joseph Myers <joseph@codesourcery.com>
27549
5e221800
JM
27550 * math/libm-test.inc (catan_test): Add more tests.
27551 (catanh_test): Likewise.
27552
77f143fd
JM
27553 * math/s_catanf.c (__catanf): Use suffixed floating-point
27554 constants.
27555 * math/s_catanhf.c (__catanhf): Likewise.
27556 * math/s_catanhl.c (__catanhl): Likewise.
27557 * math/s_catanl.c (__catanl): Likewise.
27558
2f38fbfe
JM
27559 [BZ #15394]
27560 * math/s_catan.c (__catan): Calculate imaginary part of result
27561 with log1p not log unless computing log of number close to 0.
27562 * math/s_catanf.c (__catanf): Likewise.
27563 * math/s_catanl.c (__catanl): Likewise.
27564 * math/s_catanh.c (__catanh): Calculate real part of result with
27565 log1p not log unless computing log of number close to 0.
27566 * math/s_catanhf.c (__catanhf): Likewise.
27567 * math/s_catanhl.c (__catanhl): Likewise.
27568 * math/libm-test.inc (catan_test): Add more tests.
27569 (catanh_test): Likewise.
27570 * sysdeps/i386/fpu/libm-test-ulps: Update.
27571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27572
45d69176
SP
275732013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27574
27575 * benchtests/Makefile: Mention files in which fast and slow
27576 paths of math functions are implemented.
27577
87f51853
RM
275782013-04-23 Roland McGrath <roland@hack.frob.com>
27579
27580 * sysdeps/posix/timespec_get.c: New file.
27581
3c026539
AZ
275822013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27583
27584 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27585 POWER.
27586 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27587 for POWER.
27588 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27589 powerpc/power5/fpu folders.
27590 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27591 * benchtests/Makefile: Add modf testcase.
27592 * benchtests/bench-modf.c: New file: Benchmark test for mo
27593
ff491d14
SP
275942013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27595
27596 [BZ #14888]
27597 * time/Makefile (tests): Add tst-strptime-whitespace.
27598 * time/strptime_l.c (get_number): Use ISSPACE.
27599 (__strptime_internal): Likewise.
27600 * time/tst-strptime-whitespace.c: New test case.
27601
7ed3f4e8
AS
276022013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27603
27604 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27605 member.
27606 (_nss_files_init): Set it here.
27607
5c95f7b6
HC
276082013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27609
27610 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27611 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27612 unsigned.
27613
d34c9158
JBG
276142013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27615
27616 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27617
2169712d
SP
276182013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27619
27620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27621 size just once.
27622
29c5de99
DM
276232013-04-21 David S. Miller <davem@davemloft.net>
27624
27625 * po/ru.po: Update Russion translation from translation project.
27626
ccdad15d
AC
276272013-04-17 Adam Conrad <adconrad@0c3.net>
27628
27629 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27630 and setfsgid.
27631
0f122b8d
CD
276322013-04-17 Carlos O'Donell <carlos@redhat.com>
27633
5c5b07da 27634 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 27635 * configure: Regenerate.
5c5b07da 27636 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
27637 Add example to error message.
27638 * sysdeps/i386/configure: Regenerate.
27639
037714dd
SP
276402013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27641
27642 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27643 slowtan.
27644 * benchtests/cos-inputs: New file.
27645 * benchtests/slowcos-inputs: New file.
27646 * benchtests/slowcos.c: New file.
27647 * benchtests/slowtan-inputs: New file.
27648 * benchtests/slowtan.c: New file.
27649 * benchtests/tan-inputs: New file.
27650
e913141d
RM
276512013-04-16 Roland McGrath <roland@hack.frob.com>
27652
27653 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27654 considered kosher.
27655
a2964074
SP
276562013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27657
4856bcd2
SP
27658 * benchtests/Makefile: Include cppflags-iterator.mk to add
27659 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27660
a2964074
SP
27661 * Makefile.in (bench-clean): New target.
27662 * benchtests/Makefile (bench-clean): Likewise.
27663
9fbf9aca
DH
276642013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27665
27666 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27667
207d1e2a
TS
276682013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27669
27670 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27671
306dfba9
AS
276722013-04-15 Andreas Schwab <schwab@suse.de>
27673
27674 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27676 * nscd/pwdcache.c (cache_addpw): Likewise.
27677 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27678 more than recsize.
27679
206a6699
SP
276802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27681
27682 * benchtests/Makefile (bench): Write all output to
27683 bench-out.tmp together.
27684
0582f6b3
AS
276852013-04-15 Andreas Schwab <schwab@suse.de>
27686
27687 * nscd/nscd.c (main): Don't fork again after closing files.
27688
acb4325f
SP
276892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27690
5cb26d0a
SP
27691 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27692
acb4325f
SP
27693 * benchtests/Rules (bench-deps): Collect dependencies into a
27694 single variable. Add Makefile to dependencies.
27695 ($(objpfx)bench-%.c): Depend on bench-deps.
27696
47792506
RM
276972013-04-12 Roland McGrath <roland@hack.frob.com>
27698 Xavier Roche <roche+kml2@exalead.com>
27699
27700 [BZ #15361]
27701 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27702 just that it's a file descriptor.
27703 * manual/llio.texi (Synchronizing AIO Operations): Update description
27704 for EBADF error from aio_fsync.
27705
8fc1bee5
SP
277062013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27707
27708 * Rules (bench): Move target definition...
27709 * benchtests/Makefile: ... here.
27710
aba5e333
CD
277112013-04-11 Carlos O'Donell <carlos@redhat.com>
27712
27713 * math/libm-test.inc (cos_test): Fix PI/2 test.
27714 (sincos_test): Likewise.
27715 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27716 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27717
273cdee8
AS
277182013-04-11 Andreas Schwab <schwab@suse.de>
27719
6ecec3b6
AS
27720 [BZ #13988]
27721 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27722 accept exponent character only when digits were seen.
27723 * stdio-common/Makefile (tests): Add bug26.
27724 * stdio-common/bug26.c: New file.
27725
273cdee8
AS
27726 [BZ #14293]
27727 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27728 non-freeable.
27729
8da491f5
SP
277302013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27731
01dc6df9
SP
27732 * Makeconfig (rtld-prefix): Define built linker prefix.
27733 * Rules (run-bench): Use it.
27734 * math/Makefile (run-regen-ulps): Likewise.
27735
8da491f5
SP
27736 * Rules (bench): Remove eval.
27737
abe7f530
SP
277382013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27739 Roland McGrath <roland@hack.frob.com>
27740 Ondrej Bilka <neleai@seznam.cz>
27741
27742 [BZ #15346]
27743 * time/getdate.c: Include ctype.h and alloca.h.
27744 (__getdate_r): Trim leading and trailing spaces of input.
27745 * time/tst-getdate.c (tests): Add tests with leading and
27746 trailing spaces.
27747
61c23e62
RM
277482013-04-08 Roland McGrath <roland@hack.frob.com>
27749
27750 [BZ #14280]
27751 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27752 when computing value.
27753
7208a313
CD
277542013-04-06 Carlos O'Donell <carlos@redhat.com>
27755
085b2d41
CD
27756 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27757 Use testrun.sh to run libm tests.
27758
7208a313
CD
27759 [BZ #15309]
27760 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27761
872c0acd
MM
277622013-04-06 Marko Myllynen <myllynen@redhat.com>
27763
27764 [BZ #15264]
27765 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27766
26510bdd
CD
277672013-04-06 Carlos O'Donell <carlos@redhat.com>
27768
27769 * Makefile.in (regen-ulps): New target.
27770 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27771 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27772 [ifneq (no,$(PERL)] (regen-ulps): New target.
27773 [ifeq (no,$(PERL)] (regen-ulps): New target.
27774 * math/libm-test.inc (ulps_file_name): Define.
27775 (output_dir): New variable.
27776 (options): Add "output-dir" option.
27777 (parse_opt): Handle 'o' case.
27778 (main): If output_dir is non-NULL use it as a prefix
27779 otherwise use "".
27780 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27781
a01f19c8
CD
277822013-04-06 Carlos O'Donell <carlos@redhat.com>
27783
27784 [BZ #10060, #10062]
27785 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27786 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27787 fail configure if __sync_val_compare_and_swap is not inlined.
27788 * sysdeps/i386/configure: Regenerate.
27789 * configure.in: Build for i686 when configured for i386.
27790 * configure: Regenerate.
27791 * README: Remove i386 reference.
27792
b7a329a5
CD
277932013-04-06 Carlos O'Donell <carlos@redhat.com>
27794
27795 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27796 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27797
bf0f50df
TS
277982013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27799
ee091edf
TS
27800 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27801 (lmsnanval): New variables.
27802 (F): Add conversion tests.
27803 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27804 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27805
a8b792d6
TS
27806 * stdio-common/tstdiomisc.c (F): Properly collect individual
27807 tests' results.
27808
a1cbf437
TS
27809 [BZ #14686, #15336]
27810 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27811 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27812 Instead, use input NaN values or generate a qNaN by arithmetic
27813 operation. Also fix bugs to comply with the standard.
27814 * math/libm-test.inc (remainder_test): Add more tests.
27815
8b43a0c9
TS
27816 [BZ #15335, #15342]
27817 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27819 input NaN values or generate a qNaN by arithmetic operation.
27820
d91da4ce
TS
27821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27822 unreachable code.
27823
bf0f50df
TS
27824 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27825 definitions.
27826
05e166c8
JM
278272013-04-03 Joseph Myers <joseph@codesourcery.com>
27828
27829 [BZ #14478]
27830 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27831 underflowed result.
27832 * math/s_cexpf.c (__cexpf): Likewise.
27833 * math/s_cexpl.c (__cexpl): Likewise.
27834 * math/libm-test.inc (cexp_test): Add more tests.
27835
1cef1b19
AS
278362013-04-03 Andreas Schwab <schwab@suse.de>
27837
27838 [BZ #15330]
27839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27840 order arrays from heap if bigger than alloca cutoff.
27841
74d87055
TS
278422013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27843
27844 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27845 (SNAN_TESTS_double): Refer to GCC PR56831.
27846 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27847 GCC PR56828.
27848
d755bba4
SP
278492013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27850
90d5d5bb
SP
27851 * Rules (bench): Move bench.out after the run is complete.
27852
73e0cd5d
SP
27853 * Rules (bench): Echo currently running benchmark.
27854
64aabd4b
SP
27855 * benchtests/Makefile (bench): Add atan and slowatan.
27856 * benchtests/atan-inputs: New file.
27857 * benchtests/slowatan-inputs: New file.
27858 * benchtests/slowatan.c: New file.
27859
c871eccd
SP
27860 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27861 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27862 its value.
27863
d755bba4
SP
27864 [BZ #15305]
27865 * sysdeps/unix/sysv/linux/kernel-features.h
27866 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27867 __ASSUME_XFS_RESTRICTED_CHOWN.
27868 * sysdeps/unix/sysv/linux/pathconf.c
27869 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27870 Save and restore errno.
27871
52ce4860
JM
278722013-04-02 Joseph Myers <joseph@codesourcery.com>
27873
27874 [BZ #15327]
27875 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27876 arguments using __kernel_casinh.
27877 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27878 arguments using __kernel_casinhf.
27879 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27880 arguments using __kernel_casinhl.
27881 * math/libm-test.inc (cacosh_test): Add more tests.
27882 * sysdeps/i386/fpu/libm-test-ulps: Update.
27883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27884
81f311c2
SP
278852013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27886
e7906a47
SP
27887 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27889
92e3664b
SP
27890 * bench/Makefile (bench): Add sin and slowsin.
27891 * benchtests/sin-inputs: New file.
27892 * benchtests/slowsin-inputs: New file.
27893 * benchtests/slowsin.c: New file.
27894
81f311c2
SP
27895 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27896 (bench): Add slowexp and slowpow.
27897 (exp-ITER): Increase iterations.
27898 (pow-ITER): Likewise.
27899 * benchtests/exp-inputs: Change input.
27900 * benchtests/pow-inputs: Likewise.
27901 * benchtests/slowexp-inputs: New file.
27902 * benchtests/slowexp.c: New file.
27903 * benchtests/slowpow-inputs: New file.
27904 * benchtests/slowpow.c: New file.
27905
ab0f1aa9
AZ
279062013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27907
27908 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27909 instructions.
27910 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27911 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27912 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27913 * benchtests/Makefile: Add rint benchtest.
27914 * benchtests/rint-inputs: Input for rint benchtest.
27915
57267616
TS
279162013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27917
27918 * Versions.def (libm): Add GLIBC_2.18.
27919 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27920 hidden libm prototypes.
27921 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27922 * math/Makefile (libm-calls): Add s_issignaling.
27923 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27924 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27925 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27926 declaration.
27927 * math/math.h [__USE_GNU] (issignaling): New macro.
27928 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27929 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27930 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27931 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27934 * manual/arith.texi (issignaling): New section.
27935 * manual/libm-err-tab.pl (@all_functions): Update comment.
27936 * math/gen-libm-test.pl (parse_args): Apply special handling for
27937 issignaling.
27938 * math/libm-test.inc (print_float, issignaling_test): New
27939 functions.
27940 (check_float_internal): Add issignaling checks.
27941 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27942 default definition.
27943 * sysdeps/powerpc/math-tests.h: New file.
27944 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27945 tests.
27946 * math/test-snan.c (TEST_FUNC): Likewise.
27947
6142896d
DM
279482013-03-30 David S. Miller <davem@davemloft.net>
27949
27950 * po/de.po: Update from translation team.
27951
ccc8cadf
JM
279522013-03-30 Joseph Myers <joseph@codesourcery.com>
27953
27954 [BZ #10357]
27955 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27956 imaginary part less than 1.0 and real part less than 0.5
27957 specially.
27958 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27959 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27960 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27961 (cacos_test): Add more tests.
27962 (casin_test): Likewise.
27963 (casinh_test): Likewise.
27964 * sysdeps/i386/fpu/libm-test-ulps: Update.
27965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27966
0f6a8d4b
SP
279672013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27968
0d1029de
SP
27969 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27970 ONE with its value.
27971
c2d94018
SP
27972 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27973 (__pow_mp): Replace ONE and MONE with their values.
27974 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27975 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27976 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27977 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27978 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27979 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27980
27ec37f1
SP
27981 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27982
a64d7e0e
SP
27983 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27984 (__pow_mp): Replace ZERO and MZERO with their values.
27985 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27986 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27987 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27989 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27990 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27991 (__sqr): Likewise.
27992
d26dd3eb
SP
27993 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27994
0f6a8d4b
SP
27995 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27996
e57b0c61
RM
279972013-03-28 Roland McGrath <roland@hack.frob.com>
27998
27999 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28000 Declare with __attribute__ ((weak)).
28001 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28002 Call __call_tls_dtors only if it's not NULL.
28003
356b3480
RM
280042013-03-28 Roland McGrath <roland@hack.frob.com>
28005
288f7d79
RM
28006 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28007 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28008 magic __ehdr_start linker symbol if it's defined.
28009 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28010 them up here if it was already done.
28011
dc0a0263
RM
28012 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28013 (_dl_aux_init): Use const in cast when setting it.
28014 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28015 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28016 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28017
3d3436ae
RM
28018 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28019 Declare them here.
28020 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28021 * csu/libc-tls.c: Nor here.
28022 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28023
356b3480
RM
28024 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28025 (__libc_message): Never call vsyslog.
28026
b0f1246a
AM
280272013-03-28 Alan Modra <amodra@gmail.com>
28028
28029 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28030 Define as empty.
28031 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28032 Likewise.
28033
fbbe2b9a
AZ
280342013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28035
28036 [BZ #15214]
28037 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28038 underflow.
28039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28040
1728ab37
SP
280412013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28042
7a86be6e
SP
28043 [BZ #15304]
28044 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28045 Don't add gid passed as argument.
28046
1728ab37
SP
28047 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28048
3a7182a1
JM
280492013-03-27 Joseph Myers <joseph@codesourcery.com>
28050
28051 [BZ #15307]
28052 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28053 imaginary part between 1.0 and 1.5 and real part less than 0.5
28054 specially.
28055 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28056 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28057 * math/libm-test.inc (cacos_test): Add more tests.
28058 (casin_test): Likewise.
28059 (casinh_test): Likewise.
28060 * sysdeps/i386/fpu/libm-test-ulps: Update.
28061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28062
6f2e90e7
SP
280632013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28064
5739f705
SP
28065 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28066 constants.
28067 (norm): Likewise.
28068 (denorm): Likewise.
28069 (__dbl_mp): Likewise.
28070 (add_magnitudes): Likewise.
28071 (sub_magnitudes): Likewise.
28072 (__add): Likewise.
28073 (__sub): Likewise.
28074 (__mul): Likewise.
28075 (__sqr): Likewise.
28076 (__inv): Likewise.
28077 (__dvd): Likewise.
28078
e375e83d
SP
28079 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28080 commented code.
28081 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28082 (__dubcos): Likewise.
28083 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28084 (__ieee754_acos): Likewise.
28085 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28086 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28087 (__exp1): Likewise.
28088 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28090 (log1): Likewise.
28091 (my_log2): Likewise.
28092 (checkint): Likewise.
28093 * sysdeps/ieee754/dbl-64/e_remainder.c
28094 (__ieee754_remainder): Likewise.
28095 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28096 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28097 (bsloww): Likewise.
28098 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28099
6f2e90e7
SP
28100 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28101 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28102 MANTISSA_STORE_T to store computations on mantissa. Use
28103 macros for rounding and division.
28104 (denorm): Likewise.
28105 (__dbl_mp): Likewise.
28106 (add_magnitudes): Likewise.
28107 (sub_magnitudes): Likewise.
28108 (__mul): Likewise.
28109 (__sqr): Likewise.
28110 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28111 powers of two in terms of TWOPOW macro.
28112 (mp_no): Make type of mantissa as MANTISSA_T.
28113 [!RADIXI]: Define RADIXI.
28114 [!TWO52]: Define TWO52.
28115 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28116
fce14d4e
AZ
281172013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28118
28119 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28120 llroundl symbol when building for PPC32.
28121
9ad027fb
MW
281222013-03-24 Mark H Weaver <mhw@netris.org>
28123
28124 * manual/arith.texi (Normalization Functions): Fix prototypes for
28125 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28126
e42a38dd
AZ
281272013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28128
28129 [BZ #13889]
28130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28131 high value to check if expl overflow.
28132 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28133 to check for underflow and overflow.
28134 * math/libm-test.inc: Add exp test.
28135
2e0fb521
DL
281362013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28137
28138 [BZ #11120]
28139 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28140 with NOT_IN_libc.
28141
b5784d95
AZ
281422013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28143
28144 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28145 symbol.
28146
5aa4a1a1
TS
281472013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28148
bdef0be7
TS
28149 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28150 wrap blocks consisting of several statements.
28151
5aa4a1a1
TS
28152 * sysdeps/generic/math-tests.h: New file.
28153 * sysdeps/i386/fpu/math-tests.h: Likewise.
28154 * math/test-snan.c: Include it.
28155 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28156
98c48fe5
JM
281572013-03-21 Joseph Myers <joseph@codesourcery.com>
28158
28159 [BZ #15285]
28160 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28161 (__ieee754_j0l): Do not improve calculations using cos of twice
28162 input for inputs above LDBL_MAX / 2.0L.
28163 (__ieee754_y0l): Likewise.
28164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28165 (__ieee754_j1l): Do not improve calculations using cos of twice
28166 input for inputs above LDBL_MAX / 2.0L.
28167 (__ieee754_y1l): Likewise.
28168 * math/libm-test.inc (j0_test): Add another test.
28169 (j1_test): Likewise.
28170 (y0_test): Likewise.
28171 (y1_test): Likewise.
28172 * sysdeps/i386/fpu/libm-test-ulps: Update.
28173
3775a8bc
SP
281742013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28175
28176 * Rules ($(objpfx)bench-%.c): Include code from a C source
28177 file.
28178
0a1b2ae6
JM
281792013-03-21 Joseph Myers <joseph@codesourcery.com>
28180
28181 [BZ #15287]
28182 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28183 imaginary part 1.0 and real part less than 0.5 specially.
28184 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28185 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28186 * math/libm-test.inc (cacos_test): Add more tests.
28187 (casin_test): Likewise.
28188 (casinh_test): Likewise.
28189 * sysdeps/i386/fpu/libm-test-ulps: Update.
28190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28191
b33d4ce4
SP
281922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28193
28194 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28195 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28196
bef0b507
JM
281972013-03-20 Joseph Myers <joseph@codesourcery.com>
28198
28199 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28200 * config.make.in (config-cflags-sse4): Remove variable.
28201 (config-cflags-avx): Likewise.
28202 (config-cflags-sse2avx): Likewise.
28203 (config-cflags-novzeroupper): Likewise.
28204 (config-asflags-i686): Likewise.
28205 (have-mfma4): Likewise.
28206 (have-as-vis3): Likewise.
28207 (MIG): Likewise.
28208 * configure.in (MIG): Do not AC_SUBST.
28209 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28210 (libc_cv_cc_sse4): Do not AC_SUBST.
28211 (libc_cv_cc_avx): Likewise.
28212 (libc_cv_cc_sse2avx): Likewise.
28213 (libc_cv_cc_novzeroupper): Likewise.
28214 (libc_cv_cc_fma4): Likewise.
28215 (libc_cv_as_i686): Likewise.
28216 (libc_cv_sparc_as_vis3): Likewise.
28217 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28218 LIBC_CONFIG_VAR.
28219 (config-asflags-i686): Likewise.
28220 (config-cflags-avx): Likewise.
28221 (config-cflags-sse2avx): Likewise.
28222 (have-mfma4): Likewise.
28223 (config-cflags-novzeroupper): Likewise.
28224 * sysdeps/mach/configure.in (MIG): Likewise.
28225 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28226 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28227 LIBC_CONFIG_VAR.
28228 (config-cflags-avx): Likewise.
28229 (config-cflags-sse2avx): Likewise.
28230 (have-mfma4): Likewise.
28231 (config-cflags-novzeroupper): Likewise.
28232 * configure: Regenerated.
28233 * sysdeps/i386/configure: Likewise.
28234 * sysdeps/mach/configure: Likewise.
28235 * sysdeps/sparc/configure: Likewise.
28236 * sysdeps/x86_64/configure: Likewise.
28237
912cc4b3
RM
282382013-03-20 Roland McGrath <roland@hack.frob.com>
28239
28240 [BZ #14812]
28241 * locale/programs/localedef.c (options): Put N_ translation marker
28242 on argument names, not just descriptions.
28243
04eed2b0
MS
282442013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28245
28246 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28247
a065ceff
OB
282482013-03-20 Ondřej Bílka <neleai@seznam.cz>
28249
9bb2a810 28250 [BZ #14176]
a065ceff
OB
28251 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28252
a600e5ce
RM
282532013-03-19 Roland McGrath <roland@hack.frob.com>
28254
28255 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28256 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28257 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28258 [!BEFORE_ABORT] (before_abort): New function.
28259 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28260 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28261 (writev_for_fatal): New function.
28262 (WRITEV_FOR_FATAL): New macro; call that.
28263 (backtrace_and_maps): New function.
28264 (BEFORE_ABORT): New macro; call that.
28265 (struct str_list): Type removed.
28266 (__libc_message, __libc_fatal): Functions removed.
28267 Include <sysdeps/posix/libc_fatal.c> instead.
28268
6b18bea6
JM
282692013-03-19 Joseph Myers <joseph@codesourcery.com>
28270
28271 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28272 constants.
28273 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28274 double constants.
28275
aaa8cb4b
AS
282762013-03-19 Andreas Schwab <schwab@suse.de>
28277
44673770
AS
28278 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28279 * sysdeps/gnu/configure: Regenerate.
28280
aaa8cb4b
AS
28281 * configure.in: Substitute libc_cv_rtlddir.
28282 * configure: Regenerate.
28283 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28284 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28285 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28286 * elf/Makefile (install-others, CFLAGS-interp.c)
28287 (ldso_install, common-ldd-rewrite): Likewise.
28288 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28289 $(inst_slibdir)/$(rtld-installed-name).
28290 * scripts/rellns-sh: Add -p option.
28291 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28292 for source.
28293
d3cfc668
SP
282942013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28295
28296 * manual/nptl.texi: Renamed to ...
28297 * manual/threads.texi: ... this.
28298 * manual/Makefile (chapters): Update.
28299
0e2b9cdd
RM
283002013-03-18 Roland McGrath <roland@hack.frob.com>
28301
28302 [BZ #14812]
28303 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28304 on argument names, not just descriptions.
0e2b9cdd
RM
28305 * malloc/memusagestat.c (options): Likewise.
28306 * nss/getent.c (options): Likewise.
63270c24
RM
28307
283082013-03-18 Benno Schulenberg <bensberg@justemail.net>
28309
28310 [BZ #14812]
28311 * iconv/iconv_prog.c (options): Put N_ translation marker
28312 on argument names, not just descriptions.
28313 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28314
b2e1393c
OB
283152013-03-18 Ondrej Bilka <neleai@seznam.cz>
28316
28317 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28318 implementation which is faster on all x86_64 architectures.
28319 Tested on AMD, Intel Nehalem, SNB, IVB.
28320 * sysdeps/x86_64/strnlen.S: Likewise.
28321
28322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28323 Remove all multiarch strlen and strnlen versions.
28324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28325 Remove strlen and strnlen related parts.
28326
28327 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28328 Inline strlen part.
28329 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28330
28331 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28332 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28333 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28334 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28335 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28336 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28337
ec4ff04d
CD
283382013-03-17 Carlos O'Donell <carlos@redhat.com>
28339
28340 * manual/memory.texi (Malloc Tunable Parameters):
28341 Sort parameters alphabetically. Add comments for missing entries.
28342
cd18e90a
DM
283432013-03-17 David S. Miller <davem@davemloft.net>
28344
28345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28346
2a185d32
JM
283472013-03-16 Joseph Myers <joseph@codesourcery.com>
28348
d2f9799e
JM
28349 [BZ #15283]
28350 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28351 for arguments at most half maximum finite value.
28352 * math/libm-test.inc (j0_test): Add more tests.
28353 (j1_test): Likewise.
28354 (y0_test): Likewise.
28355 (y1_test): Likewise.
28356 * sysdeps/i386/fpu/libm-test-ulps: Update.
28357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28358
2a185d32
JM
28359 [BZ #14155]
28360 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28361 1 / x and functions P and Q for arguments above 0x1p256L.
28362 (__ieee754_y0l): Likewise.
28363 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28364 (__ieee754_y1l): Likewise.
28365 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28366 (j1_test): Likewise.
28367 (y0_test): Likewise.
28368 (y1_test): Likewise.
28369
6cbec759
TS
283702013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28371
28372 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28373 variable.
28374
bc16e260
RM
283752013-03-15 Roland McGrath <roland@hack.frob.com>
28376
aefc9b8c
RM
28377 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28378 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28379 zero since it's initialized to EXEC_PAGESIZE.
28380
bc16e260
RM
28381 * sysdeps/unix/sysv/linux/ldsodefs.h
28382 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28383 * sysdeps/generic/ldsodefs.h: ... here.
28384
a57da955
TS
283852013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28386
af00a34d
TS
28387 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28388
495ded2c
TS
28389 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28390 math/test-snan.c.
28391 * math/test-snan.c: Renamed from
28392 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28393 * math/Makefile (tests): Add test-snan.
28394 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28395 test-powerpc-snan.
28396
777b0332
TS
28397 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28398 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28399 functions.
28400 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28401 __builtin_nan family of functions.
28402 * math/libm-test.inc (initialize): Initialize qnan_value with
28403 __builtin_nan family of functions.
28404 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28405 Remove variables.
28406 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28407 Remove functions.
28408 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28409 storage class. Initialize qNaN_var and sNaN_var with
28410 __builtin_nan and __builtin_nans families of functions,
28411 respectively.
28412
64d063b8
TS
28413 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28414 (sqrt_test): Remove duplicate test with qNaN input.
28415 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28416 (round_test, signbit_test, significand_test): Note missing +/-Inf
28417 as well as qNaN tests.
28418
67e971f1
TS
28419 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28420 qNaN_var. Fix a few strings, too.
28421 * math/libm-test.inc (nan_value): Rename to qnan_value.
28422 * math/gen-libm-test.pl (%beautify): Adjust to that.
28423 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28424 * math/test-misc.c (main): Likewise.
28425 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28426 to __qnan_bytes, and __qnan_union, respectively.
28427 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28428 Likewise.
28429 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28430 and lqnanval, respectively.
28431 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28432 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28433 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28434 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28435
64487e12
TS
28436 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28437 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28438 doubles.
28439
e015e27b
TS
28440 * math/test-misc.c (main): Fix copy'n'pastos.
28441 * misc/tst-efgcvt.c (special): Likewise.
28442
a57da955
TS
28443 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28444 Remove declarations.
28445
1e380345
SP
284462013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28447
28448 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28449 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28450 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28451 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28452
ef26eece
AZ
284532013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28454
28455 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28456 macro to return vdso values correctly in IFUNC implementations.
28457 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28458 Optimization by using IFUNC.
28459
8cfdb7e0
SP
284602013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28461 Richard Henderson <rth@redhat.com>
28462 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28463
28464 * Makefile.in (bench): New target.
28465 * NEWS: Mention the benchmark framework.
28466 * Rules (bench): Likewise.
28467 (binaries-bench): Generate binaries for functions to
28468 benchmark.
28469 * benchtests/Makefile: New makefile for benchmark tests.
28470 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28471 programs.
28472 * benchtests/exp-inputs: New input file for EXP function.
28473 * benchtests/pow-inputs: New input file for POW function.
28474 * scripts/bench.pl: New script to generate source files for
28475 benchmark programs.
28476
bcda9880
SP
284772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28478
d22ca8cd
SP
28479 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28480 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28481 computations on mantissa. Use macros for rounding and
28482 division.
28483 (denorm): Likewise.
28484 (__dbl_mp): Likewise.
28485 (add_magnitudes): Likewise.
28486 (sub_magnitudes): Likewise.
28487 (__mul): Likewise.
28488 (__sqr): Likewise.
28489 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28490 powers of two in terms of TWOPOW macro.
28491 (mp_no): Make type of mantissa as MANTISSA_T.
28492 [!RADIXI]: Define RADIXI.
28493 [!TWO52]: Define TWO52.
28494 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28495
bcda9880
SP
28496 * manual/nptl.texi (cindex): Modify threads to pthreads.
28497
06d5adfb
JM
284982013-03-15 Joseph Myers <joseph@codesourcery.com>
28499
28500 * sysdeps/x86_64/preconfigure: Regenerated.
28501
41c7328e
JM
285022013-03-14 Joseph Myers <joseph@codesourcery.com>
28503
28504 [BZ #14155]
28505 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28506 0x1p28 and above.
28507 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28508 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28509 0x1p28 and above.
28510 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28511 * math/libm-test.inc (j0_test): Do not allow one spurious
28512 underflow exception.
28513 (y1_test): Likewise.
28514
e25cfa60
SP
285152013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28516
0409959c
SP
28517 * manual/Makefile (chapters): Add nptl.
28518 * manual/debug.texi (Debugging Support): Add link to Threads
28519 chapter.
28520 * manual/nptl.texi: New file.
28521
e25cfa60
SP
28522 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28523
58a1335e
PB
285242013-03-14 Petr Baudis <pasky@ucw.cz>
28525
28526 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28527 for non-NULL pointer before the memory validity test. Pointed
28528 out by Holger Brunck <holger.brunck@keymile.com>.
28529
9dc7c64f
AS
285302013-03-13 Andreas Schwab <schwab@suse.de>
28531
28532 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28533 instead of .os.
28534
54206aa6
JM
285352013-03-13 Joseph Myers <joseph@codesourcery.com>
28536
28537 * timezone/zic.c: Update from tzcode 2013b.
28538
e98cdb38
CD
285392013-03-12 Carlos O'Donell <carlos@redhat.com>
28540
28541 * manual/install.texi (Configuring and compiling):
28542 Mention i686 and i586.
28543 * INSTALL: Regenerate.
28544
9967e003
RM
285452013-03-12 Roland McGrath <roland@hack.frob.com>
28546
28547 * sysdeps/init_array/elf-init.c: New file.
28548 * csu/elf-init.c
28549 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28550 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28551
28552 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28553 __gmon_start__ as global, but as static with a .preinit_array pointer.
28554 * sysdeps/init_array/gmon-start.c: New file. Use that.
28555 * sysdeps/init_array/crti.S: New file, empty except for comments.
28556 * sysdeps/init_array/crtn.S: Likewise.
28557
e6b5a293 285582013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
28559
28560 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28561 definining bcopy.
80f844c9
OB
28562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28563 Remove Prefer_SSE_for_memop.
28564 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28565 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28566 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
28567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28568 memset-x86-64.
80f844c9 28569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 28570 Remove bzero, memset ifunc support.
80f844c9
OB
28571 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28572 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28573 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28574 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28575
fb6b0fcb
AS
285762013-03-11 Andreas Schwab <schwab@suse.de>
28577
28578 [BZ #15234]
28579 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28580 by SHLIB_COMPAT.
28581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28582 (GLIBC_2.16): Remove pthread_atfork.
28583
3e6bd4b1
PP
285842013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28585
28586 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28587 (ptestcases.h): Likewise.
28588
222d7f00
RM
285892013-03-08 Roland McGrath <roland@hack.frob.com>
28590
28591 * Makeconfig ($(common-objpfx)config.status): Depend on
28592 sysdeps/*/preconfigure{,.in} too.
28593
1ba4f030
JM
285942013-03-08 Joseph Myers <joseph@codesourcery.com>
28595
a222d91a
JM
28596 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28597 (__free_hook): Use void * instead of __malloc_ptr_t.
28598 (__malloc_hook): Likewise.
28599 (__realloc_hook): Likewise.
28600 (__memalign_hook): Likewise.
28601 (__after_morecore_hook): Likewise.
28602 * malloc/arena.c (save_malloc_hook): Likewise.
28603 (save_free_hook): Likewise.
28604 * malloc/hooks.c (malloc_hook_ini): Likewise.
28605 (realloc_hook_ini): Likewise.
28606 (memalign_hook_ini): Likewise.
28607 * malloc/malloc.c (malloc_hook_ini): Likewise.
28608 (realloc_hook_ini): Likewise.
28609 (memalign_hook_ini): Likewise.
28610 (__free_hook): Likewise.
28611 (__malloc_hook): Likewise.
28612 (__realloc_hook): Likewise.
28613 (__memalign_hook): Likewise.
28614 (__libc_malloc): Likewise.
28615 (__libc_free): Likewise.
28616 (__libc_realloc): Likewise.
28617 (__libc_memalign): Likewise.
28618 (__libc_valloc): Likewise.
28619 (__libc_pvalloc): Likewise.
28620 (__libc_calloc): Likewise.
28621 (__posix_memalign): Likewise.
28622 * malloc/morecore.c (__sbrk): Likewise.
28623 (__default_morecore): Likewise.
28624
5cc45e10
JM
28625 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28626
dd54b864
JM
28627 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28628 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28629 __malloc_ptrdiff_t.
28630
1ba4f030
JM
28631 * malloc/malloc.h (__malloc_size_t): Remove macro.
28632 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28633 __malloc_size_t.
28634 (old_memalign_hook): Likewise.
28635 (old_realloc_hook): Likewise.
28636 (struct hdr): Likewise.
28637 (flood): Likewise.
28638 (mallochook): Likewise.
28639 (memalignhook): Likewise.
28640 (reallochook): Likewise.
28641 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28642 (tr_old_realloc_hook): Likewise.
28643 (tr_old_memalign_hook): Likewise.
28644 (tr_mallochook): Likewise.
28645 (tr_reallochook): Likewise.
28646 (tr_memalignhook): Likewise.
28647
edf66e57
AZ
286482013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28649
28650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28651 default_ldbl_pack and using as default implementation.
28652 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28653 implementation.
28654 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28655 redundant definition.
28656 (ldbl_insert_mantissa): Likewise.
28657 (ldbl_canonicalize): Likewise.
28658 (ldbl_nearbyint): Likewise.
28659 (ldbl_pack): Rename to ldbl_pack_ppc.
28660 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28661 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28662 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28663
6d9145d8
SP
286642013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28665
28666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28667 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28668 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28669 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28671 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28672 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28673 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28674
4dd4e157
AJ
286752013-03-07 Andreas Jaeger <aj@suse.de>
28676
28677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28678 bits/mman-linux.h.
28679
adbb8027
SP
286802013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28681
ce544b5b
SP
28682 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28683 Include mpa.h and declare __MPEXP.
28684 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28685 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28686 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28687 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28688 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28689 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28690 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28691
4cc149fd
SP
28692 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28693 (__slowpow): Use long double EXPL and LOGL functions to
28694 compute POW.
28695 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28696 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28697 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28698 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28699 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28700 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28701
e6ebd4a7
SP
28702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28703 intermediate variable to calculate exponent.
28704 (__sqr): Likewise.
28705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28706 Likewise.
28707 (__sqr): Likewise.
28708
82a9811d
SP
28709 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28710 [!NO__SQR]: Define __sqr.
28711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28712 and NO__SQR. Remove all code except __mul and __sqr. Include
28713 sysdeps/ieee754/dbl-64/mpa.c.
28714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28715
adbb8027
SP
28716 [BZ #12723]
28717 * posix/Makefile (tests): Add tst-pathconf.
28718 * posix/tst-pathconf.c: New test case.
28719 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28720 _PC_PIPE_BUF.
28721 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28722
39120df9
PF
287232013-03-06 Patsy Franklin <pfrankli@redhat.com>
28724
28725 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28726
67525cb8
AJ
287272013-03-06 Andreas Jaeger <aj@suse.de>
28728
664a9ce4
AJ
28729 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28730 definition via __MAP_ANONYMOUS.
28731
8e39047d
AJ
28732 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28733 it's not part of Linux headers.
28734
67525cb8
AJ
28735 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28736 (MAP_HUGE_MASK): Define.
28737
28738 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28739 Define.
28740 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28742 Define.
28743 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28744 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28745 Define.
28746 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28747 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28748 Define.
28749 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28750
28751 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28752 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28753 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28754 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28755 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28756 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28757
28758 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28759 Handle f2fs.
28760
28761 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28762 Handle f2fs and efivarfs.
28763
28764 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28765 f2fs.
28766
28767 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28768 (EFIVARFS_MAGIC): Add.
28769 (F2FS_LINK_MAX): Add.
28770
e1b42695
PP
287712013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28772
28773 * stdio-common/vfprintf.c: Replace __builtin_expect with
28774 __glibc_unlikely.
28775
2d67d91a
JM
287762013-03-06 Joseph Myers <joseph@codesourcery.com>
28777
28778 [BZ #13550]
28779 * sysdeps/generic/bp-sym.h: Remove file.
28780 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28781 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28782 <bp-sym.h> and <bp-asm.h>.
28783 (__longjmp): Don't use BP_SYM.
28784 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28785 and <bp-asm.h>.
28786 (memcpy): Don't use BP_SYM.
28787 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28788 <bp-sym.h> and <bp-asm.h>.
28789 (memcpy): Don't use BP_SYM.
28790 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28791 <bp-asm.h>.
28792 (memcpy): Don't use BP_SYM.
28793 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28794 <bp-asm.h>.
28795 (memset): Don't use BP_SYM.
28796 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28797 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28798 (__bzero): Don't use BP_SYM.
28799 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28800 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28801 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28802 <bp-sym.h> and <bp-asm.h>.
28803 (memcmp): Don't use BP_SYM. Remove comment about bounded
28804 pointers.
28805 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28806 <bp-sym.h> and <bp-asm.h>.
28807 (memcpy): Don't use BP_SYM.
28808 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28809 <bp-sym.h> and <bp-asm.h>.
28810 (memset): Don't use BP_SYM.
28811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28813 (__bzero): Don't use BP_SYM.
28814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28816 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28817 <bp-sym.h> and <bp-asm.h>.
28818 (strncmp): Don't use BP_SYM. Remove comment about bounded
28819 pointers.
28820 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28821 <bp-sym.h> and <bp-asm.h>.
28822 (memcpy): Don't use BP_SYM.
28823 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28824 <bp-sym.h> and <bp-asm.h>.
28825 (memset): Don't use BP_SYM.
28826 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28827 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28828 (__bzero): Don't use BP_SYM.
28829 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28830 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28831 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28832 <bp-sym.h> and <bp-asm.h>.
28833 (__memchr): Don't use BP_SYM.
28834 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28835 <bp-sym.h> and <bp-asm.h>.
28836 (memcmp): Don't use BP_SYM. Remove comment about bounded
28837 pointers.
28838 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28839 <bp-sym.h> and <bp-asm.h>.
28840 (memcpy): Don't use BP_SYM.
28841 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28842 <bp-sym.h> and <bp-asm.h>.
28843 (__mempcpy): Don't use BP_SYM.
28844 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28845 <bp-sym.h> and <bp-asm.h>.
28846 (__memrchr): Don't use BP_SYM.
28847 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28848 <bp-sym.h> and <bp-asm.h>.
28849 (memset): Don't use BP_SYM.
28850 (__bzero): Likewise.
28851 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28852 <bp-sym.h> and <bp-asm.h>.
28853 (__rawmemchr): Don't use BP_SYM.
28854 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28855 <bp-sym.h> and <bp-asm.h>.
28856 (__STRCMP): Don't use BP_SYM.
28857 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28858 <bp-sym.h> and <bp-asm.h>.
28859 (strchr): Don't use BP_SYM.
28860 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28861 <bp-sym.h> and <bp-asm.h>.
28862 (__strchrnul): Don't use BP_SYM.
28863 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28864 <bp-sym.h> and <bp-asm.h>.
28865 (strlen): Don't use BP_SYM.
28866 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28867 <bp-sym.h> and <bp-asm.h>.
28868 (strncmp): Don't use BP_SYM. Remove comment about bounded
28869 pointers.
28870 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28871 <bp-sym.h> and <bp-asm.h>.
28872 (__strnlen): Don't use BP_SYM.
28873 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28874 <bp-sym.h> and <bp-asm.h>.
28875 (__GI__setjmp): Don't use BP_SYM.
28876 (_setjmp): Likewise.
28877 (__sigsetjmp): Likewise.
28878 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28879 (L(start_addresses)): Don't use BP_SYM.
28880 (_start): Likewise.
28881 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28882 <bp-asm.h>.
28883 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28884 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28885 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28886 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28887 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28888 <bp-asm.h>.
28889 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28890 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28891 about bounded pointers.
28892 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28893 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28894 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28895 <bp-asm.h>.
28896 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28897 about bounded pointers. Remove GKM FIXME comments.
28898 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28899 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28900 <bp-asm.h>.
28901 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28902 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28903 Remove GKM FIXME comments.
28904 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28905 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28906 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28907 <bp-asm.h>.
28908 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28909 about bounded pointers. Remove GKM FIXME comment.
28910 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28911 and <bp-asm.h>.
28912 (strncmp): Don't use BP_SYM. Remove comment about bounded
28913 pointers.
28914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28915 <bp-sym.h> and <bp-asm.h>.
28916 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28918 <bp-sym.h> and <bp-asm.h>.
28919 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28920 comment.
28921
cdcf361f
PP
289222013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28923
28924 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28925 call free(NULL).
28926
3c4a2b15
DM
289272013-03-05 David S. Miller <davem@davemloft.net>
28928
28929 * po/es.po: Update from translation team.
28930
cdcf361f 289312013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
28932
28933 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28934 <bits/mman-linux.h>.
28935 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28936 is fine.
28937 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28938 <bits/mman-linux.h> to end of file.
28939 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28940 is fine.
28941 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28942 <bits/mman-linux.h> to end of file.
28943 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28944 is fine.
28945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28946 <bits/mman-linux.h> to end of file.
28947
28948 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28949 (MCL_CURRENT, MCL_FUTURE): Define here.
28950
5f67c04f
AK
289512013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28952
8a4473cc 28953 [BZ #15232]
5f67c04f
AK
28954 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28955 attribute_hidden.
28956 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28957
c3e94a95
AK
289582013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28959
28960 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28961 fourth parameter needed for rt_sigprocmask syscall.
28962 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28963 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28964 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28965 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28966 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28967 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28968
cfb6382a
JM
289692013-03-04 Joseph Myers <joseph@codesourcery.com>
28970
28971 [BZ #13550]
28972 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28973 comment about bounded pointers.
28974 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28975 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28976
539d8e01
AJ
289772013-03-04 Andreas Jaeger <aj@suse.de>
28978
28979 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28980 common definitions.
28981
28982 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28983 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28984 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28985 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28986 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
28987 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28988
2e167a70 289892013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
28990
28991 [BZ #15055]
28992 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28993 __ieee754_sqrl instead of __sqrl.
28994
68508633
JM
289952013-03-01 Joseph Myers <joseph@codesourcery.com>
28996
28997 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28998 * sysdeps/powerpc/fpu_control.h: ... here.
28999 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29000 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29001 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29002 * sysdeps/powerpc/bits/mathinline.h: ... here.
29003
7775448e
RM
290042013-03-01 Roland McGrath <roland@hack.frob.com>
29005
29006 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29007 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29008 to just [NEED_DL_SYSINFO_DSO].
29009 * elf/dl-support.c: Likewise.
29010 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29011 * elf/rtld.c (dl_main): Likewise.
29012 * elf/setup-vdso.h (setup_vdso): Likewise.
29013 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29014 * sysdeps/unix/sysv/linux/dl-sysdep.c
29015 (_dl_discover_osversion): Likewise.
29016
4e9b5995
CD
290172013-03-01 Carlos O'Donell <carlos@redhat.com>
29018
29019 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29020 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29021
e23872c8
SP
290222013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29023
e5c74c63
SP
29024 * NEWS: Mention libm performance improvements and non-x86 PI
29025 futex support.
29026
e23872c8
SP
29027 * csu/libc-start.c (__pthread_initialize_minimal): Change
29028 function arguments.
29029 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29030
b5510883
JM
290312013-02-28 Joseph Myers <joseph@codesourcery.com>
29032
29033 [BZ #13550]
29034 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29035 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29036 <bp-sym.h> and <bp-asm.h>.
29037 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29038 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29039 and <bp-asm.h>.
29040 (memcpy): Don't use BP_SYM.
29041 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29042 <bp-asm.h>.
29043 (__mpn_add_n): Don't use BP_SYM.
29044 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29045 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29046 and <bp-asm.h>.
29047 (__mpn_addmul_1): Don't use BP_SYM.
29048 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29049 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29050 <bp-sym.h>.
29051 (_setjmp): Don't use BP_SYM.
29052 (__novmx_setjmp): Likewise.
29053 (__GI__setjmp): Likewise.
29054 (__vmx_setjmp): Likewise.
29055 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29056 <bp-sym.h>.
29057 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29058 (__bzero): Don't use BP_SYM.
29059 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29060 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29061 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29062 <bp-sym.h> and <bp-asm.h>.
29063 (memcpy): Don't use BP_SYM.
29064 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29065 <bp-sym.h> and <bp-asm.h>.
29066 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29067 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29068 <bp-sym.h> and <bp-asm.h>.
29069 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29070 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29071 <bp-asm.h>.
29072 (__mpn_lshift): Don't use BP_SYM.
29073 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29074 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29075 <bp-asm.h>.
29076 (memset): Don't use BP_SYM.
29077 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29078 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29079 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29080 <bp-asm.h>.
29081 (__mpn_mul_1): Don't use BP_SYM.
29082 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29084 <bp-sym.h> and <bp-asm.h>.
29085 (memcmp): Don't use BP_SYM.
29086 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29087 <bp-sym.h> and <bp-asm.h>.
29088 (memcpy): Don't use BP_SYM.
29089 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29090 <bp-sym.h> and <bp-asm.h>.
29091 (memset): Don't use BP_SYM.
29092 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29093 <bp-sym.h> and <bp-asm.h>.
29094 (strncmp): Don't use BP_SYM.
29095 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29096 <bp-sym.h> and <bp-asm.h>.
29097 (memcpy): Don't use BP_SYM.
29098 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29099 <bp-sym.h> and <bp-asm.h>.
29100 (memset): Don't use BP_SYM.
29101 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29102 <bp-sym.h> and <bp-asm.h>.
29103 (__memchr): Don't use BP_SYM.
29104 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29105 <bp-sym.h> and <bp-asm.h>.
29106 (memcmp): Don't use BP_SYM.
29107 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29108 <bp-sym.h> and <bp-asm.h>.
29109 (memcpy): Don't use BP_SYM.
29110 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29111 <bp-sym.h> and <bp-asm.h>.
29112 (__mempcpy): Don't use BP_SYM.
29113 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29114 <bp-sym.h> and <bp-asm.h>.
29115 (__memrchr): Don't use BP_SYM.
29116 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29117 <bp-sym.h> and <bp-asm.h>.
29118 (memset): Don't use BP_SYM.
29119 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29120 <bp-sym.h> and <bp-asm.h>.
29121 (__rawmemchr): Don't use BP_SYM.
29122 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29123 <bp-sym.h> and <bp-asm.h>.
29124 (__STRCMP): Don't use BP_SYM.
29125 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29126 <bp-sym.h> and <bp-asm.h>.
29127 (strchr): Don't use BP_SYM.
29128 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29129 <bp-sym.h> and <bp-asm.h>.
29130 (__strchrnul): Don't use BP_SYM.
29131 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29132 <bp-sym.h> and <bp-asm.h>.
29133 (strlen): Don't use BP_SYM.
29134 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29135 <bp-sym.h> and <bp-asm.h>.
29136 (strncmp): Don't use BP_SYM.
29137 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29138 <bp-sym.h> and <bp-asm.h>.
29139 (__strnlen): Don't use BP_SYM.
29140 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29141 <bp-asm.h>.
29142 (__mpn_rshift): Don't use BP_SYM.
29143 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29144 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29145 <bp-sym.h> and <bp-asm.h>.
29146 (__sigsetjmp): Don't use BP_SYM.
29147 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29148 (L(start_addresses)): Don't use BP_SYM.
29149 (_start): Likewise.
29150 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29151 <bp-asm.h>.
29152 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29153 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29154 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29155 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29156 <bp-asm.h>.
29157 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29158 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29159 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29160 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29161 <bp-asm.h>.
29162 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29163 comments.
29164 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29165 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29166 <bp-asm.h>.
29167 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29168 FIXME comments.
29169 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29170 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29171 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29172 <bp-asm.h>.
29173 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29174 comment.
29175 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29176 and <bp-asm.h>.
29177 (strncmp): Don't use BP_SYM,
29178 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29179 <bp-asm.h>.
29180 (__mpn_sub_n): Don't use BP_SYM.
29181 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29182 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29183 and <bp-asm.h>.
29184 (__mpn_submul_1): Don't use BP_SYM.
29185 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29187 <bp-sym.h> and <bp-asm.h>.
29188 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29190 <bp-sym.h> and <bp-asm.h>.
29191 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29192 comment.
29193
8d19fe64
SP
291942013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29195
29196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29197 Use ZK to minimize writes to Z.
29198 (sub_magnitudes): Simplify code a bit.
29199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29200 Use ZK to minimize writes to Z.
29201 (sub_magnitudes): Simplify code a bit.
29202
85bd816a
RM
292032013-02-27 Roland McGrath <roland@hack.frob.com>
29204
29205 * csu/gmon-start.c: Add special exception to license text.
29206
b5977bf2
RH
292072013-02-27 Richard Henderson <rth@redhat.com>
29208
29209 * scripts/config.guess: Update from config.git.
29210 * scripts/config.sub: Likewise.
29211
11d6e2f2
SP
292122013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29213
09c14ed2
SP
29214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29215
a688864e
SP
29216 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29217
6295157a
SP
29218 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29219
b8de2202
SP
29220 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29221
11d6e2f2
SP
29222 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29223
7e80ddb8
RM
292242013-02-26 Roland McGrath <roland@hack.frob.com>
29225
29226 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29227 [$(build-shared = yes].
7e80ddb8 29228
7da6d9ed
SP
292292013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29230
45f05884
SP
29231 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29232 (__mul): Reduce iterations for calculating mantissa.
29233
2236d359
SP
29234 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29235 MPTWO.
29236 (__mpranred): Likewise.
29237
7da6d9ed
SP
29238 [BZ #15160]
29239 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29240 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29241
b7688c42
PE
292422013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29243
29244 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29245 Define __attribute__.
29246
53a5c423
SP
292472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29248
29249 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29250 unused.
29251 * posix/regex_internal.h (__attribute): Remove.
29252 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29253 (re_string_context_at): Likewise.
29254 (bitset_not): Use __attribute__ and mark function as possibly
29255 unused.
29256 (bitset_merge): Likewise.
29257 (bitset_mask): Likewise.
29258 (re_string_char_size_at): Likewise.
29259 (re_string_wchar_at): Likewise.
29260 (re_string_elem_size_at): Likewise.
29261
60f5a8b5
SP
292622013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29263
2a983a2e
SP
29264 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29265 code.
29266 (cc32): Likewise.
29267
e69804d1
SP
29268 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29269 (__acr): Likewise.
29270 (__cpy): Likewise.
29271 (norm): Likewise.
29272 (denorm): Likewise.
29273 (__dbl_mp): Likewise.
29274 (add_magnitudes): Likewise.
29275 (sub_magnitudes): Likewise.
29276 (__mul): Likewise.
29277 (__inv): Likewise.
29278
2f22a1e8
SP
29279 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29280 style.
29281
8930ddc7
SP
29282 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29283 style.
29284
dc60cb11
SP
29285 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29286 code.
29287
60f5a8b5
SP
29288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29289 up changes with default code.
29290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29291 Likewise.
29292
b4d1fd33
AM
292932013-02-24 Allan McRae <allan@archlinux.org>
29294
faf6f8bc
AM
29295 * manual/socket.texi (The Internet Namespace): Order menu items
29296 to match that in the file.
29297
b4d1fd33
AM
29298 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29299 node listing of the info page menu.
29300
2366713d
JM
293012013-02-21 Joseph Myers <joseph@codesourcery.com>
29302
29303 [BZ #13550]
29304 * sysdeps/i386/bp-asm.h: Remove file.
29305 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29306 (PARMS): Do not use macros from bp-asm.h.
29307 (S1): Likewise.
29308 (S2): Likewise.
29309 (SIZE): Likewise.
29310 (__mpn_add_n): Do not use BP_SYM
29311 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29312 "bp-asm.h".
29313 (PARMS): Do not use macros from bp-asm.h.
29314 (S1): Likewise.
29315 (SIZE): Likewise.
29316 (__mpn_addmul_1): Do not use BP_SYM
29317 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29318 "bp-asm.h".
29319 (PARMS): Do not use macros from bp-asm.h.
29320 (SIGMSK): Likewise.
29321 (_setjmp): Likewise. Do not use BP_SYM.
29322 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29323 "bp-asm.h".
29324 (PARMS): Do not use macros from bp-asm.h.
29325 (SIGMSK): Likewise.
29326 (setjmp): Likewise. Do not use BP_SYM.
29327 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29328 "bp-asm.h".
29329 (PARMS): Do not use macros from bp-asm.h.
29330 (__frexp): Do not use BP_SYM.
29331 (frexp): Likewise.
29332 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29333 "bp-asm.h".
29334 (PARMS): Do not use macros from bp-asm.h.
29335 (__frexpf): Do not use BP_SYM.
29336 (frexpf): Likewise.
29337 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29338 "bp-asm.h".
29339 (PARMS): Do not use macros from bp-asm.h.
29340 (__frexpl): Do not use BP_SYM.
29341 (frexpl): Likewise.
29342 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29343 "bp-asm.h".
29344 (PARMS): Do not use macros from bp-asm.h.
29345 (__remquo): Do not use BP_SYM.
29346 (remquo): Likewise.
29347 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29348 "bp-asm.h".
29349 (PARMS): Do not use macros from bp-asm.h.
29350 (__remquof): Do not use BP_SYM.
29351 (remquof): Likewise.
29352 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29353 "bp-asm.h".
29354 (PARMS): Do not use macros from bp-asm.h.
29355 (__remquol): Do not use BP_SYM.
29356 (remquol): Likewise.
29357 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29358 "bp-asm.h".
29359 (PARMS): Do not use macros from bp-asm.h.
29360 (DEST): Likewise.
29361 (SRC): Likewise.
29362 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29363 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29364 "bp-asm.h".
29365 (PARMS): Do not use macros from bp-asm.h.
29366 (strlen): Do not use BP_SYM.
29367 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29368 "bp-asm.h".
29369 (PARMS): Do not use macros from bp-asm.h.
29370 (S1): Likewise.
29371 (S2): Likewise.
29372 (SIZE): Likewise.
29373 (__mpn_add_n): Do not use BP_SYM.
29374 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29375 "bp-asm.h".
29376 (PARMS): Do not use macros from bp-asm.h.
29377 (S1): Likewise.
29378 (SIZE): Likewise.
29379 (__mpn_addmul_1): Do not use BP_SYM.
29380 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29381 weak_alias.
29382 (bzero): Likewise.
29383 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29384 "bp-asm.h".
29385 (PARMS): Do not use macros from bp-asm.h.
29386 (S): Likewise.
29387 (SIZE): Likewise.
29388 (__mpn_lshift): Do not use BP_SYM.
29389 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29390 "bp-asm.h".
29391 (PARMS): Do not use macros from bp-asm.h.
29392 (DEST): Likewise.
29393 (SRC): Likewise.
29394 (LEN): Likewise.
29395 (memcpy): Likewise. Do not use BP_SYM.
29396 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29397 libc_hidden_def and weak_alias.
29398 (mempcpy): Do not use BP_SYM in weak_alias.
29399 * sysdeps/i386/i586/memset.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 (LEN): Likewise.
29404 [!BZERO_P] (CHR): Likewise.
29405 (memset): Likewise. Do not use BP_SYM.
29406 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29407 "bp-asm.h".
29408 (PARMS): Do not use macros from bp-asm.h.
29409 (S1): Likewise.
29410 (SIZE): Likewise.
29411 (__mpn_mul_1): Do not use BP_SYM.
29412 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29413 "bp-asm.h".
29414 (PARMS): Do not use macros from bp-asm.h.
29415 (S): Likewise.
29416 (SIZE): Likewise.
29417 (__mpn_rshift): Do not use BP_SYM.
29418 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29419 "bp-asm.h".
29420 (PARMS): Do not use macros from bp-asm.h.
29421 (STR): Likewise.
29422 (CHR): Likewise.
29423 (strchr): Likewise. Do not use BP_SYM.
29424 (index): Do not use BP_SYM in weak_alias.
29425 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29426 "bp-asm.h".
29427 (PARMS): Do not use macros from bp-asm.h.
29428 (DEST): Likewise.
29429 (SRC): Likewise.
29430 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29431 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29432 "bp-asm.h".
29433 (PARMS): Do not use macros from bp-asm.h.
29434 (strlen): Do not use BP_SYM.
29435 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29436 "bp-asm.h".
29437 (PARMS): Do not use macros from bp-asm.h.
29438 (S1): Likewise.
29439 (S2): Likewise.
29440 (SIZE): Likewise.
29441 (__mpn_sub_n): Do not use BP_SYM.
29442 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29443 "bp-asm.h".
29444 (PARMS): Do not use macros from bp-asm.h.
29445 (S1): Likewise.
29446 (SIZE): Likewise.
29447 (__mpn_submul_1): Do not use BP_SYM.
29448 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29449 "bp-asm.h".
29450 (PARMS): Do not use macros from bp-asm.h.
29451 (S1): Likewise.
29452 (S2): Likewise.
29453 (SIZE): Likewise.
29454 (__mpn_add_n): Do not use BP_SYM.
29455 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29456 weak_alias.
29457 (bzero): Likewise.
29458 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29459 "bp-asm.h".
29460 (PARMS): Do not use macros from bp-asm.h.
29461 (BLK2): Likewise.
29462 (LEN): Likewise.
29463 (memcmp): Do not use BP_SYM.
29464 (bcmp): Do not use BP_SYM in weak_alias.
29465 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29466 "bp-asm.h".
29467 (PARMS): Do not use macros from bp-asm.h.
29468 (DEST): Likewise.
29469 (SRC): Likewise.
29470 (LEN): Likewise.
29471 (memcpy): Likewise. Do not use BP_SYM.
29472 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29473 "bp-asm.h".
29474 (PARMS): Do not use macros from bp-asm.h.
29475 (DEST): Likewise.
29476 (SRC): Likewise.
29477 (LEN): Likewise.
29478 (memmove): Likewise. Do not use BP_SYM.
29479 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29480 "bp-asm.h".
29481 (PARMS): Do not use macros from bp-asm.h.
29482 (DEST): Likewise.
29483 (SRC): Likewise.
29484 (LEN): Likewise.
29485 (__mempcpy): Likewise. Do not use BP_SYM.
29486 (mempcpy): Do not use BP_SYM in weak_alias.
29487 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29488 "bp-asm.h".
29489 (PARMS): Do not use macros from bp-asm.h.
29490 (DEST): Likewise.
29491 (LEN): Likewise.
29492 [!BZERO_P] (CHR): Likewise.
29493 (memset): Likewise. Do not use BP_SYM.
29494 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29495 "bp-asm.h".
29496 (PARMS): Do not use macros from bp-asm.h.
29497 (STR2): Likewise.
29498 (strcmp): Do not use BP_SYM.
29499 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29500 "bp-asm.h".
29501 (PARMS): Do not use macros from bp-asm.h.
29502 (STR): Likewise.
29503 (DELIM): Likewise.
29504 [USE_AS_STRTOK_R] (SAVE): Likewise.
29505 (FUNCTION): Likewise. Do not use BP_SYM.
29506 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29507 aliases.
29508 (strtok_r): Likewise.
29509 (__GI___strtok_r): Likewise.
29510 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29511 (PARMS): Do not use macros from bp-asm.h.
29512 (S): Likewise.
29513 (SIZE): Likewise.
29514 (__mpn_lshift): Do not use BP_SYM.
29515 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29516 (PARMS): Do not use macros from bp-asm.h.
29517 (STR): Likewise.
29518 (CHR): Likewise.
29519 (__memchr): Do not use BP_SYM.
29520 (memchr): Do not use BP_SYM in weak_alias.
29521 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29522 (PARMS): Do not use macros from bp-asm.h.
29523 (BLK2): Likewise.
29524 (LEN): Likewise.
29525 (memcmp): Do not use BP_SYM.
29526 (bcmp): Do not use BP_SYM in weak_alias.
29527 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29528 (PARMS): Do not use macros from bp-asm.h.
29529 (S1): Likewise.
29530 (SIZE): Likewise.
29531 (__mpn_mul_1): Do not use BP_SYM.
29532 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29533 "bp-asm.h".
29534 (PARMS): Do not use macros from bp-asm.h.
29535 (STR): Likewise.
29536 (CHR): Likewise.
29537 (__rawmemchr): Do not use BP_SYM.
29538 (rawmemchr): Do not use BP_SYM in weak_alias.
29539 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29540 (PARMS): Do not use macros from bp-asm.h.
29541 (S): Likewise.
29542 (SIZE): Likewise.
29543 (__mpn_rshift): Do not use BP_SYM.
29544 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29545 (PARMS): Do not use macros from bp-asm.h.
29546 (SIGMSK): Likewise.
29547 (__sigsetjmp): Likewise. Do not use BP_SYM.
29548 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29549 (_start): Do not use BP_SYM.
29550 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29551 (PARMS): Do not use macros from bp-asm.h.
29552 (DEST): Likewise.
29553 (SRC): Likewise.
29554 (__stpcpy): Likewise. Do not use BP_SYM.
29555 (stpcpy): Do not use BP_SYM in weak_alias.
29556 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29557 "bp-asm.h".
29558 (PARMS): Do not use macros from bp-asm.h.
29559 (DEST): Likewise.
29560 (SRC): Likewise.
29561 (LEN): Likewise.
29562 (__stpncpy): Likewise. Do not use BP_SYM.
29563 (stpncpy): Do not use BP_SYM in weak_alias.
29564 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29565 (PARMS): Do not use macros from bp-asm.h.
29566 (STR): Likewise.
29567 (CHR): Likewise.
29568 (strchr): Likewise. Do not use BP_SYM.
29569 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29570 "bp-asm.h".
29571 (PARMS): Do not use macros from bp-asm.h.
29572 (STR): Likewise.
29573 (CHR): Likewise.
29574 (__strchrnul): Likewise. Do not use BP_SYM.
29575 (strchrnul): Do not use BP_SYM in weak_alias.
29576 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29577 "bp-asm.h".
29578 (PARMS): Do not use macros from bp-asm.h.
29579 (STOP): Likewise.
29580 (strcspn): Do not use BP_SYM.
29581 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29582 "bp-asm.h".
29583 (PARMS): Do not use macros from bp-asm.h.
29584 (STR): Likewise.
29585 (STOP): Likewise.
29586 (strpbrk): Likewise. Do not use BP_SYM.
29587 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29588 "bp-asm.h".
29589 (PARMS): Do not use macros from bp-asm.h.
29590 (STR): Likewise.
29591 (CHR): Likewise.
29592 (strrchr): Likewise. Do not use BP_SYM.
29593 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29594 (PARMS): Do not use macros from bp-asm.h.
29595 (SKIP): Likewise.
29596 (strspn): Do not use BP_SYM.
29597 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29598 (PARMS): Do not use macros from bp-asm.h.
29599 (STR): Likewise.
29600 (DELIM): Likewise.
29601 (SAVE): Likewise.
29602 (FUNCTION): Likewise. Do not use BP_SYM.
29603 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29604 aliases.
29605 (strtok_r): Likewise.
29606 (__GI___strtok_r): Likewise.
29607 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29608 (PARMS): Do not use macros from bp-asm.h.
29609 (S1): Likewise.
29610 (S2): Likewise.
29611 (SIZE): Likewise.
29612 (__mpn_sub_n): Do not use BP_SYM.
29613 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29614 "bp-asm.h".
29615 (PARMS): Do not use macros from bp-asm.h.
29616 (S1): Likewise.
29617 (SIZE): Likewise.
29618 (__mpn_submul_1): Do not use BP_SYM.
29619 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29620 <bp-sym.h>.
29621 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29622 and <bp-asm.h>.
29623 (PARMS): Do not use macros from bp-asm.h.
29624 (FLAGS): Likewise.
29625 (PTID): Likewise.
29626 (TLS): Likewise.
29627 (CTID): Likewise.
29628 (__clone): Do not use BP_SYM.
29629 (clone): Do not use BP_SYM in weak_alias.
29630 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29631 and <bp-asm.h>.
29632 (PARMS): Do not use macros from bp-asm.h.
29633 (LEN): Likewise.
29634 (__mmap64): Do not use BP_SYM.
29635 (mmap64): Do not use BP_SYM in weak_alias.
29636 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29637 <bp-sym.h> and <bp-asm.h>.
29638 (PARMS): Do not use macros from bp-asm.h.
29639 (__posix_fadvise64_l64): Do not use BP_SYM.
29640 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29641 (PARMS): Do not use macros from bp-asm.h.
29642 (NSOPS): Likewise.
29643 (semtimedop): Do not use BP_SYM.
29644 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29645 and <bp-asm.h>.
29646
582a3cff
AM
296472013-02-21 Allan McRae <allan@archlinux.org>
29648
29649 * manual/message.texi (Charset conversion in gettext):
29650 Move @end statement to beginning of line.
29651
bab8a695
SP
296522013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29653
80945231
SP
29654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29655 static.
29656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29657 Likewise.
29658
bab8a695
SP
29659 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29660 (denorm): Likewise.
29661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29663
e21d7aa7
AK
296642013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29665
29666 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29667 tail-call to the resolved function if pltexit isn't needed.
29668
4c7a4263
SP
296692013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29670
29671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29672 or Y being zero as being unlikely.
29673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29674 Likewise.
29675
41f49342
CD
296762013-02-20 Carlos O'Donell <carlos@redhat.com>
29677
29678 * manual/nss.texi (System Databases and Name Service Switch):
29679 Remove frobnicate @pxref.
29680
50022a93
TS
296812013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29682
29683 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29684 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29685
08cbd996
PM
296862013-02-20 Petr Machata <pmachata@redhat.com>
29687
29688 * elf/elf.h (R_ARM_TARGET1): New macro.
29689 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29690 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29691 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29692 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29693 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29694 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29695 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29696 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29697 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29698 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29699 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29700 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29701 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29702 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29703 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29704 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29705 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29706 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29707 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29708 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29709 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29710 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29711 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29712 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29713 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29714 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29715 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29716 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29717 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29718 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29719 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29720 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29721 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29722 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29723 (R_ARM_THM_GOT_BREL12): Likewise.
29724 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29725 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29726 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29727 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29728 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29729 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29730 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29731 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29732 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29733
c7b275d6
TS
297342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29735
29736 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29737 __attribute_used__ to __attribute__ ((unused)).
29738
20cd7fb3
SP
297392013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29740
29741 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29742 powerpc mpa.c.
29743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29744 comment formatting.
29745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29746
92945b52
JM
297472013-02-19 Joseph Myers <joseph@codesourcery.com>
29748
29749 [BZ #13550]
29750 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29751 Remove macro.
29752 (ENTER): Remove both macro definitions.
29753 (LEAVE): Likewise.
29754 (CHECK_BOUNDS_LOW): Likewise.
29755 (CHECK_BOUNDS_HIGH): Likewise.
29756 (CHECK_BOUNDS_BOTH): Likewise.
29757 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29758 (RETURN_BOUNDED_POINTER): Likewise.
29759 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29760 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29761 (POP_ERRNO_LOCATION_RETURN): Likewise.
29762 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29763 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29764 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29765 macros.
29766 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29767 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29768 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29769 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29770 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29771 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29772 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29773 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29774 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29775 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29776 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29777 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29778 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29779 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29780 removed macros.
29781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29782 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29783 macros.
29784 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29785 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29786 * sysdeps/i386/i586/memset.S (memset): Likewise.
29787 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29788 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29789 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29790 macros.
29791 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29792 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29793 Change uses of L(2) to L(out).
29794 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29795 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29796 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29797 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29798 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29799 removed macros.
29800 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29801 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29802 macros.
29803 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29804 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29805 (RETURN): Do not use macro LEAVE.
29806 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29807 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29808 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29809 * sysdeps/i386/i686/memset.S (memset): Likewise.
29810 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29811 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29812 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29813 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29814 Likewise.
29815 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29816 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29817 L(1_2) and L(1_3) into L(1).
29818 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29819 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29820 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29821 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29822 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29823 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29824 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29825 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29826 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29827 macros.
29828 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29829 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29830 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29831 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29832 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29833 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29834 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29835 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29836 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29837 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29838 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29839 * sysdeps/i386/strspn.S (strspn): Likewise.
29840 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29841 conditional code.
29842 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29843 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29844 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29845 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29846 L(1_3) into L(1_1).
29847 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29848 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29849 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29850 macros.
29851 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29852
2389741a
JJ
298532013-02-19 Jakub Jelinek <jakub@redhat.com>
29854
29855 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29856 macro.
29857
2016b3cd
SP
298582013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29859
e4f22324
SP
29860 * math/atest-exp.c (exp_mpn): Remove ROUND.
29861 * math/atest-exp2.c (exp_mpn): Likewise.
29862 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29863
2016b3cd
SP
29864 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29865 * stdlib/tst-tls-atexit-lib.c: Likewise.
29866 * stdlib/tst-tls-atexit.c: Likewise.
29867
4be9b544
MF
298682013-02-18 Mike Frysinger <vapier@gentoo.org>
29869
29870 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29871 and __attribute_alloc_size__.
29872
2f62b9ee
MF
298732013-02-18 Mike Frysinger <vapier@gentoo.org>
29874
29875 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29876 __attribute_alloc_size__.
29877 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29878 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29879
6ff444c4
MF
298802013-02-18 Mike Frysinger <vapier@gentoo.org>
29881
29882 * include/programs/xmalloc.h: New file.
29883 * catgets/gencat.c: Include it.
29884 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29885 * elf/pldd.c: Likewise.
29886 * iconv/iconv_charmap.c: Likewise.
29887 * iconv/iconvconfig.c: Likewise.
29888 * iconv/strtab.c: Likewise.
29889 * locale/programs/locale.c: Likewise.
29890 * locale/programs/localedef.h: Likewise.
29891 * locale/programs/simple-hash.c: Likewise.
29892 * nscd/nscd.h: Likewise.
29893 * nss/makedb.c: Likewise.
29894 * sysdeps/generic/ldconfig.h: Likewise.
29895
be179c8a
SP
298962013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29897
ba384f6e
SP
29898 * Versions.def: Add GLIBC_2.18.
29899 * include/link.h (struct link_map): New member l_tls_dtor_count.
29900 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29901 (__call_tls_dtors): Likewise.
29902 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29903 __cxa_thread_atexit_impl.
29904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29905 Likewise.
29906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29907 Likewise.
29908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29909 Likewise.
29910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29911 Likewise.
29912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29914 Likewise.
29915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29916 Likewise.
29917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29919 Likewise.
29920 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29921 (tests): Add test case tst-tls-atexit.
29922 (modules-names): Add shared library for tst-tls-atexit.
85891aca 29923 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
29924 (GLIBC_PRIVATE): Add __call_tls_dtors.
29925 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29926 for libstdc++.
29927 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29928 * stdlib/tst-tls-atexit.c: New test case.
29929 * stdlib/tst-tls-atexit-lib.c: New test case.
29930
ffaa74cf 29931 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 29932
be179c8a
SP
29933 * elf/Versions (ld): Add _dl_find_dso_for_object.
29934 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29935 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29936 (dl_open_worker): Use _dl_find_dso_for_object.
29937 * elf/dl-sym.c (do_sym): Likewise.
29938 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29939
f78b5caa
AK
299402013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29941
29942 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29943 Syntactic changes only.
29944 (_dl_runtime_profile): Do a tail-call to the resolved function.
29945
29691210
JM
299462013-02-17 Joseph Myers <joseph@codesourcery.com>
29947
29948 [BZ #13550]
29949 * sysdeps/x86_64/bp-asm.h: Remove file.
29950 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29951 <bp-sym.h> and <bp-asm.h>.
29952 (__clone): Do not use BP_SYM.
29953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29954 <bp-sym.h> and <bp-asm.h>.
29955 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29956 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29957 "bp-asm.h".
29958 (_setjmp): Do not use BP_SYM.
29959 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29960 "bp-asm.h".
29961 (setjmp): Do not use BP_SYM.
29962 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29963 libc_hidden_def.
29964 (mempcpy): Do not use BP_SYM in weak_alias.
29965 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29966 "bp-asm.h".
29967 (strchr): Do not use BP_SYM.
29968 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29969 "bp-asm.h".
29970 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29971 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29972 (_start): Do not use BP_SYM.
29973 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29974 "bp-asm.h".
29975 (strcat): Do not use BP_SYM.
29976 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29977 "bp-asm.h".
29978 (STRCMP): Do not use BP_SYM.
29979 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29980 "bp-asm.h".
29981 (STRCPY): Do not use BP_SYM.
29982 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29983 "bp-asm.h".
29984 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29985 "bp-asm.h".
29986 (FUNCTION): Do not use BP_SYM.
29987 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29988 weak_alias.
29989 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29990
f238fd19
AJ
299912013-02-17 Andreas Jaeger <aj@suse.de>
29992
29993 * time/Versions: Sort entries.
29994 * string/Versions: Likewise.
29995 * resolv/Versions: Likewise.
29996 * posix/Versions: Likewise.
29997 * iconv/Versions: Likewise.
29998 * elf/Versions: Likewise.
29999 * wcsmbs/Versions: Likewise.
30000
bd07f23c 300012013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30002
22af19f9
SP
30003 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30004 loop termination condition.
30005
4709fe76
SP
30006 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30007 variable to calculate EZ.
30008 (__sqr): Likewise.
2d0e0f29
SP
30009
30010 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30011 the lower precision input.
30012
daaa7713
JM
300132013-02-15 Joseph Myers <joseph@codesourcery.com>
30014
30015 [BZ #13550]
30016 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30017 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30018 (run-via-rtld-prefix): Do not handle %-bp tests.
30019 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30020 (all-object-suffixes): Remove .ob.
30021 (bppfx): Remove variable.
30022 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30023 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30024 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30025 [$(build-bounded) = yes] (libtype.ob): Likewise.
30026 * Makerules (elide-routines.ob): Remove variable.
30027 (do-tests-clean): Do not handle *-bp.out.
30028 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30029 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30030 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30031 (tests): Do not include $(tests-bp.out).
30032 (xtests): Do not include $(xtests-bp.out).
30033 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30034 [$(build-bounded) = yes] ($(addprefix
30035 $(objpfx),$(binaries-bounded))): Remove rule.
30036 ($(objpfx)%-bp.out): Remove rule.
30037 * config.make.in (build-bounded): Remove variable.
30038 * crypt/Makefile [$(build-bounded) = yes]
30039 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30040 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30041 append to variable.
30042 [$(build-bounded) = yes] (install-lib): Likewise.
30043 [$(build-bounded) = yes] (generated): Likewise.
30044 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30045 Remove rule.
30046 * intl/Makefile [$(build-bounded) = yes]
30047 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30048 * math/Makefile [$(build-bounded) = yes]
30049 ($(tests:%=$(objpfx)%-bp): Likewise.
30050 * misc/Makefile [$(build-bounded) = yes]
30051 ($(objpfx)tst-tsearch-bp): Likewise.
30052 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30053 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30054 Remove dependency.
30055 * string/Makefile (o-objects.ob): Remove variable.
30056 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30057 (CFLAGS-.ob): Remove variable.
30058 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30059 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30060 both definitions of variable.
30061 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30062 (ASFLAGS-.ob): Remove variable.
30063
e97ed6dd
JM
300642013-02-14 Joseph Myers <joseph@codesourcery.com>
30065
2bdd4ca6
JM
30066 [BZ #13550]
30067 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30068 Remove __BOUNDED_POINTERS__ from condition.
30069 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30070 * string/bits/string2.h [!__NO_STRING_INLINES &&
30071 !__BOUNDED_POINTERS__]: Likewise.
30072 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30073 Likewise.
30074 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30075 Remove conditional code.
30076 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30077 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30078 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30079 condition.
30080
e97ed6dd
JM
30081 [BZ #13550]
30082 * csu/libc-start.c: Do not include <bp-sym.h>.
30083 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30084 * elf/dl-open.c: Do not include <bp-sym.h>.
30085 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30086 * math/fegetenv.c: Do not include <bp-sym.h>.
30087 (fegetenv): Do not use BP_SYM in versioned symbols.
30088 * nptl/sysdeps/pthread/bits/libc-lockP.h
30089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30090 <bp-sym.h>.
30091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30092 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30094 (__pthread_mutex_destroy): Likewise.
30095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30096 (__pthread_mutex_lock): Likewise.
30097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30098 (__pthread_mutex_trylock): Likewise.
30099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30100 (__pthread_mutex_unlock): Likewise.
30101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30102 (__pthread_mutexattr_init): Likewise.
30103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30104 (__pthread_mutexattr_destroy): Likewise.
30105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30106 (__pthread_mutexattr_settype): Likewise.
30107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30108 (__pthread_rwlock_init): Likewise.
30109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30110 (__pthread_rwlock_destroy): Likewise.
30111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30112 (__pthread_rwlock_rdlock): Likewise.
30113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30114 (__pthread_rwlock_tryrdlock): Likewise.
30115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30116 (__pthread_rwlock_wrlock): Likewise.
30117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30118 (__pthread_rwlock_trywrlock): Likewise.
30119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30120 (__pthread_rwlock_unlock): Likewise.
30121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30122 (__pthread_key_create): Likewise.
30123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30124 (__pthread_setspecific): Likewise.
30125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30126 (__pthread_getspecific): Likewise.
30127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30128 Likewise.
30129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30130 (_pthread_cleanup_push_defer): Likewise.
30131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30132 (_pthread_cleanup_pop_restore): Likewise.
30133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30134 (pthread_setcancelstate): Likewise.
30135 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30136 <bp-sym.h>.
30137 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30138 (memchr): Do not use BP_SYM in weak_alias.
30139 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30140 (fegetenv): Do not use BP_SYM in versioned symbols.
30141 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30142 (fesetenv): Do not use BP_SYM in versioned symbols.
30143 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30144 (feupdateenv): Do not use BP_SYM in versioned symbols.
30145 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30146 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30147 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30148 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30149 (open64): Do not use BP_SYM in weak_alias.
30150 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30151 (fegetenv): Do not use BP_SYM in versioned symbols.
30152 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30153 (fesetenv): Do not use BP_SYM in versioned symbols.
30154 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30155 (feupdateenv): Do not use BP_SYM in versioned symbols.
30156 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30157 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30158 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30159 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30160 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30161 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30162 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30163 <bp-sym.h>.
30164 (__libc_start_main): Do not use BP_SYM.
30165
d6752ccd
SP
301662013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30167
cb57ce60
SP
30168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30169 redundant return line.
30170 (norm): Likewise.
30171 (denorm): Likewise.
30172 (dbl_mp): Likewise.
30173 (sub_magnitudes): Likewise.
30174 (__add): Likewise.
30175 (__sub): Likewise.
30176 (__mul): Likewise.
30177 (__inv): Likewise.
30178 (__dvd): Likewise.
30179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30180 (norm): Likewise.
30181 (denorm): Likewise.
30182 (dbl_mp): Likewise.
30183 (sub_magnitudes): Likewise.
30184 (__add): Likewise.
30185 (__sub): Likewise.
30186 (__mul): Likewise.
30187 (__inv): Likewise.
30188 (__dvd): Likewise.
30189
f414520d
SP
30190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30191 instead of __mul.
30192 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30193 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30194 (cc32): Likewise.
30195
d6752ccd
SP
30196 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30197 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30198 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30199 of __mul for squares.
30200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30201 function
30202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30203 Likewise.
30204 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30205 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30206
70d9946a
JM
302072013-02-13 Joseph Myers <joseph@codesourcery.com>
30208
30209 [BZ #13550]
30210 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30211 code.
30212 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30213 prototype or function definition. Rename ubp_* variables and
30214 parameters. Remove argv definitions conditional on
30215 [__BOUNDED_POINTERS__].
30216 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30217 * elf/dl-runtime.c (_dl_fixup): Likewise.
30218 * include/set-hooks.h (RUN_HOOK): Likewise.
30219 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30220 definition.
30221 * string/strcpy.c (strcpy): Do not use __unbounded.
30222 * sysdeps/generic/frame.h (struct layout): Likewise.
30223 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30224 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30225 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30226 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30227 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30228 (__backtrace): Likewise.
30229 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30230 use __ptrvalue.
30231 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30232 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30233 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30234 Likewise.
30235 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30236 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30237 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30238 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30239 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30240 Do not use __unbounded.
30241 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30242 Rename __unboundedrlimits parameter to rlimits in prototype.
30243 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30244 Do not use __unbounded.
30245 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30246 not use __ptrvalue.
30247 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30248 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30249 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30250 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30251 __ptrvalue or __unbounded.
30252 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30253 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30254 use __unbounded.
30255 (__new_msgctl): Do not use __ptrvalue.
30256 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30257 __unbounded.
30258 (__libc_msgrcv): Do not use __ptrvalue.
30259 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30260 startup_info): Do not use __unbounded.
30261 (__libc_start_main): Likewise. Rename ubp_* variables and
30262 parameters. Remove argv definitions conditional on
30263 [__BOUNDED_POINTERS__].
30264 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30265 __ptrvalue.
30266 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30267 use __unbounded.
30268 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30269 or __ptrvalue.
30270 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30271 use __unbounded.
30272 (__new_shmctl): Do not use __ptrvalue.
30273 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30274 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30275 Likewise.
30276 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30277 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30278 (__libc_sigaction): Likewise.
30279 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30280 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30281 Likewise.
30282 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30283
cc7834d6
OB
302842013-02-13 Ondřej Bílka <neleai@seznam.cz>
30285
ffb1ec7b 30286 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30287
30288 * string/mempcpy.c: Implement by calling memcpy.
30289
bdf02814
SP
302902013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30291
c2af38aa
SP
30292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30293
4e92d59e
SP
30294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30295 evaluation.
30296
909279a5
SP
30297 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30298 values in the mantissa.
30299
bdf02814
SP
30300 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30301 minimize writes to Z.
30302 (sub_magnitudes): Simplify code a bit.
30303
cd525923
RM
303042013-02-12 Roland McGrath <roland@hack.frob.com>
30305
30306 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30307 from the message. The linker prefixes all warnings with that already.
30308
7e2f0d2d
AS
303092013-02-12 Andreas Schwab <schwab@suse.de>
30310
a445af0b
AS
30311 [BZ #15078]
30312 * posix/regexec.c (extend_buffers): Add parameter min_len.
30313 (check_matching): Pass minimum needed length.
30314 (clean_state_log_if_needed): Likewise.
30315 (get_subexp): Likewise.
30316 * posix/Makefile (tests): Add bug-regex34.
30317 (bug-regex34-ENV): Define.
30318 * posix/bug-regex34.c: New file.
30319
7e2f0d2d
AS
30320 [BZ #11561]
30321 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30322 elements compare against the byte sequence of it, not its name.
30323 * posix/Makefile (tests): Add bug-regex35.
30324 (bug-regex35-ENV): Define.
30325 * posix/bug-regex35.c: New file.
30326
a175b684
TV
303272013-02-11 Tom de Vries <tom@codesourcery.com>
30328
30329 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30330 comment.
30331 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30332 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30333 (CHECK_EOL): Add undef.
30334
310998fe 303352013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30336
30337 * bits/stdlib-bsearch.h: New file.
30338 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30339 * stdlib/stdlib.h: Likewise.
41eda41d 30340
8ded91fb
RM
303412013-02-11 Roland McGrath <roland@hack.frob.com>
30342
30343 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30344 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30345 declaration.
30346 * manual/search.texi (Array Search Function): Add missing const in
30347 lfind prototype.
30348 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30349 declaration to use rlim_t.
30350 (Basic Scheduling Functions): Remove erroneous const from
30351 sched_getparam prototype. Remove erroneous * from
30352 sched_get_priority_max and sched_get_priority_min prototypes.
30353 (Resource Usage): Fix summary @comment on vtimes to refer to
30354 sys/vtimes.h rather than vtimes.h.
30355 Add missing *s in vtimes prototype.
30356 (Limits on Resources): Fix ulimit prototype to return long int.
30357 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30358 prototypes to use long int rather than double.
30359 (BSD Random): Fix initstate and setstate to use char *, not void *.
30360 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30361 prototype to make second argument 'struct aiocb64 *const[]'.
30362 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30363 (Status of AIO Operations): Remove erroneous const in aio_return and
30364 aio_return64 prototypes.
30365 (Synchronizing I/O): Fix sync prototype to return void.
30366 * manual/startup.texi (Suboptions): Remove an erroneous const in
30367 getsubopt prototype.
30368 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30369 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30370 use size_t rather than int.
30371 (Scanning All Users): Likewise for getpwent_r.
30372 (Setting Groups): Add missing const to setgroups prototype.
30373 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30374 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30375 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30376 'const void *' rather than 'const char *'.
30377 (Host Address Functions): Likewise for inet_ntop.
30378 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30379 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30380 ssize_t for return value.
30381 (Sending Data): Likewise for send, sendto, sendmsg.
30382 (Socket Option Functions): Add a missing const in setsockopt prototype.
30383 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30384 use wchar_t for the argument.
30385 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30386 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30387 take no arguments.
30388 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30389 double/float/long double for second argument.
30390 Fix return types of significand, significandf, significandl.
30391 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30392 argument in fchmod prototype.
30393 (File Owner): Use uid_t and gid_t in fchown prototype.
30394 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30395 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30396 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30397 use 'const struct dirent **' as argument types to CMP function pointer
30398 argument.
30399 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30400 (File Times): Fix summary magic @comment for struct utimbuf and utime
30401 to refer to utime.h, not time.h.
30402 * manual/string.texi (Argz Functions): Add missing const in
30403 argz_extract and argz_next prototypes.
30404 (Finding Tokens in a String): Likewise for basename.
30405 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30406 (Copying and Concatenation): Fix typo in wmemmove prototype.
30407 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30408 (Signal Stack): Remove erroneous const in sigstack prototype.
30409 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30410 prototype.
30411 (Simple Calendar Time): Likewise for stime.
30412 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30413 prototype.
30414 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30415 say sys/sysctl.h instead.
30416 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30417 and vsyslog prototypes.
30418
fe77fe6d
TV
304192013-02-11 Tom de Vries <tom@codesourcery.com>
30420
30421 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30422 Remove.
30423
3a09b620
RM
304242013-02-11 Roland McGrath <roland@hack.frob.com>
30425
30426 * misc/sys/mman.h: Fix typo in mremap comment.
30427
550a0b89
RM
304282013-02-08 Roland McGrath <roland@hack.frob.com>
30429
30430 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30431 the '\0' terminator.
30432
a2da1673
JM
304332013-02-08 Joseph Myers <joseph@codesourcery.com>
30434
30435 [BZ #13550]
30436 * debug/segfault.c: Don't include <bp-checks.h>.
30437 * sysdeps/generic/bp-checks.h: Remove file.
30438 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30439 (__GETDENTS): Don't use CHECK_N.
30440 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30441 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30442 (__getgroups): Don't use CHECK_N.
30443 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30444 (setgroups): Don't use CHECK_N.
30445 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30446 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30447 (__libc_msgrcv): Don't use CHECK_N.
30448 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30449 (__libc_msgsnd): Don't use CHECK_N.
30450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30451 <bp-checks.h>.
30452 (__libc_pread): Don't use CHECK_N.
30453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30454 include <bp-checks.h>.
30455 (__libc_pread64): Don't use CHECK_N.
30456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30457 include <bp-checks.h>.
30458 (__libc_pwrite): Don't use CHECK_N.
30459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30460 include <bp-checks.h>.
30461 (__libc_pwrite64): Don't use CHECK_N.
30462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30463 <bp-checks.h>.
30464 (__libc_pread): Don't use CHECK_N.
30465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30466 include <bp-checks.h>.
30467 (__libc_pread64): Don't use CHECK_N.
30468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30469 include <bp-checks.h>.
30470 (__libc_pwrite): Don't use CHECK_N.
30471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30472 include <bp-checks.h>.
30473 (__libc_pwrite64): Don't use CHECK_N.
30474 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30475 (do_pread): Don't use CHECK_N.
30476 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30477 (do_pread64): Don't use CHECK_N.
30478 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30479 (do_pwrite): Don't use CHECK_N.
30480 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30481 (do_pwrite64): Don't use CHECK_N.
30482 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30483 (__libc_readv): Don't use CHECK_N.
30484 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30485 (semop): Don't use CHECK_N.
30486 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30487 <bp-checks.h>.
30488 (semtimedop): Don't use CHECK_N.
30489 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30490 (__libc_pread): Don't use CHECK_N.
30491 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30492 <bp-checks.h>.
30493 (__libc_pread64): Don't use CHECK_N.
30494 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30495 <bp-checks.h>.
30496 (__libc_pwrite): Don't use CHECK_N.
30497 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30498 <bp-checks.h>.
30499 (__libc_pwrite64): Don't use CHECK_N.
30500 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30501 <bp-checks.h>.
30502 (__libc_msgrcv): Don't use CHECK_N.
30503 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30504 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30505 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30506 (__libc_writev): Don't use CHECK_N.
30507
b84660a8
RM
305082013-02-08 Roland McGrath <roland@hack.frob.com>
30509
7f3e75f8
RM
30510 * string/strcpy.c: Removed unused variable.
30511
b84660a8
RM
30512 * Makeconfig (+sysdep-includes): Define with := rather than =.
30513 Use an existing include/ subdir of each sysdeps dir before it.
30514
471514d3
CD
305152013-02-08 Carlos O'Donell <carlos@redhat.com>
30516
30517 * nscd/connection.c (register_traced_file): Comment function.
30518 [HAVE_INOTIFY] (union __inev): Define.
30519 [HAVE_INOTIFY] (inotify_check_files): New function.
30520 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30521 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30522 clear_db_cache.
30523 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30524
b2d3c3be
CD
305252013-02-08 Carlos O'Donell <carlos@redhat.com>
30526
30527 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30528 loaded if not already and that a failure is permanent.
30529
b39949d2
CD
305302013-02-08 Carlos O'Donell <carlos@redhat.com>
30531
ddacd1db 30532 [BZ #15006]
b39949d2
CD
30533 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30534 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30535
b2c9eff4
JM
305362013-02-08 Joseph Myers <joseph@codesourcery.com>
30537
f3aae3f3
JM
30538 [BZ #13550]
30539 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30540 (CHECK_1_NULL_OK): Likewise.
30541 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30542 (__fxstat): Do not use CHECK_1.
30543 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30544 <bp-checks.h>.
30545 (___fxstat64): Do not use CHECK_1.
30546 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30547 <bp-checks.h>.
30548 (__fxstatat): Do not use CHECK_1.
30549 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30550 <bp-checks.h>.
30551 (__fxstatat64): Do not use CHECK_1.
30552 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30553 <bp-checks.h>.
30554 (__fxstat): Do not use CHECK_1.
30555 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30556 <bp-checks.h>.
30557 (__fxstatat): Do not use CHECK_1.
30558 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30559 <bp-checks.h>.
30560 (__getresgid): Do not use CHECK_1.
30561 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30562 <bp-checks.h>.
30563 (__getresuid): Do not use CHECK_1.
30564 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30565 <bp-checks.h>.
30566 (__lxstat): Do not use CHECK_1.
30567 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30568 <bp-checks.h>.
30569 (__old_msgctl): Do not use CHECK_1.
30570 (__new_msgctl): Likewise.
30571 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30572 <bp-checks.h>.
30573 (__new_setrlimit): Do not use CHECK_1.
30574 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30575 <bp-checks.h>.
30576 (__old_shmctl): Do not use CHECK_1.
30577 (__new_shmctl): Likewise.
30578 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30579 <bp-checks.h>.
30580 (__xstat): Do not use CHECK_1.
30581 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30582 (__lxstat): Do not use CHECK_1.
30583 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30584 <bp-checks.h>.
30585 (___lxstat64): Do not use CHECK_1.
30586 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30587 (__old_msgctl): Do not use CHECK_1.
30588 (__new_msgctl): Likewise.
30589 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30590 <bp-checks.h>.
30591 (__gettimeofday): Do not use CHECK_1.
30592 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30593 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30594 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30595 <bp-checks.h>.
30596 (__gettimeofday): Do not use CHECK_1.
30597 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30598 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30599 (__new_shmctl): Do not use CHECK_1.
30600 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30601 <bp-checks.h>.
30602 (do_sigtimedwait): Do not use CHECK_1.
30603 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30604 <bp-checks.h>.
30605 (do_sigwaitinfo): Do not use CHECK_1.
30606 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30607 <bp-checks.h>.
30608 (msgctl): Do not use CHECK_1.
30609 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30610 <bp-checks.h>.
30611 (shmctl): Do not use CHECK_1.
30612 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30613 (ustat): Do not use CHECK_1.
30614 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30615 <bp-checks.h>.
30616 (__fxstat): Do not use CHECK_1.
30617 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30618 <bp-checks.h>.
30619 (__fxstatat): Do not use CHECK_1.
30620 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30621 <bp-checks.h>.
30622 (__lxstat): Do not use CHECK_1.
30623 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30624 <bp-checks.h>.
30625 (__xstat): Do not use CHECK_1.
30626 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30627 (__xstat): Do not use CHECK_1.
30628 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30629 (___xstat64): Do not use CHECK_1.
30630
b2c9eff4
JM
30631 [BZ #13550]
30632 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30633 definitions.
30634 (CHECK_BOUNDS_HIGH): Likewise.
30635 * string/strcpy.c: Do not include <bp-checks.h>.
30636 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30637
f1d70dad
RM
306382013-02-07 Roland McGrath <roland@hack.frob.com>
30639
30640 * nscd/nscd-client.h (__nscd_drop_map_ref):
30641 Add __attribute__ ((unused)).
30642 * nis/nss-nisplus.h (niserr2nss): Likewise.
30643
30644 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30645 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30646
30647 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30648 Remove inline keyword.
30649 * include/rounding-mode.h (round_away): Likewise.
30650 * libio/wfileops.c (adjust_wide_data): Likewise.
30651 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30652 (__m128i_strloadu_tolower): Likewise.
30653 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30654 (__m128i_strloadu_tolower): Likewise.
30655 * time/mktime.c (ydhms_diff): Likewise.
30656 * locale/elem-hash.h (elem_hash): Likewise.
30657 * locale/setlocale.c (setdata): Likewise.
30658 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30659 (re_string_wchar_at): Likewise.
30660 (bitset_not, bitset_merge, bitset_mask): Likewise.
30661 [!(__GNUC__ > 3)] (inline): Remove macro.
30662 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30663 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30664 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30665 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30666 * string/memcmp.c (memcmp_bytes): Likewise.
30667 * locale/programs/locarchive.c (compute_hashval): Likewise.
30668 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30669 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30670 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30671 * nss/getent.c (print_rpc, print_protocols): Likewise.
30672 (print_passwd, print_group, print_aliases): Likewise.
30673 * nis/nss-nisplus.h (niserr2nss): Likewise.
30674 * nscd/connections.c (restart_p): Likewise.
30675 Change return type to bool.
30676
eab55bfb
RM
306772013-02-05 Roland McGrath <roland@hack.frob.com>
30678
7bd642f5
RM
30679 * Makeconfig (all-Depend-files): Add existing
30680 $(sorted-subdirs:=/Depend) files.
30681 (all-subdirs): Remove nss.
30682 * sysdeps/unix/inet/Subdirs: Add it here instead.
30683 * hesiod/Depend: New file.
30684
573c29b2
RM
30685 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30686 instead of calling alloca.
30687
b2e25af0
RM
30688 * io/lseek.c (__lseek): Rename to __libc_lseek.
30689 Define __lseek as an alias.
30690
eab55bfb
RM
30691 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30692
9a0d1941
CD
306932013-02-04 Carlos O'Donell <carlos@redhat.com>
30694
30695 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30696 else clause and remove check for non-standard endianness.
30697
b83bbec4
DM
306982013-02-04 David S. Miller <davem@davemloft.net>
30699
30700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30701
6277fdab
JM
307022013-02-04 Joseph Myers <joseph@codesourcery.com>
30703
30704 [BZ #13550]
30705 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30706 (__ubp_memchr): Remove prototype.
30707 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30708 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30709 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30710 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30711 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30712 Remove alias.
30713 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30714 (__ubp_memchr): Likewise.
30715 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30716 (__ubp_memchr): Likewise.
30717 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30718 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30719 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30720 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30721 CHECK_STRING.
30722 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30723 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30724 (__getcwd): Do not use CHECK_STRING.
30725 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30726 <bp-checks.h>.
30727 (__real_chown): Do not use CHECK_STRING.
30728 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30729 <bp-checks.h>.
30730 (fchownat): Do not use CHECK_STRING.
30731 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30732 CHECK_STRING.
30733 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30734 <bp-checks.h>.
30735 (__lchown): Do not use CHECK_STRING.
30736 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30737 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30738 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30739 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30741 include <bp-checks.h>.
30742 (truncate64): Do not use CHECK_STRING.
30743 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30744 <bp-checks.h>.
30745 (__real_chown): Do not use CHECK_STRING.
30746 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30747 <bp-checks.h>.
30748 (__lchown): Do not use CHECK_STRING.
30749 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30750 <bp-checks.h>.
30751 (__chown): Do not use CHECK_STRING.
30752 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30753 <bp-checks.h>.
30754 (truncate64): Do not use CHECK_STRING.
30755 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30756 Likewise.
30757 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30758 (__xmknod): Do not use CHECK_STRING.
30759 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30760 <bp-checks.h>.
30761 (__xmknodat): Do not use CHECK_STRING.
30762 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30763 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30764
903ae060
AS
307652013-02-04 Andreas Schwab <schwab@suse.de>
30766
30767 [BZ #14142]
30768 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30769 * include/netdb.h: Likewise for h_errno.
30770 * elf/tst-stackguard1.c: Include <tls.h>.
30771
542f9466
JK
307722013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30773
30774 * elf/link.h (struct link_map): Extend the l_addr comment.
30775 * include/link.h (struct link_map): Likewise.
30776
e782a927
JM
307772013-02-01 Joseph Myers <joseph@codesourcery.com>
30778
30779 [BZ #13550]
30780 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30781 (BOUNDED_1): Remove macro.
30782 * debug/backtrace.c: Don't include <bp-checks.h>.
30783 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30784 (__backtrace): Likewise.
30785 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30786 <bp-checks.h>.
30787 (__backtrace): Don't use BOUNDED_1.
30788 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30789 <bp-checks.h>.
30790 (__backtrace): Don't use BOUNDED_1.
30791 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30792 (__backtrace): Don't use BOUNDED_1.
30793 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30794 (shmat): Don't use BOUNDED_N.
30795
8cf28c5e
JM
307962013-01-31 Joseph Myers <joseph@codesourcery.com>
30797
3a7ac8a0
JM
30798 [BZ #13550]
30799 * sysdeps/generic/bp-start.h: Remove file.
30800 * csu/libc-start.c: Don't include <bp-start.h>.
30801 (LIBC_START_MAIN): Set up __environ directly instead of using
30802 INIT_ARGV_and_ENVIRON.
30803 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30804 <bp-start.h>.
30805
f3499f95
JM
30806 [BZ #13550]
30807 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30808 definitions.
30809 (CHECK_FCNTL): Likewise.
30810 (CHECK_N_PAGES): Likewise.
30811
32a45bea
JM
30812 [BZ #13550]
30813 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30814 definitions.
30815 (CHECK_SIGSET_NULL_OK): Likewise.
30816 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30817 <bp-checks.h>.
30818 (sigpending): Don't use CHECK_SIGSET.
30819 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30820 <bp-checks.h>.
30821 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30822 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30823 <bp-checks.h>.
30824 (do_sigsuspend): Don't use CHECK_SIGSET.
30825 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30826 use CHECK_SIGSET.
30827 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30828 (do_sigwait): Don't use CHECK_SIGSET.
30829 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30830 use CHECK_SIGSET.
30831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30832 include <bp-checks.h>.
30833 (sigpending): Don't use CHECK_SIGSET.
30834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30835 include <bp-checks.h>.
30836 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30837 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30838 <bp-checks.h>.
30839 (sigpending): Don't use CHECK_SIGSET.
30840 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30841 <bp-checks.h>.
30842 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30843
2e8a5c8c
JM
30844 [BZ #13550]
30845 * sysdeps/generic/bp-semctl.h: Remove file.
30846 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30847 <bp-checks.h> and <bp-semctl.h>.
30848 (__old_semctl): Don't use CHECK_SEMCTL.
30849 (__new_semctl): Likewise.
30850 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30851 and <bp-semctl.h>.
30852 (__old_semctl): Don't use CHECK_SEMCTL.
30853 (__new_semctl): Likewise.
30854 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30855 <bp-checks.h> and <bp-semctl.h>.
30856 (__old_semctl): Don't use CHECK_SEMCTL.
30857 (__new_semctl): Likewise.
30858 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30859 <bp-checks.h> and <bp-semctl.h>.
30860 (semctl): Don't use CHECK_SEMCTL.
30861
c2d54929
JM
30862 [BZ #13550]
30863 * Makerules (elide-bp-thunks): Remove variable.
30864 (elide-routines.oS): Don't use $(elide-bp-thunks).
30865 (elide-routines.os): Likewise.
30866 (elide-routines.o): Likewise.
30867 (elide-routines.op): Likewise.
30868 (elide-routines.og): Likewise.
30869 (objects): Don't use $(bp-thunks).
30870 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30871 include.
30872 (common-generated): Do not add s-proto-bp.d.
30873 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30874 (int): Likewise.
30875 (typ): Likewise.
30876 Do not generate makefile rules for bounded-pointer thunks.
30877 * sysdeps/generic/bp-thunks.h: Remove file.
30878 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30879 * sysdeps/unix/s-proto-bp.S: Likewise.
30880
8cf28c5e
JM
30881 [BZ #15062]
30882 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30883 parts of result separately when argument is not close to line from
30884 -i to i and one part of argument is small.
30885 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30886 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30887 * math/libm-test.inc (cacos_test): Add more tests.
30888 (casin_test): Likewise.
30889 (casinh_test): Likewise.
30890 * sysdeps/i386/fpu/libm-test-ulps: Update.
30891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30892
c4e33b8d
DM
308932013-01-31 David S. Miller <davem@davemloft.net>
30894
30895 * po/de.po: Update from translation team.
30896
3b60b421
MK
308972013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30898
30899 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30900
bb931195
TS
309012013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30902
b5a5da23
TS
30903 * configure.in (_AC_PROG_CC_C89): New definition.
30904 * configure: Regenerate.
30905
bb931195
TS
30906 * configure.in (AC_PROG_CPP): New definition.
30907 * configure: Regenerate.
30908
8c53a12c
JM
309092013-01-23 Joseph Myers <joseph@codesourcery.com>
30910
30911 * debug/tst-backtrace.h: New file.
30912 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30913 (ret): Remove variable.
30914 (x): Likewise.
30915 (FAIL): Remove macro.
30916 (NO_INLINE): Likewise.
30917 (fn1): Use match function instead of strstr.
30918 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30919 (ret): Remove variable.
30920 (x): Likewise.
30921 (FAIL): Remove macro.
30922 (NO_INLINE): Likewise.
30923 (fn): Use match function instead of strstr.
30924 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30925 (ret): Remove variable.
30926 (x): Likewise.
30927 (FAIL): Remove macro.
30928 (NO_INLINE): Likewise.
30929 (handle_signal): Use match function instead of strstr.
30930 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30931 (ret): Remove variable.
30932 (x): Likewise.
30933 (FAIL): Remove macro.
30934 (NO_INLINE): Likewise.
30935 (handle_signal): Use match function instead of strstr.
30936
4858fa2a
RM
309372013-01-23 Roland McGrath <roland@hack.frob.com>
30938
30939 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30940
bae8e7f5
DM
309412013-01-23 David S. Miller <davem@davemloft.net>
30942
30943 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30944 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30945 argument of CAS if possible.
30946 * sysdeps/sparc/sparc64/bits/atomic.h
30947 (__arch_compare_and_exchange_val_32_acq): Likewise.
30948 (__arch_compare_and_exchange_val_64_acq): Likewise.
30949
9cbbc4ae
PT
309502013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30951
30952 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30953 * sysdeps/posix/ulimit.c: ... this.
92a601b8 30954 Include <limits.h>.
67b3f58c 30955 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 30956
5655a0b5
AC
309572013-01-23 Adam Conrad <adconrad@0c3.net>
30958
30959 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30960 (LDFLAGS-tst-array5): Likewise.
30961
052aff95
JM
309622013-01-23 Joseph Myers <joseph@codesourcery.com>
30963
30964 [BZ #15036]
30965 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30966 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30967 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30968 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30969
7c1e01aa
DM
309702013-01-21 David S. Miller <davem@davemloft.net>
30971
30972 * sysdeps/sparc/backtrace.c: New file.
30973 * sysdeps/sparc/sparc32/backtrace.h: New file.
30974 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30975 * sysdeps/sparc/sparc64/backtrace.h: New file.
30976 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30977 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30978 -funwind-tables.
30979
ab087e0a
AS
309802013-01-21 Andreas Schwab <schwab@suse.de>
30981
30982 [BZ #15020]
30983 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30984 closed its stdout.
30985
ed689c2f
AS
309862013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30987
30988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30989 "mpa2.h".
30990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30991
31d470ac
JM
309922013-01-18 Joseph Myers <joseph@codesourcery.com>
30993 Mark Mitchell <mark@codesourcery.com>
30994 Tom de Vries <tom@codesourcery.com>
30995 Paul Pluzhnikov <ppluzhnikov@google.com>
30996
30997 * debug/tst-backtrace2.c: New file.
30998 * debug/tst-backtrace3.c: Likewise.
30999 * debug/tst-backtrace4.c: Likewise.
31000 * debug/tst-backtrace5.c: Likewise.
31001 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31002 (CFLAGS-tst-backtrace3.c): Likewise.
31003 (CFLAGS-tst-backtrace4.c): Likewise.
31004 (CFLAGS-tst-backtrace5.c): Likewise.
31005 (LDFLAGS-tst-backtrace2): Likewise.
31006 (LDFLAGS-tst-backtrace3): Likewise.
31007 (LDFLAGS-tst-backtrace4): Likewise.
31008 (LDFLAGS-tst-backtrace5): Likewise.
31009 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31010 tst-backtrace4 and tst-backtrace5.
31011
90567f30 310122013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31013 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31014
31015 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31016 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31017 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31018 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31020 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31021 "+r" and remove output regs list as redundant. Add explicit inline
31022 asm to specify register of return val to work around compiler codegen
31023 bug. Remove (int) cast on return value. Add return type parameter to
31024 use in macro so that this macro does not truncate return value for
31025 64-bit values.
31026 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31027 pass to INTERNAL_VSYSCALL_NCS.
31028 (INLINE_VSYSCALL): Add 'long int' as return type to
31029 INTERNAL_VSYSCALL_NCS macro invocation.
31030 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31031 INTERNAL_VSYSCALL_NCS macro invocation.
31032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31033
d3b9ea61
SP
310342013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31035
0b57daeb
SP
31036 [BZ #14496]
31037 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31038 Fix application of SIMD FP exception mask.
31039
caa99d06
SP
31040 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31041 mp_no from a power of two.
31042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31043 __mpexp_twomm1. Use __pow_mp.
31044
d3b9ea61
SP
31045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31046 multiplication.
31047
1dbaee3c
DM
310482013-01-17 David S. Miller <davem@davemloft.net>
31049
31050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31051
728d7b43
JM
310522013-01-17 Joseph Myers <joseph@codesourcery.com>
31053
31054 [BZ #15023]
31055 * include/complex.h: Condition contents on [!_COMPLEX_H].
31056 (__kernel_casinhf): New prototype.
31057 (__kernel_casinh): Likewise.
31058 (__kernel_casinhl): Likewise.
31059 * math/Makefile (libm_calls): Add k_casinh.
31060 * math/k_casinh.c: New file.
31061 * math/k_casinhf.c: Likewise.
31062 * math/k_casinhl.c: Likewise.
31063 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31064 finite nonzero arguments.
31065 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31066 finite nonzero arguments.
31067 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31068 finite nonzero arguments.
31069 * math/s_casinh.c: Do not include <float.h>.
31070 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31071 * math/s_casinhf.c: Do not include <float.h>.
31072 (__casinhf): Move code for finite nonzero arguments to
31073 k_casinhf.c.
31074 * math/s_casinhl.c: Do not include <float.h>.
31075 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31076 redefine.
31077 (__casinhl): Move code for finite nonzero arguments to
31078 k_casinhl.c.
31079 * math/libm-test.inc (cacos_test): Add more tests.
31080 * sysdeps/i386/fpu/libm-test-ulps: Update.
31081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31082
2a26ef3a
PT
310832013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31084
31085 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31086 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31087 [!HAVE_MREMAP]: Remove [defined linux] case.
31088 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31089
a897655d
SP
310902013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31091
31092 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31093
881ebe89 310942013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31095
31096 * elf/elf.h (R_386_SIZE32): New relocation.
31097 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31098 R_386_SIZE32.
31099 (elf_machine_rela): Likewise.
31100 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31101 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31102
59981e9b
JM
311032013-01-17 Joseph Myers <joseph@codesourcery.com>
31104
31105 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31106 (FP_FAST_FMA): Do not define.
31107 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31108 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31109 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31110 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31111 !_SOFT_FLOAT]: Likewise.
31112 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31113 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31114 value.
31115 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31116 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31117 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31118 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31119 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31120 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31121 file.
31122
cfa8054f
AS
311232013-01-16 Andreas Schwab <schwab@suse.de>
31124
31125 [BZ #14327]
31126 * include/stdlib.h (__mktemp): Add declaration.
31127 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31128 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31129
dd930cc5
SP
311302013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31131
881ebe89
SP
31132 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31133 definitions.
31134 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31135 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31136 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31137 definitions here.
31138 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31139 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31140 definitions.
31141 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31142 and ONE.
31143 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31144 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31145 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31146 definitions.
31147 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31148 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31149 definitions.
31150 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31151
dd930cc5
SP
31152 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31153
c19a9f89
DM
311542013-01-15 David S. Miller <davem@davemloft.net>
31155
1aa61767
DM
31156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31157 trunc{,f} to libm-sysdep_routes.
31158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31160 file.
31161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31163 file.
31164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31165 file.
31166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31168 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31169 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31170 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31171 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31172 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31173 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31174
c42d5e98
DM
31175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31176 nearbyint{,f} to libm-sysdep_routes.
31177 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31179 New file.
31180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31181 file.
31182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31183 New file.
31184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31185 file.
31186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31189 file.
31190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31191 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31192 file.
31193 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31194 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31195 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31196
c19a9f89
DM
31197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31198 libc_feholdexcept and libc_fesetenv.
31199
357679d2
MF
312002013-01-15 Mike Frysinger <vapier@gentoo.org>
31201
31202 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31203
65a82e3d
DM
312042013-01-14 David S. Miller <davem@davemloft.net>
31205
8b954ab9
DM
31206 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31207 (SPARC_ASM_VIS2_IFUNC): Likewise.
31208 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31210 use of 'siam' instruction.
31211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31212 Likewise.
31213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31214 Likewise.
31215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31216 Likewise.
31217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31222 file.
31223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31224 file.
31225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31226 file.
31227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31228 file.
31229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31234 new VIS2 routines.
31235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31238 Likewise.
31239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31244 routines to libm-sysdep_routines.
31245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31246
65a82e3d
DM
31247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31248 fdim/fdimf to libm-sysdep_routines.
31249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31250 file.
31251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31253 file.
31254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31257 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31258 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31259 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31260 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31261
e34ab705
SP
312622013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31263
2a91b573
SP
31264 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31265 to optimize copies.
31266
1066a534
SP
31267 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31270
e34ab705
SP
31271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31272 local variable MPTWO.
31273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31274 Likewise.
31275
aba5e596
MF
312762013-01-13 Mike Frysinger <vapier@gentoo.org>
31277
31278 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31279 GLOB_NOESCAPE.
31280
e557e9e5
MF
312812013-01-13 Mike Frysinger <vapier@gentoo.org>
31282
31283 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31284
0428cec9
MF
312852013-01-13 Mike Frysinger <vapier@gentoo.org>
31286
31287 * manual/pattern.texi (glob_t): Document gl_flags.
31288 (glob64_t): Likewise.
31289
8794a964
DM
312902013-01-11 David S. Miller <davem@davemloft.net>
31291
66438c3f
RM
31292 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31293 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31294 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31295 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31296 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31297 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31298 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31299 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31300 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31301 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31302 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31303 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31304 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31305
4ae4244d
DM
31306 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31307 sparc V9 rather than using V8 code.
31308 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31309 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31310
8794a964
DM
31311 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31312 Move to...
31313 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31314 Here.
31315
6270516e
RM
313162013-01-11 Roland McGrath <roland@hack.frob.com>
31317
31318 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31319 not in the main loop.
31320 * configure: Regenerated.
31321
6a57d931
JM
313222013-01-11 Joseph Myers <joseph@codesourcery.com>
31323
31324 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31325 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31326 to just #else.
31327 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31328 [!__GLIBC_HAVE_LONG_LONG] case.
31329 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31330 condition to just #else.
31331 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31332 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31333 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31334 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31335 unconditional.
31336 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31337 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31338 #elif condition to just #else.
31339 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31340 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31341 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31342 #elif condition to just #else.
31343
0e8529e9
SE
313442013-01-11 Steve Ellcey <sellcey@mips.com>
31345
31346 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31347 (EF_MIPS_ARCH_64): Fix value.
31348 (EF_MIPS_ARCH_32R2): New.
31349 (EF_MIPS_ARCH_64R2): New.
31350
740b3dbe
L
313512013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31352
31353 * Makeconfig (+link-pie-before-libc): New.
31354 (+link-pie-after-libc): Likewise.
31355 (+link-pie-tests): Likewise.
31356 (+link-pie): Rewritten.
31357 (link-before-libc): Remove $(config-LDFLAGS).
31358 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31359 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31360 (config-LDFLAGS): Renamed to ...
31361 (rtld-LDFLAGS): This.
31362 (rtld-tests-LDFLAGS): New macro.
31363 (link-libc-rpath-link): Likewise.
31364 (link-libc-tests-rpath-link): Likewise.
31365 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31366 (link-libc): Prepand $(link-libc-rpath-link).
31367 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31368 (test-program-prefix): New macro.
31369 (test-via-rtld-prefix): Likewise.
31370 (test-program-cmd): Likewise.
31371 (host-test-program-cmd): Likewise.
31372 * Makefile ($(common-objpfx)testrun.sh): Replace
31373 $(run-program-prefix) with $(test-program-prefix).
31374 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31375 $(rtld-LDFLAGS).
31376 ($(common-objpfx)shlib.lds): Likewise.
31377 (build-module-helper): Likewise.
31378 ($(common-objpfx)format.lds): Likewise.
31379 * Rules (binaries-pie-tests): New.
31380 (binaries-pie-notests): Likewise.
31381 (binaries-pie): Rewritten.
31382 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31383 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31384 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31385 (make-test-out): Replace $(host-built-program-cmd) with
31386 $(host-test-program-cmd).
31387 * config.make.in (build-hardcoded-path-in-tests): New variable.
31388 * configure.in (--enable-hardcoded-path-in-tests): New configure
31389 option.
31390 (hardcoded_path_in_tests): New AC_SUBST.
31391 * configure: Regenerated.
31392 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31393 $(built-program-cmd) with $(test-program-cmd).
31394 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31395 (test_program_cmd): This.
31396 * elf/Makefile ($(objpfx)order.out): Run test with
31397 $(test-program-prefix).
31398 ($(objpfx)order2.out): Likewise.
31399 ($(objpfx)tst-initorder.out): Likewise.
31400 ($(objpfx)tst-initorder2.out): Likewise.
31401 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31402 $(test-program-cmd).
31403 ($(objpfx)tst-array1-static.out): Likewise.
31404 ($(objpfx)tst-array2.out): Likewise.
31405 ($(objpfx)tst-array3.out): Likewise.
31406 ($(objpfx)tst-array4.out): Likewise.
31407 ($(objpfx)tst-array5.out): Likewise.
31408 ($(objpfx)tst-array5-static.out): Likewise.
31409 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31410 $(test-program-cmd).
31411 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31412 $(run-program-prefix) with $(test-program-prefix).
31413 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31414 (test_program_prefix): This.
31415 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31416 $(run-program-prefix) with $(test-program-prefix).
31417 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31418 (test_program_prefix): This.
31419 * iconvdata/tst-tables.sh: Likewise.
31420 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31421 $(run-program-prefix) with $(test-program-prefix).
31422 ($(objpfx)tst-translit.out): Likewise.
31423 ($(objpfx)tst-gettext2.out): Likewise.
31424 ($(objpfx)tst-gettext4.out): Likewise.
31425 ($(objpfx)tst-gettext6.out): Likewise.
31426 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31427 (test_program_prefix): This.
31428 * intl/tst-gettext2.sh: Likewise.
31429 * intl/tst-gettext4.sh Likewise.
31430 * intl/tst-gettext6.sh: Likewise.
31431 * intl/tst-translit.sh: Likewise.
31432 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31433 with $(test-program-cmd).
31434 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31435 $(run-program-prefix) with $(test-program-prefix).
31436 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31437 (test_program_prefix): This.
31438 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31439 $(run-program-prefix) with $(test-program-prefix).
31440 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31441 (test_program_prefix): This.
31442 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31443 * posix/Makefile ($(objpfx)globtest.out): Replace
31444 $(run-via-rtld-prefix) and $(test-wrapper) with
31445 $(test-program-prefix) and $(test-via-rtld-prefix).
31446 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31447 $(test-program-prefix).
31448 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31449 $(host-test-program-cmd).
31450 (tst-spawn-ARGS): Likewise.
31451 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31452 $(test-program-prefix).
31453 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31454 (test_via_rtld_prefix): This.
31455 (test_wrapper): Renamed to ...
31456 (test_program_prefix): This.
31457 (run_program_prefix): Replaced by test_program_prefix.
31458 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31459 (test_program_prefix): This.
31460 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31461 with $(host-test-program-cmd).
31462 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31463 $(run-program-prefix) with $(test-program-prefix).
31464 ($(objpfx)tst-printf.out): Likewise.
31465 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31466 $(test-program-cmd).
31467 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31468 (test_program_prefix): This.
31469 * stdio-common/tst-unbputc.sh: Likewise.
31470 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31471 $(run-program-prefix) with $(test-program-prefix).
31472 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31473 (test_program_prefix): This.
31474 * string/Makefile ($(objpfx)tst-svc.out): Replace
31475 $(built-program-cmd) with $(test-program-cmd).
31476
c6fe55cf
AJ
314772013-01-11 Andreas Jaeger <aj@suse.de>
31478
31479 [BZ #15003]
31480 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31481 value. Sync with Linux 3.7.
31482
9e6919c8
DM
314832013-01-10 David S. Miller <davem@davemloft.net>
31484
31485 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31486 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31487 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31488
1c9f1a02
RM
314892013-01-10 Roland McGrath <roland@hack.frob.com>
31490
31491 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31492 never set.
31493 * configure: Regenerated.
31494
b9de2dde
DM
314952013-01-10 David S. Miller <davem@davemloft.net>
31496
31497 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31498 sparc V9 rather than using V8 code.
31499 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31500 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31501
e7f68ef4
RM
315022013-01-10 Roland McGrath <roland@hack.frob.com>
31503
31504 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31505 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31506 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31507 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31508 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31509 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31510 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31511 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31512 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31513 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31514 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31515 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31516 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31517 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31518 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31519 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31520 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31521 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31522 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31523 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31524 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31525 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31526 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31527 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31528 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31529 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31530 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31531
5a47cc9c
DM
315322013-01-10 David S. Miller <davem@davemloft.net>
31533
31534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31535
4cf8f209
L
315362013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31537
31538 * posix/Makefile (tests-static): New variable.
31539 (tests): Add $(tests-static).
31540 (tst-exec-static-ARGS): New variable.
31541 (tst-spawn-static-ARGS): Likewise.
31542 * posix/tst-exec-static.c: New file.
31543 * posix/tst-spawn-static.c: Likewise.
31544 * posix/tst-exec.c: Support run directly.
31545 * posix/tst-spawn.c: Likewise.
31546
fed0faa1
JM
315472013-01-10 Joseph Myers <joseph@codesourcery.com>
31548
828beb13
JM
31549 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31550 long.
31551 * math/bits/mathcalls.h (llrint): Likewise.
31552 (llround): Likewise.
31553 * stdlib/stdlib.h (struct drand48_data): Likewise.
31554 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31555 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31556 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31557 Likewise.
31558 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31559 Likewise.
31560 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31561 (elf_greg_t): Likewise.
31562 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31563 (__jmp_buf): Likewise.
31564 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31565 definitions.
31566 (llrint): Likewise, for all definitions.
31567 (llrintl): Likewise.
31568
fed0faa1
JM
31569 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31570 Remove [__GNUC__] condition.
31571 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31572 condition to just [__USE_ISOC99].
31573 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31574
1a20cb20
L
315752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31576
31577 [BZ #14200]
31578 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31579 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31580 defined.
31581 (_POSIX_V6_ILP32_OFF32): Likewise.
31582 (_XBS5_ILP32_OFF32): Likewise.
31583 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31584 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31585
751b85f7
SP
315862013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31587
7490eb81
SP
31588 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31589
751b85f7
SP
31590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31591 doubles __mpexp_twomm1. Adjust usage.
31592 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31593 Remove.
31594
988197f0
AS
315952013-01-10 Andreas Schwab <schwab@suse.de>
31596
31597 [BZ #14964]
31598 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31599 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31600
e83d7298
DM
316012013-01-09 David S. Miller <davem@davemloft.net>
31602
034ed64b 31603 [BZ #15003]
57f41c40
AS
31604 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31605 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31606 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31607 (TCP_FASTOPEN): Define.
e83d7298
DM
31608 (tcp_repair_opt): New structure.
31609 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31610 enum values.
57f41c40
AS
31611 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31612 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31613 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
31614 (tcp_cookie_transactions): New structure.
31615
d5e0b9bd
AB
316162013-01-09 Anton Blanchard <anton@samba.org>
31617
31618 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31619 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31621 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31622
0c07e3ea
JM
316232013-01-09 Joseph Myers <joseph@codesourcery.com>
31624
31625 * include/features.h (__USE_ANSI): Remove.
31626
232f7002
RM
316272013-01-09 Roland McGrath <roland@hack.frob.com>
31628
ad98e30c
RM
31629 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31630
232f7002
RM
31631 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31632
950c99ca
SP
316332013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31634
b5792741
SP
31635 * sysdeps/s390/fpu/libm-test-ulps: Update.
31636
47cf2278
SP
31637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31638
950c99ca
SP
31639 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31640 (__acr): Likewise.
31641 (__cpy): Likewise.
31642 (norm): Likewise.
31643 (denorm): Likewise.
31644 (__mp_dbl): Likewise.
31645 (__dbl_mp): Likewise.
31646 (add_magnitudes): Likewise.
31647 (sub_magnitudes): Likewise.
31648 (__add): Likewise.
31649 (__sub): Likewise.
31650 (__mul): Likewise.
31651 (__inv): Likewise.
31652 (__dvd): Likewise.
31653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31654 (__acr): Likewise.
31655 (__cpy): Likewise.
31656 (norm): Likewise.
31657 (denorm): Likewise.
31658 (__mp_dbl): Likewise.
31659 (__dbl_mp): Likewise.
31660 (add_magnitudes): Likewise.
31661 (sub_magnitudes): Likewise.
31662 (__add): Likewise.
31663 (__sub): Likewise.
31664 (__mul): Likewise.
31665 (__inv): Likewise.
31666 (__dvd): Likewise.
31667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31668 (__acr): Likewise.
31669 (__cpy): Likewise.
31670 (norm): Likewise.
31671 (denorm): Likewise.
31672 (__mp_dbl): Likewise.
31673 (__dbl_mp): Likewise.
31674 (add_magnitudes): Likewise.
31675 (sub_magnitudes): Likewise.
31676 (__add): Likewise.
31677 (__sub): Likewise.
31678 (__mul): Likewise.
31679 (__inv): Likewise.
31680 (__dvd): Likewise.
31681
eede9df9
JM
316822013-01-08 Joseph Myers <joseph@codesourcery.com>
31683
31684 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31685 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31686 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31687 2 && __USE_EXTERN_INLINES]: Likewise.
31688
c40ea3d9
AJ
316892013-01-08 Andreas Jaeger <aj@suse.de>
31690
31691 [BZ# 14985]
31692 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31693 Remove.
31694 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31695 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31696
2ccdea26
AB
316972013-01-07 Anton Blanchard <anton@samba.org>
31698
31699 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31700 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31701 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31702 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31703 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31704 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31705 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31706 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31708 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31709 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31710 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31711 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31712 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31713 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31714 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31715 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31716 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31717 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31718 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31719 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31720 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31722 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31723 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31724 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31725 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31726 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31728 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31729 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31731 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31732 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31733 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31734 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31735 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31736 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31737 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31738 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31739 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31740 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31741 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31742
a9708fed
JM
317432013-01-07 Joseph Myers <joseph@codesourcery.com>
31744
375607b9
JM
31745 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31746 (__MALLOC_PMT): Likewise.
31747 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31748 [__GNUC__], only on [_LIBC].
31749 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31750 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31751 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31752 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31753 forward declaration.
31754 (realloc_hook_ini): Likewise.
31755 (memalign_hook_ini): Likewise.
31756 (__libc_memalign): Do not use __MALLOC_PMT in variable
31757 declaration.
31758 (__libc_valloc): Likewise.
31759 (__libc_pvalloc): Likewise.
31760 (__libc_calloc): Likewise.
31761 (__posix_memalign): Likewise.
31762
a9708fed
JM
31763 [BZ #14996]
31764 * math/s_casinh.c: Include <float.h>.
31765 (__casinh): Do not do computation with squaring and square root
31766 for large arguments.
31767 * math/s_casinhf.c: Include <float.h>.
31768 (__casinhf): Do not do computation with squaring and square root
31769 for large arguments.
31770 * math/s_casinhl.c: Include <float.h>.
31771 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31772 (__casinhl): Do not do computation with squaring and square root
31773 for large arguments.
31774 * math/libm-test.inc (casin_test): Add more tests.
31775 (casinh_test): Likewise.
31776 * sysdeps/i386/fpu/libm-test-ulps: Update.
31777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31778
afec409a
L
317792013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31780
31781 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31782 (__x86_64_raw_data_cache_size): Likewise.
31783 (__x86_64_data_cache_size_half): Likewise.
31784 (__x86_64_raw_data_cache_size_half): Likewise.
31785 (__x86_64_shared_cache_size): Likewise.
31786 (__x86_64_raw_shared_cache_size): Likewise.
31787 (__x86_64_shared_cache_size_half): Likewise.
31788 (__x86_64_raw_shared_cache_size_half): Likewise.
31789 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31790 to ...
31791 (__x86_data_cache_size): This.
31792 (__x86_64_raw_data_cache_size): Renamed to ...
31793 (__x86_raw_data_cache_size): This.
31794 (__x86_64_data_cache_size_half): Renamed to ...
31795 (__x86_data_cache_size_half): This.
31796 (__x86_64_raw_data_cache_size_half): Renamed to ...
31797 (__x86_raw_data_cache_size_half): This.
31798 (__x86_64_shared_cache_size): Renamed to ...
31799 (__x86_shared_cache_size): This.
31800 (__x86_64_raw_shared_cache_size): Renamed to ...
31801 (__x86_raw_shared_cache_size): This.
31802 (__x86_64_shared_cache_size_half): Renamed to ...
31803 (__x86_shared_cache_size_half): This.
31804 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31805 (__x86_raw_shared_cache_size_half): This.
31806 * sysdeps/x86_64/memcpy.S: Updated.
31807 * sysdeps/x86_64/memset.S: Likewise.
31808 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31809 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31810 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31811
0b3986d0
DM
318122013-01-04 David S. Miller <davem@davemloft.net>
31813
31814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31815
e47686e9
AS
318162013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31817
d643bac1
AS
31818 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31819 1 to avoid redefinition warning.
31820 (__USE_GNU): Don't define.
31821 (init_signaling_nan): Protoize.
31822
e47686e9
AS
31823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31824
b18decba
SP
318252013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31826
fffb407f
SP
31827 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31829 (__cpymn): Likewise.
31830 (norm): Remove commented code.
31831 (denorm): Likewise.
31832 (__mp_dbl): Likewise.
31833 (__inv): Likewise.
31834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31835 (__cpymn): Likewise.
31836 (norm): Remove commented code.
31837 (denorm): Likewise.
31838 (__mp_dbl): Likewise.
31839 (__inv): Likewise.
31840
b18decba
SP
31841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31842 mp_no value for 1.0 and 2.0.
31843 (norm): Use RADIXI instead of radixi.d.
31844 (denorm): Likewise.
31845 (__mul): Use 0.0 instead of zero.d.
31846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31847 mp_no value for 1.0 and 2.0.
31848 (norm): Use RADIXI instead of radixi.d.
31849 (denorm): Likewise.
31850 (__mul): Use 0.0 instead of zero.d.
31851
cdc1c96f
JM
318522013-01-04 Joseph Myers <joseph@codesourcery.com>
31853
31854 [BZ #14994]
31855 * math/s_casinh.c (__casinh): Reduce finite argument to first
31856 quadrant then set signs of results at the end.
31857 * math/s_casinhf.c (__casinhf): Likewise.
31858 * math/s_casinhl.c (__casinhl): Likewise.
31859 * math/libm-test.inc (casin_test): Add more tests.
31860 (casinh_test): Likewise.
31861 * sysdeps/i386/fpu/libm-test-ulps: Update.
31862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31863
302913e1
SP
318642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31865
6420d207
SP
31866 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31867
a9e48ab4
SP
31868 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31869
b7837264
SP
31870 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31871 declarations.
31872 (denorm): Likewise.
31873 (__mp_dbl): Likewise.
31874 (__inv): Likewise.
31875
f8af25d2
SP
31876 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31877 and adjust the header comment.
31878
302913e1
SP
31879 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31880 variable name from declaration.
31881
5d7dd1ca
L
318822013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31883
31884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31885 Initialize COMMON_CPUID_INDEX_7 element.
31886 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31887 (CPUID_RTM): Likewise.
31888 (HAS_RTM): Likewise.
31889 (COMMON_CPUID_INDEX_7): New enum.
31890
2f5f40f4
AS
318912013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31892
31893 [BZ #14981]
31894 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31895 size is zero, record memory as freed.
31896
4056f4a0
AJ
318972013-01-03 Andreas Jaeger <aj@suse.de>
31898
31899 * po/ia.po: Add new Interlingua translation.
31900
ab15736f 319012012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
31902
31903 * locale/programs/localedef.c: Fix description of '--posix' flag.
31904
568035b7
JM
319052013-01-02 Joseph Myers <joseph@codesourcery.com>
31906
e6898b8d
JM
31907 * NEWS: Update dates in second copyright notice.
31908 * README: Update copyright dates in example.
31909 * manual/libc.texinfo: Update copyright dates.
31910 * scripts/test-installation.pl: Update copyright date in --version
31911 output.
31912
0e2f9562
JM
31913 * hurd/ctty-input.c: Fix copyright notice formatting.
31914 * hurd/ctty-output.c: Likewise.
31915 * hurd/dtable.c: Likewise.
31916 * hurd/hurd-raise.c: Likewise.
31917 * hurd/hurdprio.c: Likewise.
31918 * hurd/msgportdemux.c: Likewise.
31919 * misc/sys/file.h: Likewise.
31920 * misc/sys/ioctl.h: Likewise.
31921 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31922 * sysdeps/mach/hurd/chdir.c: Likewise.
31923 * sysdeps/mach/hurd/fchdir.c: Likewise.
31924 * sysdeps/mach/hurd/rename.c: Likewise.
31925 * sysdeps/mach/hurd/rmdir.c: Likewise.
31926 * sysdeps/mach/hurd/seekdir.c: Likewise.
31927 * sysdeps/mach/hurd/setsid.c: Likewise.
31928 * sysdeps/posix/wait3.c: Likewise.
31929
568035b7
JM
31930 * All files with FSF copyright notices: Update copyright dates
31931 using scripts/update-copyrights.
31932 * intl/plural.c: Regenerated.
31933 * locale/programs/charmap-kw.h: Likewise.
31934 * locale/programs/locfile-kw.h: Likewise.
31935
da08f647
SP
319362013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31937
0f5477af
SP
31938 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31939 four values.
31940
44e0d4c2
SP
31941 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31942 calculation loop and add branch prediction.
31943
4d55b4e5
SP
31944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31945 check access beyond bounds of m1np.
31946
da08f647
SP
31947 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31948 MPTWO.
31949 (__inv): Remove local variable MPTWO to use the global
31950 constant.
31951 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31953 variable MPTWO.
31954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31955 MP3HALFS static const.
31956
8e051029
DM
319572013-01-01 David S. Miller <davem@davemloft.net>
31958
31959 * po/ca.po: Update from translation team.
31960
f4cf5f2d
JM
319612013-01-01 Joseph Myers <joseph@codesourcery.com>
31962
31963 * scripts/update-copyrights: New file.
31964 * Makeconfig: Reformat copyright notice.
31965 * ctype/ctype.h: Likewise.
31966 * debug/swprintf_chk.c: Likewise.
31967 * elf/dl-cache.c: Likewise.
31968 * elf/dl-debug.c: Likewise.
31969 * elf/dl-object.c: Likewise.
31970 * grp/initgroups.c: Likewise.
31971 * hurd/Makefile: Likewise.
31972 * hurd/hurd/signal.h: Likewise.
31973 * hurd/hurdfault.c: Likewise.
31974 * hurd/hurdioctl.c: Likewise.
31975 * hurd/hurdlookup.c: Likewise.
31976 * hurd/intr-msg.c: Likewise.
31977 * iconv/gconv_open.c: Likewise.
31978 * libio/swprintf.c: Likewise.
31979 * locale/lc-ctype.c: Likewise.
31980 * locale/nl_langinfo.c: Likewise.
31981 * mach/Machrules: Likewise.
31982 * mach/Makefile: Likewise.
31983 * malloc/obstack.h: Likewise.
31984 * manual/Makefile: Likewise.
31985 * manual/tsort.awk: Likewise.
31986 * misc/bits/stab.def: Likewise.
31987 * nis/nis_print_group_entry.c: Likewise.
31988 * nis/nis_table.c: Likewise.
31989 * nis/nss_compat/compat-pwd.c: Likewise.
31990 * nis/nss_compat/compat-spwd.c: Likewise.
31991 * po/Makefile: Likewise.
31992 * posix/fnmatch.c: Likewise.
31993 * posix/regex.h: Likewise.
31994 * resolv/Makefile: Likewise.
31995 * resolv/nss_dns/dns-network.c: Likewise.
31996 * resolv/res_hconf.c: Likewise.
31997 * scripts/gen-sorted.awk: Likewise.
31998 * soft-fp/soft-fp.h: Likewise.
31999 * stdio-common/printf.h: Likewise.
32000 * stdlib/monetary.h: Likewise.
32001 * stdlib/random.c: Likewise.
32002 * stdlib/random_r.c: Likewise.
32003 * sysdeps/generic/Makefile: Likewise.
32004 * sysdeps/gnu/Makefile: Likewise.
32005 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32007 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32012 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32013 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32015 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32016 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32017 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32018 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32019 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32020 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32021 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32023 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32024 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32025 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32026 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32027 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32028 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32029 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32030 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32031 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32032 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32033 * sysdeps/mach/hurd/errnos.awk: Likewise.
32034 * sysdeps/mach/hurd/fork.c: Likewise.
32035 * sysdeps/mach/hurd/getcwd.c: Likewise.
32036 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32037 * sysdeps/mach/hurd/mmap.c: Likewise.
32038 * sysdeps/mach/hurd/utimes.c: Likewise.
32039 * sysdeps/mach/hurd/xmknod.c: Likewise.
32040 * sysdeps/posix/profil.c: Likewise.
32041 * sysdeps/posix/readdir_r.c: Likewise.
32042 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32043 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32044 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32045 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32047 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32048 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32049 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32051 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32052 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32053 * sysdeps/pthread/lio_listio.c: Likewise.
32054 * sysdeps/sparc/dl-procinfo.h: Likewise.
32055 * sysdeps/unix/i386/sysdep.S: Likewise.
32056 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32057 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32058 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32059 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32061 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32062 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32063 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32064 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32065 * sysdeps/wordsize-32/divdi3.c: Likewise.
32066 * time/sys/time.h: Likewise.
32067 * wcsmbs/Makefile: Likewise.
32068
0549fbba
DM
320692013-01-01 David S. Miller <davem@davemloft.net>
32070
a141f1a7
DM
32071 * po/fr.po: Update from translation team.
32072
0549fbba
DM
32073 * catgets/gencat.c: Update copyright year.
32074 * csu/version.c: Likewise.
32075 * debug/catchsegv.sh: Likewise.
32076 * debug/pcprofiledump.c: Likewise.
32077 * debug/xtrace.sh: Likewise.
32078 * elf/ldconfig.c: Likewise.
32079 * elf/ldd.bash.in: Likewise.
32080 * elf/pldd.c: Likewise.
32081 * elf/sotruss.ksh: Likewise.
32082 * elf/sprof.c: Likewise.
32083 * iconv/iconv_prog.c: Likewise.
32084 * iconv/iconvconfig.c: Likewise.
32085 * locale/programs/locale.c: Likewise.
32086 * locale/programs/localedef.c: Likewise.
32087 * login/programs/pt_chown.c: Likewise.
32088 * malloc/memusage.sh: Likewise.
32089 * malloc/memusagestat.c: Likewise.
32090 * malloc/mtrace.pl: Likewise.
32091 * nscd/nscd.c: Likewise.
32092 * nss/getent.c: Likewise.
32093 * nss/makedb.c: Likewise.
32094 * posix/getconf.c: Likewise.
32095
18ea052c
SP
320962012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32097
32098 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32099 numbers.
32100
9c89fca6
MF
321012012-12-30 Mike Frysinger <vapier@gentoo.org>
32102
32103 * math/bits/mathcalls.h (modf): Use __nonnull.
32104
085ec079
SP
321052012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32106
32107 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32108 (split): Use macro CN instead of the bare value.
32109 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32110 could be used.
32111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32112 instead of the bare value.
32113 (power1): Likewise.
32114
6d9f97e1
SP
321152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32116
d63f73be
SP
32117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32118 __ATAN_TWOM.
32119 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32120
6d9f97e1
SP
32121 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32122 their values.
32123 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32124 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32125 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32126 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32127
4c4febf5
AJ
321282012-12-28 Andreas Jaeger <aj@suse.de>
32129
af5843ef
AJ
32130 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32131 values are from Linux 3.7.
32132
4c4febf5
AJ
32133 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32134 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32135
99136f82
SP
321362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32137
2f216c3c 32138 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32139 TRUE case.
32140
99136f82
SP
32141 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32142 (norm): Likewise.
32143 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32144 variables with preprocessor constants.
32145 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32146 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32147 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32148
7fffbdff
BH
321492012-12-27 Bruno Haible <bruno@clisp.org>
32150
32151 [BZ #14317]
32152 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32153 only if needed.
32154
b76eb5f0
SP
321552012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32156
31a7fe5c
SP
32157 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32158 and use variable directly.
32159 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32160
b76eb5f0
SP
32161 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32162 MPONE.
32163 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32164 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32165 variable MPONE.
32166 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32168 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32169 include directive. Remove local variable MPONE.
32170 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32171 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32172 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32173
2c8bfe7d
DM
321742012-12-25 David S. Miller <davem@davemloft.net>
32175
32176 * version.h (RELEASE): Set to "development".
32177 (VERSION): Set to "2.17.90".
32178 * NEWS: Add 2.18 section.
32179
147d03b0
DM
321802012-12-21 David S. Miller <davem@davemloft.net>
32181
32182 * po/hr.po: Update from translation team.
32183
a8ebb2b9
AK
321842012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32185
32186 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32187
95b4f1b6
SE
321882012-12-19 Steve Ellcey <sellcey@mips.com>
32189
b2d94007 32190 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32191
cedb2a90
MS
321922012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32193
32194 * manual/contrib.texi (Contributors): Spelling correction.
32195
bbf527d6
DM
321962012-12-15 David S. Miller <davem@davemloft.net>
32197
32198 * po/ru.po: Update from translation team.
32199
bc38c906
DM
322002012-12-13 David S. Miller <davem@davemloft.net>
32201
85429b1a
DM
32202 * NEWS: Mention IFUNC testsuite enhancements.
32203
d283e353
DM
32204 * po/pl.po: Update from translation team.
32205 * po/bg.po: Likewise.
32206
bc38c906
DM
32207 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32208 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32209
a181b0d7
DM
322102012-12-11 David S. Miller <davem@davemloft.net>
32211
4641d57e
DM
32212 * po/sv.po: Update from translation team.
32213
f7bc6495
DM
32214 * po/vi.po: Update from translation team.
32215
6fc9048f
DM
32216 * po/cs.po: Update from translation team.
32217
a181b0d7
DM
32218 * po/de.po: Update from translation team.
32219 * po/eo.po: Likewise.
32220 * po/nl.po: Likewise.
32221
f70bfe80
SP
322222012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32223
3c8b4190
SP
32224 [BZ #14246]
32225 * manual/argp.texi (Argp Helper Functions): Move node to follow
32226 Argp Parsing State.
32227
f70bfe80
SP
32228 [BZ #14872]
32229 * manual/conf.texi (Limits on File System Capacity): Mention if
32230 terminating null is included in the max size.
32231
188f0adf
AJ
322322012-12-10 Andreas Jaeger <aj@suse.de>
32233
32234 * po/cs.po: Update from translation team.
32235
56e7d3ad
SP
322362012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32237
32238 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32239 void pointer and cast to uintptr_t.
32240 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32241 path.
32242 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32243 * sysdeps/s390/s390-64/memset.S: Likewise.
32244
76f2d2ea 322452012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32246
32247 [BZ #14833]
32248 * menual/message.texi (Message Translation): Fix typos.
32249 (Helper programs for gettext): Likewise.
32250
67cbf9a2
AS
322512012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32252
32253 [BZ #14898]
32254 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32255 Change to -1.
32256
682d0e9a
DM
322572012-12-07 David S. Miller <davem@davemloft.net>
32258
32259 * po/libc.pot: Update.
32260
573cd484
RH
322612012-12-07 Richard Henderson <rth@redhat.com>
32262
7e9da188 32263 [BZ #10114]
573cd484
RH
32264 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32265 normal/normal case to before the switch.
32266 (_FP_DIV): Likewise.
32267
e933a943
MF
322682012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32269 Mike Frysinger <vapier@gentoo.org>
32270
32271 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32272 check for __NR_fadvise64_64.
32273
82123268
CM
322742012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32275
32276 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32277 0, not just to plain "0" as a statement.
32278 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32279 with cw.
32280
d9814526
JM
322812012-12-06 Joseph Myers <joseph@codesourcery.com>
32282
32283 * NEWS: Use sourceware.org in Bugzilla URL.
32284
7728c574
SP
322852012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32286
f16946dd
SP
32287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32288 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32289
5704bbcb
SP
32290 * stdio-common/tst-put-error.c (do_test): Add newline to the
32291 padded test to ensure flush.
32292
17aa0516
JL
322932012-12-05 Jeff Law <law@redhat.com>
32294
32295 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32296
363313b5
JM
322972012-12-05 Joseph Myers <joseph@codesourcery.com>
32298
effbd42a
JM
32299 * README: Don't refer to ports add-on as distributed separately.
32300 Mention AArch64 in list of systems supported in the ports add-on.
32301
87600365
JM
32302 * LICENSES: Add more non-FSF copyright and license notices.
32303
a0d7066a
JM
32304 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32305 ((unused)).
32306
66ca5a5b
JM
32307 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32308
363313b5
JM
32309 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32310 10000 as width of padded output.
32311
b37984ad
JM
323122012-12-04 Joseph Myers <joseph@codesourcery.com>
32313
9003570a
JM
32314 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32315
b37984ad
JM
32316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32317 variable LX with __attribute__ ((unused)).
32318 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32319 Likewise.
32320 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32323 with __attribute__ ((unused)).
32324
c8df52ec
DM
323252012-12-04 David S. Miller <davem@abraco.davemloft.net>
32326
32327 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32328
b3b099af
JM
323292012-12-04 Joseph Myers <joseph@codesourcery.com>
32330
c33aa6e3
JM
32331 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32332 (CFLAGS-nldbl-acos.c): New variable.
32333 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32334 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32335 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32336 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32337 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32338 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32339 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32340 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32341 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32342 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32343 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32344 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32345 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32346 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32347 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32348 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32349 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32350 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32351 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32352 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32353 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32354 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32355 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32356 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32357 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32358 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32359 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32360 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32361 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32362 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32363 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32364 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32365 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32366 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32367 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32368 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32369 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32370 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32371 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32372 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32373 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32374 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32375 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32376 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32377 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32378 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32379 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32380 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32381 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32382 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32383 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32384 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32385 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32386 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32387 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32388 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32389 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32390 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32391 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32392 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32393 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32394 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32395 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32396 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32397 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32398 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32399 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32400 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32401 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32402 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32403 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32404 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32405 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32406 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32407 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32408 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32409 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32410 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32411 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32412 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32413 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32414 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32415 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32416 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32417 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32418 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32419 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32420 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32421 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32422 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32423 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32424 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32425 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32426 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32427 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32428 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32429 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32430
20f0018d
JM
32431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32432 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32433
b3b099af
JM
32434 [BZ #14914]
32435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32436 whole low double instead of just low 47 bits when splitting values
32437 into two parts.
32438
029264d1
AM
324392012-12-03 Allan McRae <allan@archlinux.org>
32440
32441 * manual/stdio.texi (Predefined Printf Handlers): Remove
32442 @hsep and @vsep usage.
32443
c9d6789e
MF
324442012-12-03 Mike Frysinger <vapier@gentoo.org>
32445
32446 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32447 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32448
4b7634a5
JL
324492012-12-03 Jeff Law <law@redhat.com>
32450
32451 * time/sys/time.h (settimeofday): Do not mark TV argument
32452 as __nonnull.
32453
eb6cbd24
MF
324542012-12-01 Mike Frysinger <vapier@gentoo.org>
32455
32456 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32457 when currently writing and seek to current position when not.
32458 * libio/Makefile (tests): Remove bug-fclose1.
32459 * libio/bug-fclose1.c: Delete.
32460
f638872a
JM
324612012-12-01 Joseph Myers <joseph@codesourcery.com>
32462
32463 * manual/arith.texi (feenableexcept): Fix typo.
32464 (fedisableexcept): Likewise.
32465
48085d14
RM
324662012-11-30 Roland McGrath <roland@hack.frob.com>
32467
32468 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32469 second, differently-typed declaration, rather than a cast.
32470
1a538b9f
SP
324712012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32472
32473 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32474 * include/rpc/svc.h: ... here.
32475
d07f2ff1 324762012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
32477
32478 [BZ #13013]
32479 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32480 depending n and resplen2 to catch cases where answer
32481 equals answerp2.
32482
c93ec1f0
CD
324832012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32484
32485 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32486 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32487
37db69de
MF
324882012-11-29 Mike Frysinger <vapier@gentoo.org>
32489
32490 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32491
e10c4e4f
RM
324922012-11-29 Roland McGrath <roland@hack.frob.com>
32493
32494 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32495
2af1b328
JL
324962012-11-28 Jeff Law <law@redhat.com>
32497
32498 [BZ #13761]
32499 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32500 dataset_temporary. Track alloca usage into alloca_used.
32501 If dataset is large allocate and release it via malloc/free.
32502
111db5b1
FW
325032012-06-04 Florian Weimer <fweimer@redhat.com>
32504
f06cc227 32505 [BZ #14197]
111db5b1
FW
32506 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32507
dd694abd
DM
325082012-11-28 David S. Miller <davem@davemloft.net>
32509
32510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32511
9984dd01
JM
325122012-11-28 Joseph Myers <joseph@codesourcery.com>
32513
32514 [BZ #14803]
32515 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32516 of pi/2 rounded to nearest to 64 bits.
32517 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32518 nearest to 64 bits.
32519 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32520 bits.
32521
14bc93a9
JL
325222012-11-28 Jeff Law <law@redhat.com>
32523 Martin Osvald <mosvald@redhat.com>
32524
32525 [BZ #14889]
32526 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32527 * sunrpc/svc.c: Include time.h.
32528 (__svc_accept_failed): New function.
32529 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32530 any reason other than EINTR, call __svc_accept_failed.
32531 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32532 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32533
e3c6aa3a
AS
325342012-11-28 Andreas Schwab <schwab@suse.de>
32535
32536 * scripts/abilist.awk: Also handle indirect functions in .opd
32537 section.
32538
1bead169
JM
325392012-11-28 Joseph Myers <joseph@codesourcery.com>
32540
32541 [BZ #13881]
32542 * sysdeps/x86/fpu/powl_helper.c: New file.
32543 * sysdeps/x86/fpu/Makefile: Likewise.
32544 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32545 (p3): New object.
32546 (__ieee754_powl): Use __powl_helper for finite arguments except
32547 integer exponents below 8.
32548 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32549 (p3): New object.
32550 (__ieee754_powl): Use __powl_helper for finite arguments except
32551 integer exponents below 8.
32552 * math/libm-test.inc (pow_test): Add more tests and enable some
32553 previously disabled tests.
32554 * sysdeps/i386/fpu/libm-test-ulps: Update.
32555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32556
0817d63d
SP
325572012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32558 Carlos O'Donell <carlos_odonell@mentor.com>
32559
32560 * nss/makedb.c (is_prime): Assert that input is odd and greater
32561 than 4. Note that fact in a comment too.
32562 (next_prime): Add 4 to input.
32563
de2fd463
SP
325642012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32565
32566 [BZ #11741]
32567 * libio/Makefile (tests): Add test case tst-fwrite-error.
32568 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32569 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32570 * libio/tst-fwrite-error.c: New test case.
32571
c515fb51
L
325722012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32573
32574 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32575 before casting to void *.
32576 * include/libc-internal.h (__pointer_type): New macro.
32577 (__integer_if_pointer_type_sub): Likewise.
32578 (__integer_if_pointer_type): Likewise.
32579 (cast_to_integer): Likewise.
32580 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32581 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32582 before casting to atomic64_t.
32583 (atomic_exchange_acq): Likewise.
32584 (__arch_exchange_and_add_body): Likewise.
32585 (__arch_add_body): Likewise.
32586 (atomic_add_negative): Likewise.
32587 (atomic_add_zero): Likewise.
32588
4cf77aa9
JM
325892012-11-26 Joseph Myers <joseph@codesourcery.com>
32590
32591 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32592 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32593 (add_fdes): Likewise.
32594 (linear_search_fdes): Likewise.
32595 (binary_search_unencoded_fdes): Likewise.
32596
d260b3b4
AS
325972012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32598
32599 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32600
67060746
AC
326012012-11-24 Adam Conrad <adconrad@0c3.net>
32602
32603 * configure.in: Autodetect C++ header directories.
32604 * configure: Regenerated.
32605
800938a1
MF
326062012-11-23 Mike Frysinger <vapier@gentoo.org>
32607
32608 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32609
4e6e34e6
AS
326102012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32611
32612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32613
7c7feb47
JM
326142012-11-22 Joseph Myers <joseph@codesourcery.com>
32615
7184dcdf
JM
32616 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32617 LDBL_MANT_DIG == 106]: Disable some tests.
32618 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32619 Likewise.
32620 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32621 Likewise.
32622
0a42601f
JM
32623 [BZ #14871]
32624 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32625 input for small inputs. Return +/- pi/2 for large inputs.
32626 * math/libm-test.inc (atan_test): Add more tests.
32627
79c9b9fe
JM
32628 * sysdeps/generic/unwind-dw2-fde-glibc.c
32629 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32630 __attribute__ ((unused)).
32631
c60d3bf2
JM
32632 [BZ #14645]
32633 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32634 x * y if x and y are nonzero and z is zero.
32635
ef1e0867
JM
32636 [BZ #14811]
32637 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32638 nonzero exponents with absolute value below 0x1p-117 to +/-
32639 0x1p-117.
32640
1468ded3
JM
32641 [BZ #14869]
32642 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32643 up arguments below 2**-450, not just those below 2**-500.
32644 * math/libm-test.inc (hypot_test): Add another test.
32645
8e27e3cc
JM
32646 [BZ #14868]
32647 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32648 Return a+b for ratio over 2**120, not 2**60.
32649 * math/libm-test.inc (hypot_test): Add another test.
32650
c9c0279b
JM
32651 * math/libm-test.inc (clog_test): Use
32652 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32653 (clog10_test): Likewise.
32654
7c7feb47
JM
32655 [BZ #6778]
32656 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32657
fff1530e
AS
326582012-11-22 Andreas Schwab <schwab@suse.de>
32659
32660 * sysdeps/i386/fpu/libm-test-ulps: Update.
32661
94558d30
PT
326622012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32663
32664 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32665 printf output with newline.
32666
7e1be741
L
326672012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32668
6bfea974
L
32669 [BZ #14865]
32670 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32671 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32672 -z nodlopen, -z initfirst and -z execstack support.
32673 * configure: Regenerated.
32674
7e1be741
L
32675 * elf/elf.h (DF_1_NODIRECT): New macro.
32676 (DF_1_IGNMULDEF): Likewise.
32677 (DF_1_NOKSYMS): Likewise.
32678 (DF_1_NOHDR): Likewise.
32679 (DF_1_EDITED): Likewise.
32680 (DF_1_NORELOC): Likewise.
32681 (DF_1_SYMINTPOSE): Likewise.
32682 (DF_1_GLOBAUDIT): Likewise.
32683 (DF_1_SINGLETON): Likewise.
32684 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32685 DT_1_SUPPORTED_MASK bits.
32686 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32687
105ce2ce
CD
326882012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32689
32690 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32691
123be9de
TS
326922012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32693
d072f3f7
TS
32694 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32695 macro.
32696
123be9de
TS
32697 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32698 (sendmmsg): Move declarations...
32699 * socket/sys/socket.h: ... here.
32700 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32701 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32702 include it from...
32703 * socket/recvmmsg.c: ... this new file.
32704 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32705 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32706 definition of __sendmmsg hidden.
32707 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32708 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32709 Move ENOSYS stub into and include it from...
32710 * socket/sendmmsg.c: ... this new file.
32711 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32712 (sysdep_routines): Move recvmmsg and sendmmsg...
32713 * socket/Makefile (routines): ... here.
32714 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32715 (GLIBC_PRIVATE): Add __sendmmsg.
32716 * include/sys/socket.h (__sendmmsg): Add declarations.
32717 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32718 sendmmsg.
32719
cf9a5d18
JM
327202012-11-20 Joseph Myers <joseph@codesourcery.com>
32721
32722 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32723 variable I1 with __attribute__ ((unused)).
32724 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32725
ecd4caf9
JM
327262012-11-19 Joseph Myers <joseph@codesourcery.com>
32727
be14d48f
JM
32728 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32729 DUMMY variables with __attribute__ ((unused)).
32730
ecd4caf9
JM
32731 * bits/byteswap.h: Include <bits/types.h>.
32732 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32733
986cab95
PT
327342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32735
32736 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32737 string_t. Do not manually set errno.
32738 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32739 length with __strnlen. Make sure to both set errno and return it on
32740 failure.
32741
6d33cc9d
DM
327422012-11-19 David S. Miller <davem@davemloft.net>
32743
32744 With help from Joseph Myers.
32745 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32746 very large arguments properly.
32747 * math/libm-test.inc (atan_test): New tests.
32748 (atan2_test): New tests.
32749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32751
ee663277
JM
327522012-11-19 Joseph Myers <joseph@codesourcery.com>
32753
877f2d8e
JM
32754 [BZ #14856]
32755 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32756 Define to 3.
32757
116fc08a
JM
32758 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32759 [POSIX] (EADDRNOTAVAIL): Likewise.
32760 [POSIX] (EAFNOSUPPORT): Likewise.
32761 [POSIX] (EALREADY): Likewise.
32762 [POSIX] (ECONNABORTED): Likewise.
32763 [POSIX] (ECONNREFUSED): Likewise.
32764 [POSIX] (ECONNRESET): Likewise.
32765 [POSIX] (EDESTADDRREQ): Likewise.
32766 [POSIX] (EDQUOT): Likewise.
32767 [POSIX] (EHOSTUNREACH): Likewise.
32768 [POSIX] (EIDRM): Likewise.
32769 [POSIX] (EISCONN): Likewise.
32770 [POSIX] (ELOOP): Likewise.
32771 [POSIX] (EMULTIHOP): Likewise.
32772 [POSIX] (ENETDOWN): Likewise.
32773 [POSIX] (ENETUNREACH): Likewise.
32774 [POSIX] (ENOBUFS): Likewise.
32775 [POSIX] (ENODATA): Likewise.
32776 [POSIX] (ENOLINK): Likewise.
32777 [POSIX] (ENOMSG): Likewise.
32778 [POSIX] (ENOPROTOOPT): Likewise.
32779 [POSIX] (ENOSR): Likewise.
32780 [POSIX] (ENOSTR): Likewise.
32781 [POSIX] (ENOTCONN): Likewise.
32782 [POSIX] (ENOTSOCK): Likewise.
32783 [POSIX] (EOPNOTSUPP): Likewise.
32784 [POSIX] (EOVERFLOW): Likewise.
32785 [POSIX] (EPROTO): Likewise.
32786 [POSIX] (EPROTONOSUPPORT): Likewise.
32787 [POSIX] (EPROTOTYPE): Likewise.
32788 [POSIX] (ESTALE): Likewise.
32789 [POSIX] (ETIME): Likewise.
32790 [POSIX] (ETXTBSY): Likewise.
32791 [POSIX] (EWOULDBLOCK): Likewise.
32792 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32793 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32794 [POSIX] (SEEK_CUR): Likewise.
32795 [POSIX] (SEEK_END): Likewise.
32796 [POSIX || UNIX98] (mode_t): Do not require.
32797 [POSIX] (off_t): Likewise.
32798 [POSIX] (pid_t): Likewise.
32799 [POSIX] (sys/stat.h): Do not allow header.
32800 [POSIX] (unistd.h): Likewise.
32801 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32802 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32803 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32804 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32805 require.
32806 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32807 sigevent): Specify elements.
32808 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32809 entry.
32810 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32811 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32812
a483863f
JM
32813 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32814 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32815 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32816 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32817 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32818 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32819 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32820 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32821 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32822 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32823 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32824 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32825 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32826 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32827 Likewise.
32828 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32829 Likewise.
32830 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32831 Likewise.
32832 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32833 Likewise.
32834 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32835 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32836 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32837 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32838 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32839 Specify lower bound on value.
32840 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32841 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32842 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32843 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32844 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32845 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32846 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32847 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32848 value.
32849 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32850 as optional.
32851 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32852 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32853 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32854 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32855 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32856 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32857 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32858 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32859 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32860 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32861 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32862 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32863 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32864 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32865 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32866 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32867 entry.
32868 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32869 optional.
32870 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32871 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32872 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32873 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32874 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32875 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32876 Likewise.
32877 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32878 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32879 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32880 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32881 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32882 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32883 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32884 as optional.
32885 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32886 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32887 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32888 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32889 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32890 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32891 specify as optional.
32892 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32893 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32894 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32895 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32896 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32897 [XPG3] (NL_LANGMAX): Likewise.
32898 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32899 [POSIX || XPG3] (NL_NMAX): Likewise.
32900 [POSIX || XPG3] (NL_SETMAX): Likewise.
32901 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32902 [XPG3] (NZERO): Likewise.
32903 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32904 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32905 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32906 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32907 (REG_ERANGE): Expect.
32908 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32909 optional-constant.
32910 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32911 Use (void) in prototype.
32912 [POSIX] (*_t): Allow.
32913 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32914 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32915 (WRDE_BADVAL): Expect.
32916
5ba924e3
JM
32917 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32918 expect.
32919 [XPG3 || XPG4] (O_RSYNC): Likewise.
32920 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32921 Likewise.
32922 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32923 [XPG3 || XPG4] (sigqueue): Likewise.
32924 [XPG3 || XPG4] (sigtimedwait): Likewise.
32925 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32926 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32927 [XPG3 || XPG4] (vsnprintf): Likewise.
32928 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32929 Likewise.
32930 [XPG3 || XPG4] (blksize_t): Likewise.
32931 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32932 Likewise.
32933 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32934 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32935 [XPG3 || XPG4] (struct itimerspec): Likewise.
32936 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32937 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32938 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32939 [XPG3 || XPG4] (clockid_t): Likewise.
32940 [XPG3 || XPG4] (timer_t): Likewise.
32941 [XPG3 || XPG4] (clock_getres): Likewise.
32942 [XPG3 || XPG4] (clock_gettime): Likewise.
32943 [XPG3 || XPG4] (clock_settime): Likewise.
32944 [XPG3 || XPG4] (nanosleep): Likewise.
32945 [XPG3 || XPG4] (timer_create): Likewise.
32946 [XPG3 || XPG4] (timer_delete): Likewise.
32947 [XPG3 || XPG4] (timer_gettime): Likewise.
32948 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32949 [XPG3 || XPG4] (timer_settime): Likewise.
32950 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32951 [XPG3 || XPG4] (getlogin_r): Likewise.
32952 [XPG3 || XPG4] (pread): Likewise.
32953 [XPG3 || XPG4] (pthread_atfork): Likewise.
32954 [XPG3 || XPG4] (pwrite): Likewise.
32955
ee663277
JM
32956 [BZ #14835]
32957 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32958 <bits/siginfo.h>.
32959
942caa16
PT
329602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32961
e19af380
PT
32962 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32963 finalizing MALLSTREAM.
32964
942caa16
PT
32965 * sysdeps/mach/hurd/syncfs.c: New file.
32966
cfde9b46
SP
329672012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32968
32969 [BZ #14719]
32970 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32971 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32972 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32973 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32974 (_nss_dns_gethostbyname4_r): Likewise.
32975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32976 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32977
f6da27e5
PH
329782012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32979
32980 [BZ #13763]
32981 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32982
6665d4a2
SM
329832012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32984
1f51ee92
SM
32985 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32986 * elf/cache.c (print_entry): Print ",AArch64" for
32987 FLAG_AARCH64_LIB64
32988
6665d4a2
SM
32989 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32990 * elf/cache.c (print_entry): Print ",hard-float" for
32991 FLAG_ARM_LIBHF.
32992
05b227bd
DM
329932012-11-18 David S. Miller <davem@davemloft.net>
32994
32995 With help from Joseph Myers.
32996 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32997 cutoff to 2**-13.
32998 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32999 cutoff to 2**-25.
33000 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33001 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33002 small.
33003 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33004 * math/libm-test.inc (y0_test): New tests.
33005 (y1_test): New tests.
33006 * sysdeps/i386/fpu/libm-test-ulps: Update.
33007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33009
786b0b67
AS
330102012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33011
33012 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33013 64-bit targets.
33014 * configure: Regenerated.
33015
8e18b86d
DM
330162012-11-17 David S. Miller <davem@davemloft.net>
33017
33018 [BZ #14811]
33019 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33020 nonzero exponents with absolute value below 0x1p-128 to +/-
33021 0x1p-128.
33022
531f1ae0
JM
330232012-11-17 Joseph Myers <joseph@codesourcery.com>
33024
12df29e2
JM
33025 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33026
150dc1a0
JM
33027 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33028
531f1ae0
JM
33029 * posix/getconf-speclist.c: New file.
33030 * posix/posix-envs.def: Likewise.
33031 * posix/confstr.c (START_ENV_GROUP): New macro.
33032 (END_ENV_GROUP): Likewise.
33033 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33034 (KNOWN_PRESENT_ENV_STRING): Likewise.
33035 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33036 (UNKNOWN_ENVIRONMENT): Likewise.
33037 (confstr): Include posix-envs.def instead of handling
33038 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33039 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33040 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33041 (END_ENV_GROUP): Likewise.
33042 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33043 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33044 (UNKNOWN_ENVIRONMENT): Likewise.
33045 (__sysconf): Include posix-envs.def instead of handling associated
33046 cases directly here.
33047 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33048 preprocessing getconf-speclist.c rather than running getconf or
33049 generating empty file.
33050
a93f9cbc
PT
330512012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33052
33053 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33054
d64d9f87
AL
330552012-11-16 Andrej Lajovic <natrij@gmail.com>
33056
33057 [BZ #14672]
33058 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33059
447885eb
DM
330602012-11-16 David S. Miller <davem@davemloft.net>
33061
33062 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33063 smaller than LDBL_EPSILON/2.0L, just return xm1.
33064
bcbf9830
L
330652012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33066
33067 * elf/tst-array1.c (init): Set constructor priority to 1000.
33068 (fini): Set destructor priority to 1000.
33069 * elf/tst-array2dep.c: Likewise.
33070
2b766585
SP
330712012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33072
33073 [BZ #11741]
33074 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33075 (_IO_new_file_xsputn): Also return EOF if none of the input
33076 data was written when overflow failed.
33077 * libio/iopadn.c (_IO_padn): Likewise.
33078 * libio/iowpadn.c (_IO_wpadn): Likewise.
33079 * stdio-common/tst-put-error.c: Add copyright notice.
33080 (do_test): Add case for printing padded string.
33081 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33082 _IO_padn returned error.
33083 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33084 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33085 return EOF.
33086
b1848fde
SP
330872012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33088
33089 * libio/libioP.h: Add comment note that the references to C++
33090 bits are now obsolete.
33091
2fd89785
MS
330922012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33093
33094 * math/libm-test.inc (check_complex): Use asprintf.
33095
e3ea5409
JM
330962012-11-14 Joseph Myers <joseph@codesourcery.com>
33097
33098 * debug/pcprofiledump.c (print_version): Update copyright year.
33099 * malloc/memusagestat.c (print_version): Likewise.
33100
2e64d265
L
331012012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33102
33103 [BZ #14831]
33104 * elf/Makefile (tests): Add tst-audit8.
33105 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33106 ($(objpfx)tst-audit8.out): New target.
33107 (tst-audit8-ENV): New variable.
33108 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33109 audit if l_reloc_result is NULL.
33110 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33111 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33112 * elf/tst-audit8.c: New file.
33113
c485e4d2
MS
331142012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33115
33116 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33117 * misc/Makefile (CFLAGS-select.c): Define.
33118 * posix/Makefile (CFLAGS-pause.c): Define.
33119
3a0d900a
DM
331202012-11-13 David S. Miller <davem@davemloft.net>
33121
33122 * crypt/Makefile: Move test targets after toplevel Rules
33123 inclusion. Grab any necessary sysdep routines when linking.
33124 * crypt/md5.c (md5_process_block): Remove define, we will always
33125 name it __md5_process_block.
33126 (md5_finish_ctx): Update md5_process_block call.
33127 (md5_stream): Likewise.
33128 (md5_process_bytes): Likewise.
33129 (md5_process_block): Rename to __md5_process_block and move to ...
33130 * crypt/md5-block.c: ... here.
33131 * crypt/sha256.c (sha256_process_block): Move to ...
33132 * crypt/sha256-block.c: ... here.
33133 * crypt/sha512.c (sha512_process_block): Move to ...
33134 * crypt/sha512-block.c: ... here.
33135 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33136 path.
33137 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33138 * sysdeps/sparc/sparc64/multiarch/Makefile
33139 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33140 crypt subdir.
33141 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33142 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33143 multiarch changes.
33144 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33145 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33146 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33147 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33148 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33149 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33150 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33151 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33152 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33153 file.
33154 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33155 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33156 file.
33157 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33158
8ca89318
JM
331592012-11-13 Joseph Myers <joseph@codesourcery.com>
33160
e27d476a
JM
33161 * timezone/tzselect.ksh: Update from tzcode git revision
33162 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33163 * timezone/zdump.c: Likewise.
33164 * timezone/zic.c: Likewise.
33165 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33166 in TZVERSION setting, not $(PKGVERSION).
33167 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33168 REPORT_BUGS_TO settings.
33169
8ca89318
JM
33170 [BZ #14838]
33171 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33172 macro.
33173
47594329
MS
331742012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33175
33176 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33177 detection to immediately after _FP_ROUND().
33178 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33179 bits are 0.
33180
640ac3f1
DM
331812012-11-11 David S. Miller <davem@davemloft.net>
33182
33183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33184 inttypes.h
33185 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33186 __close rather than their public counterparts.
33187
3d2577bb
JM
331882012-11-10 Joseph Myers <joseph@codesourcery.com>
33189
33190 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33191 file.
33192 [UNIX98] (sem_timedwait): Do not expect.
33193 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33194 [XPG4 || UNIX98] (sockatmark): Do not expect.
33195 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33196 (clock_getcpuclockid): Do not expect.
33197 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33198 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33199 Do not expect.
33200 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33201 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33202 [UNIX98] (vwscanf): Likewise.
33203 [UNIX98] (vswscanf): Likewise.
33204
fb1ae1ee
JM
332052012-11-09 Joseph Myers <joseph@codesourcery.com>
33206
9ec6f8bd
JM
33207 * timezone/version.h: Remove file.
33208 * timezone/README: Do not refer to version.h.
33209 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33210 $(objpfx)version.h.
33211 ($(objpfx)zdump.o): Likewise.
c3f81911 33212 ($(objpfx)version.h): New target.
9ec6f8bd 33213
0aa8f8a1
JM
33214 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33215 2012i.
33216 * timezone/README: Don't mention modification to tzselect.ksh.
33217 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33218 work on unmodified tzselect.ksh. Substitute version numbers in
33219 tzselect.ksh.
33220
4e87147f
JM
33221 * Makefile (format-me): Remove.
33222 (INSTALL): Adjust indentation. Use commands directly instead of
33223 using $(format-me).
33224
8b748aed
JM
33225 * aclocal.m4 (ACX_PKGVERSION): New macro.
33226 (ACX_BUGURL): Likewise.
33227 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33228 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33229 (REPORT_BUGS_TO): Likewise.
33230 * configure: Regenerated.
33231 * config.h.in (PKGVERSION): New macro.
33232 (REPORT_BUGS_TO): Likewise.
33233 * config.make.in (PKGVERSION): New variable.
33234 (PKGVERSION_TEXI): Likewise.
33235 (REPORT_BUGS_TO): Likewise.
33236 (REPORT_BUGS_TEXI): Likewise.
33237 * Makefile (format-me): Use -I$(common-objpfx)manual.
33238 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33239 ($(common-objpfx)manual/%): New target.
33240 (manual/%): Remove target.
33241 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33242 (print_version): Use PKGVERSION.
33243 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33244 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33245 and REPORT_BUGS_TO.
33246 ($(objpfx)xtrace): Likewise.
33247 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33248 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33249 (print_version): Use PKGVERSION.
33250 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33251 (do_version): Use PKGVERSION.
33252 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33253 REPORT_BUGS_TO.
33254 (common-ldd-rewrite): Likewise.
33255 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33256 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33257 (print_version): Use PKGVERSION.
33258 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33259 * elf/pldd.c (argp_program_bug_address): Remove variable.
33260 (more_help): New function.
33261 (argp): Use more_help.
33262 (print_version): Use PKGVERSION.
33263 * elf/sln.c (main): Use PKGVERSION.
33264 (usage): Use REPORT_BUGS_TO.
33265 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33266 (top level): Use PKGVERSION.
33267 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33268 (print_version): Use PKGVERSION.
33269 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33270 (print_version): Use PKGVERSION.
33271 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33272 (print_version): Use PKGVERSION.
33273 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33274 (print_version): Use PKGVERSION.
33275 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33276 (print_version): Use PKGVERSION.
33277 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33278 (print_version): Use PKGVERSION.
33279 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33280 and BUGURL.
33281 ($(objpfx)memusage): Likewise.
33282 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33283 (do_version): Use PKGVERSION.
33284 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33285 (print_version): Use PKGVERSION.
33286 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33287 ($PKGVERSION): New variable.
33288 ($REPORT_BUGS_TO): Likewise.
33289 (usage): Use $REPORT_BUGS_TO.
33290 (top level): Use $PKGVERSION.
33291 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33292 ($(objpfx)pkgvers.texi): New rule.
33293 ($(objpfx)stamp-pkgvers): Likewise.
33294 * manual/install.texi: Include pkgvers.texi.
33295 (--with-pkgversion): Document new configure option.
33296 (--with-bugurl): Likewise.
33297 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33298 than necessarily for this particular distribution. Use
33299 REPORT_BUGS_TO for where to report bugs.
33300 * INSTALL: Regenerated.
33301 * manual/libc.texinfo: Include pkgvers.texi.
33302 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33303 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33304 (print_version): Use PKGVERSION.
33305 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33306 (print_version): Use PKGVERSION.
33307 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33308 (print_version): Use PKGVERSION.
33309 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33310 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33311 macro.
33312 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33313 (print_version): Use PKGVERSION.
33314 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33315 (print_version): Use PKGVERSION.
33316 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33317 and PKGVERSION.
33318
92e4b6a9
JM
33319 * timezone/checktab.awk: Update from tzcode 2012i.
33320 * timezone/ialloc.c: Likewise.
33321 * timezone/private.h: Likewise.
33322 * timezone/scheck.c: Likewise.
33323 * timezone/tzfile.h: Likewise.
33324 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33325 (TZVERSION): Hardcode tzcode version number.
33326 * timezone/zdump.c: Update from tzcode 2012i.
33327 * timezone/zic.c: Likewise.
33328 * timezone/version.h: New file.
33329 * timezone/README: Describe version.h. Update upstream location.
33330
9bde902c
JM
33331 [BZ #14824]
33332 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33333 (mktemp): Enable declaration.
33334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33335 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33338 Likewise.
33339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33340 Likewise.
33341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33342 Likewise.
33343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33344 Likewise.
33345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33346 Likewise.
33347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33348 Likewise.
33349
fb1ae1ee
JM
33350 [BZ #14821]
33351 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33352 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33353 for copies of such integer values.
33354 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33355 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33356
2c1adbcb
AJ
333572012-11-09 Andreas Jaeger <aj@suse.de>
33358
33359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33360 definitions and declarations that are provided by
33361 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33362
d0f8457e
AK
333632012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33364
3a235abb 33365 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
33366 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33367 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33368 definition.
33369
57241e26
MS
333702012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33371
33372 * elf/elf.h: Update comment before AArch64 relocations.
33373
60e8270d
DM
333742012-11-07 David S. Miller <davem@davemloft.net>
33375
33376 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33377 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33378 (__start_context): Declare.
33379 (__makecontext_ret): Delete.
33380 (__makecontext): Hook up __start_context instead of
33381 __makecontext_ret.
33382 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33383 (sysdep_routines): Add __start_context when in stdlib.
33384
0fbb0fbc
JM
333852012-11-07 Joseph Myers <joseph@codesourcery.com>
33386
33387 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33388 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33389 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33390 hardcoded "nm".
33391 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33392 (READELF): New variable. Use it instead of hardcoded "readelf".
33393
eb48db7e
L
333942012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33395
33396 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33397 * sysdeps/x86/Makefile: Here.
33398 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33399 * sysdeps/x86/tst-xmmymm.sh: This.
33400
05bcf62a
JM
334012012-11-07 Joseph Myers <joseph@codesourcery.com>
33402
c4b6cf53
JM
33403 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33404 expectations.
33405 [UNIX98] (pthread_barrier_t): Do not expect.
33406 [UNIX98] (pthread_barrierattr_t): Likewise.
33407 [UNIX98] (pthread_spinlock_t): Likewise.
33408 [UNIX98] (pthread_barrier_destroy): Likewise.
33409 [UNIX98] (pthread_barrier_init): Likewise.
33410 [UNIX98] (pthread_barrier_wait): Likewise.
33411 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33412 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33413 [UNIX98] (pthread_barrierattr_init): Likewise.
33414 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33415 [UNIX98] (pthread_getcpuclockid): Likewise.
33416 [UNIX98] (pthread_mutex_timedlock): Likewise.
33417 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33418 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33419 [UNIX98] (pthread_sigmask): Likewise.
33420 [UNIX98] (pthread_spin_destroy): Likewise.
33421 [UNIX98] (pthread_spin_init): Likewise.
33422 [UNIX98] (pthread_spin_lock): Likewise.
33423 [UNIX98] (pthread_spin_trylock): Likewise.
33424 [UNIX98] (pthread_spin_unlock): Likewise.
33425 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33426 Do not expect.
33427 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33428 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33429 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33430 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33431 [XPG3 || XPG4] (pthread_key_t): Likewise.
33432 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33433 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33434 [XPG3 || XPG4] (pthread_once_t): Likewise.
33435 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33436 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33437 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33438 [XPG3 || XPG4] (pthread_t): Likewise.
33439
cbe6e120
JM
33440 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33441 not expect.
33442 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33443
1b126443
JM
33444 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33445 Change function return type to int.
33446
b961a573
JM
33447 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33448 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33449 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33450 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33451 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33452 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33453 [!POSIX] (posix_madvise): Likewise.
33454 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33455 && !UNIX98].
33456 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33457 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33458 (mode_t): Likewise.
33459 (posix_mem_offset): Likewise.
33460 (posix_typed_mem_get_info): Likewise.
33461 (posix_typed_mem_open): Likewise.
33462
9e188909
JM
33463 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33464 Change condition to [XOPEN2K8].
33465
05bcf62a
JM
33466 * conform/conformtest.pl: Preprocess allow-header data with -x c
33467 instead of from stdin.
33468 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33469 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33470 [C99-based standards] (cerfc): Likewise.
33471 [C99-based standards] (cexp2): Likewise.
33472 [C99-based standards] (cexpm1): Likewise.
33473 [C99-based standards] (clog10): Likewise.
33474 [C99-based standards] (clog1p): Likewise.
33475 [C99-based standards] (clog2): Likewise.
33476 [C99-based standards] (clgamma): Likewise.
33477 [C99-based standards] (ctgamma): Likewise.
33478 [C99-based standards] (cerff): Likewise.
33479 [C99-based standards] (cerfcf): Likewise.
33480 [C99-based standards] (cexp2f): Likewise.
33481 [C99-based standards] (cexpm1f): Likewise.
33482 [C99-based standards] (clog10f): Likewise.
33483 [C99-based standards] (clog1pf): Likewise.
33484 [C99-based standards] (clog2f): Likewise.
33485 [C99-based standards] (clgammaf): Likewise.
33486 [C99-based standards] (ctgammaf): Likewise.
33487 [C99-based standards] (cerfl): Likewise.
33488 [C99-based standards] (cerfcl): Likewise.
33489 [C99-based standards] (cexp2l): Likewise.
33490 [C99-based standards] (cexpm1l): Likewise.
33491 [C99-based standards] (clog10l): Likewise.
33492 [C99-based standards] (clog1pl): Likewise.
33493 [C99-based standards] (clog2l): Likewise.
33494 [C99-based standards] (clgammal): Likewise.
33495 [C99-based standards] (ctgammal): Likewise.
33496 * conform/data/inttypes.h-data [C99-based standards]: Include
33497 stdint.h-data. Remove all expectations for stdint.h contents.
33498 [C99-based standards] (PRI*): Do not allow.
33499 [C99-based standards] (SCN*): Likewise.
33500 [C99-based standards] (*_t): Likewise.
33501 [C99-based-standards] (PRId8): Expect macro.
33502 [C99-based-standards] (PRIi8): Likewise.
33503 [C99-based-standards] (PRIo8): Likewise.
33504 [C99-based-standards] (PRIu8): Likewise.
33505 [C99-based-standards] (PRIx8): Likewise.
33506 [C99-based-standards] (PRIX8): Likewise.
33507 [C99-based-standards] (SCNd8): Likewise.
33508 [C99-based-standards] (SCNi8): Likewise.
33509 [C99-based-standards] (SCNo8): Likewise.
33510 [C99-based-standards] (SCNu8): Likewise.
33511 [C99-based-standards] (SCNx8): Likewise.
33512 [C99-based-standards] (PRIdLEAST8): Likewise.
33513 [C99-based-standards] (PRIiLEAST8): Likewise.
33514 [C99-based-standards] (PRIoLEAST8): Likewise.
33515 [C99-based-standards] (PRIuLEAST8): Likewise.
33516 [C99-based-standards] (PRIxLEAST8): Likewise.
33517 [C99-based-standards] (PRIXLEAST8): Likewise.
33518 [C99-based-standards] (SCNdLEAST8): Likewise.
33519 [C99-based-standards] (SCNiLEAST8): Likewise.
33520 [C99-based-standards] (SCNoLEAST8): Likewise.
33521 [C99-based-standards] (SCNuLEAST8): Likewise.
33522 [C99-based-standards] (SCNxLEAST8): Likewise.
33523 [C99-based-standards] (PRIdFAST8): Likewise.
33524 [C99-based-standards] (PRIiFAST8): Likewise.
33525 [C99-based-standards] (PRIoFAST8): Likewise.
33526 [C99-based-standards] (PRIuFAST8): Likewise.
33527 [C99-based-standards] (PRIxFAST8): Likewise.
33528 [C99-based-standards] (PRIXFAST8): Likewise.
33529 [C99-based-standards] (SCNdFAST8): Likewise.
33530 [C99-based-standards] (SCNiFAST8): Likewise.
33531 [C99-based-standards] (SCNoFAST8): Likewise.
33532 [C99-based-standards] (SCNuFAST8): Likewise.
33533 [C99-based-standards] (SCNxFAST8): Likewise.
33534 [C99-based-standards] (PRId16): Likewise.
33535 [C99-based-standards] (PRIi16): Likewise.
33536 [C99-based-standards] (PRIo16): Likewise.
33537 [C99-based-standards] (PRIu16): Likewise.
33538 [C99-based-standards] (PRIx16): Likewise.
33539 [C99-based-standards] (PRIX16): Likewise.
33540 [C99-based-standards] (SCNd16): Likewise.
33541 [C99-based-standards] (SCNi16): Likewise.
33542 [C99-based-standards] (SCNo16): Likewise.
33543 [C99-based-standards] (SCNu16): Likewise.
33544 [C99-based-standards] (SCNx16): Likewise.
33545 [C99-based-standards] (PRIdLEAST16): Likewise.
33546 [C99-based-standards] (PRIiLEAST16): Likewise.
33547 [C99-based-standards] (PRIoLEAST16): Likewise.
33548 [C99-based-standards] (PRIuLEAST16): Likewise.
33549 [C99-based-standards] (PRIxLEAST16): Likewise.
33550 [C99-based-standards] (PRIXLEAST16): Likewise.
33551 [C99-based-standards] (SCNdLEAST16): Likewise.
33552 [C99-based-standards] (SCNiLEAST16): Likewise.
33553 [C99-based-standards] (SCNoLEAST16): Likewise.
33554 [C99-based-standards] (SCNuLEAST16): Likewise.
33555 [C99-based-standards] (SCNxLEAST16): Likewise.
33556 [C99-based-standards] (PRIdFAST16): Likewise.
33557 [C99-based-standards] (PRIiFAST16): Likewise.
33558 [C99-based-standards] (PRIoFAST16): Likewise.
33559 [C99-based-standards] (PRIuFAST16): Likewise.
33560 [C99-based-standards] (PRIxFAST16): Likewise.
33561 [C99-based-standards] (PRIXFAST16): Likewise.
33562 [C99-based-standards] (SCNdFAST16): Likewise.
33563 [C99-based-standards] (SCNiFAST16): Likewise.
33564 [C99-based-standards] (SCNoFAST16): Likewise.
33565 [C99-based-standards] (SCNuFAST16): Likewise.
33566 [C99-based-standards] (SCNxFAST16): Likewise.
33567 [C99-based-standards] (PRId32): Likewise.
33568 [C99-based-standards] (PRIi32): Likewise.
33569 [C99-based-standards] (PRIo32): Likewise.
33570 [C99-based-standards] (PRIu32): Likewise.
33571 [C99-based-standards] (PRIx32): Likewise.
33572 [C99-based-standards] (PRIX32): Likewise.
33573 [C99-based-standards] (SCNd32): Likewise.
33574 [C99-based-standards] (SCNi32): Likewise.
33575 [C99-based-standards] (SCNo32): Likewise.
33576 [C99-based-standards] (SCNu32): Likewise.
33577 [C99-based-standards] (SCNx32): Likewise.
33578 [C99-based-standards] (PRIdLEAST32): Likewise.
33579 [C99-based-standards] (PRIiLEAST32): Likewise.
33580 [C99-based-standards] (PRIoLEAST32): Likewise.
33581 [C99-based-standards] (PRIuLEAST32): Likewise.
33582 [C99-based-standards] (PRIxLEAST32): Likewise.
33583 [C99-based-standards] (PRIXLEAST32): Likewise.
33584 [C99-based-standards] (SCNdLEAST32): Likewise.
33585 [C99-based-standards] (SCNiLEAST32): Likewise.
33586 [C99-based-standards] (SCNoLEAST32): Likewise.
33587 [C99-based-standards] (SCNuLEAST32): Likewise.
33588 [C99-based-standards] (SCNxLEAST32): Likewise.
33589 [C99-based-standards] (PRIdFAST32): Likewise.
33590 [C99-based-standards] (PRIiFAST32): Likewise.
33591 [C99-based-standards] (PRIoFAST32): Likewise.
33592 [C99-based-standards] (PRIuFAST32): Likewise.
33593 [C99-based-standards] (PRIxFAST32): Likewise.
33594 [C99-based-standards] (PRIXFAST32): Likewise.
33595 [C99-based-standards] (SCNdFAST32): Likewise.
33596 [C99-based-standards] (SCNiFAST32): Likewise.
33597 [C99-based-standards] (SCNoFAST32): Likewise.
33598 [C99-based-standards] (SCNuFAST32): Likewise.
33599 [C99-based-standards] (SCNxFAST32): Likewise.
33600 [C99-based-standards] (PRId64): Likewise.
33601 [C99-based-standards] (PRIi64): Likewise.
33602 [C99-based-standards] (PRIo64): Likewise.
33603 [C99-based-standards] (PRIu64): Likewise.
33604 [C99-based-standards] (PRIx64): Likewise.
33605 [C99-based-standards] (PRIX64): Likewise.
33606 [C99-based-standards] (SCNd64): Likewise.
33607 [C99-based-standards] (SCNi64): Likewise.
33608 [C99-based-standards] (SCNo64): Likewise.
33609 [C99-based-standards] (SCNu64): Likewise.
33610 [C99-based-standards] (SCNx64): Likewise.
33611 [C99-based-standards] (PRIdLEAST64): Likewise.
33612 [C99-based-standards] (PRIiLEAST64): Likewise.
33613 [C99-based-standards] (PRIoLEAST64): Likewise.
33614 [C99-based-standards] (PRIuLEAST64): Likewise.
33615 [C99-based-standards] (PRIxLEAST64): Likewise.
33616 [C99-based-standards] (PRIXLEAST64): Likewise.
33617 [C99-based-standards] (SCNdLEAST64): Likewise.
33618 [C99-based-standards] (SCNiLEAST64): Likewise.
33619 [C99-based-standards] (SCNoLEAST64): Likewise.
33620 [C99-based-standards] (SCNuLEAST64): Likewise.
33621 [C99-based-standards] (SCNxLEAST64): Likewise.
33622 [C99-based-standards] (PRIdFAST64): Likewise.
33623 [C99-based-standards] (PRIiFAST64): Likewise.
33624 [C99-based-standards] (PRIoFAST64): Likewise.
33625 [C99-based-standards] (PRIuFAST64): Likewise.
33626 [C99-based-standards] (PRIxFAST64): Likewise.
33627 [C99-based-standards] (PRIXFAST64): Likewise.
33628 [C99-based-standards] (SCNdFAST64): Likewise.
33629 [C99-based-standards] (SCNiFAST64): Likewise.
33630 [C99-based-standards] (SCNoFAST64): Likewise.
33631 [C99-based-standards] (SCNuFAST64): Likewise.
33632 [C99-based-standards] (SCNxFAST64): Likewise.
33633 [C99-based-standards] (PRIdMAX): Likewise.
33634 [C99-based-standards] (PRIiMAX): Likewise.
33635 [C99-based-standards] (PRIoMAX): Likewise.
33636 [C99-based-standards] (PRIuMAX): Likewise.
33637 [C99-based-standards] (PRIxMAX): Likewise.
33638 [C99-based-standards] (PRIXMAX): Likewise.
33639 [C99-based-standards] (SCNdMAX): Likewise.
33640 [C99-based-standards] (SCNiMAX): Likewise.
33641 [C99-based-standards] (SCNoMAX): Likewise.
33642 [C99-based-standards] (SCNuMAX): Likewise.
33643 [C99-based-standards] (SCNxMAX): Likewise.
33644 [C99-based-standards] (PRIdPTR): Likewise.
33645 [C99-based-standards] (PRIiPTR): Likewise.
33646 [C99-based-standards] (PRIoPTR): Likewise.
33647 [C99-based-standards] (PRIuPTR): Likewise.
33648 [C99-based-standards] (PRIxPTR): Likewise.
33649 [C99-based-standards] (PRIXPTR): Likewise.
33650 [C99-based-standards] (SCNdPTR): Likewise.
33651 [C99-based-standards] (SCNiPTR): Likewise.
33652 [C99-based-standards] (SCNoPTR): Likewise.
33653 [C99-based-standards] (SCNuPTR): Likewise.
33654 [C99-based-standards] (SCNxPTR): Likewise.
33655 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33656 allow.
33657 * conform/data/stdint.h-data: Update comments to clarify
33658 requirements.
33659 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33660 type.
33661 [C99-based standards] (INT8_MAX): Likewise.
33662 [C99-based standards] (INT16_MIN): Likewise.
33663 [C99-based standards] (INT16_MAX): Likewise.
33664 [C99-based standards] (INT32_MIN): Likewise.
33665 [C99-based standards] (INT32_MAX): Likewise.
33666 [C99-based standards] (INT64_MIN): Likewise.
33667 [C99-based standards] (INT64_MAX): Likewise.
33668 [C99-based standards] (UINT8_MAX): Likewise.
33669 [C99-based standards] (UINT16_MAX): Likewise.
33670 [C99-based standards] (UINT32_MAX): Likewise.
33671 [C99-based standards] (UINT64_MAX): Likewise.
33672 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33673 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33674 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33675 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33676 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33677 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33678 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33679 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33680 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33681 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33682 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33683 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33684 [C99-based standards] (INT_FAST8_MIN): Likewise.
33685 [C99-based standards] (INT_FAST8_MAX): Likewise.
33686 [C99-based standards] (INT_FAST16_MIN): Likewise.
33687 [C99-based standards] (INT_FAST16_MAX): Likewise.
33688 [C99-based standards] (INT_FAST32_MIN): Likewise.
33689 [C99-based standards] (INT_FAST32_MAX): Likewise.
33690 [C99-based standards] (INT_FAST64_MIN): Likewise.
33691 [C99-based standards] (INT_FAST64_MAX): Likewise.
33692 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33693 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33694 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33695 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33696 [C99-based standards] (INTPTR_MIN): Likewise.
33697 [C99-based standards] (INTPTR_MAX): Likewise.
33698 [C99-based standards] (UINTPTR_MAX): Likewise.
33699 [C99-based standards] (INTMAX_MIN): Likewise.
33700 [C99-based standards] (INTMAX_MAX): Likewise.
33701 [C99-based standards] (UINTMAX_MAX): Likewise.
33702 [C99-based standards] (PTRDIFF_MIN): Likewise.
33703 [C99-based standards] (PTRDIFF_MAX): Likewise.
33704 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33705 [C99-based standards] (SIZE_MAX): Likewise.
33706 [C99-based standards] (WCHAR_MAX): Likewise.
33707 [C99-based standards] (WINT_MAX): Likewise.
33708 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33709 constraint on value.
33710 [C99-based standards] (WCHAR_MIN): Likewise.
33711 [C99-based standards] (WINT_MIN): Likewise.
33712 [C99-based standards] (*_t): Allow.
33713 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33714 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33715 Include math.h-data and complex.h-data. Remove all expectations
33716 of math.h and complex.h contents.
33717 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33718 at end of line.
33719 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33720 (struct tm): Expect tag.
33721 [C99-based-standards] (wcstof): Expect function.
33722 [C99-based-standards] (wcstold): Likewise.
33723 [C99-based-standards] (wcstoll): Likewise.
33724 [C99-based-standards] (wcstoull): Likewise.
33725 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33726 macro-int-constant. Specify type.
33727 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33728 constraint on value.
33729 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33730 Specify type.
33731 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33732 Specify value.
33733 [ISO C standards]: Do not allow headers.
33734 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33735 wcs[abcdefghijklmnopqrstuvwxyz]*.
33736 [ISO C standards] (*_t): Do not allow.
33737 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33738 Expect function.
33739 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33740 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33741 Specify type.
33742 [ISO C standards]: Do not allow headers.
33743 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33744 is[abcdefghijklmnopqrstuvwxyz]*.
33745 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33746 to[abcdefghijklmnopqrstuvwxyz]*.
33747 [ISO C standards] (*_t): Do not allow.
33748 * conform/data/stdalign.h-data: New file.
33749 * conform/data/stdbool.h-data: Likewise.
33750 * conform/data/stdnoreturn.h-data: Likewise.
33751
7514feb8
RM
337522012-11-07 Roland McGrath <roland@hack.frob.com>
33753
33754 [BZ #14815]
33755 * manual/filesys.texi (Directory Entries): Typo fix.
33756 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33757
19b2ecfc
MS
337582012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33759
33760 * elf/elf.h (EM_AARCH64): New macro.
33761 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33762 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33763 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33764 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33765 (R_AARCH64_TLSDESC): Likewise.
33766 (NT_ARM_TLS): Likewise.
33767 (NT_ARM_HW_BREAK): Likewise.
33768 (NT_ARM_HW_WATCH): Likewise.
33769
60e235ee
JM
337702012-11-07 Joseph Myers <joseph@codesourcery.com>
33771
33772 [BZ #14811]
33773 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33774 (__ieee754_powl): Saturate nonzero exponents with absolute value
33775 below 0x1p-79 to +/- 0x1p-79.
33776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33777 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33778 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33779 nonzero exponents with absolute value below 0x1p-32 to +/-
33780 0x1p-32.
33781 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33782 (__ieee754_powl): Saturate nonzero exponents with absolute value
33783 below 0x1p-79 to +/- 0x1p-79.
33784 * math/libm-test.inc (pow_test): Add more tests.
33785
0ab234b7
AK
337862012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33787
33788 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33789 _dl_s390_cap_flags with kernel. Increase string length.
33790 (_dl_s390_platforms): Add z196 and zEC12.
33791
45832f74
JM
337922012-11-07 Joseph Myers <joseph@codesourcery.com>
33793
33794 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33795 Change XOPEN21K to XOPEN2K.
33796
19218757
MK
337972012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33798
33799 * string/memmove.c: Use memcpy when possible.
33800
c5f45721
AJ
338012012-11-06 Andreas Jaeger <aj@suse.de>
33802
33803 * po/eo.po: Update from translation team.
33804
82477c28
JM
338052012-11-06 Joseph Myers <joseph@codesourcery.com>
33806
33807 [BZ #14793]
33808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33809 exponent and small x and y exponents, scale x or y up. Increase
33810 by 2 the exponent used in scaling up.
33811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33813 * math/libm-test.inc (fma_test): Add more tests.
33814 (fma_test_towardzero): Likewise.
33815 (fma_test_downward): Likewise.
33816 (fma_test_upward): Likewise.
33817
99252c8c
JM
338182012-11-05 Joseph Myers <joseph@codesourcery.com>
33819
acfa885f
JM
33820 [BZ #14805]
33821 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33822 fenv_t *.
33823
99252c8c
JM
33824 [BZ #14801]
33825 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33826 namespace for names of struct fields.
33827 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33828 fenv_t fields.
33829 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33830 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33831
d6d98dea
ST
338322012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33833
33834 [BZ #3665]
33835 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33836
e10bb107
TS
338372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33838
33839 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33840 PTR_DEMANGLE.
33841
33842 [BZ #5246]
33843 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33844 PTR_DEMANGLE.
33845
a0c2940d
JM
338462012-11-04 Joseph Myers <joseph@codesourcery.com>
33847
33848 [BZ #14797]
33849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33850 definitely overflow as x * y not x * y + z.
33851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33852 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33853 * math/libm-test.inc (fma_test): Add more tests.
33854 (fma_test_towardzero): Likewise.
33855 (fma_test_downward): Likewise.
33856 (fma_test_upward): Likewise.
33857
b830319d
TS
338582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33859
33860 [BZ #157]
33861
33862 * include/stub-tag.h: Remove file.
33863 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33864 '#include' of it.
33865 * manual/maint.texi (Porting): Don't reference it.
33866 * Makerules ($(objpfx)stubs): Likewise.
33867 * dirent/closedir.c: Don't include <stub-tag.h>.
33868 * dirent/dirfd.c: Likewise.
33869 * dirent/fdopendir.c: Likewise.
33870 * dirent/getdents.c: Likewise.
33871 * dirent/getdents64.c: Likewise.
33872 * dirent/opendir.c: Likewise.
33873 * dirent/readdir.c: Likewise.
33874 * dirent/readdir64.c: Likewise.
33875 * dirent/readdir64_r.c: Likewise.
33876 * dirent/readdir_r.c: Likewise.
33877 * dirent/rewinddir.c: Likewise.
33878 * dirent/seekdir.c: Likewise.
33879 * dirent/telldir.c: Likewise.
33880 * gmon/profil.c: Likewise.
33881 * grp/setgroups.c: Likewise.
33882 * inet/if_index.c: Likewise.
33883 * io/access.c: Likewise.
33884 * io/chdir.c: Likewise.
33885 * io/chmod.c: Likewise.
33886 * io/chown.c: Likewise.
33887 * io/close.c: Likewise.
33888 * io/dup.c: Likewise.
33889 * io/dup2.c: Likewise.
33890 * io/dup3.c: Likewise.
33891 * io/euidaccess.c: Likewise.
33892 * io/faccessat.c: Likewise.
33893 * io/fchdir.c: Likewise.
33894 * io/fchmod.c: Likewise.
33895 * io/fchmodat.c: Likewise.
33896 * io/fchown.c: Likewise.
33897 * io/fchownat.c: Likewise.
33898 * io/fcntl.c: Likewise.
33899 * io/flock.c: Likewise.
33900 * io/fstatfs.c: Likewise.
33901 * io/fstatfs64.c: Likewise.
33902 * io/fstatvfs.c: Likewise.
33903 * io/fstatvfs64.c: Likewise.
33904 * io/futimens.c: Likewise.
33905 * io/fxstat.c: Likewise.
33906 * io/fxstat64.c: Likewise.
33907 * io/fxstatat.c: Likewise.
33908 * io/fxstatat64.c: Likewise.
33909 * io/getcwd.c: Likewise.
33910 * io/isatty.c: Likewise.
33911 * io/lchmod.c: Likewise.
33912 * io/lchown.c: Likewise.
33913 * io/link.c: Likewise.
33914 * io/linkat.c: Likewise.
33915 * io/lseek.c: Likewise.
33916 * io/lseek64.c: Likewise.
33917 * io/lxstat64.c: Likewise.
33918 * io/mkdir.c: Likewise.
33919 * io/mkdirat.c: Likewise.
33920 * io/mkfifo.c: Likewise.
33921 * io/mkfifoat.c: Likewise.
33922 * io/open.c: Likewise.
33923 * io/open64.c: Likewise.
33924 * io/openat.c: Likewise.
33925 * io/openat64.c: Likewise.
33926 * io/pipe.c: Likewise.
33927 * io/pipe2.c: Likewise.
33928 * io/poll.c: Likewise.
33929 * io/posix_fadvise.c: Likewise.
33930 * io/posix_fadvise64.c: Likewise.
33931 * io/posix_fallocate.c: Likewise.
33932 * io/posix_fallocate64.c: Likewise.
33933 * io/read.c: Likewise.
33934 * io/readlink.c: Likewise.
33935 * io/readlinkat.c: Likewise.
33936 * io/rmdir.c: Likewise.
33937 * io/sendfile.c: Likewise.
33938 * io/sendfile64.c: Likewise.
33939 * io/statfs.c: Likewise.
33940 * io/statfs64.c: Likewise.
33941 * io/statvfs.c: Likewise.
33942 * io/statvfs64.c: Likewise.
33943 * io/symlink.c: Likewise.
33944 * io/symlinkat.c: Likewise.
33945 * io/ttyname.c: Likewise.
33946 * io/ttyname_r.c: Likewise.
33947 * io/umask.c: Likewise.
33948 * io/unlink.c: Likewise.
33949 * io/unlinkat.c: Likewise.
33950 * io/utime.c: Likewise.
33951 * io/utimensat.c: Likewise.
33952 * io/write.c: Likewise.
33953 * io/xmknod.c: Likewise.
33954 * io/xmknodat.c: Likewise.
33955 * io/xstat.c: Likewise.
33956 * io/xstat64.c: Likewise.
33957 * login/getpt.c: Likewise.
33958 * login/grantpt.c: Likewise.
33959 * login/unlockpt.c: Likewise.
33960 * math/e_acoshl.c: Likewise.
33961 * math/e_acosl.c: Likewise.
33962 * math/e_asinl.c: Likewise.
33963 * math/e_atan2l.c: Likewise.
33964 * math/e_atanhl.c: Likewise.
33965 * math/e_coshl.c: Likewise.
33966 * math/e_expl.c: Likewise.
33967 * math/e_fmodl.c: Likewise.
33968 * math/e_gammal_r.c: Likewise.
33969 * math/e_hypotl.c: Likewise.
33970 * math/e_j0l.c: Likewise.
33971 * math/e_j1l.c: Likewise.
33972 * math/e_jnl.c: Likewise.
33973 * math/e_lgammal_r.c: Likewise.
33974 * math/e_log10l.c: Likewise.
33975 * math/e_log2l.c: Likewise.
33976 * math/e_logl.c: Likewise.
33977 * math/e_powl.c: Likewise.
33978 * math/e_rem_pio2l.c: Likewise.
33979 * math/e_sinhl.c: Likewise.
33980 * math/e_sqrtl.c: Likewise.
33981 * math/fclrexcpt.c: Likewise.
33982 * math/fedisblxcpt.c: Likewise.
33983 * math/feenablxcpt.c: Likewise.
33984 * math/fegetenv.c: Likewise.
33985 * math/fegetexcept.c: Likewise.
33986 * math/fegetround.c: Likewise.
33987 * math/feholdexcpt.c: Likewise.
33988 * math/fesetenv.c: Likewise.
33989 * math/fesetround.c: Likewise.
33990 * math/feupdateenv.c: Likewise.
33991 * math/fgetexcptflg.c: Likewise.
33992 * math/fraiseexcpt.c: Likewise.
33993 * math/fsetexcptflg.c: Likewise.
33994 * math/ftestexcept.c: Likewise.
33995 * math/k_cosl.c: Likewise.
33996 * math/k_rem_pio2l.c: Likewise.
33997 * math/k_sinl.c: Likewise.
33998 * math/k_tanl.c: Likewise.
33999 * math/s_asinhl.c: Likewise.
34000 * math/s_atanl.c: Likewise.
34001 * math/s_cbrtl.c: Likewise.
34002 * math/s_erfl.c: Likewise.
34003 * math/s_expm1l.c: Likewise.
34004 * math/s_log1pl.c: Likewise.
34005 * math/s_tanhl.c: Likewise.
34006 * misc/acct.c: Likewise.
34007 * misc/brk.c: Likewise.
34008 * misc/chflags.c: Likewise.
34009 * misc/chroot.c: Likewise.
34010 * misc/fchflags.c: Likewise.
34011 * misc/fgetxattr.c: Likewise.
34012 * misc/flistxattr.c: Likewise.
34013 * misc/fremovexattr.c: Likewise.
34014 * misc/fsetxattr.c: Likewise.
34015 * misc/fsync.c: Likewise.
34016 * misc/ftruncate.c: Likewise.
34017 * misc/futimes.c: Likewise.
34018 * misc/futimesat.c: Likewise.
34019 * misc/getdomain.c: Likewise.
34020 * misc/getdtsz.c: Likewise.
34021 * misc/gethostid.c: Likewise.
34022 * misc/gethostname.c: Likewise.
34023 * misc/getloadavg.c: Likewise.
34024 * misc/getpagesize.c: Likewise.
34025 * misc/getsysstats.c: Likewise.
34026 * misc/getxattr.c: Likewise.
34027 * misc/gtty.c: Likewise.
34028 * misc/ioctl.c: Likewise.
34029 * misc/lgetxattr.c: Likewise.
34030 * misc/listxattr.c: Likewise.
34031 * misc/llistxattr.c: Likewise.
34032 * misc/lremovexattr.c: Likewise.
34033 * misc/lsetxattr.c: Likewise.
34034 * misc/lutimes.c: Likewise.
34035 * misc/madvise.c: Likewise.
34036 * misc/mincore.c: Likewise.
34037 * misc/mlock.c: Likewise.
34038 * misc/mlockall.c: Likewise.
34039 * misc/mmap.c: Likewise.
34040 * misc/mprotect.c: Likewise.
34041 * misc/msync.c: Likewise.
34042 * misc/munlock.c: Likewise.
34043 * misc/munlockall.c: Likewise.
34044 * misc/munmap.c: Likewise.
34045 * misc/preadv.c: Likewise.
34046 * misc/preadv64.c: Likewise.
34047 * misc/ptrace.c: Likewise.
34048 * misc/pwritev.c: Likewise.
34049 * misc/pwritev64.c: Likewise.
34050 * misc/readv.c: Likewise.
34051 * misc/reboot.c: Likewise.
34052 * misc/remap_file_pages.c: Likewise.
34053 * misc/removexattr.c: Likewise.
34054 * misc/revoke.c: Likewise.
34055 * misc/select.c: Likewise.
34056 * misc/setdomain.c: Likewise.
34057 * misc/setegid.c: Likewise.
34058 * misc/seteuid.c: Likewise.
34059 * misc/sethostid.c: Likewise.
34060 * misc/sethostname.c: Likewise.
34061 * misc/setregid.c: Likewise.
34062 * misc/setreuid.c: Likewise.
34063 * misc/setxattr.c: Likewise.
34064 * misc/sstk.c: Likewise.
34065 * misc/stty.c: Likewise.
34066 * misc/swapoff.c: Likewise.
34067 * misc/swapon.c: Likewise.
34068 * misc/sync.c: Likewise.
34069 * misc/syncfs.c: Likewise.
34070 * misc/syscall.c: Likewise.
34071 * misc/truncate.c: Likewise.
34072 * misc/ualarm.c: Likewise.
34073 * misc/usleep.c: Likewise.
34074 * misc/ustat.c: Likewise.
34075 * misc/utimes.c: Likewise.
34076 * misc/vhangup.c: Likewise.
34077 * misc/writev.c: Likewise.
34078 * posix/_exit.c: Likewise.
34079 * posix/alarm.c: Likewise.
34080 * posix/execve.c: Likewise.
34081 * posix/fexecve.c: Likewise.
34082 * posix/fork.c: Likewise.
34083 * posix/fpathconf.c: Likewise.
34084 * posix/getaddrinfo.c: Likewise.
34085 * posix/getegid.c: Likewise.
34086 * posix/geteuid.c: Likewise.
34087 * posix/getgid.c: Likewise.
34088 * posix/getgroups.c: Likewise.
34089 * posix/getlogin.c: Likewise.
34090 * posix/getlogin_r.c: Likewise.
34091 * posix/getpgid.c: Likewise.
34092 * posix/getpid.c: Likewise.
34093 * posix/getppid.c: Likewise.
34094 * posix/getresgid.c: Likewise.
34095 * posix/getresuid.c: Likewise.
34096 * posix/getsid.c: Likewise.
34097 * posix/getuid.c: Likewise.
34098 * posix/glob64.c: Likewise.
34099 * posix/nanosleep.c: Likewise.
34100 * posix/pathconf.c: Likewise.
34101 * posix/pause.c: Likewise.
34102 * posix/posix_madvise.c: Likewise.
34103 * posix/pread.c: Likewise.
34104 * posix/pread64.c: Likewise.
34105 * posix/pwrite.c: Likewise.
34106 * posix/pwrite64.c: Likewise.
34107 * posix/sched_getaffinity.c: Likewise.
34108 * posix/sched_getp.c: Likewise.
34109 * posix/sched_gets.c: Likewise.
34110 * posix/sched_primax.c: Likewise.
34111 * posix/sched_primin.c: Likewise.
34112 * posix/sched_rr_gi.c: Likewise.
34113 * posix/sched_setaffinity.c: Likewise.
34114 * posix/sched_setp.c: Likewise.
34115 * posix/sched_sets.c: Likewise.
34116 * posix/sched_yield.c: Likewise.
34117 * posix/setgid.c: Likewise.
34118 * posix/setlogin.c: Likewise.
34119 * posix/setpgid.c: Likewise.
34120 * posix/setresgid.c: Likewise.
34121 * posix/setresuid.c: Likewise.
34122 * posix/setsid.c: Likewise.
34123 * posix/setuid.c: Likewise.
34124 * posix/sleep.c: Likewise.
34125 * posix/spawni.c: Likewise.
34126 * posix/sysconf.c: Likewise.
34127 * posix/times.c: Likewise.
34128 * posix/wait.c: Likewise.
34129 * posix/wait3.c: Likewise.
34130 * posix/wait4.c: Likewise.
34131 * posix/waitpid.c: Likewise.
34132 * resolv/gai_sigqueue.c: Likewise.
34133 * resource/getpriority.c: Likewise.
34134 * resource/getrlimit.c: Likewise.
34135 * resource/getrusage.c: Likewise.
34136 * resource/nice.c: Likewise.
34137 * resource/setpriority.c: Likewise.
34138 * resource/setrlimit.c: Likewise.
34139 * resource/ulimit.c: Likewise.
34140 * rt/aio_cancel.c: Likewise.
34141 * rt/aio_fsync.c: Likewise.
34142 * rt/aio_read.c: Likewise.
34143 * rt/aio_sigqueue.c: Likewise.
34144 * rt/aio_suspend.c: Likewise.
34145 * rt/aio_write.c: Likewise.
34146 * rt/clock_getres.c: Likewise.
34147 * rt/clock_gettime.c: Likewise.
34148 * rt/clock_nanosleep.c: Likewise.
34149 * rt/clock_settime.c: Likewise.
34150 * rt/lio_listio.c: Likewise.
34151 * rt/mq_close.c: Likewise.
34152 * rt/mq_getattr.c: Likewise.
34153 * rt/mq_notify.c: Likewise.
34154 * rt/mq_open.c: Likewise.
34155 * rt/mq_receive.c: Likewise.
34156 * rt/mq_send.c: Likewise.
34157 * rt/mq_setattr.c: Likewise.
34158 * rt/mq_timedreceive.c: Likewise.
34159 * rt/mq_timedsend.c: Likewise.
34160 * rt/mq_unlink.c: Likewise.
34161 * rt/shm_open.c: Likewise.
34162 * rt/shm_unlink.c: Likewise.
34163 * rt/timer_create.c: Likewise.
34164 * rt/timer_delete.c: Likewise.
34165 * rt/timer_getoverr.c: Likewise.
34166 * rt/timer_gettime.c: Likewise.
34167 * rt/timer_settime.c: Likewise.
34168 * setjmp/__longjmp.c: Likewise.
34169 * setjmp/setjmp.c: Likewise.
34170 * signal/kill.c: Likewise.
34171 * signal/killpg.c: Likewise.
34172 * signal/raise.c: Likewise.
34173 * signal/sigaction.c: Likewise.
34174 * signal/sigaltstack.c: Likewise.
34175 * signal/sigblock.c: Likewise.
34176 * signal/sigignore.c: Likewise.
34177 * signal/sigintr.c: Likewise.
34178 * signal/signal.c: Likewise.
34179 * signal/sigpause.c: Likewise.
34180 * signal/sigpending.c: Likewise.
34181 * signal/sigqueue.c: Likewise.
34182 * signal/sigreturn.c: Likewise.
34183 * signal/sigset.c: Likewise.
34184 * signal/sigsetmask.c: Likewise.
34185 * signal/sigstack.c: Likewise.
34186 * signal/sigsuspend.c: Likewise.
34187 * signal/sigtimedwait.c: Likewise.
34188 * signal/sigvec.c: Likewise.
34189 * signal/sigwait.c: Likewise.
34190 * signal/sigwaitinfo.c: Likewise.
34191 * signal/sysv_signal.c: Likewise.
34192 * socket/accept.c: Likewise.
34193 * socket/accept4.c: Likewise.
34194 * socket/bind.c: Likewise.
34195 * socket/connect.c: Likewise.
34196 * socket/getpeername.c: Likewise.
34197 * socket/getsockname.c: Likewise.
34198 * socket/getsockopt.c: Likewise.
34199 * socket/isfdtype.c: Likewise.
34200 * socket/listen.c: Likewise.
34201 * socket/recv.c: Likewise.
34202 * socket/recvfrom.c: Likewise.
34203 * socket/recvmsg.c: Likewise.
34204 * socket/send.c: Likewise.
34205 * socket/sendmsg.c: Likewise.
34206 * socket/sendto.c: Likewise.
34207 * socket/setsockopt.c: Likewise.
34208 * socket/shutdown.c: Likewise.
34209 * socket/sockatmark.c: Likewise.
34210 * socket/socket.c: Likewise.
34211 * socket/socketpair.c: Likewise.
34212 * stdio-common/ctermid.c: Likewise.
34213 * stdio-common/cuserid.c: Likewise.
34214 * stdio-common/remove.c: Likewise.
34215 * stdio-common/rename.c: Likewise.
34216 * stdio-common/renameat.c: Likewise.
34217 * stdio-common/tempname.c: Likewise.
34218 * stdlib/getcontext.c: Likewise.
34219 * stdlib/makecontext.c: Likewise.
34220 * stdlib/setcontext.c: Likewise.
34221 * stdlib/swapcontext.c: Likewise.
34222 * stdlib/system.c: Likewise.
34223 * streams/fattach.c: Likewise.
34224 * streams/fdetach.c: Likewise.
34225 * streams/getmsg.c: Likewise.
34226 * streams/getpmsg.c: Likewise.
34227 * streams/putmsg.c: Likewise.
34228 * streams/putpmsg.c: Likewise.
34229 * sysdeps/unix/bsd/getpt.c: Likewise.
34230 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34231 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34232 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34234 Likewise.
34235 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34236 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34237 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34238 * sysvipc/msgctl.c: Likewise.
34239 * sysvipc/msgget.c: Likewise.
34240 * sysvipc/msgrcv.c: Likewise.
34241 * sysvipc/msgsnd.c: Likewise.
34242 * sysvipc/semctl.c: Likewise.
34243 * sysvipc/semget.c: Likewise.
34244 * sysvipc/semop.c: Likewise.
34245 * sysvipc/semtimedop.c: Likewise.
34246 * sysvipc/shmat.c: Likewise.
34247 * sysvipc/shmctl.c: Likewise.
34248 * sysvipc/shmdt.c: Likewise.
34249 * sysvipc/shmget.c: Likewise.
34250 * termios/tcdrain.c: Likewise.
34251 * termios/tcflow.c: Likewise.
34252 * termios/tcflush.c: Likewise.
34253 * termios/tcgetattr.c: Likewise.
34254 * termios/tcgetpgrp.c: Likewise.
34255 * termios/tcsendbrk.c: Likewise.
34256 * termios/tcsetattr.c: Likewise.
34257 * termios/tcsetpgrp.c: Likewise.
34258 * time/adjtime.c: Likewise.
34259 * time/clock.c: Likewise.
34260 * time/getitimer.c: Likewise.
34261 * time/gettimeofday.c: Likewise.
34262 * time/setitimer.c: Likewise.
34263 * time/settimeofday.c: Likewise.
34264 * time/stime.c: Likewise.
34265 * time/time.c: Likewise.
34266
342672012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34268
a20492cf
PT
34269 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34270 /usr/old/bin.
34271
72e182e3
PT
34272 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34273 instead of spaces.
34274 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34275
fbeafede
JM
342762012-11-03 Joseph Myers <joseph@codesourcery.com>
34277
5b5b04d6
JM
34278 [BZ #14796]
34279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34280 FE_TONEAREST before applying Dekker multiplication and Knuth
34281 addition. Clear inexact exceptions and check for exact zero
34282 results afterwards.
34283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34284 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34286 * math/libm-test.inc (fma_test): Add more tests.
34287 (fma_test_towardzero): Likewise.
34288 (fma_test_downward): Likewise.
34289 (fma_test_upward): Likewise.
34290 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34291 function.
34292 (libc_fesetround): New macro.
34293 (libc_fesetroundf): Likewise.
34294 (libc_fesetroundl): Likewise.
34295 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34296 function.
34297 (libc_fesetround_387): Likewise.
34298 (libc_fesetroundf): New macro.
34299 (libc_fesetround): Likewise.
34300 (libc_fesetroundl): Likewise.
34301 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34302 function.
34303 (libc_fesetroundf): New macro.
34304 (libc_fesetround): Likewise.
34305 (libc_fesetroundl): Likewise.
34306 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34307 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34308 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34309 libm_hidden_ver.
34310 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34311 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34312 libm_hidden_def.
34313 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34314 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34315 libm_hidden_ver.
34316 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34317 libm_hidden_def.
34318
fbeafede
JM
34319 [BZ #3439]
34320 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34321 integer constant usable in #if and use that to give value to enum
34322 constant.
34323 (FE_DIVBYZERO): Likewise.
34324 (FE_UNDERFLOW): Likewise.
34325 (FE_OVERFLOW): Likewise.
34326 (FE_INVALID): Likewise.
34327 (FE_INVALID_SNAN): Likewise.
34328 (FE_INVALID_ISI): Likewise.
34329 (FE_INVALID_IDI): Likewise.
34330 (FE_INVALID_ZDZ): Likewise.
34331 (FE_INVALID_IMZ): Likewise.
34332 (FE_INVALID_COMPARE): Likewise.
34333 (FE_INVALID_SOFTWARE): Likewise.
34334 (FE_INVALID_SQRT): Likewise.
34335 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34336 (FE_TONEAREST): Likewise.
34337 (FE_TOWARDZERO): Likewise.
34338 (FE_UPWARD): Likewise.
34339 (FE_DOWNWARD): Likewise.
34340 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34341 (FE_DIVBYZERO): Likewise.
34342 (FE_OVERFLOW): Likewise.
34343 (FE_UNDERFLOW): Likewise.
34344 (FE_INEXACT): Likewise.
34345 (FE_TONEAREST): Likewise.
34346 (FE_DOWNWARD): Likewise.
34347 (FE_UPWARD): Likewise.
34348 (FE_TOWARDZERO): Likewise.
34349 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34350 (FE_UNDERFLOW): Likewise.
34351 (FE_OVERFLOW): Likewise.
34352 (FE_DIVBYZERO): Likewise.
34353 (FE_INVALID): Likewise.
34354 (FE_TONEAREST): Likewise.
34355 (FE_TOWARDZERO): Likewise.
34356 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34357 (FE_OVERFLOW): Likewise.
34358 (FE_UNDERFLOW): Likewise.
34359 (FE_DIVBYZERO): Likewise.
34360 (FE_INEXACT): Likewise.
34361 (FE_TONEAREST): Likewise.
34362 (FE_TOWARDZERO): Likewise.
34363 (FE_UPWARD): Likewise.
34364 (FE_DOWNWARD): Likewise.
34365 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34366 (FE_DIVBYZERO): Likewise.
34367 (FE_OVERFLOW): Likewise.
34368 (FE_UNDERFLOW): Likewise.
34369 (FE_INEXACT): Likewise.
34370 (FE_TONEAREST): Likewise.
34371 (FE_DOWNWARD): Likewise.
34372 (FE_UPWARD): Likewise.
34373 (FE_TOWARDZERO): Likewise.
34374
105ca950
CM
343752012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34376
34377 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34378
a542b389
AS
343792012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34380
34381 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34382 commands. Quote $PWD.
34383 (blacklist_exports): Don't use remove_newlines. Replace "declare
34384 -x" by "export".
34385 (remove_newlines): Remove.
34386
f62c8abc
L
343872012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34388
34389 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34390 * stdlib/stdlib.h (atof): Moved to ...
34391 * include/bits/stdlib-float.h: Here. New file.
34392 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34393 * stdlib/bits/stdlib-float.h: New file.
34394 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34395 -mno-sse -mno-mmx.
34396 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34397 <xmmintrin.h>.
34398
0155d5b2
JM
343992012-11-02 Joseph Myers <joseph@codesourcery.com>
34400
a68d0680
JM
34401 * conform/conformtest.pl (@headers): Add fenv.h.
34402 * conform/data/fenv.h-data: New file.
34403 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34404 include of <math/fenv.h>.
34405
caf7f573
JM
34406 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34407 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34408 && !UNIX98]. Enables tests for XOPEN2K8.
34409 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34410 POSIX2008]: Likewise.
34411
6c073ad6
JM
34412 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34413 (struct rusage): Do not expect type or its members.
34414
0155d5b2
JM
34415 [BZ #3439]
34416 * math/math.h (FP_NAN): Define macro to integer constant usable in
34417 #if and use that to give value to enum constant.
34418 (FP_INFINITE): Likewise.
34419 (FP_ZERO): Likewise.
34420 (FP_SUBNORMAL): Likewise.
34421 (FP_NORMAL): Likewise.
34422
b5dcacb4
AS
344232012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34424
34425 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34426 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34427 arguments.
34428
f7934be8
RM
344292012-11-02 Roland McGrath <roland@hack.frob.com>
34430
34431 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34432 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34433 autoconf-time if not.
34434 * configure.in: Remove AC_PREREQ.
34435
d7d08bde
TMQMF
344362012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34437
34438 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34439 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34440 of the internal implementation.
34441
dcdae19a
JM
344422012-11-02 Joseph Myers <joseph@codesourcery.com>
34443
34444 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34445 except include of <misc/sys/syslog.h>.
34446
d6cffd3e
AS
344472012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34448
34449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34450 function returns with a NULL context exit with zero.
34451
b3563932
TMQMF
344522012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34453
34454 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34455
b288a93d
L
344562012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34457
34458 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34459 (run_program_cmd): This.
34460 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34461 (tst_langinfo): New variable. Use it.
34462
a2421a68
SAS
344632012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34464
34465 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34466 floating point opcodes.
34467
6f796e1b
TS
344682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34469
7402596b
TS
34470 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34471 variable.
34472
d0d4f868
TS
34473 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34474
6f796e1b
TS
34475 * sysdeps/mach/hurd/powerpc: Remove directory.
34476 * sysdeps/mach/powerpc: Likewise.
34477
4da224a2
AS
344782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34479
34480 * scripts/check-local-headers.sh: Ignore c++ headers.
34481
341dd673
TS
344822012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34483
34484 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34485 __libc_cleanup_region_start argument.
34486
473611b2
JM
344872012-11-01 Joseph Myers <joseph@codesourcery.com>
34488
34489 [BZ #14784]
34490 [BZ #14785]
34491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34492 x * y using scaling, not as x * y + z.
34493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34495 * math/libm-test.inc (fma_test): Add more tests.
34496 (fma_test_towardzero): Likewise.
34497 (fma_test_downward): Likewise.
34498 (fma_test_upward): Likewise.
34499
4078da3d
TS
345002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34501
34502 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34503
903252aa
JM
345042012-10-31 Joseph Myers <joseph@codesourcery.com>
34505
34506 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34507 New variable.
34508
cbc818d0
TS
345092012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34510
34511 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34512
5a03cb1e
AS
345132012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34514
34515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34516 Fix sort order.
34517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34518 Likewise.
34519
90aff2ff
TMQMF
345202012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34521
34522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34523 Fix the order of the list for glibc 2.17.
34524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34525 Likewise.
34526
1818fcb7
AS
345272012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34528
34529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34530
ef82f4da
JM
345312012-10-31 Joseph Myers <joseph@codesourcery.com>
34532
16a0e2ec
JM
34533 [BZ #14610]
34534 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34535 for low part of x being zero before using __atanl (y).
34536 * math/libm-test.inc (atan2_test): Add another test.
34537
0eb69512
JM
34538 * manual/install.texi (Configuring and compiling): Document
34539 general use of test-wrapper and test-wrapper-env.
34540 * INSTALL: Regenerated.
34541
ef82f4da
JM
34542 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34543 (__fma): Do not extract and scale down low bits on after-rounding
34544 systems when result rounded to normal precision would have normal
34545 exponent.
34546 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34547 (__fmal): Do not extract and scale down low bits on after-rounding
34548 systems when result rounded to normal precision would have normal
34549 exponent.
34550 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34551 (__fmal): Do not extract and scale down low bits on after-rounding
34552 systems when result rounded to normal precision would have normal
34553 exponent.
34554 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34555 macro.
34556 (fma_test): Add more tests.
34557 (fma_test_towardzero): Likewise.
34558 (fma_test_downward): Likewise.
34559 (fma_test_upward): Likewise.
34560
954ef0d9
L
345612012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34562
34563 * sysdeps/i386/tininess.h: Renamed to ...
34564 * sysdeps/x86/tininess.h: This.
34565 * sysdeps/x86_64/tininess.h: Removed.
34566
df61ffb2
JM
345672012-10-30 Joseph Myers <joseph@codesourcery.com>
34568
34569 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34570 input. Use $(build-program-cmd).
34571 ($(objpfx)tst-array1-static.out): Likewise.
34572 ($(objpfx)tst-array2.out): Likewise.
34573 ($(objpfx)tst-array3.out): Likewise.
34574 ($(objpfx)tst-array4.out): Likewise.
34575 ($(objpfx)tst-array5.out): Likewise.
34576 ($(objpfx)tst-array5-static.out): Likewise.
34577
01767843
CM
345782012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34579
47cc1490
CM
34580 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34581 if defined.
34582
01767843
CM
34583 * nss/nsswitch.h (nss_interface_function): Provide new
34584 macro for use with NSS functions.
34585 * grp/initgroups.c: Use new macro.
34586 * nss/getXXbyYY.c: Likewise.
34587 * nss/getXXbyYY_r.c: Likewise.
34588 * nss/getXXent.c: Likewise.
34589 * nss/getXXent_r.c: Likewise.
34590 * sysdeps/posix/getaddrinfo.c: Likewise.
34591
8321aa97
AJ
345922012-10-30 Andreas Jaeger <aj@suse.de>
34593
34594 * po/ru.po: Update Russion translation from translation project.
34595
2a27fd6d
JM
345962012-10-30 Joseph Myers <joseph@codesourcery.com>
34597
8627a232
JM
34598 [BZ #14152]
34599 [BZ #14783]
34600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34601 result and shift together with sticky bit instead of replicating
34602 round-to-nearest rounding.
34603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34604 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34605 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34606 missing underflow exceptions.
34607 (fma_test_towardzero): Add more tests.
34608 (fma_test_downward): Likewise.
34609 (fma_test_upward): Likewise.
34610
2a27fd6d
JM
34611 [BZ #14047]
34612 * sysdeps/generic/tininess.h: New file.
34613 * sysdeps/i386/tininess.h: Likewise.
34614 * sysdeps/sh/tininess.h: Likewise.
34615 * sysdeps/x86_64/tininess.h: Likewise.
34616 * stdlib/tst-strtod-underflow.c: Likewise.
34617 * stdlib/tst-tininess.c: Likewise.
34618 * stdlib/strtod_l.c: Include <tininess.h>.
34619 (round_and_return): Do not set errno for exact underflow cases.
34620 Force an underflow exception when setting errno for underflow.
34621 Determine underflow based on rounding to normal precision if
34622 TININESS_AFTER_ROUNDING.
34623 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34624 ERANGE for exact underflow cases.
34625 * stdlib/Makefile (tests): Add tst-tininess and
34626 tst-strtod-underflow.
34627 ($(objpfx)tst-tininess): Use $(link-libm).
34628 ($(objpfx)tst-strtod-underflow): Likewise.
34629
e7170363
AJ
346302012-10-30 Andreas Jaeger <aj@suse.de>
34631
e5088dc6
AJ
34632 [BZ#14767]
34633 * elf/Makefile (tests): Remove conditional for have-initfini-array
34634 since this is now always required and the variable does not exist
34635 anymore.
34636 (tests-static): Likewise.
34637 (modules-names): Likewise.
34638
e7170363 34639 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
34640
34641 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34642 merged with constructor/destructor.
34643 (init_array): Likewise.
34644 * elf/tst-array2dep.c (fini_array): Likewise.
34645 (init_array): Likewise.
34646
60457d8a
MF
346472012-10-29 Mike Frysinger <vapier@gentoo.org>
34648
34649 * manual/message.texi: Delete @cartouche tags.
34650
8bece752
PT
346512012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34652
94ce799f
PT
34653 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34654 EOPNOTSUPP.
34655 * sysdeps/mach/hurd/fsync.c: Likewise.
34656
8bece752
PT
34657 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34658 [_POSIX_REALTIME_SIGNALS]: Change condition to
34659 [_POSIX_REALTIME_SIGNALS > 0].
34660
86ebe6b1
AJ
346612012-10-27 Andreas Jaeger <aj@suse.de>
34662
34663 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34664 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34666 [__WORDSIZE != 64]: Likewise.
34667
54399c08
L
346682012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34669
34670 * iconvdata/tst-table.sh: Remove ${SHELL}.
34671 * iconvdata/tst-tables.sh: Likewise.
34672
e2211bed
DM
346732012-10-25 David S. Miller <davem@davemloft.net>
34674
34675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34676 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34677 of strtoull.
34678
f303f97c
DM
34679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34680 ifunc-impl-list.c
34681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34682 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34683 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34684 file.
34685
1e9d84cd
RM
346862012-10-25 Roland McGrath <roland@hack.frob.com>
34687
34688 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34689 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34690 __getdirentries.
34691
df381762
JM
346922012-10-25 Joseph Myers <joseph@codesourcery.com>
34693 Jim Blandy <jimb@codesourcery.com>
34694
34695 * scripts/cross-test-ssh.sh: New file.
34696 * manual/install.texi (Configuring and compiling): Document use of
34697 cross-test-ssh.sh.
34698 * INSTALL: Regenerated.
34699
bff64913
PT
347002012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34701
34702 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34703 EOPNOTSUPP.
34704
25fe8932
JM
347052012-10-25 Joseph Myers <joseph@codesourcery.com>
34706
34707 * Makeconfig (run-program-prefix): Fix comment.
34708
cc1290d0
JM
347092012-10-24 Joseph Myers <joseph@codesourcery.com>
34710 Jim Blandy <jimb@codesourcery.com>
34711
34712 * Makeconfig (test-wrapper): New variable,
34713 (test-wrapper-env): Likewise.
34714 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34715 (run-built-tests): Define to yes.
34716 (run-program-prefix): Use $(test-wrapper).
34717 (built-program-cmd): Likewise.
34718 * Rules (make-test-out): Use $(test-wrapper-env) and
34719 $(host-built-program-cmd).
34720 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34721 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34722 tst-pathopt.sh.
34723 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34724 $(test-wrapper-env) to tst-rtld-load-self.sh.
34725 ($(objpfx)order2.out): Use $(test-wrapper).
34726 ($(objpfx)tst-initorder.out): Likewise.
34727 ($(objpfx)tst-initorder2.out): Likewise.
34728 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34729 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34730 (test_wrapper_env): New variable. Use it to run ld.so.
34731 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34732 Use it to run ld.so.
34733 (test_wrapper_env): Likewise.
34734 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34735 $(test-wrapper) to run-iconv-test.sh.
34736 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34737 (ICONV): Use $test_wrapper.
34738 * posix/Makefile ($(objpfx)globtest.out): Pass
34739 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34740 globtest.sh, not $(run-program-prefix).
34741 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34742 (test_wrapper): Likewise.
34743 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34744 set together with run_via_rtld_prefix.
34745 (run_program_prefix): Define in terms of test_wrapper and
34746 run_via_rtld_prefix.
34747
6e6249d0
RM
347482012-10-24 Roland McGrath <roland@hack.frob.com>
34749
34750 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34751 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34752 Targets removed.
34753
34754 [BZ #14743]
34755 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34756 Declare __clock_getres, __clock_gettime, __clock_settime,
34757 __clock_nanosleep, and __clock_getcpuclockid.
34758 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34759 Remove librt_hidden_def (clock_gettime).
34760 * sysdeps/unix/clock_gettime.c: Likewise.
34761 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34762 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34763 * rt/clock_getres.c: Define __clock_getres as an alias.
34764 * sysdeps/posix/clock_getres.c: Likewise.
34765 * rt/clock_settime.c: Define __clock_settime as an alias.
34766 * sysdeps/unix/clock_settime.c: Likewise.
34767 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34768 * sysdeps/unix/clock_nanosleep.c: Likewise.
34769 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34770 * rt/clock-compat.c: New file.
34771 * rt/Makefile (librt-routines): Add clock-compat and move
34772 $(clock-routines) to ...
34773 (routines): ... here, new variable.
34774 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34775 Don't add get_clockfreq here.
34776 * rt/Versions (libc: GLIBC_2.17): New version set.
34777 Add clock_* symbols here.
34778 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34780 (GLIBC_2.17): Add clock_* symbols.
34781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34783 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34785 Likewise.
34786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34787 Likewise.
34788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34792 * NEWS: Mention the move.
34793
34794 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34795 Use __open, __read, __close rather than their public counterparts.
34796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34797 (__get_clockfreq_via_cpuinfo): Likewise.
34798 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34799 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34800
34801 * config.h.in (HAVE_IFUNC): New #undef.
34802 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34803 was successful.
34804 * configure: Regenerated.
34805
0cae3f4b
MF
348062012-10-24 Mike Frysinger <vapier@gentoo.org>
34807
34808 * configure.in: Move READELF check to start of file.
34809 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34810 libc_cv_asm_gnu_indirect_function in the process.
34811 * configure: Regenerated.
34812
8175a253
MF
348132012-10-24 Mike Frysinger <vapier@gentoo.org>
34814
34815 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34816 send the output to /dev/null.
34817 (libc_cv_cc_with_libunwind): Likewise.
34818 (libc_cv_as_noexecstack): Likewise.
34819 * configure: Regenerate.
34820
0708a7d1
JM
348212012-10-24 Joseph Myers <joseph@codesourcery.com>
34822
10b40d85
JM
34823 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34824
0708a7d1
JM
34825 * posix/globtest.sh (TMPDIR): Do not set.
34826 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34827 (testout): Likewise.
34828
9fddec1a
AJ
348292012-10-24 Andreas Jaeger <aj@suse.de>
34830
3a8db22f
AJ
34831 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34832 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34833 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34834 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34835 posix_fadvise64, posix_fallocate64.
34836
9fddec1a
AJ
34837 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34838 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34839 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34840 Likewise.
34841 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34842 Likewise.
34843 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34844
34845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34846 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34847 <bits/fcntl-linux.h>.
34848 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34849
34850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34851 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34852 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34853 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34854 [__WORDSIZE != 64]: Likewise.
34855
ebfd1bbd
JM
348562012-10-23 Joseph Myers <joseph@codesourcery.com>
34857
03ac099f
JM
34858 * Makeconfig (run-built-tests): New variable.
34859 * Rules [$(cross-compiling) = yes]: Change condition to
34860 [$(run-built-tests) = no].
34861 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34862 to [$(run-built-tests) = yes].
34863 * elf/Makefile [$(cross-compiling) = no]: Likewise
34864 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34865 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34866 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34867 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34868 * io/Makefile [$(cross-compiling) = no]: Likewise.
34869 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34870 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34871 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34872 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34873 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34874 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34875 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34876 * string/Makefile [$(cross-compiling) = no]: Likewise.
34877
ebfd1bbd
JM
34878 * posix/Makefile ($(objpfx)globtest.out): Pass
34879 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34880 $(rtld-installed-name).
34881 * posix/globtest.sh (elf_objpfx): Remove variable.
34882 (rtld_installed_name): Likewise.
34883 (library_path): Likewise.
34884 (run_program_prefix): New variable. Use for running globtest
34885 binary.
34886
166bca24
JB
348872012-10-23 Jim Blandy <jimb@codesourcery.com>
34888 Joseph Myers <joseph@codesourcery.com>
34889
34890 * Makeconfig (host-built-program-cmd): New variable.
34891 * elf/Makefile (tst-stackguard1-ARGS): Use
34892 $(host-built-program-cmd).
34893 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34894 (tst-spawn-ARGS): Likewise.
34895 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34896
88866099
JM
348972012-10-23 Joseph Myers <joseph@codesourcery.com>
34898 Jim Blandy <jimb@codesourcery.com>
34899
34900 * Makeconfig (run-via-rtld-prefix): New variable.
34901 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34902 (built-program-cmd): Likewise.
34903
b4b4c296
AJ
349042012-10-22 Andreas Jaeger <aj@suse.de>
34905
34906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34907 __O_RSYNC if it exists, otherwise to O_SYNC.
34908
6fb54a22
JB
349092012-10-22 Jim Blandy <jimb@codesourcery.com>
34910 Joseph Myers <joseph@codesourcery.com>
34911
34912 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34913 /dev/null.
34914 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34915 from /dev/null
34916 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34917 /dev/null.
34918
481b90b9
AJ
349192012-10-22 Andreas Jaeger <aj@suse.de>
34920
2a0e2669
AJ
34921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34922 Define always.
34923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34924
76e38f9a
AJ
34925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34926 bits/fcntl-linux.h.
34927
7cd37b43
AJ
34928 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34929 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34930
481b90b9
AJ
34931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34932 to __O_LARGEFILE.
34933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34934 to __O_LARGEFILE.
34935
aba75984
JB
349362012-10-21 Jim Blandy <jimb@codesourcery.com>
34937 Joseph Myers <joseph@codesourcery.com>
34938
34939 * config.make.in (NM): New variable.
34940
88d4247f
AJ
349412012-10-21 Andreas Jaeger <aj@suse.de>
34942
34943 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34944 definitions and declarations that are provided by
34945 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34946
f2eed205
L
349472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34948
34949 [BZ #14683]
34950 * elf/Makefile (tests-static): Add tst-leaks1-static.
34951 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34952 ($(objpfx)tst-leaks1-static): New rule.
34953 ($(objpfx)tst-leaks1-static-mem): Likewise.
34954 (tst-leaks1-static-ENV): New macro.
34955 * elf/dl-open.c (dl_open_worker): Check the main application
34956 only if SHARED is defined.
34957 * elf/tst-leaks1-static.c: New file.
34958
335e6931
AJ
349592012-10-20 Andreas Jaeger <aj@suse.de>
34960
34961 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34962 generic values for Linux.
34963 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34964 and declarations that are provided by <bits/fcntl-linux.h> and
34965 include <bits/fcntl-linux.h>.
34966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34968
ac5c94d3
RM
349692012-10-20 Roland McGrath <roland@hack.frob.com>
34970
34971 * io/fcntl.h: Move include of <bits/types.h> to the top and
34972 include it unconditionally.
34973
de54b33a
L
349742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34975
228cfb01
L
34976 * wcsmbs/Makefile (tests-ifunc): New variable.
34977 (tests): Add $(tests-ifunc).
34978 * wcsmbs/test-wcschr-ifunc.c: New file.
34979 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34980 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34981 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34982 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34983 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34984
69f07e5f
L
34985 * string/Makefile (tests-ifunc): New variable.
34986 (tests): Add $(tests-ifunc).
34987 * string/test-memccpy.c (TEST_NAME): New macro.
34988 * string/test-memchr.c (TEST_NAME): Likewise.
34989 * string/test-memcmp.c (TEST_NAME): Likewise.
34990 * string/test-memcpy.c (TEST_NAME): Likewise.
34991 * string/test-memmem.c (TEST_NAME): Likewise.
34992 * string/test-memmove.c (TEST_NAME): Likewise.
34993 * string/test-memset.c (TEST_NAME): Likewise.
34994 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34995 * string/test-stpcpy.c (TEST_NAME): Likewise.
34996 * string/test-stpncpy.c (TEST_NAME): Likewise.
34997 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34998 * string/test-strcasestr.c (TEST_NAME): Likewise.
34999 * string/test-strcat.c (TEST_NAME): Likewise.
35000 * string/test-strchr.c (TEST_NAME): Likewise.
35001 * string/test-strcmp.c(TEST_NAME): Likewise.
35002 * string/test-strcpy.c (TEST_NAME): Likewise.
35003 * string/test-strcspn.c (TEST_NAME): Likewise.
35004 * string/test-strlen.c (TEST_NAME): Likewise.
35005 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35006 * string/test-strncmp.c (TEST_NAME): Likewise.
35007 * string/test-strncpy.c (TEST_NAME): Likewise.
35008 * string/test-strnlen.c (TEST_NAME): Likewise.
35009 * string/test-strpbrk.c (TEST_NAME): Likewise.
35010 * string/test-strrchr.c (TEST_NAME): Likewise.
35011 * string/test-strspn.c (TEST_NAME): Likewise.
35012 * string/test-strstr.c (TEST_NAME): Likewise.
35013 * string/test-bcopy-ifunc.c: New file.
35014 * string/test-bzero-ifunc.c: Likewise.
35015 * string/test-memccpy-ifunc.c: Likewise.
35016 * string/test-memchr-ifunc.c: Likewise.
35017 * string/test-memcmp-ifunc.c: Likewise.
35018 * string/test-memcpy-ifunc.c: Likewise.
35019 * string/test-memmem-ifunc.c: Likewise.
35020 * string/test-memmove-ifunc.c: Likewise.
35021 * string/test-mempcpy-ifunc.c: Likewise.
35022 * string/test-memset-ifunc.c: Likewise.
35023 * string/test-rawmemchr-ifunc.c: Likewise.
35024 * string/test-stpcpy-ifunc.c: Likewise.
35025 * string/test-stpncpy-ifunc.c: Likewise.
35026 * string/test-strcasecmp-ifunc.c: Likewise.
35027 * string/test-strcasestr-ifunc.c: Likewise.
35028 * string/test-strcat-ifunc.c: Likewise.
35029 * string/test-strchr-ifunc.c: Likewise.
35030 * string/test-strchrnul-ifunc.c: Likewise.
35031 * string/test-strcmp-ifunc.c: Likewise.
35032 * string/test-strcpy-ifunc.c: Likewise.
35033 * string/test-strcspn-ifunc.c: Likewise.
35034 * string/test-strlen-ifunc.c: Likewise.
35035 * string/test-strncasecmp-ifunc.c: Likewise.
35036 * string/test-strncat-ifunc.c: Likewise.
35037 * string/test-strncmp-ifunc.c: Likewise.
35038 * string/test-strncpy-ifunc.c: Likewise.
35039 * string/test-strnlen-ifunc.c: Likewise.
35040 * string/test-strpbrk-ifunc.c: Likewise.
35041 * string/test-strrchr-ifunc.c: Likewise.
35042 * string/test-strspn-ifunc.c: Likewise.
35043 * string/test-strstr-ifunc.c: Likewise.
35044
de54b33a
L
35045 * debug/Makefile (tests-ifunc): New variable.
35046 (tests): Add $(tests-ifunc).
35047 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35048 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35049 * debug/test-stpcpy_chk-ifunc.c: New file.
35050 * debug/test-strcpy_chk-ifunc.c: Likewise.
35051
88481c16
SP
350522012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35053
35054 [BZ #13601]
35055 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35056 header is not read in.
35057
135948bd
JM
350582012-10-19 Joseph Myers <joseph@codesourcery.com>
35059
89f1c388
JM
35060 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35061 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35062 directly. Pass built executable to script as
35063 $(built-program-cmd).
35064 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35065 $testprogram without using LD_LIBRARY_PATH and $ldso.
35066
e40a0d21
JM
35067 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35068 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35069 $(rtld-installed-name).
35070 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35071 (rtld_installed_name): Likewise.
35072 (library_path): Likewise.
35073 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35074 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35075 $(run-program-prefix) to tst-tables.sh.
35076 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35077 it to run tst-table-from and tst-table-to.
35078 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35079 Pass it to tst-table.sh.
35080 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35081 $(run-program-prefix) to tst-gettext.sh.
35082 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35083 tst-translit.sh.
35084 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35085 tst-gettext2.sh.
35086 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35087 to run tst-gettext.
35088 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35089 to run tst-gettext2.
35090 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35091 to run tst-translit.
35092 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35093 $(run-program-prefix) to tst-mtrace.sh.
35094 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35095 to run tst-mtrace.
35096 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35097 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35098 $(rtld-installed-name).
35099 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35100 (rtld_installed_name): Likewise.
35101 (run_program_prefix): New variable. Use it to run wordexp-test.
35102
728e272a
JM
35103 * Makeconfig (ARCH): Remove all definitions.
35104 (machine): Likewise.
35105 [ARCH]: Remove conditional code.
35106 [!objdir]: Give error.
35107 [!objdir] (objpfx): Remove.
35108 [!objdir] (common-objpfx): Likewise.
35109 [!objdir] (common-objdir): Likewise.
35110 * configure.in (config_makefile): Remove. Hardcode Makefile in
35111 AC_CONFIG_FILES call.
35112 * configure: Regenerated.
35113
d528cdcf
JM
35114 [BZ #13888]
35115 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35116 or TMPDIR.
35117 (testout): Likewise.
35118
135948bd
JM
35119 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35120 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35121 $(rtld-installed-name).
35122 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35123 (rtld_installed_name): Likwise.
35124 (runit): Remove function.
35125 (run_getconf): New variable, Use it for running getconf binary.
35126
38c78296
L
351272012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35128
35129 [BZ #14716]
35130 * string/test-memmem.c (check_result): New function.
35131 (do_one_test): Use it.
35132 (check1): New function.
35133 (test_main): Use it.
35134
d077f65f
MT
351352012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35136
35137 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35138
ced52c71
JM
351392012-10-18 Joseph Myers <joseph@codesourcery.com>
35140
35141 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35142 (_G_LSEEK64): Likewise.
35143 (_G_MMAP64): Likewise.
35144 (_G_FSTAT64): Likewise.
35145 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35146 (_G_LSEEK64): Likewise.
35147 (_G_MMAP64): Likewise.
35148 (_G_FSTAT64): Likewise.
35149 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35150 unconditional. Call __mmap64 directly.
35151 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35152 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35153 __lseek64 directly.
35154 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35155 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35156 __mmap64 directly.
35157 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35158 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35159 __lseek64 directly.
35160 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35161 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35162 __lseek64 directly.
35163 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35164 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35165 __lseek64 directly.
35166 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35167 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35168 __fxstat64 directly.
35169 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35170 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35171 unconditional.
35172 (freopen64) [!_G_OPEN64]: Remove conditional code.
35173 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35174 unconditional.
35175 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35176 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35177 unconditional.
35178 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35179 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35180 unconditional.
35181 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35182 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35183 unconditional.
35184 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35185 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35186 unconditional.
35187 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35188 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35189 unconditional.
35190 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35191 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35192 unconditional.
35193 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35194
b741de23
SP
351952012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35196
35197 [BZ #12140]
35198 * manual/memory.texi (Malloc Tunable Parameters): Add note
35199 about free list pointers overwriting some perturb bytes.
35200 Wording suggested by Roland McGrath.
35201
f9b9d9c9
JM
352022012-10-17 Joseph Myers <joseph@codesourcery.com>
35203
35204 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35205 (lgamma_test): Likewise.
35206 (tgamma_test): Likewise.
35207
172a631a
FW
352082012-10-16 Florian Weimer <fweimer@redhat.com>
35209
35210 [BZ #14700]
35211 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35212 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35213
e9f37252
MK
352142012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35215
35216 * NEWS: Mention BZ #14716.
35217 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35218 when removing AVAILABLE1_USES_J macro.
35219
d394eb74
L
352202012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35221
35222 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35223 (__bswap_64): __uint64_t for unsigned 64-bit int.
35224
ca38dc17
AS
352252012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35226
35227 * include/string.h (memmem): Declare libc hidden alias.
35228 * string/memmem.c (memmem): Define libc hidden alias.
35229 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35230 __read, __close instead of open, read, close.
35231
9a387d1f
L
352322012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35233
ac49ecaf
L
35234 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35235 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35236 global and hidden.
35237 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35238 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35239 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35240 Likewise.
35241 (__rawmemchr_sse2): Likewise.
35242 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35243 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35244 (__strchr_sse2): Likewise.
35245 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35246 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35247 (__strcasecmp_sse2): Likewise.
35248 (__strncasecmp_sse2): Likewise.
35249 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35250 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35251 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35252 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35253 (__strrchr_sse2): Likewise.
35254 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35255 ifunc-impl-list.c.
35256 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35257 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35258 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35259 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35260 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35261 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35262 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35263 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35264 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35265 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35266 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35267 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35268 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35269 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35270 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35271 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35272 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35273 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35274 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35275 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35276 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35277 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35278 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35279 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35280 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35281 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35282 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35283 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35284 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35285 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35286
b090e8ea
L
35287 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35288 global and hidden.
35289 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35290 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35291 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35292 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35293 Likewise.
35294 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35295 Likewise.
35296 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35297 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35298 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35299 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35300 ifunc-impl-list.c.
35301 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35302 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35303 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35304 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35305 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35306 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35307 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35308 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35309 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35310 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35311 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35312 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35313 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35314 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35315 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35316 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35317 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35318 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35319 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35320 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35321 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35322 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35323 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35324 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35325 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35326 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35327 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35328 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35329 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35330 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35331 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35332 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35333 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35334 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35335 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35336 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35337 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35338 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35339 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35340 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35341 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35342
11dd4af6
L
35343 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35344 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35345 * include/ifunc-impl-list.h: New file.
35346 * misc/ifunc-impl-list.c: Likewise.
35347 * misc/Makefile (routines): Add ifunc-impl-list.
35348 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35349 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35350 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35351 TEST_NAME]: New variables.
11dd4af6
L
35352 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35353 are defined.
35354 (test_init): Call __libc_ifunc_impl_list to initialize
35355 func_list if TEST_IFUNC and TEST_NAME are defined.
35356
9a387d1f
L
35357 * string/Makefile (strop-tests): Add bcopy and bzero.
35358 * string/test-bcopy.c: New file.
35359 * string/test-bzero.c: Likewise.
35360 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35361 defined.
35362 * string/test-memset.c: Support bzero test if TEST_BZERO is
35363 defined.
35364 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35365 __libc_memmove.
35366 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35367 __libc_memset.
35368 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35369 of memset.
35370
472371b9
JM
353712012-10-10 Joseph Myers <joseph@codesourcery.com>
35372
1e4a9536
JM
35373 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35374 * configure: Regenerated.
35375
d173d12e
JM
35376 * Makeconfig (+link-static-before-libc): Don't include
35377 $(link-static-libc).
35378
472371b9
JM
35379 * libio/libio.h (_IO_pos_t): Remove.
35380
89a3ad0b
AO
353812012-10-10 Alexandre Oliva <aoliva@redhat.com>
35382
35383 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35384 McGrath.
35385
e7451425
AO
353862012-10-10 Alexandre Oliva <aoliva@redhat.com>
35387
35388 * crypt/crypt-entry.c: Include fips-private.h.
35389 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35390 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35391 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35392 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35393
4ba74a35
AO
353942012-10-10 Alexandre Oliva <aoliva@redhat.com>
35395
35396 * crypt/crypt-private.h: Include stdbool.h.
35397 (_ufc_setup_salt_r): Return bool.
35398 * crypt/crypt-entry.c: Include errno.h.
35399 (__crypt_r): Return NULL with EINVAL for bad salt.
35400 * crypt/crypt_util.c (bad_for_salt): New.
35401 (_ufc_setup_salt_r): Check that salt is long enough and within
35402 the specified alphabet.
35403 * crypt/badsalttest.c: New file.
35404 * crypt/Makefile (tests): Add it.
35405 ($(objpfx)badsalttest): New.
35406
f96f1242
MK
354072012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35408
35409 * NEWS: Add entry for BZ #14602.
35410
0e8e0c1c
JM
354112012-10-09 Joseph Myers <joseph@codesourcery.com>
35412
35413 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35414 type-generic.
35415 * math/libm-test.inc: Update comment listing what functions and
35416 macros are tested.
35417 (isgreater_test): New function.
35418 (isgreaterequal_test): Likewise.
35419 (isless_test): Likewise.
35420 (islessequal_test): Likewise.
35421 (islessgreater_test): Likewise.
35422 (isunordered_test): Likewise.
35423 (main): Call the new functions.
35424
273edc5e
RM
354252012-10-09 Roland McGrath <roland@hack.frob.com>
35426
b8493de0
RM
35427 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35428 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35429 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35430 * sysdeps/i386/configure: Regenerated.
35431 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35432 * sysdeps/mach/configure: Regenerated.
35433 * sysdeps/mach/hurd/configure: Regenerated.
35434 * sysdeps/powerpc/configure: Regenerated.
35435 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35436 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35437 * sysdeps/s390/s390-32/configure: Regenerated.
35438 * sysdeps/s390/s390-64/configure: Regenerated.
35439 * sysdeps/sh/configure: Regenerated.
35440 * sysdeps/sparc/configure: Regenerated.
35441 * sysdeps/unix/sysv/linux/configure: Regenerated.
35442 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35443 * sysdeps/x86_64/configure: Regenerated.
35444
273edc5e
RM
35445 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35446 defined. Don't check if MAP is NULL.
35447
c8450f70
JM
354482012-10-09 Joseph Myers <joseph@codesourcery.com>
35449
35450 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35451 (_G_stat64): Likewise.
35452 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35453 (_G_stat64): Likewise.
35454 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35455 instead of struct _G_stat64.
35456 * libio/fileops.c (mmap_remap_check): Likewise.
35457 (decide_maybe_mmap): Likewise.
35458 (_IO_new_file_seekoff): Likewise.
35459 (_IO_file_stat): Likewise.
35460 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35461 _G_off64_t.
35462 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35463 instead of struct _G_stat64.
35464 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35465
57e605ba
MK
354662012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35467
35468 [BZ #14602]
35469 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35470 Replace with ...
35471 (CHECK_EOL): New macro.
35472 (two_way_short_needle): Check beginning of haystack for EOL. Use
35473 CHECK_EOL.
35474 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35475 Replace with CHECK_EOL.
35476 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35477 Replace with CHECK_EOL.
35478
ef1bb361
JM
354792012-10-08 Joseph Myers <joseph@codesourcery.com>
35480
35481 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35482 type-generic.
35483 * math/libm-test.inc: Update comment listing what functions and
35484 macros are tested.
35485 (finite_test): New function.
35486 (isinf_test): Likewise.
35487 (isnan_test): Likewise.
35488 (fpclassify_test): Test subnormal input.
35489 (isfinite_test): Likewise.
35490 (isnormal_test): Likewise.
35491 (main): Call the new functions.
35492
55f11534
JN
354932012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35494
35495 [BZ #14660]
35496 * Makerules (%.dynsym): Force C locale when running
35497 $(OBJDUMP) --dynamic-syms.
35498
1ab29350
AS
354992012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35500
35501 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35502 <stdint.h>.
35503
f1ecb7ef
DM
355042012-10-06 David S. Miller <davem@davemloft.net>
35505
35506 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35507 upper 32-bits of the length value in %o2 since we use branch-on-register
35508 tests which consider the entire 64-bit register.
35509
5d41d91a
L
355102012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35511
35512 * string/test-strstr.c (check2): Add a test for page boundary.
35513
3baddb72
DM
355142012-10-05 David S. Miller <davem@davemloft.net>
35515
35516 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35517 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35518 file.
35519 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35520 sysdep_routines.
35521 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35522 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35523 and bzero when HWCAP_SPARC_CRYPTO is present.
35524
9cee5585
L
355252012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35526
d7e0dab9
L
35527 [BZ #14602]
35528 * string/test-strstr.c (check2): New function.
35529 (test_main): Call check2.
35530
03759f47
L
35531 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35532 and bug-strchr1.
35533 * string/bug-strcasestr1.c (do_test): Moved to ...
35534 * string/test-strcasestr.c (check1): Here. New function.
35535 (do_one_test): Break out result checking code into ...
35536 (check_result): This. New function.
35537 (do_one_test): Call check_result.
35538 (test_main): Call check1.
35539 * string/bug-strchr1.c (do_test): Moved to ...
35540 * string/test-strchr.c (check1): Here. New function.
35541 (do_one_test): Break out result checking code into ...
35542 (check_result): This. New function.
35543 (do_one_test): Call check_result.
35544 (test_main): Call check1.
35545 * string/bug-strstr1.c (main): Moved to ...
046f153e 35546 * string/test-strstr.c (check1): Here. New function.
03759f47
L
35547 (do_one_test): Break out result checking code into ...
35548 (check_result): This. New function.
35549 (do_one_test): Call check_result.
35550 (test_main): Call check1.
35551 * string/bug-strcasestr1.c: Removed.
35552 * string/bug-strchr1.c: Likewise.
35553 * string/bug-strstr1.c: Likewise.
35554
53cea63e
L
35555 * elf/Makefile (dl-routines): Add hwcaps.
35556 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35557 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35558 (_dl_important_hwcaps): Moved to ...
35559 * elf/dl-hwcaps.c: Here. New file.
35560 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35561
9cee5585 35562 [BZ #14557]
bb859b06
L
35563 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35564 if IS_IN_rtld isn't defined.
35565
9cee5585
L
35566 * elf/dl-support.c (_dl_sysinfo_map): New.
35567 Include "get-dynamic-info.h" and "setup-vdso.h".
35568 (_dl_non_dynamic_init): Call setup_vdso.
35569 * elf/dynamic-link.h: Don't include <assert.h>.
35570 (elf_get_dynamic_info): Moved to ...
35571 * elf/get-dynamic-info.h: Here. New file.
35572 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35573 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35574 * elf/setup-vdso.h: Here. New file.
35575 * elf/rtld.c: Include "setup-vdso.h".
35576 (dl_main): Call setup_vdso.
35577
23c31b76
JM
355782012-10-05 Joseph Myers <joseph@codesourcery.com>
35579
28234b07
JM
35580 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35581 creal in comment listing functions tested. List finite, isinf,
35582 isnan, isless, islessequal, isgreater, isgreaterequal,
35583 islessgreater, isunordered, lgamma_r and pow10 as functions and
35584 macros not tested. Mention which functions not tested are aliases
35585 for other functions. Fix typo. Note that signs of NaNs are not
35586 tested.
35587
23c31b76
JM
35588 * scripts/config.guess: Update from config.git.
35589 * scripts/config.sub: Likewise.
35590
9043e228
RM
355912012-10-04 Roland McGrath <roland@hack.frob.com>
35592
35593 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35594 * misc/madvise.c (madvise): Renamed to __madvise.
35595 Make madvise a weak alias.
35596 * include/sys/mman.h: Declare __madvise.
35597 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35598 * sysdeps/unix/syscalls.list
35599 (madvise): Make __madvise the strong name, and madvise a weak alias.
35600 * sysdeps/unix/sysv/linux/syscalls.list
35601 (madvise, mmap): Remove redundant entries.
35602 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35603 * malloc/malloc.c (mtrim): Likewise.
35604 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35605
f57f8055
RM
356062012-10-03 Roland McGrath <roland@hack.frob.com>
35607
35608 * sysdeps/mach/hurd/dl-cache.c: File removed.
35609 * config.h.in (USE_LDCONFIG): New #undef.
35610 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35611 * configure: Regenerated.
35612 * elf/Makefile (dl-routines): Add dl-cache only under
35613 [$(use-ldconfig) = yes].
35614 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35615 cache on [USE_LDCONFIG].
35616 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35617 [USE_LDCONFIG].
35618 * elf/rtld.c (dl_main): Likewise.
35619
5bb0c10a
PT
356202012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35621
35622 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35623 _SC_LEVEL4_CACHE_LINESIZE.
35624
010188c6
RM
356252012-10-03 Roland McGrath <roland@hack.frob.com>
35626
35627 * sysdeps/unix/bsd/confstr.h: File removed.
35628
b6c5ec07
AO
356292012-10-02 Alexandre Oliva <aoliva@redhat.com>
35630
35631 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35632 sys/sdt-config.h.
35633
408223d4
RM
356342012-10-02 Roland McGrath <roland@hack.frob.com>
35635
35636 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35637 Make 'mapoff' field ElfW(Off) rather than off_t.
35638
bb9510dc
DL
356392012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35640
fc997c6e
DL
35641 * nscd/Makefile: Remove nscd-cflags and all its users.
35642 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35643 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35644
bb9510dc
DL
35645 [BZ #10631]
35646 * malloc.c (malloc_printerr): Clarify error message.
35647
05699367
L
356482012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35649
35650 [BZ #14648]
35651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35652 Set bit_FMA_Usable if FMA is supported.
35653 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35654 macro.
35655 (bit_FMA4_Usable): Updated.
35656 (index_FMA_Usable): New macro.
35657 (CPUID_FMA): Likewise
35658 (HAS_FMA): Defined with bit_FMA_Usable.
35659
51367701
RM
356602012-10-01 Roland McGrath <roland@hack.frob.com>
35661
35662 * bits/types.h (__swblk_t): Type removed.
35663 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35664 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35666 (__SWBLK_T_TYPE): Likewise.
35667 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35668 (__SWBLK_T_TYPE): Likewise.
35669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35670 (__SWBLK_T_TYPE): Likewise.
35671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35672 (__SWBLK_T_TYPE): Likewise.
35673
4d57bf63 356742012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 35675 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
35676
35677 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35678 (xdr_mapname): Use YPMAXMAP as maxsize.
35679 (xdr_peername): Use YPMAXPEER as maxsize.
35680 (xdr_keydat): Use YPAXRECORD as maxsize.
35681 (xdr_valdat): Use YPMAXRECORD as maxsize.
35682
93c65d43
RM
356832012-10-01 Roland McGrath <roland@hack.frob.com>
35684
497a03d6
RM
35685 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35686
93c65d43
RM
35687 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35688 * csu/init-first.c: ... here.
35689 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35690 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35691 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35692 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35693 * sysdeps/i386/init-first.c: File removed.
35694 * sysdeps/sh/init-first.c: File removed.
35695
bec749fd
JM
356962012-10-01 Joseph Myers <joseph@codesourcery.com>
35697
35698 [BZ #14645]
35699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35700 if x * y might underflow to zero and z is zero.
35701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35703 * math/libm-test.inc (min_subnorm_value): New variable.
35704 (fma_test): Add more tests.
35705 (fma_test_towardzero): Likewise.
35706 (fma_test_downward): Likewise
35707 (fma_test_upward): Likewise.
35708 (initialize): Set min_subnorm_value.
35709
8ec5b013
JM
357102012-09-29 Joseph Myers <joseph@codesourcery.com>
35711
35712 [BZ #14638]
35713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35714 0 + 0.
35715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35716 mode for addition resulting in exact zero.
35717 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35718 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35719 exact 0 + 0.
35720 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35722 * math/libm-test.inc (fma_test): Add more tests.
35723 (fma_test_towardzero): New function.
35724 (fma_test_downward): Likewise.
35725 (fma_test_upward): Likewise.
35726 (main): Call the new functions.
35727
b1fa802e
DM
357282012-09-28 David S. Miller <davem@davemloft.net>
35729
35730 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35731
d3b9fd9e
RM
357322012-09-28 Roland McGrath <roland@hack.frob.com>
35733
ea4d37b3
RM
35734 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35735 instead of SIGALRM.
35736
ac51c949
RM
35737 * sysdeps/gnu/_G_config.h: Moved to ...
35738 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35739 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35740 * sysdeps/generic/_G_config.h: ... here.
35741
28c195f7
RM
35742 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35743
848917f9
RM
35744 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35745
6bacf05b
RM
35746 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35747 Conditionalize target on [libnss_test1.so-version].
35748
91363dbb
RM
35749 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35750
cc87f7d8
RM
35751 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35752 (elfobjdir): Move out of conditionals.
35753
b1c608fe
RM
35754 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35755 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35756 (__nss_lookup_function): Conditionalize label remove_from_tree on
35757 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 35758
1d9a6d96
DM
357592012-09-28 David S. Miller <davem@davemloft.net>
35760
35761 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35762 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35763 file.
35764 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35765 sysdep_routines.
35766 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35768 when HWCAP_SPARC_CRYPTO is present.
35769
72581615
PT
357702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35771
35772 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35773
715a900c
JL
357742012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35775
35776 [BZ #6530]
35777 * stdio-common/vfprintf.c (process_string_arg): Revert
35778 2000-07-22 change.
35779
357802011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35781
35782 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35783 for testcase.
35784 * stdio-common/tst-sprintf.c: Include <locale.h>
35785 (main): Test sprintf's handling of incomplete multibyte
35786 characters.
35787
9bac1d86
L
357882012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35789
35790 * elf/dl-runtime.c (VERSYMIDX): Removed.
35791 * elf/dl-version.c (VERSYMIDX): Likewise.
35792 * elf/do-rel.h (VERSYMIDX): Likewise.
35793 (VALIDX): Likewise.
35794 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35795 * elf/rtld.c (VALIDX): Likewise.
35796 (ADDRIDX): Likewise.
9bac1d86
L
35797 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35798 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35799 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
35800 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35801 (VALIDX): Likewise.
35802 (ADDRIDX): Likewise.
9bac1d86 35803
b31606c0
PT
358042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35805
35806 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35807
11541177
JL
358082012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35809
35810 [BZ #11438]
35811 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35812 to global scope.
35813 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35814 addresses are in the same scope as 192.0.2/24.
35815 * posix/gai.conf: Document new scope table defaults.
35816
adb26fae
SP
358172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35818
35819 [BZ #5298]
35820 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35821 for ftell. Compute offsets from write pointers instead.
35822 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35823
4573c6b0
SP
358242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35825
35826 [BZ #14543]
35827 * libio/Makefile (tests): New test case tst-fseek.
35828 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35829 combination works in wide mode.
35830 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35831 state when the external buffer state changes.
35832
aa9bbfe6
DM
358332012-09-27 David S. Miller <davem@davemloft.net>
35834
35835 [BZ #14376]
35836 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35837 pass reloc->r_addend in as the 'high' argument to
35838 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35839
784421e7
DM
35840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35841
c39bc8b8
PT
358422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35843
35844 * rt/tst-aio2.c: Include <pthread.h>.
35845 * rt/tst-aio3.c: Likewise.
35846
1ccc2399
SE
358472012-09-27 Steve Ellcey <sellcey@mips.com>
35848
35849 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35850
31ed4153
L
358512012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35852
25f5f885
L
35853 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35854 contents on [SHARED].
31ed4153 35855
b7bfe116
MP
358562012-09-26 Marek Polacek <polacek@redhat.com>
35857
35858 [BZ #14530]
35859 [BZ #13741]
35860 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35861 for C++ and GCC <4.3 as well as for non GCC compilers.
35862
43c4edba
MT
358632012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35864
35865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35866
6a1bf82f
RM
358672012-09-25 Roland McGrath <roland@hack.frob.com>
35868
35869 * Makefile.in (all, install): Declare with .PHONY.
35870 Reported by Michael Hope <michael.hope@linaro.org>.
35871
8ad11b9a
TMQMF
358722012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35873
35874 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35875 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35876 system header.
35877 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35878 Likewise.
35879 (sydep_routines): Add the new and the internal functions.
35880 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35881 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35883 (GLIBC_2.17): Add the new function.
35884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35885 (GLIBC_2.17): Likewise.
35886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35887 (GLIBC_2.17): Likewise.
35888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35889 (GLIBC_2.17): Likewise.
35890 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35891
7e2fca8d
AM
358922012-09-25 Alan Modra <amodra@gmail.com>
35893
35894 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35895 Add release barrier before setting once_control to say
35896 initialisation is done. Add hints on lwarx. Use macro in
35897 place of isync.
35898 (clear_once_control): Add release barrier.
35899
b87c4b24
JM
359002012-09-25 Joseph Myers <joseph@codesourcery.com>
35901
d032e0d2
JM
35902 [BZ #13629]
35903 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35904 specially.
35905 * math/s_clog10.c (__clog10): Likewise.
35906 * math/s_clog10f.c (__clog10f): Likewise.
35907 * math/s_clog10l.c (__clog10l): Likewise.
35908 * math/s_clogf.c (__clogf): Likewise.
35909 * math/s_clogl.c (__clogl): Likewise.
35910 * math/Makefile (libm-calls): Add x2y2m1.
35911 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35912 (__x2y2m1): Likewise.
35913 (__x2y2m1l): Likewise.
35914 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35915 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35916 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35918 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35919 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35920 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35921 * sysdeps/i386/fpu/libm-test-ulps: Update.
35922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35923
b87c4b24
JM
35924 [BZ #14621]
35925 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35926 int as type of variable DEPTH.
35927 (glob): Use size_t instead of int as type of variables NEWCOUNT
35928 and OLD_PATHC.
35929
6d3bf199
LD
359302012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35931
22bf5c17
LD
35932 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35933 Add s_sincosf-sse2.
35934 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35935 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35936 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35937 macros for using routine as __sincosf_ia32.
35938 Use macro for function declaration and weak_alias.
35939 * sysdeps/i386/fpu/libm-test-ulps: Update.
35940
35941 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35943
35944 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
35945 subnormal argument.
35946 * math/s_cexpf.c (__cexpf): Likewise.
35947 * math/s_csinf.c (__csinf): Likewise.
35948 * math/s_csinhf.c (__csinhf): Likewise.
35949 * math/s_ctanf.c (__ctanf): Likewise.
35950 * math/s_ctanhf.c (__ctanhf): Likewise.
35951 * math/s_ccosh.c (__ccoshf): Likewise.
35952 * math/s_cexp.c (__cexpl): Likewise.
35953 * math/s_csin.c (__csin): Likewise.
35954 * math/s_csinh.c (__csinh): Likewise.
35955 * math/s_ctan.c (__ctan): Likewise.
35956 * math/s_ctanh.c (ctanh): Likewise.
35957 * math/s_ccoshl.c (__ccoshl): Likewise.
35958 * math/s_cexpl.c (__cexpl): Likewise.
35959 * math/s_csinl.c (__csinl): Likewise.
35960 * math/s_csinhl.c (__csinhl): Likewise.
35961 * math/s_ctanl.c (__ctanl): Likewise.
35962 * math/s_ctanhl.c (__ctanhl): Likewise.
35963
203e5603
JM
359642012-09-25 Joseph Myers <joseph@codesourcery.com>
35965
35966 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35967 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35968 (_IO_off_t): Define to __off_t, not _G_off_t.
35969 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35970 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35971 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35972 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35973 type of __dummy and __dummy2 fields.
35974 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35975 (_G_ssize_t): Likewise.
35976 (_G_off_t): Likewise.
35977 (_G_pid_t): Likewise.
35978 (_G_uid_t): Likewise.
35979 (_G_wchar_t): Likewise.
35980 (_G_wint_t): Likewise.
35981 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35982 (_G_ssize_t): Likewise.
35983 (_G_off_t): Likewise.
35984 (_G_pid_t): Likewise.
35985 (_G_uid_t): Likewise.
35986 (_G_wchar_t): Likewise.
35987 (_G_wint_t): Likewise.
35988 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35989 (_G_ssize_t): Likewise.
35990 (_G_off_t): Likewise.
35991 (_G_pid_t): Likewise.
35992 (_G_uid_t): Likewise.
35993 (_G_wchar_t): Likewise.
35994 (_G_wint_t): Likewise.
35995
9fab36eb
SP
359962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35997
35998 * malloc/arena.c: Include malloc-sysdep.h.
35999 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36000 is sufficient to shrink the heap or an unmap is needed.
36001 * sysdeps/generic/malloc-sysdep.h: New file. Define
36002 new function check_may_shrink_heap.
36003 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36004 new function check_may_shrink_heap.
36005
2b4f00d1
SP
360062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36007
36008 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36009 comments.
36010
9a9028b1
DL
360112012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36012
57c69bef
DL
36013 * catgets/test-gencat.sh: Add "set -e".
36014 * elf/tst-pathopt.sh: Likewise.
36015 * grp/tst_fgetgrent.sh: Likewise.
36016 * iconvdata/run-iconv-test.sh: Likewise.
36017 * intl/tst-gettext.sh: Likewise.
36018 * intl/tst-gettext2.sh: Likewise.
36019 * intl/tst-gettext4.sh: Likewise.
36020 * intl/tst-gettext6.sh: Likewise.
36021 * intl/tst-translit.sh: Likewise.
36022 * io/ftwtest-sh: Likewise.
36023 * libio/test-freopen.sh: Likewise.
36024 * malloc/tst-mtrace.sh: Likewise.
36025 * posix/globtest.sh: Likewise.
36026 * posix/tst-getconf.sh: Likewise.
36027 * posix/wordexp-tst.sh: Likewise.
36028 * stdio-common/tst-printf.sh: Likewise.
36029 * stdio-common/tst-unbputc.sh: Likewise.
36030 * stdlib/tst-fmtmsg.sh: Likewise.
36031 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36032 * catgets/Makefile: Do not specify -e option when running
36033 testsuite shell scripts.
36034 * elf/Makefile: Likewise.
36035 * grp/Makefile: Likewise.
36036 * iconvdata/Makefile: Likewise.
36037 * intl/Makefile: Likewise.
36038 * io/Makefile: Likewise.
36039 * libio/Makefile: Likewise.
36040 * malloc/Makefile: Likewise.
36041 * posix/Makefile: Likewise.
36042 * stdio-common/Makefile: Likewise.
36043 * stdlib/Makefile: Likewise.
36044 * sysdeps/x86_64/Makefile: Likewise.
36045
9a9028b1
DL
36046 * io/ftwtest-sh: Add copyright header.
36047 * posix/globtest.sh: Likewise.
36048 * posix/tst-getconf.sh: Likewise.
36049 * posix/wordexp-tst.sh: Likewise.
36050 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36051
ced6f16e
L
360522012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36053
94b32c39
L
36054 [BZ #13679]
36055 * Makeconfig (+link): Defined as $(+link-static) if
36056 $(build-shared) isn't yes.
36057 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36058 isn't yes.
36059 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36060
189e935b
L
36061 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36062
ced6f16e
L
36063 [BZ #14562]
36064 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36065 new chunk size with MALLOC_ALIGN_MASK.
36066
a9f8e53a
JM
360672012-09-24 Joseph Myers <joseph@codesourcery.com>
36068
36069 [BZ #5044]
36070 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36071 <rounding-mode.h>.
36072 (__printf_fphex): Determine rounding using get_rounding_mode and
36073 round_away.
36074 * stdio-common/tst-printf-round.c (struct hex_test): New
36075 structure.
36076 (hex_tests): New variable.
36077 (test_hex_in_one_mode): New function.
36078 (do_test): Also run tests for hex float output.
36079
43153109
JM
360802012-09-21 Joseph Myers <joseph@codesourcery.com>
36081
36082 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36083 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36084 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36085 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36086 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36087 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36088 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36089 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36090
8a26625d
JM
360912012-09-20 Joseph Myers <joseph@codesourcery.com>
36092
36093 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36094 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36095 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36096 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36097
f3fd569c
DL
360982012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36099
36100 [BZ #14579]
36101 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36102 mode only.
36103 * elf/tst-rtld-load-self.sh: New test.
36104 * elf/Makefile: Run it.
36105
63bbedd4
JM
361062012-09-18 Joseph Myers <joseph@codesourcery.com>
36107
36108 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36109 (tst-writev-ENV): Remove.
36110 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36111
626f8b6a
CM
361122012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36113
36114 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36115
b7aaa4d6
JM
361162012-09-17 Joseph Myers <joseph@codesourcery.com>
36117
36118 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36119 unconditional.
36120 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36121 Likewise.
36122 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36123 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36124 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36125 Likewise.
36126
65513990
L
361272012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36128
36129 [BZ #14587]
36130 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36131 * config.make.in (have-cpp-asm-debuginfo): Removed.
36132 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36133 * configure: Regenerated.
36134
784761be
JM
361352012-09-14 Joseph Myers <joseph@codesourcery.com>
36136
36137 [BZ #5044]
36138 * stdio-common/printf_fp.c: Include <stdbool.h> and
36139 <rounding-mode.h>.
36140 (___printf_fp): Determine rounding using get_rounding_mode and
36141 round_away.
36142 * stdio-common/tst-printf-round.c: New file.
36143 * stdio-common/Makefile (tests): Add tst-printf-round.
36144 (link-libm): New variable.
36145 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36146
9503345f
L
361472012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36148
36149 [BZ #14576]
36150 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36151 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36152 Likewise.
36153 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36154 Likewise.
36155
ad35fc00
JM
361562012-09-13 Joseph Myers <joseph@codesourcery.com>
36157
36158 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36159 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36160 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36161 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36162
6c9b0f68
JM
361632012-09-12 Joseph Myers <joseph@codesourcery.com>
36164
36165 [BZ #14518]
36166 * include/rounding-mode.h: New file.
36167 * sysdeps/generic/get-rounding-mode.h: Likewise.
36168 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36169 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36170 (MAX_VALUE): New macro.
36171 (MIN_VALUE): Likewise.
36172 (overflow_value): New function.
36173 (underflow_value): Likewise.
36174 (round_and_return): Use overflow_value and underflow_value to
36175 determine return values in overflow and underflow cases. Use
36176 round_away to determine rounding depending on rounding mode.
36177 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36178 determine return values in overflow and underflow cases.
36179 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36180 (struct test_results): New structure.
36181 (struct test): Use struct test_results to store expected results
36182 for all rounding modes.
36183 (TEST): Include expected results for all rounding modes.
36184 (test_in_one_mode): New function.
36185 (do_test): Use test_in_one_mode to compute and check results.
36186 Check results for all rounding modes.
36187 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36188 $(link-libm).
36189
19fcedd5
AM
361902012-12-09 Allan McRae <allan@archlinux.org>
36191
1e9d84cd 36192 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36193
8bbfd2f1
JM
361942012-09-11 Joseph Myers <joseph@codesourcery.com>
36195
36196 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36197 (_G_int32_t): Likewise.
36198 (_G_uint16_t): Likewise.
36199 (_G_uint32_t): Likewise.
36200 (_G_HAVE_BOOL): Likewise.
36201 (_G_HAVE_ATEXIT): Likewise.
36202 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36203 (_G_HAVE_IO_FILE_OPEN): Likewise.
36204 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36205 (_G_int32_t): Likewise.
36206 (_G_uint16_t): Likewise.
36207 (_G_uint32_t): Likewise.
36208 (_G_HAVE_BOOL): Likewise.
36209 (_G_HAVE_ATEXIT): Likewise.
36210 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36211 (_G_HAVE_IO_FILE_OPEN): Likewise.
36212 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36213 (_G_int32_t): Likewise.
36214 (_G_uint16_t): Likewise.
36215 (_G_uint32_t): Likewise.
36216 (_G_HAVE_BOOL): Likewise.
36217 (_G_HAVE_ATEXIT): Likewise.
36218 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36219 (_G_HAVE_IO_FILE_OPEN): Likewise.
36220
b1dc5912
L
362212012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36222
36223 * csu/libc-tls.c: Update copyright years.
36224
0e886ef9
JM
362252012-09-10 Joseph Myers <joseph@codesourcery.com>
36226
28361c5e
JM
36227 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36228 [!_G_USING_THUNKS]: Remove conditional code.
36229 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36230 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36231
0e886ef9
JM
36232 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36233 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36234 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36235 (_G_VTABLE_LABEL_PREFIX): Likewise.
36236 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36237 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36238 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36239 (_G_VTABLE_LABEL_PREFIX): Likewise.
36240 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36241 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36242 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36243 (_G_VTABLE_LABEL_PREFIX): Likewise.
36244 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36245
bcba7aa2
L
362462012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36247
36248 * libio/Makefile: Include ../Makeconfig before tests.
36249 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36250 only if $(build-shared) is yes.
36251
06585ee8
L
36252 * iconv/gconv_db.c: Update copyright years.
36253
80ccd52c
LD
362542012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36255
36256 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36257 unwind info if defined PIC. Fix special cases description.
36258 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36259
36260 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36261 DP_HI_MASK entry.
36262 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36263
691bc9c1
L
362642012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36265
3d9b46b3
L
36266 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36267
de2139a9
L
36268 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36269 is NULL.
36270
5ca78dd0
L
36271 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36272 (LDLIBS-tst-chk4): This.
36273 (LDFLAGS-tst-chk5): Renamed to ...
36274 (LDLIBS-tst-chk5): This.
36275 (LDFLAGS-tst-chk6): Renamed to ...
36276 (LDLIBS-tst-chk6): This.
36277 (LDFLAGS-tst-lfschk4): Renamed to ...
36278 (LDLIBS-tst-lfschk4): This.
36279 (LDFLAGS-tst-lfschk5): Renamed to ...
36280 (LDLIBS-tst-lfschk5): This.
36281 (LDFLAGS-tst-lfschk6): Renamed to ...
36282 (LDLIBS-tst-lfschk6): This.
36283
691bc9c1
L
36284 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36285 on $(common-objpfx)soversions.mk.
36286
65cafb1c
JM
362872012-09-07 Joseph Myers <joseph@codesourcery.com>
36288
36289 [BZ #10014]
36290 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36291 example host name.
36292
c78ab094
SP
362932012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36294
36295 * malloc/arena.c (arena_get_retry): New function that gets
36296 another arena for the caller to try its request on.
36297 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36298 current arena cannot fulfill the request.
36299 (__libc_memalign): Likewise.
36300 (__libc_memalign): Likewise.
36301 (__libc_pvalloc): Likewise.
36302 (__libc_calloc): Likewise.
36303
01f49f59
JT
363042012-09-05 John Tobey <john.tobey@gmail.com>
36305
36306 [BZ #13542]
36307 * manual/arith.texi (Operations on Complex): Fix description
36308 of carg branch cut.
36309
4c23fed5
JM
363102012-09-06 Joseph Myers <joseph@codesourcery.com>
36311
1d3c8572
JM
36312 [BZ #10014]
36313 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36314 host name.
36315
4c23fed5
JM
36316 [BZ #10038]
36317 * manual/memory.texi (Memory): Make order of menu items match
36318 order of sections.
36319
04570aaa
L
363202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36321
36322 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36323 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36324 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36325
b80af2f4
L
363262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36327
36328 * csu/libc-tls.c (static_dtv): Renamed to ...
36329 (_dl_static_dtv): This. Make it global.
36330 (_dl_initial_dtv): Removed.
36331 (__libc_setup_tls): Updated.
36332 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36333 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36334 DL_INITIAL_DTV.
36335
2abe9f15
PM
363362012-09-06 Petr Machata <pmachata@redhat.com>
36337
36338 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36339 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36340 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36341 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36342
0948c3af
L
363432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36344
36345 [BZ #14545]
36346 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36347 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36348 freeing dtv[-1].
36349
a5055ad1
L
363502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36351
36352 [BZ #14544]
36353 * Makeconfig (link-static-before-libc): Replace $(+prector)
36354 with $(+prectorT).
36355 (link-static-after-libc): Replace $(+postctor) with
36356 $(+postctorT).
36357 (link-bounded): Replace $(+prector)/$(+postctor) with
36358 $(+prectorT)/$(+postctorT).
36359 (+prectorT): New macro.
36360 (+postctorT): Likewise.
36361
ed8c2ecd
JM
363622012-09-06 Joseph Myers <joseph@codesourcery.com>
36363
36364 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36365 (round_str): Handle values above the maximum for IBM long double
36366 as inexact.
36367 * stdlib/tst-strtod-round.c (tests): Regenerated.
36368
14c996c8
AK
363692012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36370
36371 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36372 assembler flag.
36373 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36374 zarch_nohighgprs around the zarch optimized routines.
36375 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36376 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36378 for zarch.
36379
430d6ce6
DM
363802012-09-05 David S. Miller <davem@davemloft.net>
36381
36382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36383
57f41c40
AS
36384 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36385 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
36386 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36387 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36388 entries.
36389
24d4e01b
AO
363902012-09-05 Alexandre Oliva <aoliva@redhat.com>
36391
36392 * malloc/arena.c: Fold copyright years.
36393 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36394
61d58174
AO
363952012-09-05 Alexandre Oliva <aoliva@redhat.com>
36396
36397 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36398
20196a5e
AO
363992012-09-05 Alexandre Oliva <aoliva@redhat.com>
36400
36401 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36402
5c447383
AO
364032012-09-05 Alexandre Oliva <aoliva@redhat.com>
36404
36405 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36406 change internal state upon failure.
36407
fad64255
AO
364082012-09-05 Alexandre Oliva <aoliva@redhat.com>
36409
36410 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36411 * malloc/memusage.c (mmap): Likewise.
36412 (mmap64, mremap): Likewise. Adjust name in comment.
36413
1ffb8c90
SP
364142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36415
36416 * libio/fileops.c: Fix typos in comments.
36417 * libio/oldfileops.c: Likewise.
36418 * libio/wfileops.c: Likewise.
36419
6ef9cc37
SP
364202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36421
36422 [BZ #1349]
36423 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36424 (tst-malloc-usable-ENV): Set environment for test case.
36425 * malloc/hooks.c (malloc_check_get_size): New function to get
36426 requested size.
36427 * malloc/malloc.c (musable): Use malloc_check_get_size.
36428 * malloc/tst-malloc-usable.c: New test case.
36429
4d038ae3
AS
364302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36431
36432 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36433
c4e85184
AM
364342012-09-05 Allan McRae <allan@archlinux.org>
36435
b9dafc56 36436 [BZ #13966]
c4e85184
AM
36437 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36438 determine header location.
36439 * configure: Regenerated.
36440
e1343020
AS
364412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36442
36443 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36444 float format.
36445 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
36446 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36447 format.
e1343020
AS
36448 (test): Regenerate.
36449
0a9f1987
DM
364502012-09-04 David S. Miller <davem@davemloft.net>
36451
36452 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36453 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36454 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36455
29237804
FW
364562012-09-04 Florian Weimer <fweimer@redhat.com>
36457
36458 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36459 failures.
36460
edb3cb88
FW
36461 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36462
60160d83
JM
364632012-09-04 Joseph Myers <joseph@codesourcery.com>
36464
36465 [BZ #9914]
36466 * libio/iogetdelim.c: Include <limits.h>.
36467 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36468 + len + 1 would overflow.
36469
bcd6c8dc
AJ
364702012-09-03 Andreas Jaeger <aj@suse.de>
36471
36472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36473 * sysdeps/i386/fpu/libm-test-ulps: Update.
36474
4ffffbd2
LD
364752012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36476
36477 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36478 Add s_sinf-sse2, s_conf-sse2.
36479
36480 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36481 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36482 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36483 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36484
36485 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36486 for using routine as __sinf_ia32.
36487 Use macro for function declaration and weak_alias.
36488 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36489 for using routine as __cosf_ia32.
36490 Use macro for function declaration and weak_alias.
36491
36492 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36493 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36494
36495 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36496 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36498
36499 * math/libm-test.inc (cos_test): Add more test cases.
36500 (sin_test): Likewise.
36501 (sincos_test): Likewise.
36502
511fa286
AK
365032012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36504
36505 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36506 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36507 hidden.
36508 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36509
5f30cfec
L
365102012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36511
36512 [BZ #14538]
36513 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36514 first element of the GOT.
36515 (elf_machine_load_address): Return the difference between
36516 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36517
0786794f
AM
365182012-09-01 Allan McRae <allan@archlinux.org>
36519
5f30cfec
L
36520 [BZ #13412]
36521 * configure.in (AWK): Require gawk version 3.0 or later.
36522 * configure: Regenerated.
0786794f 36523
26889eac
JM
365242012-09-01 Joseph Myers <joseph@codesourcery.com>
36525
36526 * sysdeps/unix/sysv/linux/kernel-features.h
36527 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36528 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36529 [__NR_clock_getres]: Make code unconditional.
36530 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36531 (clock_getcpuclockid): Remove code left unreachable by removal of
36532 conditionals.
36533 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36534 code unconditional.
36535 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36536 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36537 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36538 Make code unconditional.
36539 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36540 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36541 * sysdeps/unix/sysv/linux/clock_settime.c
36542 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36543 conditional code.
36544 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36545 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36546
d22e28b0
L
365472012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36548
36549 [BZ #14476]
36550 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36551 scripts/test-installation.pl.
36552
36553 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36554 and $ld_so_version if it is set.
36555
050af9c4
SP
365562012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36557
36558 [BZ #14516]
36559 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36560 failure if reading from procfs failed.
36561 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36562
ad845c0b
JM
365632012-08-27 Joseph Myers <joseph@codesourcery.com>
36564
36565 * sysdeps/unix/sysv/linux/kernel-features.h
36566 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36567 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36568 Remove conditional code.
36569 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36570 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36571 Remove conditional code.
36572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36573 * sysdeps/unix/sysv/linux/i386/fxstat.c
36574 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36576 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36577 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36579 * sysdeps/unix/sysv/linux/i386/lxstat.c
36580 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36582 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36583 Remove conditional code.
36584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36585 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36586 Remove conditional code.
36587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36588 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36589 <kernel-features.h>.
36590 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36591 Remove.
36592 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36593 Remove conditional code.
36594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36595 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36596 Remove conditional.
36597
5dbf56af
MF
365982012-08-27 Mike Frysinger <vapier@gentoo.org>
36599
36600 [BZ #5400]
36601 * NEWS: Add fixed bug number.
36602
d6e70f43
JM
366032012-08-27 Joseph Myers <joseph@codesourcery.com>
36604
7efb4737
JM
36605 [BZ #14519]
36606 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36607 underflowing exponent in case of negative sign.
36608 * stdlib/tst-strtod-round-data: Add more tests.
36609 * stdlib/tst-strtod-round.c (tests): Regenerated.
36610
af92131a
JM
36611 [BZ #3479]
36612 * stdlib/strtod_l.c (NDIG): Remove.
36613 (HEXNDIG): Likewise.
36614 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36615 smallest representable value.
36616 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36617 lie within an exact representation of 1/2 ulp of the result.
36618 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36619 unconditionally.
36620 (TENS_P9_IDX): Define unconditionally.
36621 (TENS_P9_SIZE): Likewise.
36622 (TENS_P10_IDX): Likewise.
36623 (TENS_P10_SIZE): Likewise.
36624 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36625 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36626 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36627 entries for 10^2^13 and 10^2^14.
36628 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36629 (TENS_P13_IDX): Define.
36630 (TENS_P13_SIZE): Likewise.
36631 (TENS_P14_IDX): Likewise.
36632 (TENS_P14_SIZE): Likewise.
36633 (_fpioconst_pow10): Change array size to
36634 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36635 unconditional.
36636 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36637 1024]: Add entries for 10^2^13 and 10^2^14.
36638 [LAST_POW10 > _LAST_POW10]: Remove #error.
36639 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36640 (_fpioconst_pow10): Change array size to
36641 FPIOCONST_POW10_ARRAY_SIZE.
36642 * stdlib/gen-fpioconst.c: New file.
36643 * stdlib/gen-tst-strtod-round.c: Likewise.
36644 * stdlib/tst-strtod-round-data: Likewise.
36645 * stdlib/tst-strtod-round.c: Likewise.
36646 * stdlib/Makefile (tests): Add tst-strtod-round.
36647
d6e70f43
JM
36648 [BZ #14459]
36649 * stdlib/strtod_l.c: Include <stdint.h>.
36650 (NDEBUG): Do not define.
36651 (round_and_return): Change EXPONENT parameter to type intmax_t.
36652 Rearrange calculations to avoid internal overflow possibilities.
36653 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36654 Rearrange calculations to avoid internal overflow possibilities.
36655 Assert that number fits inside MPNSIZE limbs.
36656 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36657 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36658 calculations and add assertions to avoid internal overflow
36659 possibilities. Add casts to avoid signed/unsigned operations.
36660 * stdlib/tst-strtod-overflow.c: New file.
36661 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36662
1f529f7d
MP
366632012-08-25 Marek Polacek <polacek@redhat.com>
36664
36665 * time/time.h: Fix some typos in comments.
36666
59a629f1
RM
366672012-08-23 Roland McGrath <roland@hack.frob.com>
36668
36669 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36670 * posix/tst-rfc3484-2.c: Likewise.
36671 * posix/tst-rfc3484-3.c: Likewise.
36672
d3bafbc9
SM
366732012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36674
36675 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36676 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36677
4efcc022
JM
366782012-08-23 Joseph Myers <joseph@codesourcery.com>
36679
36680 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36681 #include of fxstatat64.c.
36682
3cc3ef96
RM
366832012-08-22 Roland McGrath <roland@hack.frob.com>
36684
f04e2132
RM
36685 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36686 * shadow/getspent_r.c: Likewise.
36687 * shadow/getspnam.c: Likewise.
36688 * shadow/getspnam_r.c: Likewise.
36689 * gshadow/getsgent.c: Likewise.
36690 * gshadow/getsgent_r.c: Likewise.
36691 * gshadow/getsgnam.c: Likewise.
36692 * gshadow/getsgnam_r.c: Likewise.
36693 * inet/getnetbyad.c: Likewise.
36694 * inet/getnetbyad_r.c: Likewise.
36695 * inet/getnetbynm.c: Likewise.
36696 * inet/getnetbynm_r.c: Likewise.
36697 * inet/getnetent.c: Likewise.
36698 * inet/getnetent_r.c: Likewise.
36699 * inet/getproto.c: Likewise.
36700 * inet/getproto_r.c: Likewise.
36701 * inet/getprtent.c: Likewise.
36702 * inet/getprtent_r.c: Likewise.
36703 * inet/getprtname.c: Likewise.
36704 * inet/getprtname_r.c: Likewise.
36705 * inet/getrpcbyname.c: Likewise.
36706 * inet/getrpcbyname_r.c: Likewise.
36707 * inet/getrpcbynumber.c: Likewise.
36708 * inet/getrpcbynumber_r.c: Likewise.
36709 * inet/getrpcent.c: Likewise.
36710 * inet/getrpcent_r.c: Likewise.
36711 * inet/getaliasent.c: Likewise.
36712 * inet/getaliasent_r.c: Likewise.
36713 * inet/getaliasname.c: Likewise.
36714 * inet/getaliasname_r.c: Likewise.
36715 * nscd/getgrgid_r.c: Likewise.
36716 * nscd/getgrnam_r.c: Likewise.
36717 * nscd/gethstbyad_r.c: Likewise.
36718 * nscd/gethstbynm3_r.c: Likewise.
36719 * nscd/getpwnam_r.c: Likewise.
36720 * nscd/getpwuid_r.c: Likewise.
36721 * nscd/getsrvbynm_r.c: Likewise.
36722 * nscd/getsrvbypt_r.c: Likewise.
36723 * nscd/gai.c: Likewise.
36724
c53d909c
RM
36725 * configure.in (build_nscd): New substituted variable, set
36726 by --disable-build-nscd and defaults to $use_nscd.
36727 * configure: Regenerated.
36728 * config.make.in (build-nscd): New substituted variable.
36729 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36730 Change conditional to require [$(build-nscd) = yes] as well.
36731 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36732
3cc3ef96
RM
36733 [BZ# 13696]
36734 * configure.in (use_nscd): New substituted variable, set by
36735 --disable-nscd. If enabled, define USE_NSCD.
36736 * configure: Regenerated.
36737 * config.h.in: Add USE_NSCD.
36738 * config.make.in (use-nscd): New substituted variable.
36739 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36740 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36741 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36742 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36743 (CFLAGS-getgrnam_r.c): Likewise.
36744 (CFLAGS-initgroups.c): Likewise.
36745 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36746 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36747 Variables removed.
36748 * inet/getnetgrent_r.c
36749 (nscd_setnetgrent): New function, broken out of ...
36750 (setnetgrent): ... here. Call it.
36751 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36752 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36753 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36754 * nscd/Makefile (routines, aux): Move definitions after include of
36755 Makeconfig. Conditionalize on [$(use-nscd) != no].
36756 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36757 Conditionalize on [USE_NSCD].
36758 (is_nscd, nscd_init_cb): Likewise.
36759 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36760 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36761 * nss/nss_db/db-init.c: Likewise.
36762 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36763 [USE_NSCD].
36764 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36765 (make_request): Use it.
36766 (cache_valid_p): New function.
36767 (__check_pf): Use it.
36768 * NEWS: Add item for --disable-nscd.
36769
07e51550
DL
367702012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36771
36772 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36773 to support sed >= 4.2.1-20-ga9bf076.
36774 * configure: Regenerated.
36775
35a5b08b
RM
367762012-08-22 Roland McGrath <roland@hack.frob.com>
36777
36778 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36779 Conditionalize whole body on [IREL].
36780
8479f23a
JL
367812012-08-22 Jeff Law <law@redhat.com>
36782
36783 [BZ #14505]
36784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36785 if the family is PF_UNSPEC.
36786
48da0b21
MF
367872012-08-22 Mike Frysinger <vapier@gentoo.org>
36788
36789 * Makerules (lib-version): Rename from V.
36790 (install-lib-nosubdir): Change V to lib-version.
36791
15d0da8c
WS
367922012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36793
36794 [BZ #14252]
36795 * powerpc32/power6/wcschr.c: New file.
36796 * powerpc32/power6/wcscpy.c: New file.
36797 * powerpc32/power6/wcsrchr.c: New file.
36798 * powerpc64/power6/wcschr.c: New file.
36799 * powerpc64/power6/wcscpy.c: New file.
36800 * powerpc64/power6/wcsrchr.c: New file.
36801
bcca0895
MK
368022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36803
36804 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36805 (two_way_short_needle): Use it.
5a4aaa33
RM
36806 * string/strstr.c (AVAILABLE1_USES_J): Define.
36807 * string/strcasestr.c: Likewise.
99677e57
MK
36808
36809 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36810 array references.
36811 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36812
400726de
MK
36813 [BZ #11607]
36814 * NEWS: Add an entry.
36815 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36816 define their defaults.
36817 (two_way_short_needle): Detect end-of-string on-the-fly.
36818 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36819 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36820 * string/bug-strcasestr1.c: New test.
36821 * string/Makefile: Run it.
36822
20a71f2c
MK
368232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36824
36825 [BZ #11607]
36826 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36827 the first character.
36828
21ad0558
RM
368292012-08-21 Roland McGrath <roland@hack.frob.com>
36830
36831 * csu/elf-init.c (__libc_csu_irel): Function removed.
36832 * csu/libc-start.c (apply_irel): New function.
36833 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36834
0e1d9911
JM
368352012-08-21 Joseph Myers <joseph@codesourcery.com>
36836
36837 * sysdeps/unix/sysv/linux/kernel-features.h
36838 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36839 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36840 <kernel-features.h>.
36841 [__NR_fadvise64_64]: Make code unconditional.
36842 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36843 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36844 !__NR_fadvise64_64)]: Likewise.
36845 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36846 !__NR_fadvise64_64))]: Likewise.
36847 [__NR_fadvise64]: Make code unconditional.
36848 [!__NR_fadvise64]: Remove conditional code.
36849 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36850 <kernel-features.h>.
36851 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36852 unconditional.
36853 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36854 conditional code.
36855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36856 not include <kernel-features.h>.
36857 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36858 unconditional.
36859 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36860 conditional code.
36861 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36862 include <kernel-features.h>.
36863 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36864 unconditional.
36865 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36866 conditional code.
36867
14a50c9d
WS
368682012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36869
36870 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36871 slight instruction rearrangements per scrollpipe analysis.
36872 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36873
c0f4faf0
RM
368742012-08-20 Roland McGrath <roland@hack.frob.com>
36875
696da859
RM
36876 * manual/syslog.texi (syslog; vsyslog, closelog):
36877 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36878 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36879
c0f4faf0
RM
36880 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36881 DSOCAPS to match condition on defining it.
36882
348363b2
JM
368832012-08-20 Joseph Myers <joseph@codesourcery.com>
36884
a35cbf28
JM
36885 * sysdeps/unix/sysv/linux/kernel-features.h
36886 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36888 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36889 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36891 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36892 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36894 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36895 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36896
445f7ecd
JM
36897 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36898 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36899
348363b2
JM
36900 * sysdeps/unix/sysv/linux/kernel-features.h
36901 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36902 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36903 unconditional.
36904 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36905 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36906 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36907 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36908 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36909 Make code unconditional.
36910 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36911 (__mmap64) [!__NR_mmap2]: Likewise.
36912 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36913 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36914 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36915 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36916 [__NR_mmap2]: Make code unconditional.
36917 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36918 (__mmap64) [!__NR_mmap2]: Likewise.
36919
bc5bc0e5
AK
369202012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36921
36922 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36923
88d506de
AJ
369242012-08-18 Andreas Jaeger <aj@suse.de>
36925
36926 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36927
493387d2
MF
369282012-08-18 Mike Frysinger <vapier@gentoo.org>
36929
36930 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36931 * include/unistd.h (__have_sock_cloexec): Likewise.
36932 (__have_pipe2): Likewise.
36933 (__have_dup3): Likewise.
36934
a277af22
MF
369352012-08-18 Mike Frysinger <vapier@gentoo.org>
36936
36937 [BZ #9685]
36938 * include/unistd.h (__have_pipe2): Change define into an extern int.
36939 (__have_dup3): Likewise.
36940 * socket/have_sock_cloexec.c: Include fcntl.h.
36941 (__have_pipe2): New variable.
36942 (__have_dup3): Likewise.
36943
fdab8fd3
MF
369442012-08-17 Mike Frysinger <vapier@gentoo.org>
36945
36946 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36947
31035e80
MP
369482012-08-17 Marek Polacek <polacek@redhat.com>
36949
36950 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36951 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36952
3bd9e993
RM
369532012-08-17 Roland McGrath <roland@hack.frob.com>
36954
c91c505f
RM
36955 * configure.in: Add AC_SUBST for sysheaders.
36956 * configure: Regenerated.
36957 * config.make.in (sysheaders): New substituted variable.
36958
7c6f9d53
RM
36959 * sysdeps/unix/mkfifo.c: Moved ...
36960 * sysdeps/posix/mkfifo.c: ... here.
36961 * sysdeps/unix/mkfifoat.c: Moved ...
36962 * sysdeps/posix/mkfifoat.c: ... here.
36963
36964 * sysdeps/unix/utime.c: Moved ...
36965 * sysdeps/posix/utime.c: ... here.
36966
36967 * sysdeps/unix/time.c: Moved ...
36968 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
36969 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36970 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
36971
36972 * sysdeps/unix/nice.c: Moved ...
36973 * sysdeps/posix/nice.c: ... here.
36974
36975 * sysdeps/unix/alarm.c: Moved ...
36976 * sysdeps/posix/alarm.c: ... here.
36977
3bd9e993
RM
36978 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36979
d1f09384
JL
369802012-08-17 Jeff Law <law@redhat.com>
36981
36982 * intl/Makefile (codeset_mo): New variable.
36983 ($(codeset_mo)): New target.
36984 (tst-codeset.out): Depend on that. Remove explicit rule.
36985 (tst-gettext3.out, tst-gettext5.out): Likewise.
36986 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36987 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36988 * intl/tst-codeset.sh: Remove.
36989 * intl/tst-gettext3.sh: Likewise.
36990 * intl/tst-gettext5.sh: Likewise.
36991
2ae1ae5c
RM
369922012-08-17 Roland McGrath <roland@hack.frob.com>
36993
c31fdb83
RM
36994 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36995 * sysdeps/unix/syscalls.list: ... here.
36996
a0844057
RM
36997 * sysdeps/posix/getaddrinfo.c
36998 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36999 (gaiconf_init, gaiconf_reload): Use them.
37000 [!_STATBUF_ST_NSEC]
37001 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37002 Define using time_t rather than struct timespec.
37003
750c1f2a
RM
37004 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37005 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37006 Macros removed.
37007 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37008 [!NO_THREADS].
37009 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37010 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37011 Likewise.
37012
2ae1ae5c
RM
37013 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37014 __libc_cleanup_push argument.
37015
e66a42f5
RM
37016 * bits/param.h: New file.
37017 * misc/sys/param.h: New file.
37018 * include/sys/param.h: New file.
37019 * misc/Makefile (headers): Add bits/param.h.
37020 * sysdeps/generic/sys/param.h: File removed.
37021 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37022 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37023 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37024 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37025
b7c08a66
RM
37026 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37027 last change.
37028
b2e1c562
RM
37029 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37030 [_IO_MTSAFE_IO].
37031 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37032 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37033 New macros.
37034
c75ccd4c
RM
37035 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37036 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37037 rather than -D_IO_MTSAFE_IO conditionally.
37038 * stdio-common/Makefile (CPPFLAGS): Likewise.
37039 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37040 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37041 Use $(libio-mtsafe).
37042 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37043 of -D_IO_MTSAFE_IO.
37044 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37045 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37046 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37047 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37048 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37049 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37050 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37051 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37052 (CFLAGS-fread_u_chk.c): Likewise.
37053 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37054 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37055 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37056 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37057 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37058 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37059 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37060 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37061 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37062
37063 * libio/Makefile: Test [$(libc-reentrant) = yes]
37064 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37065
37066 * Makeconfig
37067 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37068 * sysdeps/pthread/configure: File removed.
37069 * sysdeps/pthread/Makeconfig: New file.
37070 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37071 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37072
d9195db8
GB
370732012-08-16 Gary Benson <gbenson@redhat.com>
37074
37075 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37076 unmapping the first object in a namespace.
37077
86466cd9
RM
370782012-08-16 Roland McGrath <roland@hack.frob.com>
37079
37080 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37081 (__internal_setnetgrent): ... this. Add internal_function to
37082 definition. Add libc_hidden_def.
37083 (setnetgrent): Update caller.
37084 (internal_endnetgrent): Renamed to ...
37085 (__internal_endnetgrent): ... this. Add internal_function to
37086 definition. Add libc_hidden_def.
37087 (endnetgrent): Update caller.
37088 (internal_getnetgrent_r): Renamed to ...
37089 (__internal_getnetgrent_r): ... this. Add internal_function to
37090 definition. Add libc_hidden_def.
37091 (__getnetgrent_r): Update caller.
37092 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37093
c3c8283c
JM
370942012-08-16 Joseph Myers <joseph@codesourcery.com>
37095
37096 * stdlib/longlong.h: Update from GCC.
37097
db1ee0a8
RM
370982012-08-16 Roland McGrath <roland@hack.frob.com>
37099
37100 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37101 on _QL, which is set by umul_ppmm but never used.
37102 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37103 variables, which are set by GMP macros but never used.
37104 * stdio-common/_itowa.c (_itowa): Likewise.
37105 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37106 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37107
30f69637
CD
371082012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37109
37110 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37111 struct La_sh_regs is not constant.
37112 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37113 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37114 and struct La_sparc64_regs are not constant.
37115
93a78ac4
JM
371162012-08-16 Joseph Myers <joseph@codesourcery.com>
37117
37118 * sysdeps/unix/sysv/linux/kernel-features.h
37119 (__ASSUME_POSIX_TIMERS): Remove.
37120 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37121 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37122 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37123 Make code unconditional.
37124 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37125 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37126 Make code unconditional.
37127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37128 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37129 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37131 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37132 Make code unconditional.
37133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37134 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37135 (__libc_missing_posix_timers): Remove.
37136
dd924cd7
RM
371372012-08-15 Roland McGrath <roland@hack.frob.com>
37138
4b4f2771
RM
37139 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37140 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37141
601c888b
RM
37142 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37143
176790a7
RM
37144 * elf/dl-sym.c: Include <stdlib.h>.
37145
329bc018
RM
37146 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37147 constants, which avoids warnings in 32-bit builds.
37148
e04e272d
RM
37149 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37150 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37151
952bf94a
RM
37152 * misc/lseek.c: File moved to ...
37153 * io/lseek.c: ... here.
37154
7c99b50a
RM
37155 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37156
dd924cd7
RM
37157 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37158 shifting LEN more than 31 bits at once.
37159
b3f479a8
LD
371602012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37161
37162 [BZ #14195]
8c4ae0d4
RM
37163 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37164 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37165 * string/test-strncasecmp.c (check1): Renamed to...
37166 (bz12205): ...this.
37167 (bz14195): Add new testcase for two empty input strings and N > 0.
37168 (test_main): Call new testcase, adapt for renamed function.
37169
9c55864e
AJ
371702012-08-15 Andreas Jaeger <aj@suse.de>
37171
37172 [BZ #14090]
37173 * crypt/md5test2.c: New test, based on test supplied by Serge
37174 Belyshev <belyshev@depni.sinp.msu.ru>.
37175 * crypt/Makefile (xtests): Add md5test-giant..
37176 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37177
02dcb6c5
PE
371782012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37179
37180 [BZ #14090]
37181 * crypt/md5.c (md5_process_block): Don't assume the buffer
37182 length is less than 2**32.
37183 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37184 length is less than 2**64.
37185
a3f95dcc
RM
371862012-08-15 Roland McGrath <roland@hack.frob.com>
37187
be75d758
RM
37188 * string/str-two-way.h: Include <sys/param.h>.
37189 (MAX): Macro removed.
37190
7312ca90
RM
37191 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37192 Move #define and #undef of memmove to just before and after
37193 including <string.h>.
37194
9a0a5486
RM
37195 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37196 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37197 and after including <string.h>. Move declarations of
37198 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37199 to before #include "string/memmove.c".
37200
67cc348d
RM
37201 * include/dirent.h: Declare __getdirentries.
37202
a3f95dcc
RM
37203 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37204 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37205
ca98e171
MF
372062012-08-14 Mike Frysinger <vapier@gentoo.org>
37207
37208 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37209 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37210 * sysdeps/i386/configure: Regenerated.
37211 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37212 STABS_CURRENT_FILE, and STABS_FUN.
37213 (END): Remove call to STABS_FUN_END.
37214 (STABS_CURRENT_FILE1): Delete.
37215 (STABS_CURRENT_FILE): Likewise.
37216 (STABS_FUN): Likewise.
37217 (STABS_FUN_END): Likewise.
37218 (STABS_FUN2): Likewise.
37219 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37220 * sysdeps/x86_64/configure: Regenerated.
37221
5908bf46
RM
372222012-08-14 Roland McGrath <roland@hack.frob.com>
37223
37224 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37225 * elf/dl-lookup.c: Likewise.
5908bf46 37226
f2c05b9e
JM
372272012-08-14 Joseph Myers <joseph@codesourcery.com>
37228
37229 * sysdeps/unix/sysv/linux/kernel-features.h
37230 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37231 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37232 unconditionally.
37233 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37234 unconditionally.
37235 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37236 condition on __ASSUME_CLONE_THREAD_FLAGS.
37237
e11f5155
AJ
372382012-08-14 Andreas Jaeger <aj@suse.de>
37239
37240 * sysdeps/i386/fpu/libm-test-ulps: Update.
37241
51a9ba86
MK
372422012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37243
2fdd4f78
AJ
37244 * include/atomic.h (atomic_exchange_and_add): Split into ...
37245 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37246 New atomic macros.
51a9ba86 37247
ba6cba9e
MT
372482012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37249
37250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37251
42443a47
JL
372522012-08-13 Jeff Law <law@redhat.com>
37253
37254 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37255 null byte in the output string.
37256
121dce05
JM
372572012-08-10 Joseph Myers <joseph@codesourcery.com>
37258
37259 * sysdeps/unix/sysv/linux/kernel-features.h
37260 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37261 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37262 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37263 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37264 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37265 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37266 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37267
bf51f568
JL
372682012-08-09 Jeff Law <law@redhat.com>
37269
37270 [BZ #13939]
37271 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37272 When avoid_arena is set, don't retry in the that arena. Pick the
37273 next one, whatever it might be.
37274 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37275 (arena_lock): Pass in new parameter to arena_get2.
37276 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37277 arena_get2.
37278 (__libc_malloc): Unify retrying after main arena failure with
37279 __libc_memalign version.
37280 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37281
f85fa270
L
372822012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37283
37284 [BZ #14166]
37285 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37286 to __redirect_strstr.
37287 (__strstr_sse42): Use typeof __redirect_strstr.
37288 (__strstr_ia32): Likewise.
37289 (__libc_strstr): New prototype.
37290 (strstr): Renamed to ...
37291 (__libc_strstr): This.
37292 (strstr): New strong alias of __libc_strstr.
37293 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37294 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37295 __redirect_time.
37296 Include <time.h>.
37297 (__libc_time): New prototype.
37298 (time_ifunc): Replace time with __libc_time.
37299 (time): New strong alias and hidden definition of __libc_time.
37300 (__GI_time): Remove strong alias.
37301 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37302 Include <stddef.h>.
37303 (memmove): Redefined to __redirect_memmove.
37304 (__memmove_sse2): Use typeof __redirect_memmove.
37305 (__memmove_ssse3): Likewise.
37306 (__memmove_ssse3_back): Likewise.
37307 (__libc_memmove): New prototype.
37308 (memmove): Renamed to ...
37309 (__libc_memmove): This.
37310 (memmove): New strong alias of __libc_memmove.
37311
33b4a91e
MS
373122012-08-08 Mark Salter <msalter@redhat.com>
37313
37314 * elf/elf.h
37315 (R_MN10300_TLS_GD): Define.
37316 (R_MN10300_TLS_LD): Likewise.
37317 (R_MN10300_TLS_LDO): Likewise.
37318 (R_MN10300_TLS_GOTIE): Likewise.
37319 (R_MN10300_TLS_IE): Likewise.
37320 (R_MN10300_TLS_LE): Likewise.
37321 (R_MN10300_TLS_DTPMOD): Likewise.
37322 (R_MN10300_TLS_DTPOFF): Likewise.
37323 (R_MN10300_TLS_TPOFF): Likewise.
37324 (R_MN10300_SYM_DIFF): Likewise.
37325 (R_MN10300_ALIGN): Likewise.
37326 (R_MN10300_NUM): Update.
37327
b36137f1
JM
373282012-08-08 Joseph Myers <joseph@codesourcery.com>
37329
37330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37331 Remove.
37332
cdd915fd
RM
373332012-08-08 Roland McGrath <roland@hack.frob.com>
37334
a2433aac
RM
37335 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37336
cdd915fd
RM
37337 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37338 sysdeps/unix -> sysdeps/posix move.
37339 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37340
bf9b740a
AM
373412012-08-07 Allan McRae <allan@archlinux.org>
37342
37343 [BZ #14303]
37344 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37345 (SUNOS_CPP): Likewise.
37346 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37347 not found.
37348 (open_input): Call CPP using execvp.
37349
93df14ee
JM
373502012-08-07 Joseph Myers <joseph@codesourcery.com>
37351
37352 * sysdeps/unix/sysv/linux/kernel-features.h
37353 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37354 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37355 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37356 (__ASSUME_WAITID_SYSCALL): Likewise.
37357 * sysdeps/unix/sysv/linux/dl-execstack.c
37358 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37359 code unconditional.
37360 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37361 conditional code.
37362 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37363 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37364 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37365 code.
37366 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37367 unconditional.
37368 [__ASSUME_WAITID_SYSCALL]: Likewise.
37369 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37370
d34689de
RM
373712012-08-07 Roland McGrath <roland@hack.frob.com>
37372
a281decc
RM
37373 * sysdeps/unix/closedir.c: Renamed to ...
37374 * sysdeps/posix/closedir.c: ... here.
37375 * sysdeps/unix/dirfd.c: Renamed to ...
37376 * sysdeps/posix/dirfd.c: ... here.
37377 * sysdeps/unix/dirstream.h: Renamed to ...
37378 * sysdeps/posix/dirstream.h: ... here.
37379 * sysdeps/unix/fdopendir.c: Renamed to ...
37380 * sysdeps/posix/fdopendir.c: ... here.
37381 * sysdeps/unix/opendir.c: Renamed to ...
37382 * sysdeps/posix/opendir.c: ... here.
37383 * sysdeps/unix/readdir.c: Renamed to ...
37384 * sysdeps/posix/readdir.c: ... here.
37385 * sysdeps/unix/readdir_r.c: Renamed to ...
37386 * sysdeps/posix/readdir_r.c: ... here.
37387 * sysdeps/unix/rewinddir.c: Renamed to ...
37388 * sysdeps/posix/rewinddir.c: ... here.
37389 * sysdeps/unix/seekdir.c: Renamed to ...
37390 * sysdeps/posix/seekdir.c: ... here.
37391 * sysdeps/unix/telldir.c: Renamed to ...
37392 * sysdeps/posix/telldir.c: ... here.
37393 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37394 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37395 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37396 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37397
22895b47
RM
37398 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37399 * bits/fcntl.h: ... here.
37400
707a53b6
RM
37401 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37402 not 0.
37403 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37404 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37405 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37406 (struct flock): Move l_start, l_len to the beginning.
37407 Use __pid_t for l_pid.
37408 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37409 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37410 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37411 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37412 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37413 [__USE_LARGEFILE64] (struct flock64): New type.
37414 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37415
f0bd3e25
RM
37416 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37417 * bits/dirent.h: ... here.
37418
d34689de
RM
37419 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37420 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37421
6dad2c06
JM
374222012-08-07 Joseph Myers <joseph@codesourcery.com>
37423
37424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37425 Change from 2.6.0 to 2.6.16.
37426 * sysdeps/unix/sysv/linux/configure: Regenerated.
37427 * sysdeps/unix/sysv/linux/kernel-features.h
37428 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37429 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37430 version.
37431 (__ASSUME_UTIMES): Likewise.
37432 (__ASSUME_CLONE_STOPPED): Remove.
37433 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37434 architectures, not kernel version.
37435 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37436 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37437 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37438 (__ASSUME_WAITID_SYSCALL): Likewise.
37439 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37440 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37441 * README: State 2.6.16 as minimum Linux kernel version. Do not
37442 refer to older versions.
37443
03af9520
RM
374442012-08-06 Roland McGrath <roland@hack.frob.com>
37445
8e49df1d
RM
37446 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37447 Define alphasort64 as an alias.
37448 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37449 Define versionsort64 as an alias.
37450 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37451 Define scandir64 as an alias.
37452 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37453 Define scandirat64 as an alias.
37454 * dirent/alphasort64.c (alphasort64):
37455 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37456 * dirent/versionsort64.c: Likewise.
37457 * dirent/scandir64.c: Likewise.
37458 * dirent/scandirat64.c: Likewise.
37459 * sysdeps/wordsize-64/alphasort.c: File removed.
37460 * sysdeps/wordsize-64/alphasort64.c: File removed.
37461 * sysdeps/wordsize-64/scandir.c: File removed.
37462 * sysdeps/wordsize-64/scandir64.c: File removed.
37463 * sysdeps/wordsize-64/scandirat.c: File removed.
37464 * sysdeps/wordsize-64/scandirat64.c: File removed.
37465 * sysdeps/wordsize-64/versionsort.c: File removed.
37466 * sysdeps/wordsize-64/versionsort64.c: File removed.
37467 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37468 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37469 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37470 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37471 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37472 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37473 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37474 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37475
37476 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37477 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37478 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37480 [defined __arch64__ || defined __sparcv9]
37481 (__INO_T_MATCHES_INO64_T): New macro.
37482 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37483 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37484 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37485 * sysdeps/unix/sysv/linux/bits/dirent.h
37486 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37487 (_DIRENT_MATCHES_DIRENT64): New macro.
37488
03af9520
RM
37489 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37490 Define lockf64 as an alias.
37491 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37492 Define fseeko64 as an alias.
37493 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37494 Define ftello64 as an alias.
37495 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37496 Define _IO_fgetpos64 and fgetpos64 as aliases.
37497 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37498 Define _IO_fsetpos64 and fsetpos64 as aliases.
37499 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37500 Conditionalize body on this.
37501 * libio/fseeko64.c: Likewise.
37502 * libio/ftello64.c: Likewise.
37503 * libio/iofgetpos64.c: Likewise.
37504 * libio/iofsetpos64.c: Likewise.
37505 * sysdeps/wordsize-64/lockf.c: File removed.
37506 * sysdeps/wordsize-64/lockf64.c: File removed.
37507 * sysdeps/wordsize-64/fseeko.c: File removed.
37508 * sysdeps/wordsize-64/fseeko64.c: File removed.
37509 * sysdeps/wordsize-64/ftello.c: File removed.
37510 * sysdeps/wordsize-64/ftello64.c: File removed.
37511 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37512 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37513 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37514 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37515 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37516 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37517 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37518 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37519 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37520 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37521 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37522 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37523 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37524 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37525
37526 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37528 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37529 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37530 [defined __arch64__ || defined __sparcv9]
37531 (__OFF_T_MATCHES_OFF64_T): New macro.
37532 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37533 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37535 (__OFF_T_MATCHES_OFF64_T): New macro.
37536
c5757acd
L
375372012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37538
37539 * stdlib/secure-getenv.c (__secure_getenv): Replace
37540 GLIBC_2_16 with GLIBC_2_17.
37541
3a31811e
L
375422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37543
37544 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37545 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37546
faa2bccb
DM
375472012-08-03 David S. Miller <davem@davemloft.net>
37548
37549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37550
85fe1997
JM
375512012-08-03 Joseph Myers <joseph@codesourcery.com>
37552
37553 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37554 Remove.
37555 (__ASSUME_CORRECT_SI_PID): Likewise.
37556 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37557 (__ASSUME_TMPFS_NAME): Likewise.
37558 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37559 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37560 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37561 (HAVE_AUX_SECURE): Make definition unconditional.
37562 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37563 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37564
4f75b7a0
RM
375652012-08-03 Roland McGrath <roland@hack.frob.com>
37566
37567 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37568 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37569 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37570 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37571 __eloop_threshold instead of SYMLOOP_MAX.
37572
37573 * sysdeps/generic/eloop-threshold.h: New file.
37574 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37575 of MAXSYMLINKS.
37576 * elf/chroot_canon.c (chroot_canon): Likewise.
37577
7aab07e4
JM
375782012-08-03 Joseph Myers <joseph@codesourcery.com>
37579
37580 [BZ #13717]
37581 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37582 Change to 2.6.0 everywhere.
37583 * sysdeps/unix/sysv/linux/configure: Regenerated.
37584 * sysdeps/unix/sysv/linux/kernel-features.h
37585 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37586 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37587 kernel versions.
37588 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37589 (__ASSUME_FUTEX_REQUEUE): Remove.
37590 (__ASSUME_STATFS64): Define unconditionally.
37591 (__ASSUME_AT_SECURE): Likewise.
37592 (__ASSUME_CORRECT_SI_PID): Likewise.
37593 (__ASSUME_TGKILL): Define without depending on kernel version for
37594 i386.
37595 (__ASSUME_UTIMES): Likewise.
37596 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37597 kernel version.
37598 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37599 (__ASSUME_TMPFS_NAME): Likewise.
37600 * README: Update reference to Linux kernel versions.
37601
b67e9372
MP
376022012-08-02 Marek Polacek <polacek@redhat.com>
37603
1f529f7d 37604 [BZ# 14150]
b67e9372
MP
37605 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37606 libc_cv_asm_type_prefix with %.
37607 * configure: Regenerated.
d2441631
RM
37608 * include/libc-symbols.h: Remove comment about
37609 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
37610 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37611 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37612 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37613 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37614 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37615 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37616 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37617 * elf/tst-unique2mod1.c: Likewise.
37618 * elf/tst-unique1mod2.c: Likewise.
37619 * elf/tst-unique1mod1.c: Likewise.
37620 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37621 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37622 Replace ASM_TYPE_DIRECTIVE with .type.
37623 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37624 * sysdeps/i386/sysdep.h: Likewise.
37625 * sysdeps/x86_64/sysdep.h: Likewise.
37626 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
37627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37628 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 37629 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
37630 * sysdeps/powerpc/powerpc32/sysdep.h:
37631 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
37632 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37633 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37634 * sysdeps/i386/fpu/e_powf.S: Likewise.
37635 * sysdeps/i386/fpu/e_expl.S: Likewise.
37636 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37637 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37638 * sysdeps/i386/fpu/e_pow.S: Likewise.
37639 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37640 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37641 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37642 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37643 * sysdeps/i386/fpu/e_log2.S: Likewise.
37644 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37645 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37646 * sysdeps/i386/fpu/e_powl.S: Likewise.
37647 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37648 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37649 * sysdeps/i386/fpu/e_logl.S: Likewise.
37650 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37651 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37652 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37653 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37654 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37655 * sysdeps/i386/fpu/e_log.S: Likewise.
37656 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37657 * sysdeps/i386/fpu/e_logf.S: Likewise.
37658 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37659 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37660 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37661 * sysdeps/i386/fpu/e_log10.S: Likewise.
37662 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37663 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37664 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37665 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37666 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37667 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37668 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37669 * sysdeps/i386/i686/strtok.S: Likewise.
37670 * sysdeps/i386/i386-mcount.S: Likewise.
37671 * sysdeps/i386/strtok.S: Likewise.
37672 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37673 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37674 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37675 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37676 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37677 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37678 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37679 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37680 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37681 * sysdeps/x86_64/_mcount.S: Likewise.
37682 * sysdeps/x86_64/strtok.S: Likewise.
37683 * sysdeps/sh/_mcount.S: Likewise.
37684
2747bf9a
RM
376852012-08-01 Roland McGrath <roland@hack.frob.com>
37686
37687 * libio/iofopen.c: Include <fcntl.h>.
37688 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37689 (_IO_fopen64, fopen64): Define as aliases.
37690 * libio/iofopen64.c: Include <fcntl.h>.
37691 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37692 Conditionalize body on this.
37693 * sysdeps/wordsize-64/iofopen.c: File removed.
37694 * sysdeps/wordsize-64/iofopen64.c: File removed.
37695
3fb791b8
MP
376962012-08-01 Marek Polacek <polacek@redhat.com>
37697
37698 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37699 Use dlfcn directly instead of a variable.
37700 (binfmt-subdir): Do not define.
37701 (dlfcn): Likewise.
37702
a9f1039f
JM
377032012-08-01 Joseph Myers <joseph@codesourcery.com>
37704
23bddc06
JM
37705 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37706 Remove all definitions.
37707 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37708 <kernel-features.h>.
37709 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37710 (miss_F_GETOWN_EX): Remove all definitions.
37711 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37712 macro definition.
37713 [!__ASSUME_FCNTL64]: Remove conditional code.
37714 [__ASSUME_FCNTL64]: Make code unconditional.
37715 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37716 <kernel-features.h>.
37717 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37718 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37719 (lockf64) [__NR_fcntl64]: Make code unconditional.
37720 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37721
a9f1039f
JM
37722 * sysdeps/unix/sysv/linux/kernel-features.h
37723 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37724 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37725 Make code unconditional.
37726 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37727 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37729 [__NR_vfork]: Make code unconditional.
37730 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37731 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37733 [__NR_vfork]: Make code unconditional.
37734 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37735 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37736
09c0ee5f
RM
377372012-08-01 Roland McGrath <roland@hack.frob.com>
37738
48aec5b9
RM
37739 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37740 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37741
cd97c966
RM
37742 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37743 Define mkstemp64 as an alias.
3f55550c
RM
37744 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37745 Define mkstemps64 as an alias.
cd97c966
RM
37746 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37747 Define mkostemp64 as an alias.
b8625cfc
RM
37748 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37749 Define mkostemps64 as an alias.
cd97c966
RM
37750 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37751 Conditionalize body on this.
37752 * misc/mkostemp64.c: Likewise.
b8625cfc 37753 * misc/mkostemps64.c: Likewise.
3f55550c 37754 * misc/mkstemps64.c: Likewise.
cd97c966
RM
37755 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37756 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37757 * sysdeps/wordsize-64/mkostemp.c: File removed.
37758 * sysdeps/wordsize-64/mkstemp.c: File removed.
37759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37760 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37761 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37762 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37763
09c0ee5f
RM
37764 [BZ #14138]
37765 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37766 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37767 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37768 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37769
37770 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37771 compat_symbol macros from <shlib-compat.h> rather than the underlying
37772 default_symbol_version and symbol_version macros, so that DEFAULT
37773 lines in shlib-versions are respected.
37774 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37775
7e66ee51
FW
377762012-08-01 Florian Weimer <fweimer@redhat.com>
37777
37778 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37779 Declare with warn_unused_result.
37780 (setgid, setregid, setegid, setresgid): Likewise.
37781 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37782 Likewise.
37783 * WUR-REPORT: Remove set*id functions.
37784
d2a54255
PT
377852012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37786
37787 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37788
7ecdb005
RM
377892012-07-31 Roland McGrath <roland@hack.frob.com>
37790
b4180a5e 37791 [BZ #10191]
789bd351
RM
37792 * include/sys/socket.h (__libc_accept, __libc_accept4):
37793 Add attribute_hidden.
37794 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37795
40ce302d
RM
37796 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37797 use of PTR_MANGLE.
37798 * inet/getnetgrent_r.c (setup): Likewise.
37799
7ecdb005
RM
37800 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37801
e2eabb2c
DM
378022012-07-31 David S. Miller <davem@davemloft.net>
37803
37804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37805
d0419dbf
JM
378062012-07-31 Joseph Myers <joseph@codesourcery.com>
37807
37808 [BZ #13629]
37809 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37810 value between 1.0 and 2.0 and smaller part has absolute value less
37811 than 1.0.
37812 * math/s_clog10.c (__clog10): Likewise.
37813 * math/s_clog10f.c (__clog10f): Likewise.
37814 * math/s_clog10l.c (__clog10l): Likewise.
37815 * math/s_clogf.c (__clogf): Likewise.
37816 * math/s_clogl.c (__clogl): Likewise.
37817 * math/libm-test.inc (clog_test): Add more tests.
37818 (clog10_test): Likewise.
37819 * sysdeps/i386/fpu/libm-test-ulps: Update.
37820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37821
2bc13872
FW
378222012-07-31 Florian Weimer <fweimer@redhat.com>
37823
37824 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37825 Exit with zero in case no suitable GID is found, and write a
37826 message to standard error.
37827
bea9b193
RM
378282012-07-30 Roland McGrath <roland@hack.frob.com>
37829
37830 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37831 rather than to 1.
37832 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37833 (MAXPATHLEN): Removed.
37834 (NOGROUP, NODEV): New macros.
37835 (setbit, clrbit, isset, isclr): New macros.
37836 (howmany, roundup, powerof2): New macros.
37837 (DEV_BSIZE): New macro.
37838
37839 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37840 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37841
37842 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37843 definition on [!__NO_LONG_DOUBLE_MATH].
37844
37845 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37846 PTR_MANGLE and PTR_DEMANGLE.
37847
37848 * socket/accept4.c (accept4): Rename to __libc_accept4.
37849 Define accept4 as a weak alias.
37850
37851 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37852 on [_DIRENT_HAVE_D_TYPE].
37853 * io/ftw.c (ftw_dir): Likewise.
37854
37855 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37856
37857 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37858
37859 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37860 Use the BSD numbers rather than the arbitrary ones we had.
37861 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37862 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37863 (SIGXCPU, SIGXFSZ): New macros.
37864 (_NSIG): Now 32.
37865
37866 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37867 initializer on [_LIBC_REENTRANT].
37868
37869 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37870 definitions inside [_POSIX_MAPPED_FILES].
37871
37872 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37873
37874 * dirent/opendir.c: Include <fcntl.h>.
37875
37876 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37877 (__libc_getspecific): Likewise.
37878 (__libc_key_create): Likewise.
37879
37880 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37881 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37882 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37883 (tmpfile64): Define as alias.
37884 * sysdeps/wordsize-64/tmpfile.c: File removed.
37885 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37886 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37887 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37888
37889 * stdio-common/vfscanf.c: Include <stdbool.h>.
37890 * nss/makedb.c: Likewise.
37891 * stdio-common/_i18n_number.h: Likewise.
37892 * argp/argp-help.c: Likewise.
37893 * posix/wordexp.c: Likewise.
37894 * sysdeps/posix/spawni.c: Likewise.
37895 * nss/nss_files/files-initgroups.c: Likewise.
37896 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37897 * nss/nss_files/files-initgroups.c: Likewise.
37898 * nss/nss_db/db-netgrp.c: Likewise.
37899 * nss/nss_db/db-initgroups.c: Likewise.
37900 * io/fchmodat.c: Include <sys/stat.h>.
37901
37902 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37903 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37904
37905 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37906 [HAVE_MMAP].
37907
37908 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37909 Add multiple inclusion protection.
37910
e5abc686
DM
379112012-07-27 David S. Miller <davem@davemloft.net>
37912
37913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37914
815e6fa3
GB
379152012-07-27 Gary Benson <gbenson@redhat.com>
37916
37917 [BZ #14298]
37918 * elf/rtld.c: Include <stap-probe.h>.
37919 (dl_main): Added static probes "init_start" and "init_complete".
37920 * elf/dl-load.c: Include <stap-probe.h>.
37921 (lose): Take new parameter "nsid".
37922 Added static probe "map_failed".
37923 (_dl_map_object_from_fd): Pass namespace id to lose.
37924 Added static probe "map_start".
37925 (open_verify): Pass namespace id to lose.
37926 * elf/dl-open.c: Include <stap-probe.h>.
37927 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37928 and "reloc_complete".
37929 * elf/dl-close.c: Include <stap-probe.h>.
37930 (_dl_close_worker): Added static probes "unmap_start" and
37931 "unmap_complete".
37932 * elf/rtld-debugger-interface.txt: New file documenting the above.
37933
9f98c16c
RM
379342012-07-26 Roland McGrath <roland@hack.frob.com>
37935
37936 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37937 rather than a string variable.
37938 * sunrpc/rpc_main.c (h_output): Likewise.
37939 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37940
f3c22df3
PT
379412012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37942
37943 * inet/check_native.c: New file.
37944
3129cfc6
JM
379452012-07-26 Joseph Myers <joseph@codesourcery.com>
37946
da865e95
JM
37947 [BZ #13629]
37948 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37949 if larger part has absolute value 1.0.
37950 * math/s_clog10.c (__clog10): Likewise.
37951 * math/s_clog10f.c (__clog10f): Likewise.
37952 * math/s_clog10l.c (__clog10l): Likewise.
37953 * math/s_clogf.c (__clogf): Likewise.
37954 * math/s_clogl.c (__clogl): Likewise.
37955 * math/libm-test.inc (clog_test): Add more tests.
37956 (clog10_test): Likewise.
37957 * sysdeps/i386/fpu/libm-test-ulps: Update.
37958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37959
3129cfc6
JM
37960 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37961 (pltexit): Likewise.
37962 (La_regs): Likewise.
37963 (La_retval): Likewise.
37964 (int_retval): Likewise.
37965 Update #error for removed macros to refer only to definitions in
37966 tst-audit.h.
37967 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37968 macro.
37969 (pltexit): Likewise.
37970 (La_regs): Likewise.
37971 (La_retval): Likewise.
37972 (int_retval): Likewise.
37973 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37974 macro.
37975 (pltexit): Likewise.
37976 (La_regs): Likewise.
37977 (La_retval): Likewise.
37978 (int_retval): Likewise.
37979 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37980 macro.
37981 (pltexit): Likewise.
37982 (La_regs): Likewise.
37983 (La_retval): Likewise.
37984 (int_retval): Likewise.
37985 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37986 macro.
37987 (pltexit): Likewise.
37988 (La_regs): Likewise.
37989 (La_retval): Likewise.
37990 (int_retval): Likewise.
37991 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37992 macro.
37993 (pltexit): Likewise.
37994 (La_regs): Likewise.
37995 (La_retval): Likewise.
37996 (int_retval): Likewise.
37997 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37998 macro.
37999 (pltexit): Likewise.
38000 (La_regs): Likewise.
38001 (La_retval): Likewise.
38002 (int_retval): Likewise.
38003 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38004 macro definitions in tst-audit.h.
38005 * sysdeps/i386/tst-audit.h: New file.
38006 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38007 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38008 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38009 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38010 * sysdeps/sh/tst-audit.h: Likewise.
38011 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38012 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38013 * sysdeps/x86_64/tst-audit.h: Likewise.
38014
bfc07087
AJ
380152012-07-26 Andreas Jaeger <aj@suse.de>
38016
b1b2aaf8
AJ
38017 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38018 ptrace.
38019
38020 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38021 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38022 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38023 PTRACE_O_MASK.
38024 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38025 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38026 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38027
bfc07087
AJ
38028 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38029 value.
38030
38031 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38032 _sigsys.
38033 (si_call_addr, si_syscall, si_arch): Define new macro.
38034 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38035 _sigsys.
38036 (si_call_addr, si_syscall, si_arch): Define new marcro.
38037 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38038 _sigsys.
38039 (si_call_addr, si_syscall, si_arch): Define new macro.
38040 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38041 _sigsys.
38042 (si_call_addr, si_syscall, si_arch): Define new macro.
38043
89b4b02f
JM
380442012-07-25 Joseph Myers <joseph@codesourcery.com>
38045
38046 [BZ #13717]
38047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38048 Change to 2.4.21 where previously 2.4.1.
38049 * sysdeps/unix/sysv/linux/configure: Regenerated.
38050 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38051 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38052 Linux kernel version.
38053 (__ASSUME_STD_AUXV): Remove.
38054 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38055 kernel version.
38056 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38057 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38058 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38059 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38060 (__ASSUME_NETLINK_SUPPORT): Likewise.
38061 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38062 (__no_netlink_support): Remove conditional definition.
38063 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38064 Remove.
38065 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38066 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38067 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38068 (if_nameindex_ioctl): Remove.
38069 (if_nameindex_netlink): Do not handle __no_netlink_support.
38070 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38071 code.
38072 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38073 Remove conditional code.
38074 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38075 code.
38076 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38077 unconditional.
38078 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38079 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38080 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38081 Remove.
38082 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38083 [!__ASSUME_STD_AUXV]: Remove conditional code.
38084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38085 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38086 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38088 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38089 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38090 code.
38091 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38093 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38094 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38095 conditional code.
38096 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38098 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38099 code.
38100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38101 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38102 conditional code.
38103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38104 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38105 code unconditional.
38106 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38107 conditional code.
38108 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38109 unconditional.
38110 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38111 conditional code.
38112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38113 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38114 unconditional.
38115 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38116 conditional code.
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38118 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38119 code unconditional.
38120 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38121 conditional code.
38122 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38123 unconditional.
38124 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38125 conditional code.
38126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38127 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38128 code unconditional.
38129 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38130 conditional code.
38131 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38132 unconditional.
38133 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38134 conditional code.
38135
842a39cd
AS
381362012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38137
38138 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38139 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38140 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38141 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38142 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38143 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38144 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38145 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38146 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38147 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38148 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38149 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38150 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38151 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38152 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38153 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38154 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38155 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38156 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38158 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38159 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38161
84b3fd84
FW
381622012-07-25 Florian Weimer <fweimer@redhat.com>
38163
38164 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38165 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38166 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38167 Introduce __libc_secure_getenv.
0c7936d5
FW
38168 * stdlib/Versions (2.17): Add secure_getenv
38169 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38170 * stdlib/secure-getenv.c: Rename __secure_getenv to
38171 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38172 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38173 * stdlib/tst-secure-getenv.c: New.
38174 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38175 * manual/startup.texi (Environment Access): Document
38176 secure_getenv.
84b3fd84
FW
38177 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38178 __libc_secure_getenv.
38179 * inet/ruserpass.c (ruserpass): Likewise.
38180 * malloc/mtrace.c (mtrace): Likewise.
38181 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38182 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38183 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38184 * sysdeps/posix/tempname.c: Likewise. Evaluate
38185 HAVE_SECURE_GETENV.
38186 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38187 __secure_getenv to __libc_secure_getenv.
84b3fd84 38188 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38190 Likewise.
38191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38192 Likewise.
38193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38200
56e49b71
JM
382012012-07-25 Joseph Myers <joseph@codesourcery.com>
38202
38203 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38204 (struct La_i86_retval): Likewise.
38205 (struct La_x86_64_regs): Likewise.
38206 (struct La_x86_64_retval): Likewise.
38207 (struct La_x32_regs): Likewise.
38208 (struct La_x32_retval): Likewise.
38209 (struct La_ppc32_regs): Likewise.
38210 (struct La_ppc32_retval): Likewise.
38211 (struct La_ppc64_regs): Likewise.
38212 (struct La_ppc64_retval): Likewise.
38213 (struct La_sh_regs): Likewise.
38214 (struct La_sh_retval): Likewise.
38215 (struct La_s390_32_regs): Likewise.
38216 (struct La_s390_32_retval): Likewise.
38217 (struct La_s390_64_regs): Likewise.
38218 (struct La_s390_64_retval): Likewise.
38219 (struct La_sparc32_regs): Likewise.
38220 (struct La_sparc32_retval): Likewise.
38221 (struct La_sparc64_regs): Likewise.
38222 (struct La_sparc64_retval): Likewise.
38223 (struct audit_ifaces): Remove architecture-specific pltenter and
38224 pltexit members.
38225 * sysdeps/i386/ldsodefs.h: New file.
38226 * sysdeps/powerpc/ldsodefs.h: Likewise.
38227 * sysdeps/s390/ldsodefs.h: Likewise.
38228 * sysdeps/sh/ldsodefs.h: Likewise.
38229 * sysdeps/sparc/ldsodefs.h: Likewise.
38230 * sysdeps/x86_64/ldsodefs.h: Likewise.
38231
354691b7
MP
382322012-07-25 Marek Polacek <polacek@redhat.com>
38233
38234 [BZ #6808]
38235 * math/libm-test.inc (yn_test): Add another test.
38236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38237 to ERANGE when the result is +-Inf.
38238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38239 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38240 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38241 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38242
bf9e2071
JM
382432012-07-24 Joseph Myers <joseph@codesourcery.com>
38244
38245 * conform/data/time.h-data (NULL): Use macro-constant. Require
38246 equal to 0.
38247 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38248 clock_t.
38249 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38250
57633811
TS
382512012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38252
38253 * configure.in <sysdeps resolving>: Correct printing
38254 Implies_before.
38255 * configure: Regenerate.
38256
c23c33b0
TS
382572012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38258
38259 * math/w_ilogb.c: Include <limits.h>.
38260 * math/w_ilogbl.c: Likewise.
38261
b5982523
JM
382622012-07-20 Joseph Myers <joseph@codesourcery.com>
38263
38264 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38265 va_copy. Document allowing for unavailable va_copy only as
38266 pre-C99 compatibility.
38267 * manual/string.texi (Copying and Concatenation): Use va_copy
38268 instead of __va_copy in concat example.
38269
ac4ea442
PT
382702012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38271
38272 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38273 (__sendto): Use create_address_port. Initialize APORT and deallocate
38274 it if not null.
38275
f98eafbd
PT
38276 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38277 with O_NOLINK passed to __file_name_lookup.
38278
898c7aab
PT
38279 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38280 with O_NOLINK passed to __file_name_lookup.
38281
0ced335a
PT
38282 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38283 negative N or less than NGIDS.
38284
b3404dbd
PT
38285 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38286 type to string_t. Set ERANGE as errno and return it if NAME is not big
38287 enough. Use memcpy instead of strncpy.
38288
0f48659e
JM
382892012-07-20 Joseph Myers <joseph@codesourcery.com>
38290
38291 * elf/Makefile (check-data): Remove.
38292 (localplt.data): New vpath directive.
38293 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38294 instead of $(check-data).
38295 * scripts/data/localplt-generic.data: Move to ...
38296 * sysdeps/generic/localplt.data: ... here.
38297 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38298 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38299 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38301 ... here.
38302 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38304 ... here.
38305 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38307 ... here.
38308 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38310 ... here.
38311 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38313 ... here.
38314 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38316 ... here.
38317
d37cbdaa
AZ
383182012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38319
38320 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38321 PPC32 and PPC64 files.
38322 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38323 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38324
46f85fc2
AK
383252012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38326
38327 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38328 __makecontext_ret to ...
38329 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38330 ... here and call exit if uc_link is NULL. New file.
38331 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38332 __makecontext_ret.S.
38333 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38334 __makecontext_ret to ...
38335 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38336 ... here and call exit if uc_link is NULL. New file.
38337 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38338 __makecontext_ret.S.
38339
08f43f9b
AK
383402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38341
38342 * elf/elf.h (R_390_IRELATIVE): New definition.
38343 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38344 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38345 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38346 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38347 (elf_machine_lazy_rel): Likewise.
38348 * sysdeps/s390/dl-irel.h: New file.
38349 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38350 * sysdeps/s390/s390-64/memset.S: New asm code.
38351 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38352 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38353 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38354 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38355 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38356 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38357 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38358 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38359 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38360 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38361 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38362 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38363 * sysdeps/s390/s390-32/memset.S: New asm code.
38364 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38365
3b05db33
MP
383662012-07-17 Marek Polacek <polacek@redhat.com>
38367
38368 [BZ #14349]
38369 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38370 * sysdeps/s390/s390-64/configure.in: Likewise.
38371 * sysdeps/sparc/configure.in: Likewise.
38372 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38373 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38374 * sysdeps/i386/configure.in: Likewise.
38375 * sysdeps/x86_64/configure.in: Likewise.
38376 * sysdeps/sh/configure.in: Likewise.
38377 * sysdeps/s390/s390-32/configure: Regenerated.
38378 * sysdeps/s390/s390-64/configure: Likewise.
38379 * sysdeps/x86_64/configure: Likewise.
38380 * sysdeps/sh/configure: Likewise.
38381 * sysdeps/powerpc/powerpc64/configure: Likewise.
38382 * sysdeps/powerpc/powerpc32/configure: Likewise.
38383 * sysdeps/sparc/configure: Likwise.
38384 * sysdeps/i386/configure: Likewise.
38385
a66877c6
MP
38386 * elf/dl-open.c: Comment fixes.
38387
cfc82fd8
JM
383882012-07-17 Joseph Myers <joseph@codesourcery.com>
38389
bd29910a
JM
38390 * Makefile [CXX] (check-data): Remove.
38391 [CXX] (c++-types.data): New vpath directive.
38392 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38393 vpath. Do not allow for C++ type data being missing.
38394 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38395 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38396 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38397 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38398 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38399 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38400 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38402 ... here.
38403 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38405 ... here.
38406 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38408 ... here.
38409 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38411 ... here.
38412 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38414 ... here.
38415 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38417 ... here.
38418 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38420 ... here.
38421 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38423
cfc82fd8
JM
38424 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38425 definitions to architecture-specific files.
38426 (TLS_IE): Likewise.
38427 (TLS_LD): Likewise.
38428 (TLS_GD): Likewise.
38429 * sysdeps/i386/tls-macros.h: New file.
38430 * sysdeps/powerpc/tls-macros.h: Likewise.
38431 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38432 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38433 * sysdeps/sh/tls-macros.h: Likewise.
38434 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38435 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38436 * sysdeps/x86_64/tls-macros.h: Likewise.
38437
f7db3170
TS
384382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38439
07cbfc23
TS
38440 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38441 zero value for regular exit case.
38442
f7db3170
TS
38443 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38444 (__start_context): Preserve zero value for regular exit case.
38445
dc97c227
TS
384462012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38447 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38448
38449 * manual/setjmp.texi (setcontext): Clarify normal process
38450 termination when uc_link is the null pointer.
38451 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38452 exit call.
38453
d0cd7d02
AS
384542012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38455
38456 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38457 preprocessor. Test for each exception mask separately.
38458
dd318934
AJ
384592012-07-16 Andreas Jaeger <aj@suse.de>
38460
38461 * po/ru.po: Update from translation team.
38462
8048311a
JM
384632012-07-15 Joseph Myers <joseph@codesourcery.com>
38464
38465 * conform/data/string.h-data (NULL): Use macro-constant. Require
38466 equal to 0.
38467 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38468 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38469 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38470 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38471 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38472
b637d46e
AJ
384732012-07-13 Andreas Jaeger <aj@suse.de>
38474
38475 * po/fr.po: Update from translation team.
38476
541428fe
MP
384772012-07-12 Marek Polacek <polacek@redhat.com>
38478
38479 [BZ #14173]
38480 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38481 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38482 loop condition.
38483
ec332e94
JM
384842012-07-12 Joseph Myers <joseph@codesourcery.com>
38485
38486 [BZ #13717]
38487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38488 Change to 2.4.1 where previously 2.4.0.
38489 * sysdeps/unix/sysv/linux/configure: Regenerated.
38490 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38491 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38492 version.
38493 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38494 (__ASSUME_AT_CLKTCK): Remove.
38495 (__ASSUME_AT_PAGESIZE): Likewise.
38496 (__ASSUME_AT_XID): Likewise.
38497 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38498 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38499 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38500 unconditionally.
38501 (HAVE_AUX_PAGESIZE): Likewise.
38502 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38503 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38504 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38505
7b6e99be
JB
385062012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38507
38508 [BZ #14307]
38509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38510 the temporary buffer used to invoke __gethostbyname2_r,
38511 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38512 host_data / struct gaih_addrtuple.
38513 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38514 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38515 header file nss/nsswitch.h.
38516 * nss/nsswitch.h (global scope): Add definition of implementation
38517 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38518 resolv/nss_dns/dns-host.c).
38519
608404eb
AJ
385202012-07-11 Andreas Jaeger <aj@suse.de>
38521
38522 * po/fr.po: Update from translation team.
38523
71220aca
AJ
38524 * po/sv.po: Update from translation team
38525 * po/fr.po: Another update from translation team.
38526
28cfe843
AZ
385272012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38528
38529 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38530 for subnormals or multiply small sinh result by itself.
38531 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38533
6b90f981
DM
385342012-07-11 David S. Miller <davem@davemloft.net>
38535
38536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38537
c6825772
AS
385382012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38539
38540 [BZ #14347]
38541 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38542 (INTERNAL_MARK): Shift it here.
38543
7b8e0d49
MP
385442012-07-10 Marek Polacek <polacek@redhat.com>
38545
38546 [BZ #14151]
38547 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38548 libc_cv_asm_global_directive with .globl.
38549 * configure: Regenerated.
38550 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38551 with .globl.
38552 * sysdeps/i386/configure: Regenerated.
38553 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38554 with .globl.
38555 * sysdeps/x86_64/configure: Regenerated.
38556 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38557 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38558 * elf/tst-unique2mod2.c: Likewise.
38559 * elf/tst-unique2mod1.c: Likewise.
38560 * elf/tst-unique1mod2.c: Likewise.
38561 * elf/tst-unique1mod1.c: Likewise.
38562 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38563 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38564 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38565 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38566 * sysdeps/mach/sysdep.h: Likewise.
38567 * sysdeps/i386/sysdep.h: Likewise.
38568 * sysdeps/i386/i386-mcount.S: Likewise.
38569 * sysdeps/x86_64/_mcount.S: Likewise.
38570 * sysdeps/x86_64/sysdep.h: Likewise.
38571 * sysdeps/sh/_mcount.S: Likewise.
38572 * sysdeps/sh/sysdep.h: Likewise.
38573 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38574 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38575 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38576 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38577 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38578 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38579 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38580 * locale/localeinfo.h: Likewise.
38581 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38582 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38583
6c55cda3
RM
385842012-07-09 Roland McGrath <roland@hack.frob.com>
38585
38586 [BZ #14336]
38587 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38588 system".
38589 * manual/message.texi (The Uniforum approach): Likewise.
38590 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38591 (glibc iconv Implementation): Likewise.
38592
638a572e
JM
385932012-07-09 Joseph Myers <joseph@codesourcery.com>
38594
38595 [BZ #14337]
38596 * math/s_clog.c (__clog): Avoid scaling a value down where that
38597 could result in underflow.
38598 * math/s_clog10.c (__clog10): Likewise.
38599 * math/s_clog10f.c (__clog10f): Likewise.
38600 * math/s_clog10l.c (__clog10l): Likewise.
38601 * math/s_clogf.c (__clogf): Likewise.
38602 * math/s_clogl.c (__clogl): Likewise.
38603 * math/libm-test.inc (clog_test): Add more tests.
38604 (clog10_test): Likewise.
38605 * sysdeps/i386/fpu/libm-test-ulps: Update.
38606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38607
261f4859
AS
386082012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38609
0abaf3e4
AS
38610 [BZ #14283]
38611 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38612 by 7 not 8 to examine high bit of fractional part.
38613
261f4859
AS
38614 [BZ #14042]
38615 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38616 for call to __mcount_internal.
38617 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38618 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38619 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38620
f17ac40d
JM
386212012-07-06 Joseph Myers <joseph@codesourcery.com>
38622
9ad63c23
JM
38623 [BZ #14154]
38624 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38625 approximation for values within 0x1p-13f of an odd multiple of
38626 pi/4.
38627 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38628 exception. Add more tests.
38629 * sysdeps/i386/fpu/libm-test-ulps: Update.
38630
f17ac40d
JM
38631 [BZ #6778]
38632 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38633 inputs and return -1 for them. Do not check for +Inf in case not
38634 reachable for +Inf.
38635 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38636 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38637 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38638 and return -1 for them. Do not check for +Inf in case not
38639 reachable for +Inf.
38640 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38641 define.
38642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38643 and return -1 for them. Do not check for +Inf in case not
38644 reachable for +Inf.
38645 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38646 spurious underflow.
38647 * sysdeps/i386/fpu/libm-test-ulps: Update.
38648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38649
fb21f89b
MF
386502012-07-06 Mike Frysinger <vapier@gentoo.org>
38651
38652 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38653
cdfe2c5e
JM
386542012-07-05 Joseph Myers <joseph@codesourcery.com>
38655
38656 [BZ #14157]
38657 [BZ #14331]
38658 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38659 could result in spurious underflow. Scale down values above
38660 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38661 * math/s_csqrtf.c (__csqrtf): Likewise.
38662 * math/s_csqrtl.c (__csqrtl): Likewise.
38663 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38664 spurious underflow.
38665 * sysdeps/i386/fpu/libm-test-ulps: Update.
38666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38667
70d35b67
AS
386682012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38669
704bc459
AS
38670 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38671 xopen-msg.sed.
38672 * catgets/xopen-msg.awk: New file.
38673 * catgets/xopen-msg.sed: Removed.
38674
70d35b67
AS
38675 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38676 po2text.sed.
38677 * intl/po2test.awk: New file.
38678 * intl/po2test.sed: Removed.
38679
ca61cf32
JM
386802012-07-04 Joseph Myers <joseph@codesourcery.com>
38681
38682 [BZ #14328]
38683 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38684 or multiply small sinh result by itself.
38685 * math/s_ctanf.c (__ctanf): Likewise.
38686 * math/s_ctanh.c (__ctanh): Likewise.
38687 * math/s_ctanhf.c (__ctanhf): Likewise.
38688 * math/s_ctanhl.c (__ctanhl): Likewise.
38689 * math/s_ctanl.c (__ctanl): Likewise.
38690 * math/libm-test.inc (ctan_test_tonearest): New function.
38691 (ctan_test_towardzero): Likewise.
38692 (ctan_test_downward): Likewise.
38693 (ctan_test_upward): Likewise.
38694 (ctanh_test_tonearest): Likewise.
38695 (ctanh_test_towardzero): Likewise.
38696 (ctanh_test_downward): Likewise.
38697 (ctanh_test_upward): Likewise.
38698 (main): Call these new functions.
38699 * sysdeps/i386/fpu/libm-test-ulps: Update.
38700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38701
ca48a46a
MF
387022012-07-03 Mike Frysinger <vapier@gentoo.org>
38703
38704 * .gitignore: Delete /ports entry.
38705
9d63d37d
AJ
387062012-07-03 Andreas Jaeger <aj@suse.de>
38707
38708 * po/bg.po: Update from translation team.
38709 * po/cs.po: Likewise.
38710 * po/de.po: Likewise.
38711 * po/hr.po: Likewise.
38712 * po/nl.pl: Likewise.
38713 * po/pl.po: Likewise.
38714 * po/vi.po: Likewise.
38715
370ca3d2
JM
387162012-07-03 Joseph Myers <joseph@codesourcery.com>
38717
95f5a9a8
JM
38718 * Makeconfig [!+link] (+link-before-libc): New variable.
38719 [!+link] (+link-after-libc): Likewise.
38720 [!+link] (+link-tests): Likewise.
38721 [!+link] (+link): Define in terms of $(+link-before-libc) and
38722 $(+link-after-libc).
38723 [!+link-static] (+link-static-before-libc): New variable.
38724 [!+link-static] (+link-static-after-libc): Likewise.
38725 [!+link-static] (+link-static-tests): Likewise.
38726 [!+link-static] (+link-static): Define in terms of
38727 $(+link-static-before-libc) and $(+link-static-after-libc).
38728 [build-shared] (link-libc-before-gnulib): New variable.
38729 [build-shared] (link-libc-tests): Likewise.
38730 [build-shared] (link-libc): Define in terms of
38731 $(link-libc-before-gnulib).
38732 [!build-shared] (link-libc-tests): New variable.
38733 (link-libc-static-tests): New variable.
38734 [!gnulib] (gnulib-arch): New variable.
38735 [!gnulib] (gnulib-tests): Likewise.
38736 [!gnulib] (static-gnulib-arch): Likewise.
38737 [!gnulib] (static-gnulib-tests): Likewise.
38738 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38739 Define with "=" instead of ":=".
38740 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38741 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38742 * Rules (binaries-all-notests): New variable.
38743 (binaries-all-tests): Likewise.
38744 (binaries-static-notests): Likewise.
38745 (binaries-static-tests): Likewise.
38746 (binaries-all): Define using $(binaries-all-notests) and
38747 $(binaries-all-tests).
38748 (binaries-static): Define using $(binaries-static-notests) and
38749 $(binaries-static-tests).
38750 (binaries-shared-tests): New variable.
38751 (binaries-shared-notests): Likewise.
38752 (binaries-shared): Remove variable.
38753 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38754 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38755 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38756 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38757 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38758 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38759 * elf/Makefile (sln-modules): New variable.
38760 (extra-objs): Add $(sln-modules:=.o).
38761 (ldconfig-modules): Add static-stubs.
38762 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38763 * elf/static-stubs.c: New file.
38764
7a845b2c
JM
38765 [BZ #14283]
38766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38767 by 7 not 8 to examine high bit of fractional part. Use volatile
38768 variables when splitting into final array of floats if
38769 __FLT_EVAL_METHOD__ != 0.
38770 * math/libm-test.inc (cos_test): Add another test.
38771 (sin_test): Likewise.
38772 * sysdeps/i386/fpu/libm-test-ulps: Update.
38773
e2283f38
JM
38774 [BZ #14273]
38775 * math/libm-test.inc (cosh_test): Add more tests.
38776
370ca3d2
JM
38777 * version.h (RELEASE): Set to "development".
38778 (VERSION): Set to "2.16.90".
38779
ee9247c3
CD
387802012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38781
38782 * NEWS: Update copyright. Remove last-updated date.
38783 Mention math library bug fixes and timezone data changes.
38784 * README: Mention GNU/Hurd, x32, and HPPA support status.
38785
4648c381
TS
387862012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38787
38788 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38789
aac78a43
AJ
387902012-06-27 Andreas Jaeger <aj@suse.de>
38791
38792 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38793
ed3dbfad
AJ
387942012-06-25 Andreas Jaeger <aj@suse.de>
38795
38796 * sysdeps/s390/fpu/libm-test-ulps: Update.
38797
4d0ee855
AS
387982012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38799 Thomas Schwinge <thomas@codesourcery.com>
38800
38801 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38802 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38804 fanotify_mark.
38805
af1bce34
TS
388062012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38807
a9fa33ba
TS
38808 * sysdeps/mach/start.c: Remove file.
38809 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38810 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38811 * sysdeps/sh/init-first.c: Likewise.
38812
58f902b8
TS
38813 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38814 registers for frame unwinding purposes, add CFI directives.
38815 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38816 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38817 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38818 Likewise.
38819
1518f58b
TS
38820 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38821 __fortify_fail returning.
38822 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38823
db9b5059
TS
38824 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38825 sysdeps/sh/____longjmp_chk.S.
38826 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38827 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38828 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38829 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38830
967705fe
TS
38831 * sysdeps/sh/abort-instr.h: New file.
38832 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38833 process in case exit returns.
38834
a9def8c4
TS
38835 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38836 initialize the GOT register before use.
38837
2a649725
TS
38838 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38839 calculation of ARGC > 4.
38840
af1bce34
TS
38841 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38842 meaningful names to some local labels.
38843
d230f50a
KK
388442012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38845 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38846
38847 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38848 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38849 (__arch_compare_and_exchange_val_16_acq): Likewise.
38850 (__arch_compare_and_exchange_val_32_acq): Likewise.
38851 (atomic_exchange_and_add): Fix gUSA sequence.
38852 (atomic_add): Likewise.
38853 (atomic_add_negative): Likewise.
38854 (atomic_add_zero): Likewise.
38855 (atomic_bit_test_set): Likewise.
38856
0479b305
AS
388572012-06-22 Andreas Schwab <schwab@redhat.com>
38858
38859 [BZ #13579]
38860 * include/link.h (struct link_map): Add l_free_initfini.
38861 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38862 l_initfini.
38863 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38864 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38865 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38866 set.
38867
0e3933b9
CD
388682012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38869
38870 * configure.in: Use AC_LANG_SOURCE.
38871 * configure: Regenerate.
38872
4248b1b1
RM
388732012-06-22 Roland McGrath <roland@hack.frob.com>
38874
38875 * configure.in (libc_cv_localstatedir): New substituted variable.
38876 * configure: Regenerated.
38877 * config.make.in (localstatedir): New variable, substituted from
38878 libc_cv_localstatedir.
38879 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38880 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38881 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38882 * sysdeps/gnu/configure: Regenerated.
38883
006dd861
JL
388842012-06-21 Jeff Law <law@redhat.com>
38885
38886 [BZ #14277]
38887 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38888 free. Simplify list management for _LIBC case.
38889
79662d42
JM
388902012-06-21 Joseph Myers <joseph@codesourcery.com>
38891
b7abb4bf
JM
38892 [BZ #14273]
38893 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38894 Clear sign bit of 64-bit integer value before comparing against
38895 overflow value.
38896
79662d42
JM
38897 * sysdeps/mach/configure: Regenerated.
38898
1f150908
L
388992012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38900
38901 [BZ #14278]
38902 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38903
28363bbf
JL
389042012-06-21 Jeff Law <law@redhat.com>
38905
38906 [BZ #13882]
38907 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38908 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 38909 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
38910 * elf/dl-open.c (dl_open_worker): Likewise.
38911
09615db4
CD
389122012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38913
38914 * scripts/list-sources.sh: Scan PORTS for translations.
38915 * po/libc.pot: Regenerated.
38916
2174c6dd
AJ
389172012-06-21 Andreas Jaeger <aj@suse.de>
38918
38919 [BZ #12194]
38920 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38921 warning.
38922 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38923 * bits/byteswap-16.h (__bswap_16): Likewise.
38924 * bits/byteswap.h (__bswap_constant_16): Likewise.
38925
3ee947b1
L
389262012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38927
38928 [BZ #14117]
a2f34833
L
38929 * sysdeps/i386/fpu_control.h: Removed.
38930 * sysdeps/x86_64/fpu_control.h: Moved to ...
38931 * sysdeps/x86/fpu_control.h: Here.
38932
3ee947b1
L
38933 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38934 (_FPU_SETCW): Likewise.
38935
ed1825f8
L
389362012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38937
25f1282a
L
38938 [BZ #14117]
38939 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38940 * sysdeps/x86/fpu/bits/mathinline.h: This.
38941 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38942
ed1825f8
L
38943 [BZ #14050]
38944 [BZ #14117]
38945 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38946 functions if __x86_64__ is defined.
38947
36d54b74
CLT
389482012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38949
38950 * string/endian.h: Add !__ASSEMBLER__ condition for including
38951 conversion interfaces.
38952
10285c21
JM
389532012-06-15 Joseph Myers <joseph@codesourcery.com>
38954
38955 [BZ #14241]
38956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38957 of ABS(x) in calculating zero to negative powers other than odd
38958 integers.
38959 * math/libm-test.inc (pow_test): Add more tests.
38960
06c5abbd
AJ
389612012-06-15 Andreas Jaeger <aj@suse.de>
38962
38963 * manual/contrib.texi (Contributors): Update entry of Liubov
38964 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38965 Machado Filho.
38966
a3aeac40
CH
389672012-06-15 Cyril Hrubis <metan@ucw.cz>
38968
38969 * string/string.h: Add __wur to GNU version of strerror_r.
38970
49bdf4c1
L
389712012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38972
38973 [BZ #14229]
38974 * string/Makefile (tests): Add tst-strtok_r.
38975 * string/tst-strtok_r.c: New file.
38976 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38977 RAX_LP/RDX_LP on SAVE_PTR.
38978
834f9b8d
RM
389792012-06-14 Roland McGrath <roland@hack.frob.com>
38980
38981 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38982
75fa1921
JM
389832012-06-14 Joseph Myers <joseph@codesourcery.com>
38984
38985 * libm_test.inc (csqrt_test): Allow more spurious underflow
38986 exceptions.
38987 (j0_test): Likewise.
38988 (j1_test): Likewise.
38989 (y0_test): Likewise.
38990 (y1_test): Likewise.
38991
771766df
CD
389922012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38993
38994 * po/Makefile (libc.pot): Use UTF-8 charset.
38995
ceb9e56b
PP
389962012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38997
38998 [BZ #14210]
38999 Suppress sign-conversion warning from FD_SET.
39000 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39001 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39002 not unsigned long int.
39003 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39004
ddb28975
L
390052012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39006
39007 [BZ #14050]
39008 [BZ #14117]
39009 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39010 __extern_always_inline instead of __extern_inline.
39011 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39012 (__signbit): Likewise.
39013 (__signbitl): Support C++ namespace.
39014 (lrintf): New inline function.
39015 (lrint): Likewise.
39016 (llrintf): Likewise.
39017 (llrint): Likewise.
39018 (fmaxf): Likewise.
39019 (fmax): Likewise.
39020 (fminf): Likewise.
39021 (fmin): Likewise.
39022 (rint): Likewise.
39023 (rintf): Likewise.
39024 (ceil): Likewise.
39025 (ceilf): Likewise.
39026 (floor): Likewise.
39027 (floorf): Likewise.
39028 (nearbyint): Likewise.
39029 (nearbyintf): Likewise.
39030
d7b4fb26
TS
390312012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39032
39033 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39034 non-default versions.
39035
eb55f5c2
RM
390362012-06-11 Roland McGrath <roland@hack.frob.com>
39037
39038 [BZ #14218]
39039 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39040
366af02c
TS
390412012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39042
99ff6e5c
TS
39043 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39044 (FE_UPWARD, FE_DOWNWARD): Don't define.
39045 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39046 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39047
366af02c
TS
39048 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39049 reading it.
39050 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39051 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39052
793ea851
KK
390532012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39054
39055 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39057 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39058 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39059
a728a38f
L
390602012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39061
39062 [BZ #14117]
c08010c7
L
39063 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39064 * sysdeps/i386/fpu/Implies: New file.
39065 * sysdeps/x86_64/fpu/Implies: Likewise.
39066 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39067 * sysdeps/x86/fpu/bits/fenv.h: This.
39068
a728a38f
L
39069 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39070 __SSE_MATH__.
39071
6e230d11
SP
390722012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39073
39074 [BZ #14134]
39075 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39076 character 0xffff that matches the last element of the
39077 conversion table.
39078
1b671feb
AZ
390792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39080
39081 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39082 fmodl commit.
39083
6043738b
AZ
390842012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39085
39086 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39087 values higher than 25.6283.
39088
34ae0b32
AZ
390892012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39090
39091 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39092 subnormal exponent extraction and add some __builtin_expect.
39093 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39094 Fix for subnormal mantissa calculation.
39095
1214ec8f
MF
390962012-06-04 Mike Frysinger <vapier@gentoo.org>
39097
39098 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39099 cpu2 is -1 and errno is not ENOSYS.
39100
f3d1f93c
L
391012012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39102
39103 [BZ #14117]
0e4a3cd7
L
39104 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39105 * sysdeps/x86/bits/string.h: This.
39106 * sysdeps/x86_64/bits/string.h: Removed.
39107
6704c645
L
39108 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39109 if not compiling for x86-64, but compiling for >= i486.
39110
48495318
L
39111 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39112 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39113
14adcbfc
L
39114 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39115 New macro from Linux kernel 3.4.0.
39116 (FP_XSTATE_MAGIC2): Likewise.
39117 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39118 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39119 (struct _fpx_sw_bytes): New struct.
39120 (struct _xsave_hdr): Likewise.
39121 (struct _ymmh_state): Likewise.
39122 (struct _xstate): Likewise.
39123
68e408ab
L
39124 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39125 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39126 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39127 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39128 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39129 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39130
f3d1f93c
L
39131 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39132 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39133 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39134 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39135 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39136 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39137
d9dc34cd
TMQMF
391382012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39139
39140 [BZ #13743]
39141 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39142 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39143 (sysdep_headers): Include sys/platform/ppc.h.
39144 * sysdeps/powerpc/test-gettimebase.c: Test for
39145 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39146 * manual/Makefile (appendices): Include platform.texi.
39147 * manual/contrib.texi (Contributors): Update @node pointers.
39148 * manual/maint.texi (Maintenance): Likewise.
39149 (Platform): New node.
39150 * manual/platform.texi: New file. Document the new features.
39151
4af3879c
SP
391522012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39153 Jakub Jelinek <jakub@redhat.com>
39154
39155 [BZ #14188]
39156 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39157 where __builtin_expect is unavailable.
39158
2fd6ff13
DM
391592012-06-03 David S. Miller <davem@davemloft.net>
39160
39161 * stdlib/longlong.h: Updated from GCC.
39162
173f7220
AS
391632012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39164
39165 [BZ #14042]
39166 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39167 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39168 __mcount_internal.
39169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39170 (GLIBC_2.16): Likewise.
39171
f34a1c6f
L
391722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39173
39174 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39175
88a4576f
JM
391762012-06-01 Joseph Myers <joseph@codesourcery.com>
39177
ea32bcdd
JM
39178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39179 (default-abi): New variable.
39180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39181 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39182 variable.
39183 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39184 Likewise.
39185 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39186 Likewise.
39187 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39188 Likewise.
39189
88a4576f
JM
39190 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39191 definition. Document in comment.
39192
402fe938
DM
391932012-06-01 David S. Miller <davem@davemloft.net>
39194
39195 * stdlib/longlong.h: Updated from GCC.
39196
3553723f
L
391972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39198
39199 [BZ #14117]
3bd872c4
L
39200 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39201 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39202 sys/debugreg.h sys/io.h here.
39203 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39204 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39205 sys/io.h.
39206 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39207 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39208 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39209 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39210 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39211 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39212
3553723f
L
39213 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39214 Define only if __x86_64__ is defined.
39215
4842e4fe
JM
392162012-06-01 Joseph Myers <joseph@codesourcery.com>
39217
c5bfe3d5
JM
39218 [BZ #14048]
39219 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39220 Use int64_t for variable i.
39221 * math/libm-test.inc (fmod_test): Add more tests.
39222
4842e4fe
JM
39223 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39224 z computation is not scheduled after fetestexcept.
39225 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39226 Use math_force_eval instead of asm to ensure calculation scheduled
39227 before exception test.
39228 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39229 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39230
efb73488
AJ
392312012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39232
39233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39234 computation is not scheduled after fetestexcept.
39235
29bcce7c
L
392362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39237
39238 [BZ #14117]
39239 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39240 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39241
73a68f94
AZ
392422012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39243
39244 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39245 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39246
67b6df78
L
392472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39248
edf2933a 39249 [BZ #14117]
ebc64a18
L
39250 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39251 <bits/wordsize.h>.
39252 (__WCHAR_MIN): Support __WORDSIZE == 64.
39253 (__WCHAR_MAX): Likewise.
39254
edf2933a
L
39255 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39256 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39257
57c6cf40
L
39258 [BZ #14183]
39259 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39260 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39261
67b6df78 39262 [BZ #14117]
8eb6281e
L
39263 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39264 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39265
aac639f4
L
39266 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39267 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39268
67b6df78
L
39269 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39270 Defined to 1 if __x86_64__ isn't defined.
39271 (_STAT_VER_LINUX_OLD): New.
39272 (st_atime): Remove duplicate.
39273 (st_mtime): Likewise.
39274 (st_ctime): Likewise.
39275
1c2cfe81
DM
392762012-05-31 David S. Miller <davem@davemloft.net>
39277
39278 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39279 entries.
39280
5be8418c
AS
392812012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39282
e7725326
AS
39283 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39284 gen-libm-test.pl.
39285
5be8418c
AS
39286 [BZ #14132]
39287 * elf/dl-reloc.c: Include <_itoa.h>.
39288 (_dl_reloc_bad_type): Remove use of INTUSE.
39289 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39290 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39291 * stdio-common/psiginfo.c (psiginfo): Likewise.
39292 * stdio-common/psignal.c (psignal): Likewise.
39293 * string/strsignal.c (strsignal): Likewise.
39294 * include/signal.h (_sys_siglist): Declare hidden proto.
39295 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39296 INTVARDEF with libc_hidden_data_def.
39297 * stdio-common/itoa-udigits.c: Likewise.
39298 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39299 (_itoa_lower_digits_internal): Remove declaration.
39300 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39301 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39302 (_sys_sigabbrev_internal): Remove aliases.
39303 (_sys_siglist): Define hidden alias.
39304
507352f1
MT
393052012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39306
39307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39308 bits/sysctl.h.
39309
42bbb1c3
L
393102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39311
39312 [BZ #14117]
6bd784b6
L
39313 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39314 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39315
8bca20f0
L
39316 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39317 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39318 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39319 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39320 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39321 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39322
f9e890a9
L
39323 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39324 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39325 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39326
471101a1
L
39327 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39328 with __addr.
39329 (insw): Likewise.
39330 (insl): Likewise.
39331 (outsb): Likewise.
39332 (outsw): Likewise.
39333 (outsl): Likewise.
39334
6451c862
L
39335 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39336 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39337 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39338
a254b8c9
L
39339 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39340 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39341 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39342 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39343 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39344 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39345
b8dfdd92
L
39346 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39347 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39348
578cd270
L
39349 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39350 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39351
de662f5f
L
39352 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39354 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39355
25653439
L
39356 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39357 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39358 to ...
39359 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39360
6bad24a0
L
39361 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39362 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39363 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39364
42bbb1c3
L
39365 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39366 for x86-64.
39367 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39368
2d10d547
JM
393692012-05-31 Joseph Myers <joseph@codesourcery.com>
39370
39371 * math/math.h (M_El): Use two more decimal places.
39372 (M_LOG2El): Likewise.
39373 (M_LOG10El): Likewise.
39374 (M_LN2l): Likewise.
39375 (M_LN10l): Likewise.
39376 (M_PIl): Likewise.
39377 (M_PI_2l): Likewise.
39378 (M_PI_4l): Likewise.
39379 (M_1_PIl): Likewise.
39380 (M_2_PIl): Likewise.
39381 (M_2_SQRTPIl): Likewise.
39382 (M_SQRT2l): Likewise.
39383 (M_SQRT1_2l): Likewise.
39384
f230c29b
DM
393852012-05-31 David S. Miller <davem@davemloft.net>
39386
39387 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39388 values between float registers.
39389 * sysdeps/sparc/sparc64/memset.S: Likewise.
39390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39391
fed806c3
MF
393922012-05-31 Mike Frysinger <vapier@gentoo.org>
39393
39394 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39395 -D_FORTIFY_SOURCE=1.
39396 (CPPFLAGS-tst-longjmp_chk.c): Define.
39397 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39398 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39399 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39400 CFLAGS-tst-wchar-h.c.
39401
30917259
MP
394022012-05-31 Marek Polacek <polacek@redhat.com>
39403
39404 [BZ #14132]
39405 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39406 __endmntent_internal): Remove declaration.
39407 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39408 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39409 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39410
1c58d5dc
DM
394112012-05-30 David S. Miller <davem@davemloft.net>
39412
39413 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39414 (___Q_simulate_exceptions): Use real FP ops rather than writing
39415 into the %fsr.
39416 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39417 Likewise.
39418
7dc00e0d
L
394192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39420
39421 [BZ #14117]
0bd53985
L
39422 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39423 * sysdeps/x86/bits/xtitypes.h: This.
39424
3a257e66
L
39425 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39426 * sysdeps/x86/bits/wordsize.h: This.
39427
62f62904
L
39428 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39429 * sysdeps/x86/bits/huge_vall.h: This.
39430
404fe9d9
L
39431 * sysdeps/i386/bits/select.h: Removed.
39432 * sysdeps/x86_64/bits/select.h: Renamed to ...
39433 * sysdeps/x86/bits/select.h: This.
39434
d48d0446
L
39435 * sysdeps/i386/bits/setjmp.h: Removed.
39436 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39437 * sysdeps/x86/bits/setjmp.h: This.
39438
7dc00e0d
L
39439 * sysdeps/i386/bits/mathdef.h: Removed.
39440 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39441 * sysdeps/x86/bits/mathdef.h: This.
39442
03277f8f
AS
394432012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39444
39445 [BZ #14132]
39446 * include/sys/socket.h (__connect_internal)
39447 (__libc_sa_len_internal): Remove declaration.
39448 (__connect, __libc_sa_len): Declare hidden_proto.
39449 (SA_LEN): Remove use of INTUSE.
39450 * socket/connect.c: Add libc_hidden_def.
39451 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39452 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39453 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39454 alias.
39455 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39456 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39457 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39458 of adding _internal alias.
39459
13764867
L
394602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39461
39462 [BZ #14117]
6bd97696
L
39463 * sysdeps/i386/bits/link.h: Removed.
39464 * sysdeps/i386/bits/linkmap.h: Likewise.
39465 * sysdeps/x86_64/bits/link.h: Renamed to ...
39466 * sysdeps/x86/bits/link.h: This.
39467 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39468 * sysdeps/x86/bits/linkmap.h: This.
39469
f726f0bb
L
39470 * sysdeps/i386/bits/endian.h: Removed.
39471 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39472 * sysdeps/x86/bits/endian.h: This.
39473
13764867
L
39474 * sysdeps/i386/bits/byteswap.h: Removed.
39475 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39476 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39477 * sysdeps/x86/bits/byteswap.h: This.
39478 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39479 * sysdeps/x86/bits/byteswap-16.h: This.
39480 * sysdeps/i386/Implies: Add x86.
39481 * sysdeps/x86_64/Implies: Likewise.
39482
ae251b0b
DM
394832012-05-30 David S. Miller <davem@davemloft.net>
39484
39485 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39486 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39487 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39488 (FP_TRAPPING_EXCEPTIONS): Define.
39489 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39490 (FP_TRAPPING_EXCEPTIONS): Define.
39491 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39492 subnormals only when inexact has been signalled or underflow
39493 exceptions are enabled.
39494 (_FP_PACK_CANONICAL): Likewise.
39495
d5c90867
L
394962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39497
39498 [BZ #14183]
39499 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39500 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39501
63f1549e
RH
395022012-05-30 Richard Henderson <rth@twiddle.net>
39503
8d8f2279
RH
39504 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39505 with #ifndef NOT_IN_libc.
39506
63f1549e
RH
39507 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39508 marked to avoid plt entry.
39509
0ab0291b
L
395102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39511
39512 [BZ #14112]
39513 * Makeconfig (default-abi): New macro.
39514 (abi-includes): Likewise.
39515 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39516 $(abi-$(default-abi)-lib-soname) for soname if defined.
39517 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39518 abi-variants.
39519 * Makefile (installed-stubs): Likewise.
39520 * include/stubs-biarch.h: Removed.
39521 * scripts/lib-names.awk: Only handle one library at a time.
39522 * scripts/soversions.awk: Remove WORDSIZE support.
39523 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39524 entries.
39525 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39526 Removed.
39527 (syscall-list-default-condition): Likewise.
39528 (syscall-list-default-condition): Likewise.
39529 (syscall-list-includes): Likewise.
39530 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39531 syscall-list-* with abi-*. Handle undefined abi-variants.
39532 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39533 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39534 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39535 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39536 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39537 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39538 Removed.
39539 (syscall-list-32-options): Likewise.
39540 (syscall-list-32-condition): Likewise.
39541 (syscall-list-64-options): Likewise.
39542 (syscall-list-64-condition): Likewise.
39543 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39544 macro.
39545 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39546 Renamed to ...
39547 (abi-*): This.
39548 (abi-64-ld-soname): New macro.
39549 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39550 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39551 Renamed to ...
39552 (abi-*): This.
39553 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39554 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39555
4da0431d
JM
395562012-05-30 Joseph Myers <joseph@codesourcery.com>
39557
3a85279c
JM
39558 * sysdeps/unix/sysv/linux/kernel-features.h
39559 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39560 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39561 include <kernel-features.h>.
39562 [!__NR_ftruncate64]: Remove conditional code.
39563 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39564 [__NR_ftruncate64]: Make code unconditional.
39565 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39566 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39567 include <kernel-features.h>.
39568 [!__NR_ftruncate64]: Remove conditional code.
39569 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39570 [__NR_ftruncate64]: Make code unconditional.
39571 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39573 include <kernel-features.h>.
39574 [!__NR_ftruncate64]: Remove conditional code.
39575 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39576 [__NR_ftruncate64]: Make code unconditional.
39577 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39579 include <kernel-features.h>.
39580 [!__NR_ftruncate64]: Remove conditional code.
39581 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39582 [__NR_ftruncate64]: Make code unconditional.
39583 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39584
4da0431d
JM
39585 * configure.in (libc_cv_fpie): Weaken to a compile test using
39586 LIBC_TRY_CC_OPTION.
39587 * configure: Regenerated.
39588
11ef492c
AK
395892012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39590
39591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39595 Refreshed.
39596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39602 Refreshed.
39603
d66ef399
DM
396042012-05-27 David S. Miller <davem@davemloft.net>
39605
39606 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39607 (___Q_zero): New.
39608 (__Q_simulate_exceptions): Return void. Change to simulate
39609 exceptions by writing into the %fsr.
39610 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39611 (__Qp_handle_exceptions): Likewise.
39612 (numbers): Delete.
39613 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39614 __Qp_handle_exceptions.
39615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39616 __Qp_handle_exceptions.
39617 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39618 as unused and give dummy FP_RND_NEAREST initializer.
39619 (FP_INHIBIT_RESULTS): Define.
39620 (___Q_simulate_exceptions): Update declaration.
39621 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39622 formatting.
39623 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39624 as unused and give dummy FP_RND_NEAREST initializer.
39625 (__Qp_handle_exceptions): Update declaration.
39626 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39627 formatting.
39628
04fb54b5
TS
396292012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39630
39631 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39632 the temporary FPU control word.
39633 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39634 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39635 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39636 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39637 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39638 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39639 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39640 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39641 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39642 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39643 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39644
3f99608f
KK
396452012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39646
39647 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39648 fields.
39649
65a4de4e
CLT
396502012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39651
39652 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39653 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39654 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39655 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39656 Likewise.
39657 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39658 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39659 Likewise.
39660
15749d40
UD
396612012-05-27 Ulrich Drepper <drepper@gmail.com>
39662
39663 * po/h.po: Update from translation team.
39664
25dbcb27
AS
396652012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39666
3d3f8e55
AS
39667 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39668
25dbcb27
AS
39669 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39670 handling of denormals.
39671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39672 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39673 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39674 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39678 Likewise.
39679
7ad47a80 396802012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
39681
39682 [BZ #14152]
39683 * math/libm-test.inc (fma_test): Don't always expect underflow
39684 exception.
39685
9c6ea9fa
SP
396862012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39687
39688 [BZ #12416]
39689 * elf/tst-execstack.c: Include stackinfo.h.
39690 (do_test): Adjust test case to ensure that pthread_getattr_np
39691 behaviour remains the same after marking stack executable.
39692
a8239222
JM
396932012-05-25 Joseph Myers <joseph@codesourcery.com>
39694
39695 * sysdeps/unix/sysv/linux/kernel-features.h
39696 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39697 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39698 kernel-features.h.
39699 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39700 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39701 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39702 kernel-features.h.
39703 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39704 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39705
918b5606
L
397062012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39707
39708 * configure.in: Define the default includes to being none.
39709 * configure: Regenerated.
39710
3a097cc7
RM
397112012-05-25 Roland McGrath <roland@hack.frob.com>
39712
8422c9a5
RM
39713 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39714 * sysdeps/x86_64/setjmp.S: Likewise.
39715 * sysdeps/i386/bsd-setjmp.S: Likewise.
39716 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39717 * sysdeps/i386/setjmp.S: Likewise.
39718 * sysdeps/i386/__longjmp.S: Likewise.
39719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39720 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39721
3a097cc7
RM
39722 * include/stap-probe.h: New file.
39723 * configure.in: Handle --enable-systemtap.
39724 * configure: Regenerated.
39725 * config.h.in (USE_STAP_PROBE): New #undef.
39726 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39727 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39728 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39729
21708942
JM
397302012-05-25 Joseph Myers <joseph@codesourcery.com>
39731
39732 [BZ #13717]
39733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39734 to 2.4.0 where earlier.
39735 * sysdeps/unix/sysv/linux/configure: Regenerated.
39736 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39737 <kernel-features.h>.
39738 [__ASSUME_32BITUIDS]: Make code unconditional.
39739 [!__ASSUME_32BITUIDS]: Remove conditional code.
39740 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39741 <kernel-features.h>.
39742 [__ASSUME_32BITUIDS]: Make code unconditional.
39743 [!__ASSUME_32BITUIDS]: Remove conditional code.
39744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39745 [__ASSUME_32BITUIDS]: Make code unconditional.
39746 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39747 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39748 <kernel-features.h>.
39749 [__ASSUME_32BITUIDS]: Make code unconditional.
39750 [!__ASSUME_32BITUIDS]: Remove conditional code.
39751 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39752 <kernel-features.h>.
39753 [__ASSUME_32BITUIDS]: Make code unconditional.
39754 [!__ASSUME_32BITUIDS]: Remove conditional code.
39755 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39756 <kernel-features.h>.
39757 [__ASSUME_32BITUIDS]: Make code unconditional.
39758 [!__ASSUME_32BITUIDS]: Remove conditional code.
39759 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39760 <kernel-features.h>.
39761 [__ASSUME_32BITUIDS]: Make code unconditional.
39762 [!__ASSUME_32BITUIDS]: Remove conditional code.
39763 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39764 <kernel-features.h>.
39765 [__ASSUME_32BITUIDS]: Make code unconditional.
39766 [!__ASSUME_32BITUIDS]: Remove conditional code.
39767 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39768 <kernel-features.h>.
39769 [__ASSUME_32BITUIDS]: Make code unconditional.
39770 [!__ASSUME_32BITUIDS]: Remove conditional code.
39771 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
39788 <kernel-features.h>.
39789 [__NR_setresgid] (__setresgid): Do not declare.
39790 [__ASSUME_32BITUIDS]: Make code unconditional.
39791 [!__ASSUME_32BITUIDS]: Remove conditional code.
39792 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39793 <kernel-features.h>.
39794 [__NR_setresuid] (__setresuid): Do not declare.
39795 [__ASSUME_32BITUIDS]: Make code unconditional.
39796 [!__ASSUME_32BITUIDS]: Remove conditional code.
39797 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39798 <kernel-features.h>.
39799 [__ASSUME_32BITUIDS]: Make code unconditional.
39800 [!__ASSUME_32BITUIDS]: Remove conditional code.
39801 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39802 <kernel-features.h>.
39803 [__ASSUME_32BITUIDS]: Make code unconditional.
39804 [!__ASSUME_32BITUIDS]: Remove conditional code.
39805 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39806 <kernel-features.h>.
39807 [__ASSUME_32BITUIDS]: Make code unconditional.
39808 [!__ASSUME_32BITUIDS]: Remove conditional code.
39809 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39810 <kernel-features.h>.
39811 [__ASSUME_32BITUIDS]: Make code unconditional.
39812 [!__ASSUME_32BITUIDS]: Remove conditional code.
39813 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39814 <kernel-features.h>.
39815 [__ASSUME_32BITUIDS]: Make code unconditional.
39816 [!__ASSUME_32BITUIDS]: Remove conditional code.
39817 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39818 <kernel-features.h>.
39819 [__ASSUME_32BITUIDS]: Make code unconditional.
39820 [!__ASSUME_32BITUIDS]: Remove conditional code.
39821 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39822 <kernel-features.h>.
39823 [__ASSUME_32BITUIDS]: Make code unconditional.
39824 [!__ASSUME_32BITUIDS]: Remove conditional code.
39825 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39826 <kernel-features.h>.
39827 [__ASSUME_32BITUIDS]: Make code unconditional.
39828 [!__ASSUME_32BITUIDS]: Remove conditional code.
39829 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39830 <kernel-features.h>.
39831 [__ASSUME_32BITUIDS]: Make code unconditional.
39832 [!__ASSUME_32BITUIDS]: Remove conditional code.
39833 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
39838 (__ASSUME_SETRESUID_SYSCALL): Remove.
39839 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39840 (__ASSUME_32BITUIDS): Likewise.
39841 (__ASSUME_LDT_WORKS): Likewise.
39842 (__ASSUME_O_DIRECTORY): Likewise.
39843 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39844 architecture but not kernel version.
39845 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39846 (__ASSUME_MMAP2_SYSCALL): Likewise.
39847 (__ASSUME_STAT64_SYSCALL): Likewise.
39848 (__ASSUME_IPC64): Likewise.
39849 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39850 <kernel-features.h>.
39851 [__ASSUME_32BITUIDS]: Make code unconditional.
39852 [!__ASSUME_32BITUIDS]: Remove conditional code.
39853 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39854 <kernel-features.h>.
39855 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39856 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39857 132096]: Remove conditional code.
39858 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39859 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39860 <kernel-features.h>.
39861 [__ASSUME_32BITUIDS]: Make code unconditional.
39862 [!__ASSUME_32BITUIDS]: Remove conditional code.
39863 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39864 <kernel-features.h>.
39865 [__ASSUME_32BITUIDS]: Make code unconditional.
39866 [!__ASSUME_32BITUIDS]: Remove conditional code.
39867 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39868 <kernel-features.h>.
39869 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39870 unconditional.
39871 (__setresgid): Do not declare.
39872 [__ASSUME_32BITUIDS]: Make code unconditional.
39873 [!__ASSUME_32BITUIDS]: Remove conditional code.
39874 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39875 <kernel-features.h>.
39876 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39877 unconditional.
39878 (__setresuid): Do not declare.
39879 [__ASSUME_32BITUIDS]: Make code unconditional.
39880 [!__ASSUME_32BITUIDS]: Remove conditional code.
39881 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39882 <kernel-features.h>.
39883 [__ASSUME_32BITUIDS]: Make code unconditional.
39884 [!__ASSUME_32BITUIDS]: Remove conditional code.
39885 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39886 <kernel-features.h>.
39887 [__ASSUME_32BITUIDS]: Make code unconditional.
39888 [!__ASSUME_32BITUIDS]: Remove conditional code.
39889
a386f1cc
RH
398902012-05-25 Richard Henderson <rth@twiddle.net>
39891
39892 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39893 dl_hwcap to ifunc resolver.
39894 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39895 elf_ifunc_invoke.
39896 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39897 dl_hwcap to ifunc resolver.
39898 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39899
b6550497
JM
399002012-05-24 Joseph Myers <joseph@codesourcery.com>
39901
39902 [BZ #14153]
39903 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39904 for |x| <= 2**-26, not 2**-57.
39905 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39906 exception.
39907
b0bc23a1
JL
399082012-05-24 Jeff Law <law@redhat.com>
39909
39910 * stdio-common/Makefile (tests): Add bug25.
39911 * stdio-common/bug25.c: New test.
39912
347c92e9
L
399132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39914
39915 [BZ #13576]
39916 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39917 multiple of MALLOC_ALIGNMENT in size.
39918 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39919
6bcc8b3f
JM
399202012-05-24 Joseph Myers <joseph@codesourcery.com>
39921
39922 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39923 Require >= 256.
39924 (FILENAME_MAX): Use macro-int-constant.
39925 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39926 (_IOFBF): Use macro-int-constant.
39927 (_IOLBF): Likewise.
39928 (_IONBF): Likewise.
39929 (SEEK_CUR): Likewise.
39930 (SEEK_END): Likewise.
39931 (SEEK_SET): Likewise.
39932 (TMP_MAX): Likewise.
39933 (EOF): Use macro-int-constant. Require < 0.
39934 (NULL): Use macro-constant. Require == 0.
39935 (stdin): Require type to be FILE *.
39936 (stdout): Likewise.
39937 (stderr): Likewise.
39938 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39939 macro-int-constant.
39940 (EXIT_SUCCESS): Likewise.
39941 (NULL): Use macro-constant. Require == 0.
39942 (RAND_MAX): Use macro-int-constant.
39943 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39944 [C99-based standards] (strtof): Require function.
39945 [C99-based standards] (strtold): Likewise.
39946 [C99-based standards] (strtoll): Likewise.
39947 [C99-based standards] (strtoull): Likewise.
39948 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39949 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39950 [ISO || ISO99 || ISO11] (math.h): Likewise.
39951 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39952 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39953 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39954
d18ea0c5
AS
399552012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39956
39957 [BZ #14132]
56d25bb8
AS
39958 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39959 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39960 * intl/dgettext.c (DCGETTEXT): Likewise.
39961 * intl/gettext.c (DCGETTEXT): Likewise.
39962 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39963 * posix/regex_internal.h (gettext): Likewise.
39964 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39965 Remove declaration.
39966 * include/argz.h (__argz_count_internal)
39967 (__argz_stringify_internal): Remove declaration.
39968 (__argz_count, __argz_stringify): Declare hidden proto.
39969 * intl/dcgettext.c: Remove use of INTDEF.
39970 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39971 * string/argz-stringify.c: Likewise.
39972 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39973 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39974 Declare hidden proto.
d18ea0c5
AS
39975 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39976 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39977 Declare hidden proto.
39978 * include/stdio.h (__asprintf_internal): Don't declare.
39979 (__asprintf): Don't define as macro. Declare hidden proto.
39980 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39981 (__fsetlocking): Declare hidden proto.
39982 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39983 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39984 hidden proto.
39985 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39986 (_IO_setlinebuf): Remove use of INTUSE.
39987 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39988 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39989 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39990 Remove declaration.
39991 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39992 (_IO_do_flush): Remove use of INTUSE.
39993 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39994 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39995 (_IO_adjust_column, _IO_least_wmarker)
39996 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39997 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39998 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39999 (_IO_default_doallocate, _IO_wdefault_doallocate)
40000 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40001 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40002 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40003 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40004 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40005 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40006 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40007 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40008 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40009 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40010 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40011 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40012 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40013 proto.
40014 (_IO_flush_all_internal, _IO_adjust_column_internal)
40015 (_IO_default_uflow_internal, _IO_default_finish_internal)
40016 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40017 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40018 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40019 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40020 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40021 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40022 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40023 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40024 (_IO_file_close_internal, _IO_file_close_it_internal)
40025 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40026 (_IO_file_init_internal, _IO_file_attach_internal)
40027 (_IO_file_fopen_internal, _IO_file_read_internal)
40028 (_IO_file_sync_internal, _IO_file_seek_internal)
40029 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40030 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40031 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40032 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40033 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40034 (_IO_list_all_internal, _IO_link_in_internal)
40035 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40036 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40037 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40038 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40039 (_IO_do_write_internal, _IO_padn_internal)
40040 (_IO_getline_info_internal, _IO_getline_internal)
40041 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40042 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40043 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40044 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40045 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40046 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40047 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40048 with libc_hidden_ver, remove use of INTUSE.
40049 * libio/genops.c: Likewise.
40050 * libio/freopen.c: Likewise.
40051 * libio/freopen64.c: Likewise.
40052 * libio/iofclose.c: Likewise.
40053 * libio/iofdopen.c: Likewise.
40054 * libio/iofflush.c: Likewise.
40055 * libio/iofflush_u.c: Likewise.
40056 * libio/iofgets.c: Likewise.
40057 * libio/iofgets_u.c: Likewise.
40058 * libio/iofopen.c: Likewise.
40059 * libio/iofopncook.c: Likewise.
40060 * libio/iofread.c: Likewise.
40061 * libio/iofread_u.c: Likewise.
40062 * libio/ioftell.c: Likewise.
40063 * libio/iofwrite.c: Likewise.
40064 * libio/iogetline.c: Likewise.
40065 * libio/iogets.c: Likewise.
40066 * libio/iogetwline.c: Likewise.
40067 * libio/iopadn.c: Likewise.
40068 * libio/iopopen.c: Likewise.
40069 * libio/ioseekoff.c: Likewise.
40070 * libio/ioseekpos.c: Likewise.
40071 * libio/iosetbuffer.c: Likewise.
40072 * libio/iosetvbuf.c: Likewise.
40073 * libio/ioungetc.c: Likewise.
40074 * libio/ioungetwc.c: Likewise.
40075 * libio/iovdprintf.c: Likewise.
40076 * libio/iovsprintf.c: Likewise.
40077 * libio/iovsscanf.c: Likewise.
40078 * libio/memstream.c: Likewise.
40079 * libio/obprintf.c: Likewise.
40080 * libio/oldfileops.c: Likewise.
40081 * libio/oldiofclose.c: Likewise.
40082 * libio/oldiofdopen.c: Likewise.
40083 * libio/oldiofopen.c: Likewise.
40084 * libio/oldiopopen.c: Likewise.
40085 * libio/oldstdfiles.c: Likewise.
40086 * libio/putc.c: Likewise.
40087 * libio/setbuf.c: Likewise.
40088 * libio/setlinebuf.c: Likewise.
40089 * libio/stdfiles.c: Likewise.
40090 * libio/strops.c: Likewise.
40091 * libio/vasprintf.c: Likewise.
40092 * libio/vscanf.c: Likewise.
40093 * libio/vsnprintf.c: Likewise.
40094 * libio/vswprintf.c: Likewise.
40095 * libio/wfiledoalloc.c: Likewise.
40096 * libio/wfileops.c: Likewise.
40097 * libio/wgenops.c: Likewise.
40098 * libio/wmemstream.c: Likewise.
40099 * libio/wstrops.c: Likewise.
40100 * libio/__fpurge.c: Likewise.
40101 * libio/__fsetlocking.c: Likewise.
40102 * assert/assert.c: Likewise.
40103 * debug/fgets_chk.c: Likewise.
40104 * debug/fgets_u_chk.c: Likewise.
40105 * debug/fread_chk.c: Likewise.
40106 * debug/fread_u_chk.c: Likewise.
40107 * debug/gets_chk.c: Likewise.
40108 * debug/obprintf_chk.c: Likewise.
40109 * debug/vasprintf_chk.c: Likewise.
40110 * debug/vdprintf_chk.c: Likewise.
40111 * debug/vsnprintf_chk.c: Likewise.
40112 * debug/vsprintf_chk.c: Likewise.
40113 * malloc/mtrace.c: Likewise.
40114 * misc/error.c: Likewise.
40115 * misc/syslog.c: Likewise.
40116 * stdio-common/asprintf.c: Likewise.
40117 * stdio-common/fxprintf.c: Likewise.
40118 * stdio-common/getw.c: Likewise.
40119 * stdio-common/isoc99_fscanf.c: Likewise.
40120 * stdio-common/isoc99_scanf.c: Likewise.
40121 * stdio-common/isoc99_vfscanf.c: Likewise.
40122 * stdio-common/isoc99_vscanf.c: Likewise.
40123 * stdio-common/isoc99_vsscanf.c: Likewise.
40124 * stdio-common/printf-prs.c: Likewise.
40125 * stdio-common/printf_fp.c: Likewise.
40126 * stdio-common/printf_fphex.c: Likewise.
40127 * stdio-common/printf_size.c: Likewise.
40128 * stdio-common/putw.c: Likewise.
40129 * stdio-common/scanf.c: Likewise.
40130 * stdio-common/sprintf.c: Likewise.
40131 * stdio-common/tmpfile.c: Likewise.
40132 * stdio-common/vfprintf.c: Likewise.
40133 * stdio-common/vfscanf.c: Likewise.
40134 * stdlib/strfmon_l.c: Likewise.
40135 * sunrpc/openchild.c: Likewise.
40136 * sunrpc/xdr_stdio.c: Likewise.
40137 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40138 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40139
d6c33fda
RM
401402012-05-24 Roland McGrath <roland@hack.frob.com>
40141
c1487492
RM
40142 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40143
40144 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40145 in the third column, to generate for the shared library an IFUNC
40146 that uses _dl_vdso_vsym.
40147 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40148 * Makeconfig (object-suffixes-noshared): New variable.
40149
40150 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40151 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40152 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40153 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40154
d6c33fda
RM
40155 [BZ #14132]
40156 * include/sys/time.h (__gettimeofday): Remove macro.
40157 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40158 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40159 Remove INTDEF.
40160 (__gettimeofday): Add libc_hidden_def.
40161 (gettimeofday): Add libc_hidden_weak.
40162 * sysdeps/mach/gettimeofday.c: Likewise.
40163 * sysdeps/posix/gettimeofday.c: Likewise.
40164 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40165 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40167 (__gettimeofday_internal): Remove strong_alias.
40168 (__gettimeofday): Add libc_hidden_def.
40169 (gettimeofday): Add libc_hidden_weak.
40170 * sysdeps/unix/syscalls.list (gettimeofday):
40171 Remove __gettimeofday_internal alias.
40172
b5a2bbe6
L
401732012-05-24 Daniel Jacobowitz <drow@false.org>
40174 H.J. Lu <hongjiu.lu@intel.com>
40175
40176 [BZ #12495]
40177 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40178 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40179 (largebin_index_32_big): New.
40180 (largebin_index): Use it for 16-byte alignment.
40181 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40182 correction with front_misalign.
40183
cfba4fda
L
401842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40185
7f907421
L
40186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40188 Likewise.
40189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40190 Likewise.
40191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40192 Likewise.
40193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40194 Likewise.
40195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40196 Likewise.
40197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40198 Likewise.
40199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40200 Likewise.
40201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40202 Likewise.
40203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40204 Likewise.
40205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40206 Likewise.
40207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40208 Likewise.
40209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40210 Likewise.
40211
cfba4fda
L
40212 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40213 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40214
80bad0cc
JM
402152012-05-24 Joseph Myers <joseph@codesourcery.com>
40216
7a25eb06
JM
40217 [BZ #10846]
40218 [BZ #14036]
40219 * math/libm-test.inc (exp_test): Add test from bug 14036.
40220 (pow_test): Add test from bug 10846.
40221
795405f9
JM
40222 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40223 and other flags.
40224 (special_function): Do not include flags in test name.
40225 (parse_args): Likewise.
40226 * sysdeps/i386/fpu/libm-test-ulps: Update.
40227 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40228 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40229 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40231
80bad0cc
JM
40232 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40233 exceptions.
40234 * math/libm-test.inc ("Philosophy"): Update comment about
40235 exception testing.
40236 (UNDERFLOW_EXCEPTION): New macro.
40237 (UNDERFLOW_EXCEPTION_OK): Likewise.
40238 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40239 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40240 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40241 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40242 (INVALID_EXCEPTION_OK): Update value.
40243 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40244 (OVERFLOW_EXCEPTION_OK): Likewise.
40245 (IGNORE_ZERO_INF_SIGN): Likewise.
40246 (test_exceptions): Handle underflow exceptions.
40247 (acos_test): Update for underflow exception expectations.
40248 (cexp_test): Likewise.
40249 (clog_test): Likewise.
40250 (clog10_test): Likewise.
40251 (csqrt_test): Likewise.
40252 (ctan_test): Likewise.
40253 (ctanh_test): Likewise.
40254 (exp_test): Likewise.
40255 (exp10_test): Likewise.
40256 (exp2_test): Likewise.
40257 (expm1_test): Likewise.
40258 (fma_test): Likewise.
40259 (j0_test): Likewise.
40260 (jn_test): Likewise.
40261 (nexttoward_test): Likewise.
40262 (pow_test): Likewise.
40263 (scalbn_test): Likewise.
40264 (scalbln_test): Likewise.
40265 (tan_test): Likewise.
40266 (y1_test): Likewise.
40267 * sysdeps/i386/fpu/libm-test-ulps: Update.
40268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40269
9e0e3d0b
DM
402702012-05-23 David S. Miller <davem@davemloft.net>
40271
40272 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40273 (__libc_sigaction): Remove unused local variables.
40274
ccd0a08f
L
402752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40276
40277 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40278
62bdf9a6
PE
402792012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40280
f8591f80
PE
40281 mktime: avoid signed integer overflow
40282 * time/mktime.c (__mktime_internal): Do not mishandle the case
40283 where diff == INT_MIN.
40284
94c7d826
PE
40285 mktime: simplify computation of average
40286 * time/mktime.c (ranged_convert): Use new time_t_avg function
40287 instead of rolling our own (probably-slower) code.
40288
ce73d683
PE
40289 mktime: do not assume signed right shift propagates sign bit
40290 * time/mktime.c (isdst_differ): New static function.
40291 (__mktime_internal): No need to normalize tm_isdst now.
40292 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40293 tm_isdst values.
40294
72a22e59
PE
40295 mktime: merge another wrapv change from gnulib
40296 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40297 from some compilers.
40298
68605433
PE
40299 mktime: remove incorrect attempt at unusual arithmetics
40300 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40301 The code didn't really work on such machines anyway.
40302 (TYPE_MINIMUM): Assume two's complement.
40303 (twos_complement_arithmetic): Verify that long_int and time_t
40304 are two's complement (or unsigned, in the latter case).
40305
03cf7fe3
PE
40306 mktime: check signed shifts on long_int and time_t, too
40307 * time/mktime.c (SHR): Check that shifts work as desired
40308 on the types long_int and time_t too, as SHR is used on
40309 such types.
40310
f04dfbc2
PE
40311 mktime: do not assume 'long' is wide enough
40312 * time/mktime.c (verify): Move decl up.
40313 (long_int): New type.
40314 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40315 to remove assumption in the code that 'long' is wide enough to
40316 store year values. This assumption is not true on x32 and on
40317 some non-glibc platforms.
40318
62bdf9a6
PE
40319 mktime: merge wrapv change from gnulib
40320 * time/mktime.c (WRAPV): New macro.
40321 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40322 (guess_time_tm, __mktime_internal): Do not assume that signed
40323 integer overflow wraps around; modern compilers generate code
40324 where this assumption is no longer valid.
40325
5e292e4f
L
403262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40327
40328 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40329 Replace "jmp L(pseudo_end)" with "ret".
40330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40331 Likewise.
40332
8caf8c87
AJ
403332012-05-23 Andreas Jaeger <aj@suse.de>
40334
40335 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40336 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40337
1a09dc56
AJ
403382012-05-23 Andreas Jaeger <aj@suse.de>
40339 Maximilian Attems <max@stro.at>
40340
40341 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40342 New macros.
40343
1c87aba0
L
403442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40345
40346 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40347 code so that pseudo_end is just ret and the stack pointer is
40348 correct also for static library in error case.
40349
40e45bd5
JM
403502012-05-23 Joseph Myers <joseph@codesourcery.com>
40351
c2670533
JM
40352 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40353 move to syscalls.list.
40354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40358
40e45bd5
JM
40359 * manual/install.texi (Running make install): Do not mention Linux
40360 kernel version for which pt_chown is not needed.
40361 (Linux): Do not mention problems with nscd with 2.0 kernels.
40362 * INSTALL: Regenerated.
40363
be08eda5
AJ
403642012-05-23 Andreas Jaeger <aj@suse.de>
40365
40366 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40367 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40368 macro.
40369 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40370 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40371 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40372 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40373 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40374 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40375 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40376 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40377 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40378 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40379 * sysdeps/unix/sysv/linux/bits/in.h
40380 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40381
a6a056bb
RM
403822012-05-22 Roland McGrath <roland@hack.frob.com>
40383
40384 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40385 (PREPARE_VERSION): Just use assert instead, it will be elided
40386 under [NDEBUG] anyway.
40387
c9009328
L
403882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40389
40390 * sysdeps/unix/sysv/linux/Makefile: Include
40391 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 40392 (sysdep_routines): Remove sysctl.
c9009328
L
40393 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40394 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40395 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40396 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40397 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40398
73338355
AJ
403992012-05-22 Andreas Jaeger <aj@suse.de>
40400
40401 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40402 that pseudo_end is just ret and the stack pointer is correct also
40403 for static library in error case.
40404
d44638b0
PP
404052012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40406
40407 [BZ #14122]
40408 * nss/nsswitch.c (defconfig_entries): New variable.
40409 (__nss_database_lookup): Don't leak defconfig entries.
40410 (nss_parse_service_list): Don't leak on error paths.
40411 (free_database_entries): New function.
40412 (free_defconfig): New function.
40413 (free_mem): Move common code to free_database_entries.
40414
31a39bd8
L
404152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40416
da0331a8
L
40417 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40418 Add arch_prctl.
40419 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40420
31a39bd8
L
40421 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40422 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40424 New macro.
40425 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40426 (INTERNAL_SYSCALL_TYPES): Likewise.
40427 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40428 (LOAD_REGS_TYPES_[1-6]): Likewise.
40429 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40430 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40431
45470df3
AZ
404322012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40433
40434 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40435 copysignl for GLIBC_2_0.
40436 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40437 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40439 logbl for GLIBC_2_0.
40440 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40441 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40442
98a61bcb
L
404432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40444
a4f6e481
L
40445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40446 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40447
f63d5db6
L
40448 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40449 Use "neg %eax".
40450
98a61bcb
L
40451 * time/mktime.c: Update copyright years.
40452
95770f14
PE
404532012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40454
6226efbd
PE
40455 mktime: merge comment-quoting-style change from gnulib
40456 * time/mktime.c: Quote 'like this' in comments.
40457 The GNU coding standards suggest that we no longer quote `like this',
40458 as "`" and "'" are typically rendered asymmetrically nowadays.
40459 The typical gnulib style is to quote 'like this' when quoting
40460 code, and "like this" when quoting English.
40461
b99e4f78
PE
40462 * time/mktime.c (compile-command): Add "-I.".
40463
643e01e6
PE
40464 mktime: merge mktime-internal.h change from gnulib
40465 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40466
2554247d
PE
40467 mktime: merge time_r change from gnulib
40468 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40469
826dd0ab
PE
40470 mktime: merge DEBUG change from gnulib
40471 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40472 case system <time.h> has a #define.
40473
bd83aabe
PE
40474 mktime: merge <sys/types.h> change from gnulib
40475 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40476 since <time.t> is now guaranteed to define time_t.
40477
95770f14
PE
40478 mktime: merge HAVE_CONFIG_H change from gnulib
40479 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40480
5e1a27a9
L
404812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40482
0e44a77e
L
40483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40484 Use "neg %eax".
40485
5e1a27a9
L
40486 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40487 __rlim_t cast.
40488 (struct rusage): Use anonymous union to pad each field to
40489 __syscall_slong_t.
40490
46259bec
DM
404912012-05-21 David S. Miller <davem@davemloft.net>
40492
40493 * Makefules (o-iterator): Remove .s cases.
40494 (compile-command.s): Delete.
40495 (COMPILE.s): Delete.
40496 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40497
59f0c22e
JM
404982012-05-21 Joseph Myers <joseph@codesourcery.com>
40499
40500 * configure.in (libc_cv_predef_stack_protector): Only consider
40501 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40502 * configure: Regenerated.
40503
20c07380
L
405042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40505
bbb3154b
L
40506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40507 New macro. Use R*LP on int and pointer.
40508 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
40509 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40510 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
40511 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40512
20c07380
L
40513 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40514 [__WORDSIZE_TIME64_COMPAT32] instead of
40515 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40516 (struct utmp): Likewise.
40517 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40518 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40519 Renamed to ...
40520 (__WORDSIZE_TIME64_COMPAT32): This.
40521 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40522 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40523 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40524 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40525 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40526 (__WORDSIZE_TIME64_COMPAT32): New macro.
40527
d8d1017e
AJ
405282012-05-21 Andreas Jaeger <aj@suse.de>
40529
40530 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40531 only if [SHARED]. Add prototype for __wcschr_ia32.
40532
6c7fb145
RM
405332012-05-21 Roland McGrath <roland@hack.frob.com>
40534
40535 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40536 of %rbp unmolested in the jmp_buf while mangling the low bits.
40537 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40538 unmolested high bits of %rbp while demangling the low bits.
40539 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40540
66274218
AJ
405412012-05-21 Andreas Jaeger <aj@suse.de>
40542
07c58f8f
AJ
40543 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40544 * sunrpc/svc_simple.c: Use it for registerrpc.
40545 * sunrpc/xcrypt.c: Use it for passwd2des.
40546
66274218
AJ
40547 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40548
61f65140
L
405492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40550
40551 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40552 Don't define if [__SYSCALL_WORDSIZE != 32].
40553 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40554 New macro.
40555
5fefb436
AJ
405562012-05-21 Bruno Haible <bruno@clisp.org>
40557 Andreas Jaeger <aj@suse.de>
40558
40559 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40560 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40561 inptr and inend for must_buffer_ch.
40562 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40563 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40564 * stdio-common/Makefile (tests): Remove bug15.
40565 (bug15-ENV): Remove macro.
40566 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40567 anymore.
40568
d8e272ab
AJ
405692012-05-19 Andreas Jaeger <aj@suse.de>
40570 Roland McGrath <roland@hack.frob.com>
40571
40572 * manual/contrib.texi: Completely rewritten. It contains now an
40573 alphabetical list of contributors and their contributions.
40574
4a56a162
RH
405752012-05-21 Richard Henderson <rth@twiddle.net>
40576
40577 * misc/getauxval.c (__getauxval): Use unsigned long int.
40578 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40579 (getauxval): Use unsigned long int.
40580
d024d23c
L
405812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40582
40583 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40584
cbc00a03
RM
405852012-05-21 Roland McGrath <roland@hack.frob.com>
40586
40587 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40588 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40589 __alignof__ (long double).
40590
478143fa
AZ
405912012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40592
40593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40594
c7683a6d
RH
405952012-05-20 Richard Henderson <rth@twiddle.net>
40596
40597 * misc/getauxval.c: New file.
40598 * misc/sys/auxv.h: New file.
40599 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40600 (routines): Add getauxval.
40601 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40602 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40603 * elf/dl-sysdep.c (_dl_auxv): Remove.
40604 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40605 * elf/dl-support.c (_dl_auxv): New variable.
40606 (_dl_aux_init): Initialize it.
40607 * manual/startup.texi (Auxiliary Vector): New node.
40608 * sysdeps/generic/bits/hwcap.h: New file.
40609 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40610 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40611 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40612 * sysdeps/sparc/sysdep.h: ... here. Include it.
40613 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40614 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
40615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40616 Update.
c7683a6d
RH
40617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40620 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40625
a6f1845d
AZ
406262012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40627
40628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40629
cbcbe830
DM
406302012-05-19 David S. Miller <davem@davemloft.net>
40631
40632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40633
e0b16cc2
JM
406342012-05-19 Joseph Myers <joseph@codesourcery.com>
40635
40636 [BZ #14123]
40637 * math/s_ccosh.c: Include <float.h>
40638 (__ccosh): Avoid internal overflow calculating sinh and cosh
40639 values before multiplying by sin and cos values.
40640 * math/s_ccoshf.c: Likewise.
40641 * math/s_ccoshl.c: Likewise.
40642 * math/s_csin.c: Likewise.
40643 * math/s_csinf.c: Likewise.
40644 * math/s_csinl.c: Likewise.
40645 * math/s_csinh.c: Likewise.
40646 * math/s_csinhf.c: Likewise.
40647 * math/s_csinhl.c: Likewise.
40648 * math/libm-test.inc (ccos_test): Add more tests.
40649 (ccosh_test): Likewise.
40650 (csin_test): Likewise.
40651 (csinh_test): Likewise.
40652 * sysdeps/i386/fpu/libm-test-ulps: Update.
40653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40654
6ad13e08
L
406552012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40656
f66f0ce8
L
40657 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40658 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40659
6ad13e08
L
40660 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40661
b1d072a7
JM
406622012-05-19 Joseph Myers <joseph@codesourcery.com>
40663
40664 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40665 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40666 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40667 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40668 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40669 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40670 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40671 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40672 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40673 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40674 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40675 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40676 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40677 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40678 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40679 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40680 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40681 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40682 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40683 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40684 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40685 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40686 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40687 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40688 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40689 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40690 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40691 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40692 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40693 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40694 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40695
9eae47cb
AJ
406962012-05-18 Andreas Jaeger <aj@suse.de>
40697
40698 * csu/.gitignore: Delete.
40699
bb07f69f
L
407002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40701
40702 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40703 (timex): Use __syscall_slong_t.
40704
e6bdb741
AJ
407052012-05-18 Andreas Jaeger <aj@suse.de>
40706 Carlos O'Donell <carlos_odonell@mentor.com>
40707
40708 * manual/install.texi (Configuring and compiling): Update
40709 description about files modified in the source directory.
d6c33fda 40710 * INSTALL: Regenerated.
e6bdb741 40711
1b74487e
L
407122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40713
40714 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40715 value. Use "or" to set return value to -1.
40716 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40717 negate return value.
40718
a88b64b9
TMQMF
407192012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40720
57f41c40
AS
40721 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40722 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
40723 failure if the compiler has Graphite support disabled.
40724 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40725 Likewise.
57f41c40
AS
40726 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40727 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
40728 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40729 Likewise.
40730
3707636e
L
407312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40732
610b8622
L
40733 * sysdeps/x86_64/x32/_itoa.h: New file.
40734
7cd195df
L
40735 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40736 getdents system call only if kernel and user dirents have the
40737 same d_ino and d_off.
40738
94b07d20
L
40739 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40740 LLONG_MAX != LONG_MAX.
40741 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40742 (_fitoa_word): Likewise.
40743
18298070
L
40744 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40745 years.
40746 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40747 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40748 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40749
553c7ea4
L
40750 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40751 include <bits/wordsize.h>. Check __x86_64__ instead of
40752 __WORDSIZE.
40753 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40754 if __x86_64__ is defined. Use anonymous union on fpstate.
40755
3707636e
L
40756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40757 anonymous union.
40758
b53ef01a
AS
407592012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40760
37fb1dc0
AS
40761 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40762 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40763 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40764 Refer to _rtld_local_ro instead of _rtld_global_ro.
40765 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40766 Likewise.
40767 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40768 Likewise.
40769 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40770 Likewise.
40771 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40772 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40773 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40774
b53ef01a
AS
40775 * sysdeps/powerpc/powerpc32/dl-machine.c
40776 (__elf_machine_runtime_setup) [PROF]: Don't reference
40777 _dl_prof_resolve.
40778
7a185db2
AJ
407792012-05-18 Andreas Jaeger <aj@suse.de>
40780
40781 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40782 function only available for GCCs before 3.4 since GCC 3.4
40783 introduced a builtin.
40784 (lrint): Likewise.
40785 (llrintf): Likewise.
40786 (llrint): Likewise.
40787 (fmaxf): Likewise.
40788 (fmax): Likewise.
40789 (fminf): Likewise.
40790 (fmin): Likewise.
40791 (rint): Likewise.
40792 (rintf): Likewise.
40793 (nearbyint): Likewise.
40794 (nearbyintf): Likewise.
40795 (ceil): Likewise.
40796 (ceilf): Likewise.
40797 (floor): Likewise.
40798 (floorf): Likewise.
40799
3e5aef87
L
408002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40801
428bd707
L
40802 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40803 on both fields and cast pointer to __syscall_ulong_t.
40804
3e5aef87
L
40805 * bits/types.h (__fsword_t): New type.
40806 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40807 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40809 (__FSWORD_T_TYPE): Likewise.
40810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40811 (__FSWORD_T_TYPE): Likewise.
40812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40813 (__FSWORD_T_TYPE): Likewise.
40814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40815 (__FSWORD_T_TYPE): Likewise.
40816 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40817 __SWORD_TYPE with __fsword_t.
40818 (statfs64): Likewise.
40819
1ba7c3dc
DM
408202012-05-17 David S. Miller <davem@davemloft.net>
40821
40822 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40823
59910343
AJ
408242012-05-17 Andreas Jaeger <aj@suse.de>
40825
40826 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40827 warning.
40828
2e4c1e9e
L
408292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40830
40831 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40832
de7f5ce7
AJ
408332012-05-17 Andreas Jaeger <aj@suse.de>
40834
40835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40836 when it is used.
40837
286abc3d
CM
408382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40839
40840 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40841
477cc68e
L
408422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40843
40844 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40845 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40846
1a0994f5
CD
408472012-05-17 Andreas Jaeger <aj@suse.de>
40848 Carlos O'Donell <carlos_odonell@mentor.com>
40849
40850 [BZ #14059]
40851 * sysdeps/x86_64/multiarch/init-arch.h
40852 (bit_YMM_Usable): Rename to...
40853 (bit_AVX_Usable): ... this.
40854 (bit_FMA4_Usable): New macro.
40855 (bit_XMM_state): New macro.
40856 (bit_YMM_state): New macro.
40857 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40858 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40859 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40860 (CPUID_OSXSAVE): New macro.
40861 (CPUID_AVX): New macro.
40862 (CPUID_FMA4): New macro.
40863 (index_YMM_Usable): Rename to...
40864 (index_AVX_Usable): ... this.
40865 (HAS_AVX): Use HAS_ARCH_FEATURE.
40866 (HAS_FMA4): Likewise.
40867 (HAS_YMM_USABLE): Remove.
40868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40869 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40870 are present.
40871 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40872 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40873 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40874 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40875 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40876
0af797de
CM
408772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40878
40879 * math/libm-test.c: Support platforms without multiple rounding modes.
40880 * math/bug-nextafter.c: Support platforms without FP exceptions.
40881 * math/bug-nexttoward.c: Likewise.
40882 * math/test-fenv.c: Likewise.
40883 * math/test-misc.c: Likewise.
40884 * stdlib/bug-getcontext.c: Likewise.
40885
e39745ff
AJ
408862012-05-17 Andreas Jaeger <aj@suse.de>
40887
40888 * manual/examples/search.c (critter_cmp): Change signature to
40889 avoid warnings.
40890 * manual/string.texi (Collation Functions): Likewise.
40891
48970aba
L
408922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40893
40894 * bits/types.h: Fold copyright years.
40895 * bits/typesizes.h: Likewise.
40896 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40900 * time/time.h: Likewise.
40901
bedee953
PP
409022012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40903
40904 [BZ #208]
40905 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40906 in instead of returning them. Return void.
40907 (__libc_mallinfo): Accumulate over all arenas.
40908 (__malloc_stats): Adjust for change in int_mallinfo interface.
40909
61653dfb
RM
409102012-05-16 Roland McGrath <roland@hack.frob.com>
40911
30b99d79
RM
40912 [BZ #10375]
40913 * configure.in (NM): Add AC_CHECK_TOOL for it.
40914 (libc_extra_cflags): New substituted variable.
40915 Check for -fstack-protector being used implicitly.
40916 * configure: Regenerated.
40917 * config.make.in (config-extra-cflags): New variable,
40918 gets @libc_extra_cflags@.
40919 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40920
61653dfb
RM
40921 [BZ #10375]
40922 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40923 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40924 * configure: Regenerated.
40925 * config.make.in (CPPUNDEFS): New substituted variable.
40926 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40927 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40928 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40929
661768bb
L
409302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40931
40932 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40933 (mq_attr): Use __syscall_slong_t.
40934
d4261567
L
409352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40936
40937 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40938 Check __x86_64__ instead of __WORDSIZE.
40939 (_STAT_VER_LINUX): Likewise.
40940 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40941 __syscall_ulong_t and __syscall_slong_t.
40942 (stat64): Likewise.
40943
cf3ff365
L
409442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40945
40946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40947
76cf3e4d
L
409482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40949
40950 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40951
a637753a
L
409522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40953
40954 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40955 __syscall_ulong_t.
40956
d5e05119
L
40957 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40958 include <bits/wordsize.h>. Check __x86_64__ instead of
40959 __WORDSIZE.
40960 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40961 defined.
40962 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40963
f62ee380
L
40964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40965 include <bits/wordsize.h>. Check __x86_64__ instead of
40966 __WORDSIZE.
40967 (user_regs_struct): Use "__extension__ unsigned long long"
40968 instead of "unsigned long" if __x86_64__ is defined.
40969 (user): Likewise. Pad after pointer field if __ILP32__ is
40970 defined.
40971
4e124ced
JM
409722012-05-16 Joseph Myers <joseph@codesourcery.com>
40973
6a3951a0
JM
40974 * configure.in (makeinfo): Require version 4.5 or later. Allow
40975 versions 5 to 9.
40976 * configure: Regenerated.
40977 * manual/install.texi (texinfo): Increase version requirement to
40978 4.5 or later.
40979 * INSTALL: Regenerated.
40980
4e124ced
JM
40981 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40982
953ca31a
L
409832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40984
40985 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40986
617aca05
L
40987 * sysdeps/x86_64/x32/ffs.c: New file.
40988
5762f7ae
L
40989 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40990 __syscall_ulong_t.
40991 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40992 defined. Use __syscall_ulong_t.
40993 (shminfo): Use __syscall_ulong_t.
40994 (shm_info): Likewise.
40995
a26b6856
L
40996 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40997 __syscall_ulong_t.
40998
cb2b9ef7
L
40999 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41000 <bits/wordsize.h>.
41001 (msgqnum_t): Use __syscall_ulong_t.
41002 (msglen_t): Likewise.
41003 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41004 __syscall_ulong_t.
41005
34683bb0
L
41006 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41007 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41008
84a68786
L
41009 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41010
48baa5f1
L
41011 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41012 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41013
180be88b
L
41014 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41015 __syscall_slong_t.
41016
5e90c8ad
L
41017 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41018 include <bits/wordsize.h>. Check __x86_64__ instead of
41019 __WORDSIZE.
41020
23dfb58b
L
41021 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41022 "unsigned long long int" if __x86_64__ is defined.
41023 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41024
ce5d54b0
L
41025 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41026 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41027 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41028
13dc9eac
L
41029 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41030 <stdint.h>.
41031 (GET_PC): Cast to uintptr_t first.
41032 (GET_FRAME): Likewise.
41033 (GET_STACK): Likewise.
41034
a7895d15
L
41035 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41036 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41037 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41038 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41039 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41040 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41041 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41042 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41043 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41044 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41045 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41046 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41047 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41048 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41049 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41050 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41051 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41052 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41053 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41054 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41055 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41056 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41057 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41058 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41059 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41060 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41061 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41062 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41063 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41064
656416c9
AS
410652012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41066
5bd66283
AS
41067 * Makerules (+depfiles): Also collect depfiles from .oS in
41068 $(extra-objs).
41069 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41070 .oS, $(libnldbl-routines)).
41071
656416c9
AS
41072 * Makerules (native-compile-mkdep-flags): Define.
41073 * sunrpc/Makefile (extra-objs): Add $(addprefix
41074 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41075 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41076 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41077 calling $(make-target-directory).
41078
a46f2169
L
410792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41080
41081 * bits/types.h (__snseconds_t): Removed.
41082 * time/time.h (struct timespec): Replace __snseconds_t with
41083 __syscall_slong_t.
41084 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41085 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41086 Likewise.
41087 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41088 (__SNSECONDS_T_TYPE): Likewise.
41089 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41090 (__SNSECONDS_T_TYPE): Likewise.
41091 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41092 (__SNSECONDS_T_TYPE): Likewise.
41093
6af6528b
L
410942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41095
41096 * sysdeps/mach/hurd/bits/typesizes.h
41097 (__SYSCALL_SLONG_TYPE): New macro.
41098 (__SYSCALL_ULONG_TYPE): Likewise.
41099
de986b56
L
411002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41101
41102 * bits/types.h (__syscall_slong_t): New type.
41103 (__syscall_ulong_t): Likewise.
41104
41105 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41106 (__SYSCALL_ULONG_TYPE): Likewise.
41107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41108 (__SYSCALL_SLONG_TYPE): Likewise.
41109 (__SYSCALL_ULONG_TYPE): Likewise.
41110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41111 (__SYSCALL_SLONG_TYPE): Likewise.
41112 (__SYSCALL_ULONG_TYPE): Likewise.
41113 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41114 (__SYSCALL_SLONG_TYPE): Likewise.
41115 (__SYSCALL_ULONG_TYPE): Likewise.
41116
85736dc7
L
411172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41118
41119 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41120 Add sigaltstack-offsets.sym.
41121 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41122 <sigaltstack-offsets.h>.
41123 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41124 longjmp_msg pointer.
41125 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41126 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41127 signal stack.
41128 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41129
cc03b296
JM
411302012-05-15 Joseph Myers <joseph@codesourcery.com>
41131
a9538892
JM
41132 * elf/stackguard-macros.h: Remove file.
41133 * sysdeps/generic/stackguard-macros.h: New file.
41134 * sysdeps/i386/stackguard-macros.h: Likewise.
41135 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41136 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41137 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41138 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41139 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41140 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41141 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41142 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41143 <elf/stackguard-macros.h>.
41144
cc03b296
JM
41145 [BZ #14109]
41146 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41147 __aligned__ in attribute.
41148 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41149 (gregset_t): Likewise.
41150
93171016
L
411512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41152
41153 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41154 * sysdeps/x86_64/64/Implies-after: Here. New file.
41155 * sysdeps/x86_64/x32/Implies-after: New file.
41156
d86813a0
L
411572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41158
41159 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41160 and access return value for _dl_profile_fixup. Use R10_LP to
41161 load frame size.
41162
2953ec75
L
411632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41164
41165 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41166
3b550e9e
L
411672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41168
41169 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41170 * sysdeps/x86_64/x32/sysdep.h: New file.
41171
eda41706
L
411722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41173
41174 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41175 * sysdeps/x86_64/setjmp.S: Likewise.
41176
9ea01d93
AZ
411772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41178
41179 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41180 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41181 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41182 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41183 remove unused global constant.
41184
02a91938
CM
411852012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41186
41187 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41188 include of <not-cancel.h>.
41189
6540185f
RM
411902012-05-15 Roland McGrath <roland@hack.frob.com>
41191
41192 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41193
509072a0
AJ
411942012-05-15 Jeff Law <law@redhat.com>
41195 Andreas Jaeger <aj@suse.de>
41196
41197 [BZ #13594]
41198 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41199 out from...
41200 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41201 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41202 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41203 code changing __hst_map_handle.map.
41204
ba75122d
RM
412052012-05-15 Roland McGrath <roland@hack.frob.com>
41206
41207 * configure.in (sysnames): Look for Implies-before and Implies-after
41208 files.
41209 * configure: Regenerated.
41210
890d8bd8
L
412112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41212
41213 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41214 8-byte data alignment with LP_SIZE alignment.
41215
f6ee6623
L
412162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41217
41218 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41219 into R10_LP.
41220
ea2626f6
L
412212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41222
41223 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41224
085f715e
L
412252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41226
41227 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41228 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41229 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41230 Likewise.
41231 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41232
be8498fc
L
412332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41234
41235 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41236 (stackinfo_sub_sp): Likewise.
41237
70bc83b9
L
412382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41239
41240 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41241 RAX_LP.
41242
9bc0b730
L
412432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41244
41245 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41246 into R*_LP.
41247
6d2850e7
L
412482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41249
41250 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41251 sizes into R*_LP.
41252
3cb84561
L
412532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41254
41255 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41256
54e2ed81
L
412572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41258
41259 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41260 into R11_LP and load __x86_64_shared_cache_size_half into
41261 R8_LP.
41262
8a17f349
L
412632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41264
41265 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41266 R8_LP.
41267
777b1eea
AZ
412682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41269
41270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41271 logb for POWER7.
41272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41273 logbf for POWER7.
41274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41275 logbl for POWER7.
41276 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41277 powerpc32/power7/fpu/s_logb.c via #include.
41278 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41279 powerpc32/power7/fpu/s_logbf.c via #include.
41280 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41281 powerpc32/power7/fpu/s_logbl.c via #include.
41282
d20d4ac2
JM
412832012-05-15 Joseph Myers <joseph@codesourcery.com>
41284
41285 * README.libm: Remove file.
41286
6cdef1ab
L
412872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41288
41289 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41290 count for x32. Use R*_LP and omit operand-size suffix.
41291
0b254d8f
L
412922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41293
41294 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41295 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41296 * sysdeps/x86_64/x32/shlib-versions: New file.
41297
ceb809dc
RM
412982012-05-14 Roland McGrath <roland@hack.frob.com>
41299
41300 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41301 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41302 Use _dl_fatal_printf instead.
41303
37f1abd4
JM
413042012-05-14 Joseph Myers <joseph@codesourcery.com>
41305
41306 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41307 set if not set by the user. Do not allow for being unset.
41308 * sysdeps/unix/sysv/linux/configure: Regenerated.
41309
11de3a33
L
413102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41311
41312 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41313 the `q' suffix from lea and replace .quad with ASM_ADDR.
41314
e02f153a
L
413152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41316
41317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41318 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41319 instead of $17.
41320 (PTR_DEMANGLE): Likewise.
41321
520ae0fd
L
413222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41323
41324 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41325 (LP_OP): Likewise.
41326 (ASM_ADDR): Likewise.
41327 (RAX_LP): Likewise.
41328 (RBP_LP): Likewise.
41329 (RBX_LP): Likewise.
41330 (RCX_LP): Likewise.
41331 (RDI_LP): Likewise.
41332 (RSI_LP): Likewise.
41333 (RSP_LP): Likewise.
41334 (R8_LP): Likewise.
41335 (R9_LP): Likewise.
41336 (R10_LP): Likewise.
41337 (R10_LP): Likewise.
41338 (R11_LP): Likewise.
41339 (R12_LP): Likewise.
41340 (R13_LP): Likewise.
41341 (R14_LP): Likewise.
41342 (R15_LP): Likewise.
41343
b985be81
L
413442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41345
41346 * sysdeps/x86_64/x32/dl-machine.h: New file.
41347
6a4888ff
AJ
413482012-05-14 Andreas Jaeger <aj@suse.de>
41349
41350 * manual/Makefile (subdir): Remove export of subdir.
41351 (all): Remove target.
41352 (.PHONY): Remove all from list.
41353 (mkinstalldirs): Remove.
41354 (.PHONY): Remove installdirs from list.
41355 ($(inst_infodir)/libc.info): Use make-target-directory.
41356 (installdirs): Remove.
41357 (subdir_%): Remove.
41358 (glibc-targets): Remove.
41359 (lib): Remove.
41360 (stubs): Remove.
41361 ($(objpfx)stubs ../po/manual.pot): Remove.
41362 ($(objpfx)stamp%): Remove.
41363 (make-target-directory): Remove.
41364 (subdir_install): Remove.
41365 (routines): Remove.
41366 (aux): Remove.
41367 (sources): Remove.
41368 (objects): Remove.
41369 (headers): Remove.
41370
41371 [BZ #13750]
41372 * manual/.gitignore: Remove, it's not needed anymore.
41373 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41374 all files in it.
41375 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41376 directory.
41377 (texis): Renamed to $(objpfx)texis.
41378 (texis-path): New, contains path to generated files.
41379 (chapters.%): Use texis-path for complete path, add extra argument
41380 libc-texinfo.sh.
41381 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41382 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41383 (summary,texi, stamp-summary): Use complete path of
41384 files. Generate files in build dir.
41385 (dir-add.texi): Build in build dir.
41386 (libm-err.texi,stamp-libm-err): Likewise.
41387 (version.texi, stamp-version): Likewise.
41388 (.%c.texi): Likewise.
41389 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41390 (mostlyclean): Remove target.
41391 (realclean): Remove target.
41392 (generated): Add new variable with contents from mostlyclean and
41393 realclean, remove entries duplicated in common-mostlyclean, add
41394 stamp-libm-err and stamp-version.
41395 (generated-dirs): Add libc directory.
41396 ($(inst_infodir)/libc.info): Install files from build dir.
41397
41398 * manual/install.texi (Configuring and compiling): Adjust since
41399 the info files are not part of the tar ball anymore.
41400
7ac77294
AJ
414012012-05-14 Andreas Jaeger <aj@suse.de>
41402
41403 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41404 variable.
41405
ffb7875d
JM
414062012-05-14 Joseph Myers <joseph@codesourcery.com>
41407
41408 [BZ #13717]
41409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41410 to 2.2.0 where earlier.
41411 * sysdeps/unix/sysv/linux/configure: Regenerated.
41412 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41413 Remove conditional code.
41414 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41415 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41416 Remove conditional code.
41417 [!__NR_lchown]: Likewise.
41418 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41419 [__NR_lchown]: Likewise.
41420 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41421 comment referencing __ASSUME_LCHOWN_SYSCALL.
41422 * sysdeps/unix/sysv/linux/i386/sigaction.c
41423 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41424 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41425 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41426 Remove conditional code.
41427 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41428 (__protocol_available): Remove #if 0 code.
41429 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41430 conditional code.
41431 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41432 * sysdeps/unix/sysv/linux/kernel-features.h
41433 (__ASSUME_GETCWD_SYSCALL): Don't define.
41434 (__ASSUME_REALTIME_SIGNALS): Likewise.
41435 (__ASSUME_PREAD_SYSCALL): Likewise.
41436 (__ASSUME_PWRITE_SYSCALL): Likewise.
41437 (__ASSUME_POLL_SYSCALL): Likewise.
41438 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41439 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41440 non-SPARC.
41441 (__ASSUME_SIOCGIFNAME): Don't define.
41442 (__ASSUME_MSG_NOSIGNAL): Likewise.
41443 (__ASSUME_SENDFILE): Define unconditionally.
41444 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41445 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41446 conditional code.
41447 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41448 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41449 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41450 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41451 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41452 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41453 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41455 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41461 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41467 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41478 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41479 Remove conditional code.
41480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41481 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41482 Remove conditional code.
41483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41484 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41485 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41486 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41487 Remove conditional code.
41488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41489 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41490 Remove conditional code.
41491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41492 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41493 Remove conditional code.
41494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41495 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41496 Remove conditional code.
41497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41498 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41499 Remove conditional code.
41500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41501 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41502 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41504 * sysdeps/unix/sysv/linux/sigaction.c
41505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41507 * sysdeps/unix/sysv/linux/sigpending.c
41508 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41509 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41510 * sysdeps/unix/sysv/linux/sigprocmask.c
41511 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41512 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41513 * sysdeps/unix/sysv/linux/sigsuspend.c
41514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41516 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41517 (__libc_missing_rt_sigs): Remove.
41518 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41519 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41520 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41521 Remove conditional code.
41522 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41523 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41524 return 1.
41525 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41526 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41527 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41528 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41529
1bfb7291
AJ
415302012-05-14 Andreas Jaeger <aj@suse.de>
41531
caae5a81
AJ
41532 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41533 it's not used in glibc.
41534 (__coshm1): Likewise.
41535 (__acosh1p): Likewise.
41536 (__sgn): Likewise.
41537
1bfb7291
AJ
41538 * manual/string.texi (Copying and Concatenation): Add missing
41539 variable in concat example.
41540 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41541
c044d724
L
415422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41543
144c5467 41544 [BZ #14103]
c044d724
L
41545 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41546 __builtin_clzl with __builtin_clzll.
41547
2523c62b
L
415482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41549
41550 [BZ #14104]
41551 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41552 libc_freeres_ptr.
41553
d7bb4c42
LD
415542012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41555
41556 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41557 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41558 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41559 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41560
9dc4e1fb
MF
415612012-05-14 Mike Frysinger <vapier@gentoo.org>
41562
41563 * NEWS: Update ia64 info.
41564
c7df0112
AS
415652012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41566
41567 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41568 used as bcopy.
41569
dc70356c
TS
415702012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41571
41572 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41573 * sysdeps/unix/syscalls.list (dup3): Likewise.
41574 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41575 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41576
9fb1a21f
L
415772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41578
41579 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41580 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41581
4822a2a5
L
415822012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41583
41584 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41585 thread pointer.
41586 (TLS_IE): Use mov/add instead of movq/addq to load thread
41587 pointer.
41588 (TLS_GD_PREFIX): New.
41589 (TLS_GD): Use it.
41590
842b81d6
DM
415912012-05-11 David S. Miller <davem@davemloft.net>
41592
41593 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41594 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41595 (_FPU_SETCW): Likewise.
41596
1cf463cd
L
415972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41598
41599 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41600 is 32-byte aligned.
41601
60cc4a18
AS
416022012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41603
41604 [BZ #11837]
41605 * iconvdata/gb18030.c: Update tables.
41606 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41607 characters specially.
41608 (BODY for TO_LOOP): Add encoding of missing ranges.
41609
febb44a4
TS
416102012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41611
41612 [BZ #13673]
41613 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41614 * sysdeps/mach/hurd/dup3.c: Likewise.
41615 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41616 * sysdeps/powerpc/memmove.c:: Likewise.
41617
0a10fb9e
L
416182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41619
41620 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41621 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41622
df8a552f
L
416232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41624
41625 * elf/elf.h (R_X86_64_RELATIVE64): New.
41626 (R_X86_64_NUM): Updated.
41627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41628 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41629 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41630 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41631 tst-quad1pie tst-quad2pie
41632 (modules-names): Add tst-quadmod1 tst-quadmod2.
41633 ($(objpfx)tst-quad1): New dependency.
41634 ($(objpfx)tst-quad2): Likewise.
41635 ($(objpfx)tst-quad1pie): Likewise.
41636 ($(objpfx)tst-quad2pie): Likewise.
41637 * sysdeps/x86_64/tst-quad1.c: New file.
41638 * sysdeps/x86_64/tst-quad1pie.c: New file.
41639 * sysdeps/x86_64/tst-quad2.c: Likewise.
41640 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41641 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41642 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41643 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41644 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41645
f34d6f84
ST
416462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41647
f42d41d1
ST
41648 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41649 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41650 * streams/stropts.h (t_scalar_t): Define type.
41651
3c3571fc
ST
41652 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41653 (_PATH_PRESERVE): Set to "/var/lib".
41654 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41655
61f06bd3
ST
41656 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41657 instead of int.
41658
918d4d71
ST
41659 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41660 if __dir_mkfile succeeded.
41661
f34d6f84
ST
41662 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41663 checking for _hurd_dtablesize. Unlock it right after having
41664 finished _hurd_dtable allocation.
41665
10589b4a
TS
416662012-05-10 Thomas Schwinge <thomas@schwinge.name>
41667
674cdbc7
TS
41668 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41669 * sysdeps/mach/hurd/configure: Regenerated.
41670 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41671 special-casing to...
41672 * sysdeps/gnu/configure.in: ... this new file.
41673 * sysdeps/unix/sysv/linux/configure: Regenerated.
41674 * sysdeps/gnu/configure: New generated file.
41675
8e41b99f
TS
41676 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41677 for Linux: use nsec instead of usec, as well as:
41678 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41679 members of type struct timespec.
41680 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41681 New macros.
41682 (struct stat64): Likewise.
41683 (_STATBUF_ST_NSEC): New macro.
41684 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41685
10589b4a
TS
41686 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41687 __strtoul_internal rather than strtoul.
41688
63643c85
PT
416892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41690
41691 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41692 and reject them.
41693
3faebe6a
ST
416942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41695
41696 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41697 which preserves existing values.
41698 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41699
c6474b07
PT
417002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41701
41702 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41703 TIMEOUT values. Return EINVAL for NFDS values either negative or
41704 greater than FD_SETSIZE.
41705
1043890b
ST
417062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41707
41708 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41709 allocated, call __vm_protect to finish enabling the existing space, and
41710 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41711 allocate the remainder.
41712
37ed8b9b
PT
417132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41714
41715 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41716 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41717
db653660
ST
417182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41719
37ed8b9b
PT
41720 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41721 sysdeps/mach/hurd/readlink.c.
b29d4053 41722
db653660
ST
41723 * posix/tst-sysconf.c (posix_options): Only use
41724 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41725 _POSIX_SYNCHRONIZED_IO when they are defined
41726 * sysdeps/mach/hurd/bits/posix_opt.h:
41727 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41728 (_XOPEN_REALTIME): Undefine macro.
41729 (_XOPEN_REALTIME_THREADS): Undefine macro.
41730 (_XOPEN_SHM): Undefine macro.
41731 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41732 macro to -1.
41733 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41734 macro to -1.
41735 (_POSIX_ASYNC_IO): Undefine macro.
41736 (_POSIX_PRIORITIZED_IO): Undefine macro.
41737 (_POSIX_SPIN_LOCKS): Define macro to -1.
41738
ee16e894
ST
41739 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41740 SA_NODEFER, SA_RESETHAND.
41741 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41742 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41743 F_DUPFD_CLOEXEC.
41744
6103ae3b
TS
417452012-05-10 Thomas Schwinge <thomas@schwinge.name>
41746
41747 * elf/Makefile (pldd-modules): Define unconditionally.
41748
80b4e5f3
TS
417492012-05-10 Thomas Schwinge <thomas@schwinge.name>
41750
41751 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41752
edadcbd6
ST
417532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41754
41755 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41756 Return ENOENT when name is empty.
41757 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41758
80694780
TS
417592012-05-10 Thomas Schwinge <thomas@schwinge.name>
41760
1792c087
TS
41761 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41762
80694780
TS
41763 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41764
6b645f0d
ST
417652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41766
80694780
TS
41767 Fix mlock in all cases except non-readable pages.
41768 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41769 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 41770
6b645f0d
ST
41771 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41772 (__mkdir): When path is `/', just fail with EEXIST.
41773 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41774
e468f8a3
TS
417752012-05-10 Thomas Schwinge <thomas@schwinge.name>
41776
41777 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41778 <sys/uio.h> (for writev).
41779 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41780 and <sys/param.h> (for MIN).
41781
a4186cff
PT
417822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41783
41784 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41785 REQUESTED_TIME. Properly set the remaining time and return EINTR
41786 if interrupted.
41787
510bbf14
TS
417882012-05-10 Thomas Schwinge <thomas@schwinge.name>
41789
41790 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41791 Depend on against $(link-rpcuserlibs).
41792
5d5722e8
ST
417932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41794
a4186cff
PT
41795 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41796 (__libc_stack_end): Do not use attribute_relro.
41797 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41798 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 41799 to libthread-provided value.
a4186cff
PT
41800 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41801 attribute_relro.
5d5722e8 41802
37233df9
TS
418032012-05-10 Thomas Schwinge <thomas@schwinge.name>
41804
be971a2b
TS
41805 [BZ #3748]
41806 * bits/libc-lock.h (__libc_once_get): New macro.
41807 * sysdeps/mach/bits/libc-lock.h: Likewise.
41808 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41810 instead of using implementation details.
41811
37233df9
TS
41812 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41813 * libio/freopen.c: Likewise.
41814 * libio/freopen64.c: Likewise.
41815 * misc/syslog.c: Likewise.
41816 * nscd/connections.c: Likewise.
41817 * nscd/netgroupcache.c: Likewise.
41818 * sysdeps/posix/getcwd.c: Likewise.
41819
38de94a5
RM
418202012-05-10 Roland McGrath <roland@hack.frob.com>
41821
41822 * math/w_ilogbf.c: Add #include <limits.h>.
41823
67530489
ST
418242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41825
a4186cff 41826 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
41827 path instead of returning without unlocking.
41828
67530489
ST
41829 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41830 immediate-write ioctls.
41831 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41832
5aa3a74a
TS
418332012-05-10 Thomas Schwinge <thomas@schwinge.name>
41834
18bad2ae
TS
41835 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41836 __builtin_frame_address instead of making assumptions about the
41837 location of the return address relative to DATA. Force early load of
41838 the return address.
41839 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41840 __builtin_frame_address.
41841
5aa3a74a
TS
41842 dup3 for GNU Hurd.
41843 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41844 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41845 implement dup3 and do some further code clean-ups.
41846 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41847 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41848
ecd0de9a
ST
418492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41850
cd9fa985
ST
41851 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41852
a4186cff
PT
41853 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41854 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41855 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41856 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41857 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41858 d->port.lock.
802ca5a5 41859
a4186cff
PT
41860 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41861 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41862 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 41863
bcf55240
TS
418642012-05-10 Thomas Schwinge <thomas@schwinge.name>
41865
6960eb42
TS
41866 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41867 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41868 definitions.
41869
eb43375f
TS
41870 accept4 for GNU Hurd.
41871 * include/sys/socket.h (__libc_accept4): New prototype.
41872 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41873 to implement __libc_accept4.
41874 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41875 __libc_accept4.
41876 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41877
bcf55240
TS
41878 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41879 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41880 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41881 signal-defines.sym.
41882
6178c55b
ST
418832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41884
a4186cff 41885 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 41886
6f080c2f
TS
418872012-05-10 Thomas Schwinge <thomas@schwinge.name>
41888
41889 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41890 assertion on O_CLOEXEC flag.
41891 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41892 * hurd/intern-fd.c: Likewise.
41893 * hurd/port2fd.c: Likewise.
41894
bcfe3a54
ST
418952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41896
41897 [BZ #3906]
41898 * bits/in.h (IPV6_PKTINFO): Define new macro.
41899 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41900
89c9aa49
AZ
419012012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41902
41903 [BZ #13954]
41904 [BZ #13955]
41905 [BZ #13956]
41906 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41907 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41908 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41909 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41910 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41911 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41912 * math/libm-test.inc (logb_test) : Additional logb tests.
41913
021db4be
AJ
419142012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41915 Andreas Jaeger <aj@suse.de>
41916
41917 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41918 * configure: Regenerated.
41919 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41920 * config.make.in (link-obsolete-rpc): New substituted variable.
41921 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41922 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41923 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41924 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41925 so that libc.a contains the symbols.
41926 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41927 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41928 * sunrpc/auth_none.c: Likewise.
41929 * sunrpc/auth_unix.c: Likewise.
41930 * sunrpc/authdes_prot.c: Likewise.
41931 * sunrpc/authuxprot.c: Likewise.
41932 * sunrpc/clnt_gen.c: Likewise.
41933 * sunrpc/clnt_perr.c: Likewise.
41934 * sunrpc/clnt_raw.c: Likewise.
41935 * sunrpc/clnt_simp.c: Likewise.
41936 * sunrpc/clnt_tcp.c: Likewise.
41937 * sunrpc/clnt_udp.c: Likewise.
41938 * sunrpc/clnt_unix.c: Likewise.
41939 * sunrpc/des_crypt.c: Likewise.
41940 * sunrpc/des_soft.c: Likewise.
41941 * sunrpc/get_myaddr.c: Likewise.
41942 * sunrpc/key_call.c: Likewise.
41943 * sunrpc/key_prot.c: Likewise.
41944 * sunrpc/netname.c: Likewise.
41945 * sunrpc/pm_getmaps.c: Likewise.
41946 * sunrpc/pm_getport.c: Likewise.
41947 * sunrpc/pmap_clnt.c: Likewise.
41948 * sunrpc/pmap_prot.c: Likewise.
41949 * sunrpc/pmap_prot2.c: Likewise.
41950 * sunrpc/pmap_rmt.c: Likewise.
41951 * sunrpc/publickey.c: Likewise.
41952 * sunrpc/rpc_cmsg.c: Likewise.
41953 * sunrpc/rpc_common.c: Likewise.
41954 * sunrpc/rpc_dtable.c: Likewise.
41955 * sunrpc/rpc_prot.c: Likewise.
41956 * sunrpc/rpc_thread.c: Likewise.
41957 * sunrpc/rtime.c: Likewise.
41958 * sunrpc/svc.c: Likewise.
41959 * sunrpc/svc_auth.c: Likewise.
41960 * sunrpc/svc_raw.c: Likewise.
41961 * sunrpc/svc_run.c: Likewise.
41962 * sunrpc/svc_tcp.c: Likewise.
41963 * sunrpc/svc_udp.c: Likewise.
41964 * sunrpc/svc_unix.c: Likewise.
41965 * sunrpc/svcauth_des.c: Likewise.
41966 * sunrpc/xcrypt.c: Likewise.
41967 * sunrpc/xdr.c: Likewise.
41968 * sunrpc/xdr_array.c: Likewise.
41969 * sunrpc/xdr_float.c: Likewise.
41970 * sunrpc/xdr_intXX_t.c: Likewise.
41971 * sunrpc/xdr_mem.c: Likewise.
41972 * sunrpc/xdr_rec.c: Likewise.
41973 * sunrpc/xdr_ref.c: Likewise.
41974 * sunrpc/xdr_sizeof.c: Likewise.
41975 * sunrpc/xdr_stdio.c: Likewise.
41976
b5c086a2
RM
419772012-05-10 Roland McGrath <roland@hack.frob.com>
41978
41979 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41980 change. Update copyright years.
41981
6d74dd09
JM
419822012-05-10 Joseph Myers <joseph@codesourcery.com>
41983
41984 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41985
28e72501
MK
419862012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41987 Joseph Myers <joseph@codesourcery.com>
41988 Paul Pluzhnikov <ppluzhnikov@google.com>
41989
41990 [BZ #14012]
41991 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41992 requiring rpcgen.
41993 [cross-compiling] (extra-libs): Likewise.
41994 [cross-compiling] (extra-libs-others): Likewise.
41995 [cross-compiling] (librpcsvc-routines): Likewise.
41996 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41997 [cross-compiling] (omit-deps): Likewise.
41998 (sunrpc-CPPFLAGS): New variable.
41999 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42000 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42001 (cross-rpcgen-objs): New variable.
42002 (extra-objs): Append $(cross-rpcgen-objs).
42003 ($(cross-rpcgen-objs)): New rule.
42004 ($(objpfx)cross-rpcgen): Likewise.
42005 (rpcgen-cmd): Define to use $(built-program-file). Expand
42006 comment.
42007 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42008 ($(objpfx)x%.stmp): Likewise.
42009 * sunrpc/proto.h [IS_IN_build] (_): Define.
42010 [IS_IN_build] (_libc_intl_domainname): Likewise.
42011
c8c59454
L
420122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42013
42014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42015 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42016 and R_X86_64_TPOFF64.
42017
6f27cd16
JM
420182012-05-10 Joseph Myers <joseph@codesourcery.com>
42019
42020 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42021 sysdeps/unix/sysv/syscalls.list.
42022 (stime): Likewise.
42023 (utime): Likewise.
42024 * sysdeps/unix/sysv/syscalls.list: Remove file.
42025
02467e1c
PE
420262012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42027
42028 [BZ #3440]
42029 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42030 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42031 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42032 (__LC_IDENTIFICATION): Make these macros useful in #if
42033 expressions, as required by C99.
42034
da392631
AS
420352012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42036
42037 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42038 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42039 after this.
42040
8115f29b
L
420412012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42042
42043 * stdlib/longlong.h: Updated from GCC.
42044
bdd74070
AJ
420452012-05-09 Andreas Jaeger <aj@suse.de>
42046
edfe0dbe
AJ
42047 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42048 default is first entry.
42049 (run_mode): Set type.
42050 (main): Remove informal message about syslog.
42051 (options): Fix typo.
42052
bcfe3a54
ST
42053 [BZ #14053]
42054 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42055 to asm.
bcfe3a54
ST
42056 (lrint): Likewise.
42057 (llrintf): Likewise.
42058 (llrint): Likewise.
42059 (rint): Likewise.
42060 (rintf): Likewise.
42061 (nearbyint): Likewise.
42062 (nearbyintf): Likewise.
bdd74070 42063
91d8d69e
AJ
420642012-05-09 Andreas Jaeger <aj@suse.de>
42065 Pedro Alves <palves@redhat.com>
42066
42067 * nscd/nscd.c (run_mode): Use enum.
42068 (main): Cleanup coding style issue.
42069
bb90b80b
AJ
420702012-05-09 Alexandre Oliva <aoliva@redhat.com>
42071 Andreas Jaeger <aj@suse.de>
42072
bcfe3a54
ST
42073 * nscd/nscd.c (go_background): Replaced with...
42074 (run_mode): ... this.
bb90b80b 42075 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42076 (options): Add -F --foreground.
42077 (main): Implement it.
42078 (parse_opt): Parse it.
bb90b80b 42079
1a4b75a1
AJ
420802012-05-09 Andreas Jaeger <aj@suse.de>
42081
42082 [BZ #14083]
42083 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42084 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42085 -Wconversion warning.
42086 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42087 Likewise.
42088
b1cc2472
JM
420892012-05-09 Joseph Myers <joseph@codesourcery.com>
42090
42091 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42092 == 0.
42093 (LC_ALL): Use macro-int-constant.
42094 (LC_COLLATE): Likewise.
42095 (LC_CTYPE): Likewise.
42096 (LC_MESSAGES): Likewise.
42097 (LC_MONETARY): Likewise.
42098 (LC_NUMERIC): Likewise.
42099 (LC_TIME): Likewise.
42100 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42101 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42102 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42103 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42104 Specify type.
42105 [C99-based standards] (float_t): Expect type.
42106 [C99-based standards] (double_t): Expect type.
42107 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42108 type.
42109 [C99-based standards] (HUGE_VALL): Likewise.
42110 [C99-based standards] (INFINITY): Likewise.
42111 [C99-based standards] (NAN): Likewise.
42112 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42113 [C99-based standards] (FP_NAN): Likewise.
42114 [C99-based standards] (FP_NORMAL): Likewise.
42115 [C99-based standards] (FP_SUBNORMAL): Likewise.
42116 [C99-based standards] (FP_ZERO): Likewise.
42117 [C99-based standards] (FP_FAST_FMA): Use
42118 optional-macro-int-constant. Specify type. Require == 1.
42119 [C99-based standards] (FP_FAST_FMAF): Likewise.
42120 [C99-based standards] (FP_FAST_FMAL): Likewise.
42121 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42122 [C99-based standards] (FP_ILOGBNAN): Likewise.
42123 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42124 Specify type.
42125 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42126 [C99-based standards] (math_errhandling): Specify type.
42127 [ISO99 || ISO11] (signgam): Do not allow.
42128 [non-C99-based standards] (copysignf): Do not allow.
42129 [non-C99-based standards] (exp2f): Likewise.
42130 [non-C99-based standards] (log2f): Likewise.
42131 [non-C99-based standards] (modff): Allow.
42132 [non-C99-based standards] (erff): Do not allow.
42133 [non-C99-based standards] (erfcf): Likewise.
42134 [non-C99-based standards] (gammaf): Likewise.
42135 [non-C99-based standards] (hypotf): Likewise.
42136 [non-C99-based standards] (j0f): Likewise.
42137 [non-C99-based standards] (j1f): Likewise.
42138 [non-C99-based standards] (jnf): Likewise.
42139 [non-C99-based standards] (lgammaf): Likewise.
42140 [non-C99-based standards] (tgammaf): Likewise.
42141 [non-C99-based standards] (y0f): Likewise.
42142 [non-C99-based standards] (y1f): Likewise.
42143 [non-C99-based standards] (ynf): Likewise.
42144 [non-C99-based standards] (isnanf): Likewise.
42145 [non-C99-based standards] (acoshf): Likewise.
42146 [non-C99-based standards] (asinhf): Likewise.
42147 [non-C99-based standards] (atanhf): Likewise.
42148 [non-C99-based standards] (cbrtf): Likewise.
42149 [non-C99-based standards] (expm1f): Likewise.
42150 [non-C99-based standards] (ilogbf): Likewise.
42151 [non-C99-based standards] (log1pf): Likewise.
42152 [non-C99-based standards] (logbf): Likewise.
42153 [non-C99-based standards] (nextafterf): Likewise.
42154 [non-C99-based standards] (remainderf): Likewise.
42155 [non-C99-based standards] (rintf): Likewise.
42156 [non-C99-based standards] (scalbf): Likewise.
42157 [non-C99-based standards] (copysignl): Likewise.
42158 [non-C99-based standards] (exp2l): Likewise.
42159 [non-C99-based standards] (log2l): Likewise.
42160 [non-C99-based standards] (modfl): Allow.
42161 [non-C99-based standards] (erfl): Do not allow.
42162 [non-C99-based standards] (erfcl): Likewise.
42163 [non-C99-based standards] (gammal): Likewise.
42164 [non-C99-based standards] (hypotl): Likewise.
42165 [non-C99-based standards] (j0l): Likewise.
42166 [non-C99-based standards] (j1l): Likewise.
42167 [non-C99-based standards] (jnl): Likewise.
42168 [non-C99-based standards] (lgammal): Likewise.
42169 [non-C99-based standards] (tgammal): Likewise.
42170 [non-C99-based standards] (y0l): Likewise.
42171 [non-C99-based standards] (y1l): Likewise.
42172 [non-C99-based standards] (ynl): Likewise.
42173 [non-C99-based standards] (isnanl): Likewise.
42174 [non-C99-based standards] (acoshl): Likewise.
42175 [non-C99-based standards] (asinhl): Likewise.
42176 [non-C99-based standards] (atanhl): Likewise.
42177 [non-C99-based standards] (cbrtl): Likewise.
42178 [non-C99-based standards] (expm1l): Likewise.
42179 [non-C99-based standards] (ilogbl): Likewise.
42180 [non-C99-based standards] (log1pl): Likewise.
42181 [non-C99-based standards] (logbl): Likewise.
42182 [non-C99-based standards] (nextafterl): Likewise.
42183 [non-C99-based standards] (remainderl): Likewise.
42184 [non-C99-based standards] (rintl): Likewise.
42185 [non-C99-based standards] (scalbl): Likewise.
42186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42187 [non-C99-based standards] (FP_*): Do not allow.
42188 [C99-based standards] (FP_*): Change to
42189 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42190 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42191 allow.
42192 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42193 (SIG_ERR): Likewise.
42194 [X/Open-based standards] (SIG_HOLD): Likewise.
42195 (SIG_IGN): Likewise.
42196 (SIGABRT): Use macro-int-constant. Specify type. Require
42197 positive value.
42198 (SIGFPE): Likewise.
42199 (SIGILL): Likewise.
42200 (SIGINT): Likewise.
42201 (SIGSEGV): Likewise.
42202 (SIGTER): Likewise.
42203 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42204 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42205 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42206 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42207 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42208 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42209 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42210 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42211 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42212 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42213 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42214 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42215 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42216 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42217 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42218 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42219 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42220 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42221 [X/Open-based standards] (SIGTRAP): Likewise.
42222 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42223 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42224 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42225 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42226 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42227 allow.
42228
b9f1922d
IW
422292012-05-08 Ian Wienand <ianw@vmware.com>
42230
42231 [BZ #14080]
42232 * time/tzset.c (__tzset_parse_tz): Update default rules for
42233 daylight time changes in the Energy Policy Act of 2005.
42234
1db86e88
AJ
422352012-05-09 Andreas Jaeger <aj@suse.de>
42236
42237 [BZ #13983]
42238 * elf/ldconfig.c (parse_conf): Change string to make clear that
42239 ldconfig only issued a warning if ld.so.conf does not exist.
42240
dee4a4e3
DM
422412012-05-08 David S. Miller <davem@davemloft.net>
42242
ee0db190
DM
42243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42244 movxtod instead of popping the value on the stack.
42245
dee4a4e3
DM
42246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42247
6a43ec98
CD
422482012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42249
42250 * config.h.in: Add HAVE_ARM_PCS_VFP.
42251
05c2c961
RMG
422522012-05-08 Roland Mc Grath <roland@hack.frob.com>
42253
bcfe3a54
ST
42254 [BZ #13979]
42255 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42256 checking but the checks are disabled for any reason.
05c2c961 42257
4b30f61a
L
422582012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42259
42260 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42261 and ELF64_R_TYPE with ELFW(R_TYPE).
42262
eee2bc67
JM
422632012-05-08 Joseph Myers <joseph@codesourcery.com>
42264
7ea5391a
JM
42265 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42266 (ulimit): Likewise.
42267
eee2bc67
JM
42268 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42269 (settimeofday): Likewise.
42270
abb66a67
MF
422712012-05-08 Mike Frysinger <vapier@gentoo.org>
42272
42273 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42274 a struct th_u2 inside the union, and move tu_block/tu_code into
42275 a new th_u3 union of tu_block/tu_code inside of that. Move
42276 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42277 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42278 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42279 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42280 (th_stuff): Change to th_u1.tu_stuff.
42281 (th_data): Define.
42282 (th_msg): Change to th_u1.th_u2.tu_data.
42283
7f18b530
DM
422842012-05-07 David S. Miller <davem@davemloft.net>
42285
05760585
DM
42286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42287
7f18b530
DM
42288 [BZ #14074]
42289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42290 (SETUP_PIC_REG): Use it.
42291 (SETUP_PIC_REG_LEAF): Use it.
42292
495fd99f
JM
422932012-05-07 Joseph Myers <joseph@codesourcery.com>
42294
42295 [BZ #13885]
42296 [BZ #13923]
42297 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42298 USE_AS_EXPM1L.
42299 (EXPL_FINITE): Likewise.
42300 (FLDLOG): Likewise.
42301 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42302 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42303 e_expl.S.
42304 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42305 USE_AS_EXPM1L.
42306 (EXPL_FINITE): Likewise.
42307 (FLDLOG): Likewise.
42308 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42309 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42310 e_expl.S.
42311 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42312 test of -max_value argument for long double.
42313 * sysdeps/i386/fpu/libm-test-ulps: Update.
42314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42315
6693d694
DM
423162012-05-06 David S. Miller <davem@davemloft.net>
42317
42318 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42319 quad soft-float symbols whose references which are compiler
42320 generated.
42321 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42322
6c23e11c
JM
423232012-05-06 Joseph Myers <joseph@codesourcery.com>
42324
d8b82cad
JM
42325 [BZ #13884]
42326 [BZ #13914]
42327 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42328 USE_AS_EXP10L.
42329 (EXPL_FINITE): Likewise.
42330 (FLDLOG): Likewise.
42331 (c0): Likewise.
42332 (c1): Likewise.
42333 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42334 Adjust comments for base varying.
42335 (__expl_finite): Change alias to EXPL_FINITE.
42336 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42337 e_expl.S.
42338 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42339 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42341 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42342 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42343 USE_AS_EXP10L.
42344 (EXPL_FINITE): Likewise.
42345 (FLDLOG): Likewise.
42346 (c0): Likewise.
42347 (c1): Likewise.
42348 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42349 Adjust comments for base varying.
42350 (__expl_finite): Change alias to EXPL_FINITE.
42351 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42352 tests for bugs.
42353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42354
6c23e11c
JM
42355 [BZ #14064]
42356 * math/libm-test.inc (check_float_internal): Correct ulp
42357 calculation for subnormal expected results.
42358
29ba805c
AJ
423592012-05-06 Andreas Jaeger <aj@suse.de>
42360
42361 * Makeconfig (+math-flags): New, set to -frounding-math.
42362 (+cflags): Add +math-flags so that all of glibc gets compiled with
42363 it.
42364
42365 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42366
7b17aeda
JM
423672012-05-05 Joseph Myers <joseph@codesourcery.com>
42368
5779f134
JM
42369 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42370 Disable one test.
42371
41498f4d
JM
42372 [BZ #13787]
42373 [BZ #13922]
42374 [BZ #14036]
42375 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42376 (__ieee754_expl): Allow for and saturate large arguments.
42377 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42378 (u_threshold): Likewise.
42379 (__exp): Call __ieee754_exp before checking for overflow and
42380 underflow.
42381 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42382 (u_threshold): Likewise.
42383 (__expf): Call __ieee754_expf before checking for overflow and
42384 underflow.
42385 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42386 (u_threshold): Likewise.
42387 (__expl): Call __ieee754_expl before checking for overflow and
42388 underflow.
42389 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42390 (__ieee754_expl): Allow for and saturate large arguments.
42391 * math/libm-test.inc (exp_test): Add another test. Do not allow
42392 missing overflow exception on overflow.
42393 (expm1_test): Do not allow missing overflow exception on overflow.
42394
6698b8bf
JM
42395 * sysdeps/i386/fpu/e_expl.c: Move to ...
42396 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42397 rather than using inline asm.
42398 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42399 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42400 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42401
7b17aeda
JM
42402 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42403 (nice): Likewise.
42404 (poll): Likewise.
42405 (signal): Likewise.
42406 (time): Likewise.
42407 (times): Likewise.
42408
f7c85819
JM
424092012-05-04 Joseph Myers <joseph@codesourcery.com>
42410
42411 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42412 sysdeps/unix/common/syscalls.list.
42413 (fchmod): Likewise.
42414 (fchown): Likewise.
42415 (ftruncate): Likewise.
42416 (getrusage): Likewise.
42417 (gettimeofday): Likewise.
42418 (setpgid): Likewise.
42419 (setregid): Likewise.
42420 (setreuid): Likewise.
42421 (sigaction): Likewise.
42422 (truncate): Likewise.
42423 (vhangup): Likewise.
42424 * sysdeps/unix/common/syscalls.list: Remove file.
42425 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42426 * sysdeps/unix/sysv/linux/Implies: Likewise.
42427
336270d0
L
424282012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42429
42430 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42432 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42433 Moved to ...
42434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42435 Here.
42436 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42437 to ...
42438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42439 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42440 to ...
42441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42442 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42443 to ...
42444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42445 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42446 to ...
42447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42448 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42449 to ...
42450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42451 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42452 to ...
42453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42454 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42455 to ...
42456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42457 Here.
42458 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42459 to ...
42460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42461 Here.
42462 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42463 to ...
42464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42465 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42466 Moved to ...
42467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42468 Here.
42469 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42470 to ...
42471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42472
d128e450
JM
424732012-05-04 Joseph Myers <joseph@codesourcery.com>
42474
fa8ee516
JM
42475 * sysdeps/unix/common/bits/dirent.h: Remove file.
42476 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42477
d128e450
JM
42478 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42479 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42480 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42481 * sysdeps/unix/bsd/isatty.c: Likewise.
42482 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42483 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42484 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42485
ff8faaf0 424862012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 42487
62881be4 42488 [BZ #13563]
31dc8730
AZ
42489 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42490 long double comparison inaccuracies.
42491 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42493
6fef930c
AS
424942012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42495
42496 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42498
8f203e6c
JM
424992012-05-04 Joseph Myers <joseph@codesourcery.com>
42500
42501 [BZ #14049]
42502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42503 nonzero digits before rounding a hex value.
42504 * stdlib/tst-strtod.c (tests): Add another test.
42505
5197d9c2
AK
425062012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42507
42508 * sysdeps/s390/fpu/libm-test-ulps: Update.
42509
f0c1dedf
AJ
425102012-05-03 Andreas Jaeger <aj@suse.de>
42511
42512 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42513 does not get optimized out.
42514 (malloc_opt_barrier): New.
42515
a65ef2ae 425162012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 42517 Roland McGrath <roland@hack.frob.com>
a65ef2ae 42518
2b942cb7 42519 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 42520 intermediate file deletion.
2b942cb7 42521 (generated): Add .symlist files.
a65ef2ae 42522
54b71e02
JM
425232012-05-03 Joseph Myers <joseph@codesourcery.com>
42524
42525 [BZ #13775]
42526 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42527 Redirect under this condition.
42528 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42529 [__USE_GNU] (__dprintf_chk): Not under this condition.
42530 [__USE_GNU] (__vdprintf_chk): Likewise.
42531 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42532 under this condition.
42533 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42534 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42535 [__USE_XOPEN2K8] (vdprintf): Likewise.
42536 [__USE_GNU] (__dprintf_chk): Not under this condition.
42537 [__USE_GNU] (__vdprintf_chk): Likewise.
42538 [__USE_GNU] (dprintf): Likewise.
42539 [__USE_GNU] (vdprintf): Likewise.
42540
d3dfcc41
RM
425412012-05-03 Roland McGrath <roland@hack.frob.com>
42542
42543 * elf/Makefile (common-generated): Set this instead of generated for
42544 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42545 $(all-built-dso)-derived lists.
42546
7ac30cc5
AJ
425472012-05-03 Andreas Jaeger <aj@suse.de>
42548
0c51e550
AJ
42549 * sysdeps/i386/fpu/libm-test-ulps: Update.
42550
7ac30cc5
AJ
42551 * FAQ: Removed.
42552 * FAQ.in: Likewise.
42553 * scripts/gen-FAQ.pl: Likewise.
42554 * manual/install.texi (Installation): Point to online location of
42555 FAQ.
42556 * Makefile (files-for-dist): Remove FAQ.
42557 (FAQ): Remove.
42558
d4c2917f
AM
425592012-05-02 Allan McRae <allan@archlinux.org>
42560
42561 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42562 (LDFLAGS-reldepmod5.so): Likewise.
42563 (LDFLAGS-reldep6mod1.so): Likewise.
42564 (LDFLAGS-reldep6mod4.so): Likewise.
42565 (LDFLAGS-reldep8mod3.so): Likewise.
42566 (LDFLAGS-unload4mod1.so): Likewise.
42567 (LDFLAGS-unload4mod2.so): Likewise.
42568 (LDFLAGS-tst-initorder): Likewise.
42569 (LDFLAGS-tst-initordera2.so): Likewise.
42570 (LDFLAGS-tst-initordera3.so): Likewise.
42571 (LDFLAGS-tst-initordera4.so): Likewise.
42572 (LDFLAGS-tst-initorderb2.so): Likewise.
42573 (LDFLAGS-noload): Likewise.
42574 (LDFLAGS-next): Likewise.
42575 (LDFLAGS-order2mod1.so): Likewise.
42576 (LDFLAGS-order2mod2.so): Likewise.
42577 (LDFLAGS-tst-initorder2): Likewise.
42578 (LDFLAGS-tst-initorder2a.so): Likewise.
42579 (LDFLAGS-tst-initorder2b.so): Likewise.
42580 (LDFLAGS-tst-initorder2c.so): Likewise.
42581 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42582
d77f993f
DM
425832012-05-02 David S. Miller <davem@davemloft.net>
42584
42585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42586
171a70b4
PP
425872012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42588
42589 [BZ #14055]
42590 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42591
0be196ad
AJ
425922012-05-02 Andreas Jaeger <aj@suse.de>
42593
42594 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42595 since we manipulate rounding mode.
42596 (CPPFLAGS-test-idouble.c): Likewise.
42597 (CPPFLAGS-test-ifloat.c): Likewise.
42598 (CFLAGS-test-ldouble.c): Likewise.
42599 (CFLAGS-test-double.c): Likewise.
42600 (CFLAGS-test-float.c): Likewise.
42601 (CFLAGS-test-misc.c): Likewise.
42602 (CFLAGS-test-test-fenv.c): Likewise.
42603
4f9d04aa
AZ
426042012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42605
2b942cb7
RM
42606 [BZ #2550]
42607 [BZ #2570]
42608 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42609 comparisons to determine direction to adjust input.
4f9d04aa 42610
82a79e7d
RM
426112012-05-01 Roland McGrath <roland@hack.frob.com>
42612
f5a01ca9
RM
42613 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42614 output to the target.
42615
90fe4186
RM
42616 * scripts/localplt.awk: New file.
42617 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42618 (check-localplt-CFLAGS): Variable removed.
42619 ($(all-built-dso:=.jmprel)): New static pattern rule.
42620 (generated): Add those targets.
42621 (localplt-built-dso): New variable.
42622 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42623
42624 * elf/check-localplt.c: File removed.
42625
82397ed6
RM
42626 * scripts/check-execstack.awk: New file.
42627 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42628 (check-execstack-CFLAGS): Variable removed.
42629 ($(objpfx)check-execstack.h): Target removed.
42630 ($(objpfx)execstack-default): New target.
42631 (generated): Add that instead of check-execstack.h.
42632 ($(all-built-dso:=.phdr)): New static pattern rule.
42633 (generated): Add those targets.
42634 * elf/check-execstack.c: File removed.
42635
82a79e7d
RM
42636 * scripts/check-textrel.awk: New file.
42637 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42638 (check-textrel-CFLAGS): Variable removed.
42639 (all-built-dso): Use := to define.o
42640 ($(all-built-dso:=.dyn)): New static pattern rule.
42641 (generated): Add those targets.
42642 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42643 * config.make.in (READELF): New substituted variable.
42644 * elf/check-textrel.c: File removed.
42645
62fde54f 426462012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 42647
615605c9
JM
42648 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42649 allow.
42650 * conform/data/ctype.h-data [C99-based standards] (isblank):
42651 Expect function.
42652 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42653 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42655 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42656 Specify type. Require positive value.
42657 (EILSEQ): Likewise.
42658 (ERANGE): Likewise.
42659 [ISO || POSIX] (EILSEQ): Do not expect.
42660 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42661 Specify type. Require positive value.
42662 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42663 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42664 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42665 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42666 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42667 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42668 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42669 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42670 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42671 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42672 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42673 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42674 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42675 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42676 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42677 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42678 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42679 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42680 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42681 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42682 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42683 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42684 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42685 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42686 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42687 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42688 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42689 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42690 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42691 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42692 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42693 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42694 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42695 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42696 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42697 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42698 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42699 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42700 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42701 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42702 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42703 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42704 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42705 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42706 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42707 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42708 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42709 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42710 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42711 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42712 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42713 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42714 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42715 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42716 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42717 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42718 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42719 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42720 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42721 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42722 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42723 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42724 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42725 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42726 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42727 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42728 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42729 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42730 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42731 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42732 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42733 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42734 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42735 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42736 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42737 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42738 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42739 Require >= 2.
42740 (FLT_ROUNDS): Expect as macro, not constant.
42741 (FLT_MANT_DIG): Use macro-int-constant.
42742 (DBL_MANT_DIG): Likewise.
42743 (LDBL_MANT_DIG): Likewise.
42744 (FLT_DIG): Likewise.
42745 (DBL_DIG): Likewise.
42746 (LDBL_DIG): Likewise.
42747 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42748 (DBL_MIN_EXP): Likewise.
42749 (LDBL_MIN_EXP): Likewise.
42750 (FLT_MAX_EXP): Use macro-int-constant.
42751 (DBL_MAX_EXP): Likewise.
42752 (LDBL_MAX_EXP): Likewise.
42753 (FLT_MAX_10_EXP): Likewise.
42754 (DBL_MAX_10_EXP): Likewise.
42755 (LDBL_MAX_10_EXP): Likewise.
42756 (FLT_MAX): Use macro-constant.
42757 (DBL_MAX): Likewise.
42758 (LDBL_MAX): Likewise.
42759 (FLT_EPSILON): Use macro-constant. Give upper bound.
42760 (DBL_EPSILON): Likewise.
42761 (LDBL_EPSILON): Likewise.
42762 (FLT_MIN): Likewise.
42763 (DBL_MIN): Likewise.
42764 (LDBL_MIN): Likewise.
42765 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42766 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42767 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42768 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42769 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42770 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42771 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42772 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42773 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42774 [ISO11] (FLT_TRUE_MIN): Likewise.
42775 [ISO11] (LDBL_TRUE_MIN): Likewise.
42776 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42777 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42778 (SCHAR_MIN): Use macro-int-constant. Specify type.
42779 (SCHAR_MAX): Likewise.
42780 (UCHAR_MAX): Likewise.
42781 (CHAR_MIN): Likewise.
42782 (CHAR_MAX): Likewise.
42783 (MB_LEN_MAX): Use macro-int-constant.
42784 (SHRT_MIN): Use macro-int-constant. Specify type.
42785 (SHRT_MAX): Likewise.
42786 (USHRT_MAX): Likewise.
42787 (INT_MAX): Likewise.
42788 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42789 bound negative.
42790 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42791 bound with "U".
42792 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42793 bound with "L".
42794 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42795 bound negative. Suffix upper bound with "L".
42796 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42797 bound with "UL".
42798 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42799 Specify type.
42800 [C99-based standards] (LLONG_MAX): Likewise.
42801 [C99-based standards] (ULLONG_MAX): Likewise.
42802 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42803 == 0.
42804 [ISO11] (max_align_t): Require type.
42805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42806
c9140a62
JM
42807 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42808 from $CFLAGS, without defining away __attribute__ calls.
42809 (checknamespace): Use $CFLAGS_namespace.
42810
9af0bf29
JM
42811 * conform/conformtest.pl (@keywords): Only include C99 keywords
42812 for standards based on C99 or C11.
42813
343222a2
JM
42814 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42815 Disable tests.
42816 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42817 UNIX98]: Likewise.
42818
661f8cf0
JM
42819 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42820 usability of symbols in #if.
42821
ee74b9cb
JM
42822 * conform/conformtest.pl: If macro or constant types start
42823 "promoted:", expect the symbol to be of the following type
42824 promoted by the integer promotions.
62fde54f 42825
aafc49b3
JM
42826 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42827 in one place. Also handle "macro-constant".
42828
fefdf574
JM
42829 * conform/conformtest.pl: Only accept expected macro values with
42830 "==". Parse all "macro" lines in one place.
42831 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42832
f2d922fe
JM
42833 * conform/conformtest.pl: Handle braced types on "constant" lines
42834 instead of handling "typed-constant".
42835 * conform/data/signal.h-data: Use "constant" instead of
42836 "typed-constant".
42837
d22956c9
JM
42838 * conform/conformtest.pl: Handle "optional-" at start of lines in
42839 one place rather than duplicating several cases. Handle each
42840 format of "macro" line with initial "optional-".
42841
028e2e38
JM
42842 * conform/conformtest.pl: Only accept expected constant or
42843 optional-constant values with "==". Parse all "constant" lines in
42844 one place. Parse all "optional-constant" lines in one place.
42845 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42846 * conform/data/fmtmsg.h-data: Likewise.
42847 * conform/data/netinet/in.h-data: Likewise.
42848 * conform/data/tar.h-data: Likewise.
42849 * conform/data/limits.h-data: Use "==" form on "constant" and
42850 "optional-constant" lines.
42851
1b8f2850
JM
42852 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42853 Use -std=c99 for XOPEN2K.
42854 (@knownproblems): Remove.
42855 (newtoken): Don't check %isknown.
42856
a05a144b
JM
42857 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42858 Do not expect macro.
42859 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42860 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42861 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42862 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42863 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42864 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42865 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42866 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42867 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42868 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42869 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42870 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42871 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42872 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42873 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42874 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42875 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42876 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42877 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42878 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42879 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42880 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42881 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42882 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42883 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42884 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42885 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42886 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42887 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42888 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42889 [XPG3] (acosh): Likewise.
42890 [XPG3] (asinh): Likewise.
42891 [XPG3] (atanh): Likewise.
42892 [XPG3] (cbrt): Likewise.
42893 [XPG3] (expm1): Likewise.
42894 [XPG3] (ilogb): Likewise.
42895 [XPG3] (log1p): Likewise.
42896 [XPG3] (logb): Likewise.
42897 [XPG3] (nextafter): Likewise.
42898 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42899 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42900 [XPG3] (remainder): Likewise.
42901 [XPG3] (rint): Likewise.
42902 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42903 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42904 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42905 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42906 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42907 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42908 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42909 [UNIX98 || XOPEN2K] (scalb): Expect.
42910 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42911 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42912 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42915 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42916 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42917 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42918 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42919 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42920 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42921 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42922 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42923 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42924 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42925 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42926 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42927 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42928 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42929 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42930 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42931 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42932 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42933 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42934 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42935 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42936 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42937 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42938 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42939 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42940 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42941 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42942 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42943 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42944 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42945 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42946 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42947 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42955 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42956 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42957 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42958 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42959 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42975 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42976 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42977 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42978 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42979 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42980 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42981 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42982 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42983 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42984 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42985 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42986 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42987 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42988 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42989 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42990 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42993 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42994 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42995 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42996 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42997 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42998 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42999 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43000 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43003 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43004 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43005 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43009 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43012 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43013 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43014 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43015 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43020 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43021 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43022 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43023 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43024 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43025 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43026 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43027 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43028 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43029 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43030 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43031 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43032 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43033 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43034 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43035 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43036 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43037 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43038 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43039 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43040 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43041 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43042 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43043 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43044 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43045 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43046 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43047
73c5ebe3
JM
43048 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43049 _XOPEN_SOURCE_EXTENDED for XPG4.
43050
39c33b6c
JM
43051 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43052
62fde54f
JM
43053 * Makeconfig (localtime): Remove variable.
43054 (inst_localtime-file): Likewise.
43055
0741d64c
AS
430562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43057
43058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43059 Update.
43060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43061 Update.
43062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43063 Update.
43064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43065 Update.
43066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43067 Update.
43068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43069 Update.
43070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43071 Update.
43072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43073 Update.
43074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43075 Update.
43076
7cb029ee
JM
430772012-05-01 Joseph Myers <joseph@codesourcery.com>
43078
43079 [BZ #2550]
43080 [BZ #2570]
43081 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43082 comparisons to determine direction to adjust input.
43083 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43084 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43085 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43086 Likewise.
43087 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43088 Likewise.
43089 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43090 Likewise.
43091 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43092 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43093 Likewise.
43094 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43095 Likewise.
43096 * math/libm-test.inc (nexttoward_test): Add more tests.
43097
412bd966
AS
430982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43099
43100 [BZ #14040]
43101 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43102 in version GLIBC_2.1, not GLIBC_2.0.
43103 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43104 Likewise.
43105
9568c0c2
JM
431062012-04-30 Joseph Myers <joseph@codesourcery.com>
43107
adfbc8ac
JM
43108 [BZ #13942]
43109 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43110 (1 - x) * (1 + x).
43111 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43112 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43113 * math/libm-test.inc (acos_test): Add more tests.
43114 (asin_test): Likewise.
43115 * sysdeps/i386/fpu/libm-test-ulps: Update.
43116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43117
5ba3cc69
JM
43118 [BZ #14034]
43119 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43120 of square root.
43121 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43122 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43123 * math/libm-test.inc (acos_test_tonearest): New function.
43124 (acos_test_towardzero): Likewise.
43125 (acos_test_downward): Likewise.
43126 (acos_test_upward): Likewise.
43127 (asin_test_tonearest): Likewise.
43128 (asin_test_towardzero): Likewise.
43129 (asin_test_downward): Likewise.
43130 (asin_test_upward): Likewise.
43131 (main): Call the new functions.
43132 * sysdeps/i386/fpu/libm-test-ulps: Update.
43133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43134
9568c0c2
JM
43135 [BZ #13884]
43136 [BZ #13924]
43137 * math/e_exp10.c: Include <float.h>.
43138 (__ieee754_exp10): Handle underflow here rather than multiplying
43139 large negative argument by M_LN10.
43140 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43141 of __ieee754_expf.
43142 * math/e_exp10l.c: Include <float.h>.
43143 (__ieee754_exp10l): Handle underflow here rather than multiplying
43144 large negative argument by M_LN10l.
43145 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43146 spurious overflow exception on underflow.
43147
5ac3ea17
MP
431482012-04-29 Marek Polacek <polacek@redhat.com>
43149
43150 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43151 (__fortify_function): New macro.
43152 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43153 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43154 __extern_always_inline.
43155 * libio/bits/stdio2.h: Likewise.
43156 * libio/bits/stdio.h: Likewise.
43157 * string/string.h: Likewise.
43158 * string/bits/string3.h: Likewise.
43159 * include/stdio.h: Likewise.
43160 * stdlib/bits/stdlib.h: Likewise.
43161 * stdlib/stdlib.h: Likewise.
43162 * rt/bits/mqueue2.h: Likewise.
43163 * rt/mqueue.h: Likewise.
43164 * posix/bits/unistd.h: Likewise.
43165 * posix/unistd.h: Likewise.
43166 * io/bits/poll2.h: Likewise.
43167 * io/bits/fcntl2.h: Likewise.
43168 * io/fcntl.h: Likewise.
43169 * io/sys/poll.h: Likewise.
43170 * misc/bits/syslog.h: Likewise.
43171 * misc/bits/syslog-ldbl.h: Likewise.
43172 * misc/sys/syslog.h: Likewise.
43173 * socket/bits/socket2.h: Likewise.
43174 * socket/sys/socket.h: Likewise.
43175 * debug/tst-chk1.c: Likewise.
43176 * wcsmbs/bits/wchar2.h: Likewise.
43177 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43178 * wcsmbs/wchar.h: Likewise.
43179
ecf0ebfb
AJ
431802012-04-29 Andreas Jaeger <aj@suse.de>
43181
43182 * Makerules (tests): Remove enable-check-abi protection.
43183 (check-abi-warn): Remove.
43184 (check-abi-%): Remove check-abi-warn usage.
43185
43186 * configure.in: Remove check-abi configure option.
43187 * configure: Regenerated.
43188 * config.make.in (enable-check-abi): Remove.
43189
6d5c57fa
AS
431902012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43191
24c5d07e 43192 [BZ #14033]
ded5180a
AS
43193 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43194 double functions to double *_finite functions.
43195
7e0d315d
AS
43196 [BZ #13941]
43197 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43198 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43199 LDBL_MIN_EXP.
43200 * stdio-common/Makefile (tests): Add tst-sprintf3.
43201 * stdio-common/tst-sprintf3.c: New file.
43202
6d5c57fa
AS
43203 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43204 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43205
0749ff8b
JM
432062012-04-28 Joseph Myers <joseph@codesourcery.com>
43207
43208 * conform/conformtest.pl: Remove duplicate typed-constant
43209 handling.
43210
8dbd5d7b
DM
432112012-04-28 David S. Miller <davem@davemloft.net>
43212
43213 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43214 (check-abi-%): Remove AWK script prerequisite and explicit
43215 abilist directory.
43216 (check-abi): Rewrite to just diff the symlist with the abilist.
43217 (config-tls, config-abi-config): Delete, no longer used.
43218 (update-abi-%): Remove AWK script and explicit abilist directory.
43219 (update-abi): Rewrite to simply compare and conditionally copy the
43220 symlist and the sysdep abilist file. Remove update-abi-config
43221 checks.
43222 * abilist/ld.abilist: Remove.
43223 * abilist/libBrokenLocale.abilist: Remove.
43224 * abilist/libanl.abilist: Remove.
43225 * abilist/libcrypt.abilist: Remove.
43226 * abilist/libdl.abilist: Remove.
43227 * abilist/librt.abilist: Remove.
43228 * abilist/libthread_db.abilist: Remove.
43229 * abilist/libutil.abilist: Remove.
43230 * scripts/extract-abilist.awk: Remove.
43231 * scripts/merge-abilist.awk: Remove.
43232 * sysdeps/generic/libcidn.abilist: New file.
43233 * sysdeps/generic/libnss_compat.abilist: New file.
43234 * sysdeps/generic/libnss_db.abilist: New file.
43235 * sysdeps/generic/libnss_dns.abilist: New file.
43236 * sysdeps/generic/libnss_files.abilist: New file.
43237 * sysdeps/generic/libnss_hesiod.abilist: New file.
43238 * sysdeps/generic/libnss_nis.abilist: New file.
43239 * sysdeps/generic/libnss_nisplus.abilist: New file.
43240 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43241 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43242 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43243 file.
43244 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43245 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43246 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43247 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43248 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43249 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43250 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43251 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43252 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43253 file.
43254 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43255 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43256 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43257 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43258 file.
43259 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43260 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43261 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43262 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43263 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43264 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43265 file.
43266 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43267 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43268 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43269 file.
43270 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43272 New file.
43273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43274 New file.
43275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43276 New file.
43277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43278 New file.
43279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43280 New file.
43281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43282 New file.
43283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43284 New file.
43285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43286 New file.
43287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43288 New file.
43289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43290 New file.
43291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43292 New file.
43293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43294 New file.
43295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43296 New file.
43297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43298 file.
43299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43300 New file.
43301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43302 New file.
43303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43304 file.
43305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43306 New file.
43307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43308 New file.
43309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43310 file.
43311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43312 New file.
43313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43314 New file.
43315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43316 New file.
43317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43318 New file.
43319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43320 New file.
43321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43322 New file.
43323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43325 file.
43326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43327 New file.
43328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43329 file.
43330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43331 file.
43332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43333 file.
43334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43335 file.
43336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43337 file.
43338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43339 New file.
43340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43341 file.
43342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43343 file.
43344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43345 New file.
43346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43347 file.
43348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43350 file.
43351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43352 New file.
43353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43354 file.
43355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43356 file.
43357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43358 file.
43359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43360 file.
43361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43362 file.
43363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43364 New file.
43365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43366 file.
43367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43368 file.
43369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43370 New file.
43371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43372 file.
43373 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43374 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43375 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43376 file.
43377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43378 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43379 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43380 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43381 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43382 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43383 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43384 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43385 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43386 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43389 file.
43390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43391 New file.
43392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43393 file.
43394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43395 file.
43396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43397 file.
43398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43399 file.
43400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43401 file.
43402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43403 New file.
43404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43405 New file.
43406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43407 file.
43408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43409 New file.
43410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43411 file.
43412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43414 file.
43415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43416 New file.
43417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43418 file.
43419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43420 file.
43421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43422 file.
43423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43424 file.
43425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43426 file.
43427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43428 New file.
43429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43430 New file.
43431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43432 file.
43433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43434 New file.
43435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43436 file.
43437
41d73a1b
JM
434382012-04-28 Joseph Myers <joseph@codesourcery.com>
43439
43440 * conform/conformtest.pl: Fix typo in handling typed-constant from
43441 allow-header.
43442
28aeeda4
JM
434432012-04-27 Joseph Myers <joseph@codesourcery.com>
43444
adae8f5e
JM
43445 * README: Cut down references to pre-2.6 Linux kernels and
43446 Linuxthreads. Update lists of configurations in libc and ports
43447 and sort alphabetically. Say "or newer" with Linux kernel version
43448 requirements.
43449
28aeeda4
JM
43450 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43451
a462cb63
RA
434522012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43453
43454 [BZ #887]
43455 * math/libm-test.inc (logb_test_downward): New test to expose
43456 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43457 rounding mode.
43458
6ad3493e
JM
434592012-04-27 Joseph Myers <joseph@codesourcery.com>
43460
43461 [BZ #14027]
43462 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43463 to be done.
43464 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43465 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43466
2ce4f015
JM
434672012-04-26 Joseph Myers <joseph@codesourcery.com>
43468
5aeb141a
JM
43469 * sysdeps/unix/i386/brk.S: Remove file.
43470 * sysdeps/unix/i386/dl-brk.S: Likewise.
43471 * sysdeps/unix/i386/pipe.S: Likewise.
43472 * sysdeps/unix/i386/sigreturn.S: Likewise.
43473 * sysdeps/unix/i386/syscall.S: Likewise.
43474 * sysdeps/unix/i386/vfork.S: Likewise.
43475 * sysdeps/unix/i386/wait.S: Likewise.
43476
7143acae
JM
43477 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43478 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43479
2ce4f015
JM
43480 * configure.in (arm*-none*): Do not allow without
43481 --enable-hacker-mode.
43482 (netbsd*): Remove case setting base_os.
43483 (386bsd*): Likewise.
43484 (freebsd*): Likewise.
43485 (bsdi*): Likewise.
43486 (osf*): Likewise.
43487 (sunos*): Likewise.
43488 (ultrix*): Likewise.
43489 (newsos*): Likewise.
43490 (dynix*): Likewise.
43491 (*bsd*): Likewise.
43492 (sysv*): Likewise.
43493 (isc*): Likewise.
43494 (esix*): Likewise.
43495 (sco*): Likewise.
43496 (minix*): Likewise.
43497 (irix4*): Likewise.
43498 (irix6*): Likewise.
43499 (solaris[2-9]*): Likewise.
43500 (none): Likewise.
43501 * configure: Regenerated.
43502
0ac229c8
AZ
435032012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43504
43505 [BZ #11521]
43506 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43507 overflow or cancellation in calculating denominator.
43508 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43509 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43510 down expression to avoid unexpected rounding in newer GCCs.
43511 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43512
33f244f4
DM
435132012-04-26 David S. Miller <davem@davemloft.net>
43514
43515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43516 long-double compat symbols.
43517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43530
cfa1f3e8
DM
435312012-04-25 David S. Miller <davem@davemloft.net>
43532
43533 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43534 HWCAP_* values only after the memory barriers have been defined.
43535 (atomic_full_barrier): Define.
43536 (atomic_read_barrier): Define.
43537 (atomic_write_barrier): Define.
43538
6e236b92
SP
435392012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43540
43541 * shlib-versions: Add libgcc_s version information.
43542 * sysdeps/generic/libgcc_s.h: Remove.
43543 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43544 libgcc_s.h.
43545 * sysdeps/gnu/unwind-resume.c: Likewise.
43546 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43547
aab39a09
DM
435482012-04-25 David S. Miller <davem@davemloft.net>
43549
43550 * sysdeps/unix/sparc/brk.S: Delete.
43551 * sysdeps/unix/sparc/dl-brk.S: Delete.
43552 * sysdeps/unix/sparc/pipe.S: Delete.
43553 * sysdeps/unix/sparc/sysdep.S: Delete.
43554 * sysdeps/unix/sparc/sysdep.h: Delete.
43555 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
43556 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43557 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43559 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
43560 (JUMPTARGET): Remove.
43561 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43562 sysdeps/unix/sparc/sysdep.h
43563 (ENTRY, END): Remove.
43564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43565
a3cc4f48
JM
435662012-04-25 Joseph Myers <joseph@codesourcery.com>
43567
2ed8cda2
JM
43568 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43569 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43570 -DIS_IN_build.
43571
35d76d59
JM
43572 * timezone/README: Update upstream location and email address for
43573 tzcode and tzdata.
43574 * timezone/zdump.c: Update from tzcode 2012b.
43575 * timezone/zic.c: Likewise.
43576
a3cc4f48
JM
43577 * configure.in (libc_cv_as_needed): Remove test.
43578 * configure: Regenerated.
43579 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43580 conditional definition.
43581 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43582 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43583 * config.make.in (have-as-needed): Remove variable.
43584
ceab42c3
SP
435852012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43586 Paul Pluzhnikov <ppluzhnikov@google.com>
43587
43588 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43589 strings correctly.
43590
3ce2865f
CLT
435912012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43592
43593 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43594 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43595 * sysdeps/sh/strlen.S: Likewise.
43596
f37e0d68
JM
435972012-04-24 Joseph Myers <joseph@codesourcery.com>
43598
ae186e9a
JM
43599 * sysdeps/unix/fork.S: Remove file.
43600 * sysdeps/unix/i386/fork.S: Likewise.
43601 * sysdeps/unix/sparc/fork.S: Likewise.
43602
b96914af
JM
43603 * sysdeps/unix/system.c: Remove file.
43604 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43605
f37e0d68
JM
43606 * sysdeps/unix/getegid.S: Remove file.
43607 * sysdeps/unix/geteuid.S: Likewise.
43608
87ef29ca
RM
436092012-04-24 Roland McGrath <roland@hack.frob.com>
43610
83bcd236
RM
43611 * scripts/check-localplt.awk: New file.
43612 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43613 of diff.
43614 * scripts/data/localplt-generic.data: Add a comment.
43615
87ef29ca
RM
43616 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43617 NODE when __dir_mkfile failed.
43618 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43619 Reported by Ludovic Courtès <ludo@gnu.org>.
43620
e5a6e567
AJ
436212012-04-24 Andreas Jaeger <aj@suse.de>
43622
43623 * Makerules (common-clean): Also remove gen-as-const-headers
43624 files.
43625
c1820385
JM
436262012-04-24 Joseph Myers <joseph@codesourcery.com>
43627
43628 * Makerules (native-compile): Do not change working directory for
43629 build. Use $(OUTPUT_OPTION) in command.
43630 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43631
94e02fc4
AZ
436322012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43633
43634 [BZ #13886]
43635 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43636 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43637 * math/libm-test.inc (floor_test): Add more tests.
43638 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43639
3a533ca3
JM
436402012-04-24 Joseph Myers <joseph@codesourcery.com>
43641
940ab4b3
JM
43642 * sysdeps/unix/getdents.c: Remove file.
43643 * sysdeps/unix/sysv/getdents.c: Likewise.
43644 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43645
90e037bd
JM
43646 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43647 sysdeps/unix/mman/syscalls.list.
43648 (mmap): Likewise.
43649 (mprotect): Likewise.
43650 (msync): Likewise.
43651 (munmap): Likewise.
43652 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43653 * sysdeps/unix/mman/syscalls.list: Remove.
43654 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43655
3a533ca3
JM
43656 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43657 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43658 * configure: Regenerated.
43659 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43660 $(libgcc_s_suffix).
43661 * config.make.in (libgcc_s_suffix): Remove variable.
43662
1ad743de
JM
436632012-04-23 Joseph Myers <joseph@codesourcery.com>
43664
4ad451e2
JM
43665 * sysdeps/unix/sysv/gethostname.c: Move to ...
43666 * sysdeps/posix/gethostname.c: ... here.
43667
5e37ce39
JM
43668 * sysdeps/unix/execve.S: Remove file.
43669
1ad743de
JM
43670 * sysdeps/unix/_exit.S: Remove file.
43671
4e681b5b
AJ
436722012-04-23 Andreas Jaeger <aj@suse.de>
43673
43674 [BZ #13739]
43675 * manual/Makefile: Remove make dist support, there's no
43676 need for a stand-alone documentation tar ball.
43677 (TEXI2DVI): Define always, it's not in Makeconfig.
43678 (dist): Removed.
43679 (tar-it): Removed.
43680 (edition): Removed.
43681 (glibc-doc-$(edition).tar): Removed
43682 (%.Z): Removed.
43683 (%.gz): Removed.
43684 (%.uu): Removed.
43685 (ETAGS): Remove, it's in Makeconfig.
43686 (move-if-change): Remove, it's in Makeconfig.
43687
38686a03 436882012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
43689
43690 [BZ #13970]
43691 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43692 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43693 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43694 (strtod_l, strtof_l, strtold_l): Remove __wur.
43695 It is not necessarily an error to ignore strtol's return value.
43696 One can reliably look at the stored endptr to decide whether
43697 the number had valid syntax.
43698
7c0616fa
AJ
436992012-04-21 Andreas Jaeger <aj@suse.de>
43700
803cb6b7 43701 [BZ #13739]
7c0616fa
AJ
43702 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43703
b0fe253f
JM
437042012-04-21 Joseph Myers <joseph@codesourcery.com>
43705
43706 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43707 * sysdeps/unix/sysv/Versions: Remove file.
43708
8280f22d
MT
437092012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43710
43711 [BZ #13927]
43712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43713
75ce411f 437142012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
43715
43716 [BZ #7064]
43717 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43718 version from __vm86.
43719
097d59fa
JM
437202012-04-20 Joseph Myers <joseph@codesourcery.com>
43721
a90f3bcb
JM
43722 * sysdeps/unix/common/lxstat.c: Remove file.
43723 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43724
edc7ea78
JM
43725 * sysdeps/unix/sysv/Makefile: Remove file.
43726
cb78c221
JM
43727 * sysdeps/unix/sysv/direct.h: Remove file.
43728
efa6a45f
JM
43729 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43730 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43731 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43732 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43733 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43734 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43735 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43736
9c9f2d0c
JM
43737 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43738
4541c83b
JM
43739 * sysdeps/unix/xmknod.c: Remove file.
43740 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43741
f5d153a0
JM
43742 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43743
aa746595
JM
43744 * sysdeps/unix/sysv/i386/time.S: Remove file.
43745
cce5905e
JM
43746 * sysdeps/unix/fxstat.c: Remove file.
43747 * sysdeps/unix/xstat.c: Likewise.
43748 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43749
37fa3841
JM
43750 * sysdeps/unix/sysv/sigaction.c: Remove file.
43751
ff1962a3
JM
43752 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43753 (sysdep_headers): Remove variable.
43754 [termio.h not in sysdep_headers] (generated): Likewise.
43755 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43756 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43757 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43758 * sysdeps/unix/sysv/tcflow.c: Likewise.
43759 * sysdeps/unix/sysv/tcflush.c: Likewise.
43760 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43761 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43762 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43763 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43764 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43765
e7740d31
JM
43766 * sysdeps/unix/siglist.c: Remove file.
43767
ee06f18b
JM
43768 * sysdeps/unix/getppid.S: Remove file.
43769
097d59fa
JM
43770 * sysdeps/unix/mkdir.c: Remove file.
43771 * sysdeps/unix/rmdir.c: Likewise.
43772
ff3d51ec
AS
437732012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43774
43775 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43776 ERR_MAX value.
43777 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43778 errlist-compat value.
43779
50f81fd7
DM
437802012-04-18 David S. Miller <davem@davemloft.net>
43781
43782 * sysdeps/generic/memcopy.h (reg_char): Delete.
43783 * debug/strcat_chk.c: Use char, not reg_char.
43784 * debug/strcpy_chk.c: Likewise.
43785 * debug/strncat_chk.c: Likewise.
43786 * debug/strncpy_chk.c: Likewise.
43787 * string/memchr.c: Likewise.
43788 * string/memrchr.c: Likewise.
43789 * string/rawmemchr.c: Likewise.
43790 * string/strcat.c: Likewise.
43791 * string/strchr.c: Likewise.
43792 * string/strchrnul.c: Likewise.
43793 * string/strcmp.c: Likewise.
43794 * string/strcpy.c: Likewise.
43795 * string/strncat.c: Likewise.
43796 * string/strncmp.c: Likewise.
43797 * string/strncpy.c: Likewise.
43798
8ff41c46
WS
437992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43800
43801 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43802 __builtin_memcopy is called when src and dest ranges are known to not
43803 overlap.
43804
6b652f46
WS
438052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43806
43807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43808 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43809 fwd_align_merge macro call.
43810 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43811 bwd_align_merge macro call.
43812 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43813
b282631e
WS
438142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43815
43816 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43817 bwd_align_merge macros.
43818 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43819 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43820 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43821
95aa737c
DM
438222012-04-18 David S. Miller <davem@davemloft.net>
43823
43824 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43825
7a99a614
AJ
438262012-04-18 Andreas Jaeger <aj@suse.de>
43827
43828 [BZ# 6794]
43829 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43830 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43831 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43832
43833 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43834 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43835 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43836
43837 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43838 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43839 Adjust for changed ldbl-128 files.
43840
43841 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43842 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43843 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43844
e5270c23
DM
438452012-04-17 David S. Miller <davem@davemloft.net>
43846
43847 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43848
fb5e92c9
AS
438492012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43850
43851 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43852 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43853 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43854 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43855 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43856 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43857
76da7265
AZ
438582012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43859
43860 [BZ #6794]
43861 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43862 * math/libm-test.inc: Add ilogb errno and exception tests.
43863 * math/w_ilogb.c: New file: ilogb wrapper.
43864 * math/w_ilogbf.c: New file: ilogbf wrapper.
43865 * math/w_ilogbl.c: New file: ilogbl wrapper.
43866 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43867 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43868 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43869 exception being thrown with 0.0 as argument.
43870 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43871 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43872 exception being thrown with 0.0 as argument.
43873 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43874 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43875 exception being thrown with 0.0 as argument.
43876 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43877 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43878 exception being thrown with 0.0 as argument.
43879 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43880 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 43881 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
43882 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43883 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43884 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43885 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43886 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43887 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43888
0396e69d
PB
438892012-04-17 Petr Baudis <pasky@ucw.cz>
43890
43891 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43892 with altivec.
43893
750b5926
MP
438942012-04-16 Marek Polacek <polacek@redhat.com>
43895
43896 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43897
751728a1
MP
438982012-04-16 Marek Polacek <polacek@redhat.com>
43899
43900 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43901 operands of fdivp instruction.
43902
34a27407
L
439032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43904
43905 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43906 * elf/tst-auditmod3b.c: Likewise.
43907 * elf/tst-auditmod4b.c: Likewise.
43908 * elf/tst-auditmod5b.c: Likewise.
43909 * elf/tst-auditmod6b.c: Likewise.
43910 * elf/tst-auditmod6c.c: Likewise.
43911 * elf/tst-auditmod7b.c: Likewise.
43912 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43913 * sysdeps/x86_64/preconfigure.in: Likewise.
43914 * sysdeps/x86_64/preconfigure: Regenerated.
43915
7e73e17d
L
439162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43917
43918 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43919 __ILP32__.
43920
c7a6ab72
AB
439212012-04-13 Antoine Balestrat <merkil33@gmail.com>
43922
43923 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43924 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43925
a9e8e0e0
CL
439262012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43927
43928 [BZ #13973]
43929 * locale/iso-639.def: Fix gl language name. Spotted by
43930 Yaron Shahrabani.
43931
ec98af7d
RM
439322012-04-12 Roland McGrath <roland@hack.frob.com>
43933
43934 [BZ #2074]
43935 * libio/libio.h (__io_write_fn): Update comment.
43936
247c3ede
PB
439372012-04-12 Petr Baudis <pasky@ucw.cz>
43938
43939 [BZ #2074]
43940 * stdio.texi (Hook Functions): The user provided writer function
43941 is not allowed to return -1.
43942
55939d6d
DM
439432012-04-11 David S. Miller <davem@davemloft.net>
43944
43945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43946
90020f5a
MF
439472012-04-11 Mike Frysinger <vapier@gentoo.org>
43948
43949 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43950 Add a leading slash to rtkaio.
43951
288f9098
JM
439522012-04-11 Jim Meyering <meyering@redhat.com>
43953
90020f5a
MF
43954 [BZ #11959]
43955 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43956 It is not necessarily an error to ignore fwrite's return
43957 value. One can reliably use ferror to test for errors after
43958 the fact.
288f9098 43959
4be2b570
L
439602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43961
43962 * bits/types.h (__snseconds_t): New type.
43963 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43964
43965 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43966 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43967 (__SNSECONDS_T_TYPE): Likewise.
43968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43969 (__SNSECONDS_T_TYPE): Likewise.
43970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43971 (__SNSECONDS_T_TYPE): Likewise.
43972
288f9098 439732012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
43974
43975 [BZ #2636]
43976 * manual/time.texi (Processor Time): Return type of times is
43977 elapsed real time since an arbitrary point in the past.
43978 (CPU Time): Move CLK_TCK from here...
43979 (Processor Time): ...to here. Correct description.
43980 * manual/conf.texi (Constants for Sysconf): Correct description of
43981 _SC_CLK_TCK.
43982
d7dd4413
DM
439832012-04-10 David S. Miller <davem@davemloft.net>
43984
43985 [BZ #13967]
43986 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43987 where the is a gap between DT_REL(A) and DT_JMPREL.
43988
b46068fc
L
439892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43990
43991 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43992 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43993 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43994
73d65cc3
SP
439952012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43996
43997 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43998 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43999 (dl_main): Handle --inhibit-cache.
44000 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44001 _dl_inhibit_cache.
44002 * elf/dl-load.c (_dl_map_object): Use it.
44003 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44004
bcc8d661
JM
440052012-04-09 Joseph Myers <joseph@codesourcery.com>
44006
8f9a2fae
JM
44007 [BZ #13872]
44008 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44009 (__ieee754_powl): Saturate large exponents rather than testing for
44010 overflow of y*log2(x).
44011 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44012 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44013 exceptions.
44014
bcc8d661
JM
44015 [BZ #11521]
44016 * math/s_ctan.c: Include <float.h>.
44017 (__ctan): Avoid internal overflow or cancellation in calculating
44018 denominator.
44019 * math/s_ctanf.c: Likewise.
44020 * math/s_ctanl.c: Likewise.
44021 * math/s_ctanh.c: Likewise.
44022 * math/s_ctanhf.c: Likewise.
44023 * math/s_ctanhl.c: Likewise.
44024 * math/libm-test.inc (ctan_test): Add more tests.
44025 (ctanh_test): Likewise.
44026 * sysdeps/i386/fpu/libm-test-ulps: Update.
44027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44028
823fbbb4
AJ
440292012-04-09 Andreas Jaeger <aj@suse.de>
44030
03879793
AJ
44031 [BZ #6894]
44032 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44033 is an optional BSD extension.
44034
823fbbb4
AJ
44035 [BZ #10254]
44036 * manual/stdio.texi (Opening Streams): Document additional fopen
44037 parameters.
44038
8de131cb
RM
440392012-04-09 Roland McGrath <roland@hack.frob.com>
44040
44041 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44042 %eax without telling the compiler.
44043
c0ed9d7d
CD
440442012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44045
44046 [BZ # 13963]
44047 * manual/install.texi: Use sourceware.org.
44048
c483f6b4
JM
440492012-04-09 Joseph Myers <joseph@codesourcery.com>
44050
d7dd9453
JM
44051 [BZ #13873]
44052 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44053 (__ieee754_pow): Generate overflow and underflow using huge*huge
44054 and tiny*tiny rather than just returning constant infinity or zero
44055 for large exponents.
44056 * math/libm-test.inc (pow_test): Require overflow exceptions for
44057 applicable cases of large exponents.
44058
c483f6b4
JM
44059 [BZ #706]
44060 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44061 (__ieee754_pow): Use iterative multiplication algorithm only for
44062 integer exponents with absolute value below 1024. Check for odd
44063 integer exponents when using algorithm for real exponents.
44064 * math/libm-test.inc (pow_test): Add more tests.
44065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44066
d2de7579
JM
440672012-04-08 Joseph Myers <joseph@codesourcery.com>
44068
44069 [BZ #13705]
44070 * math/libm-test.inc (exp_test): Do not allow overflow exception
44071 on underflow test.
44072
f77f1232
AJ
440732012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44074
44075 [BZ #13705]
44076 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44077 instead of __kernel_standard_f.
44078
3884932b
MF
440792012-04-08 Mike Frysinger <vapier@gentoo.org>
44080
44081 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44082 * sysdeps/x86_64/memset_chk.S: Likewise.
44083
54472e9c
AJ
440842012-04-08 Andreas Jaeger <aj@suse.de>
44085
6ab0fbfc
AJ
44086 [BZ #10153]
44087 * manual/startup.texi (Environment Access): Describe return value
44088 for putenv and setenv.
44089
61efba8c
AJ
44090 [BZ #6895]
44091 * manual/filesys.texi (Directory Entries): Add description for
44092 DT_LNK.
44093
95c3f29a
AJ
44094 [BZ #6890]
44095 * manual/filesys.texi (Directory Entries): Clarify that it's file
44096 system not operating system in the description of DT_UNKNOWN.
44097
54472e9c
AJ
44098 [BZ #6578]
44099 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44100
624254b1
SC
441012012-04-08 Stephen Compall <s11@member.fsf.org>
44102
44103 [BZ #6649]
44104 * manual/llio.texi (Opening and Closing Files): Add cross
44105 reference to explain mode argument.
44106
1e4920e0
MF
441072012-04-07 Mike Frysinger <vapier@gentoo.org>
44108
44109 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44110 * sysdeps/x86_64/memset_chk.S: Likewise.
44111
5ed848f3
DM
441122012-04-07 David S. Miller <davem@davemloft.net>
44113
44114 * elf/elf.h (R_SPARC_WDISP10): Define.
44115 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44116 R_SPARC_SIZE32.
44117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44118 R_SPARC_SIZE64 and R_SPARC_H34.
44119
96154cd8
CD
441202012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44121
44122 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44123 conditions and remove no longer applicable assertion.
44124
9904dc47
L
441252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44126
44127 * bits/byteswap.h: Include <features.h>.
44128 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44129 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44130
f8887d0a
L
441312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44132
44133 * bits/byteswap.h (__bswap_16): Removed.
44134 Include <bits/byteswap-16.h> to get __bswap_16.
44135 * sysdeps/i386/bits/byteswap.h: Likewise.
44136 * sysdeps/s390/bits/byteswap.h: Likewise.
44137 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44138 * bits/byteswap-16.h: New file.
44139 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44140 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44141 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44142 * string/Makefile (headers): Add bits/byteswap-16.h.
44143
62470f60
PP
441442012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44145
44146 [BZ #13895]
44147 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44148 extra indirection.
44149 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44150 * nss/tst-nss-static.c: New.
44151
4dad7bab
RM
441522012-04-06 Robert Millan <rmh@gnu.org>
44153
44154 [BZ #6486]
44155 * manual/llio.texi (File Position Primitive): lseek
44156 refers to WHENCE when it really means OFFSET.
44157
e9142a17
AJ
441582012-04-06 Andreas Jaeger <aj@suse.de>
44159
2c040eff
AJ
44160 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44161 strncmp declarations.
44162
e9142a17
AJ
44163 * abilist/libc.abilist: Add __poll and __ppoll.
44164
ff9f1c5f
DM
441652012-04-05 David S. Miller <davem@davemloft.net>
44166
dcd2ae90
DM
44167 * scripts/check-local-headers.sh: Accept a host triplet in the
44168 path matched by the exclude regexp.
44169
993eb054
DM
44170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44171 definition.
44172 * sysdeps/powerpc/powerpc32/dl-machine.h
44173 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44174 * sysdeps/s390/s390-32/dl-machine.h
44175 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44176 * sysdeps/sparc/sparc32/dl-machine.h
44177 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44178 * sysdeps/sparc/sparc64/dl-machine.h
44179 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44180
ff9f1c5f
DM
44181 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44182 lazy binding.
48e2e132 44183 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44184 undefined symbol errors.
44185
48e2e132 44186 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44187 DT_NEEDED entries.
44188
e80d6f94
MM
441892012-04-05 Michael Matz <matz@suse.de>
44190
44191 [BZ #13592]
44192 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44193
349fa79f
AJ
441942012-04-05 Andreas Jaeger <aj@suse.de>
44195
44196 [BZ #13908]
44197 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44198 comment.
44199
f402708f
KK
442002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44201
44202 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44203 which ROUND is no valid rounding mode.
44204
2ecccfc9
KK
442052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44206
44207 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44208 read again.
44209 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44210
8a53f50f
KK
442112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44212
44213 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44214 an exception using FPU order intentionally.
44215
442162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44217
44218 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44219 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44220 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44221 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44222
d653abb7
SJ
442232012-04-05 Simon Josefsson <simon@josefsson.org>
44224
44225 [BZ #12340]
44226 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44227 EINVAL when BUFLEN is too smal.
44228
c3b1bf7d
TS
442292012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44230
44231 [BZ #13553]
44232 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44233 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44234
b1aa60f3
AJ
442352012-04-03 Andreas Jaeger <aj@suse.de>
44236
c3b1bf7d 44237 [BZ #13938]
67f60a26
AJ
44238 * manual/setjmp.texi (System V contexts): Fix sentence.
44239
b1aa60f3
AJ
44240 [BZ #13926]
44241 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44242 New macro for this case.
44243 [!__GNUC__] (__bswap_64): New inline function for this case.
44244 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44245 * bits/byteswap.h: Likewise.
44246 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44247 ull, guard with __GLIBC_HAVE_LONG_LONG.
44248
44249 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44250 __GLIBC_HAVE_LONG_LONG.
44251
44252 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44253 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44254
39c59c35
TMQMF
442552012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44256
44257 [BZ #13691]
44258 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44259 inptr and inend, rather than using last_ch.
44260
135ffda8
DM
442612012-04-02 David S. Miller <davem@davemloft.net>
44262
44263 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44264 * stdio-common/printf-parse.h (read_int): Change return type to
44265 'int', return -1 on INT_MAX overflow.
44266 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44267 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44268 overflows INT_MAX. Check for overflow of in-format-string precision
44269 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44270 SIZE_MAX not INT_MAX for integer overflow test.
44271 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44272 skip the construct in the format string but do not record anything.
44273 * stdio-common/bug22.c: Adjust to test both width/prevision
44274 INT_MAX overflow as well as total length INT_MAX overflow. Check
44275 explicitly for proper errno values.
44276
228c019e
TS
442772012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44278
302cadd3
TS
44279 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44280 CHAR_MAX.
44281 * string/test-strcmp.c [! WIDE]: Likewise.
44282 * time/tst-mktime2.c: Likewise for INT_MAX.
44283 * string/test-string.h: #include <sys/param.h> for MIN.
44284
228c019e
TS
44285 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44286 * sysdeps/i386/init-first.c (init): Likewise.
44287 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44288 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44289 * sysdeps/sh/init-first.c (init): Likewise.
44290
cfa633f5
UD
442912012-04-01 Ulrich Drepper <drepper@gmail.com>
44292
44293 * po/ru.po: Update from translation team.
d1635ef8 44294 * po/vi.po: Likewise.
cfa633f5 44295
6cd0a5ea
SP
442962012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44297
44298 * resolv/nss_dns/dns-host.c: Merge copyright years.
44299
4b43400f
LD
443002012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44301
44302 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44303 Optimize memcpy with prefetch if
44304 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44305 src, dst pointers have unequal 16 byte alignments.
44306
48c41d04
SP
443072012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44308
44309 [BZ #13928]
44310 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44311 from a CNAME entry and return the minimum ttl for the query.
44312 (gaih_getanswer_slice): Likewise.
44313
b8dc394d
JL
443142012-03-30 Jeff Law <law@redhat.com>
44315
44316 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44317 due to long keys.
44318 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44319 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44320
2f5a5ed0
JL
44321 * resolv/nss_dns/dns-host.c: Update copyright year.
44322
1d39e359
UD
443232012-03-30 Ulrich Drepper <drepper@gmail.com>
44324
c030f70c 44325 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44326 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44327
1d39e359
UD
44328 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44329 comments for sendmmsg.
44330
443312012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44332
44333 [BZ #13691]
44334 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44335 with only 1 character between 0x0041 and 0x01b0.
44336 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44337 * wcsmbs/tst-mbsnrtowcs.c: New file.
44338
20fde227
DM
443392012-03-29 David S. Miller <davem@davemloft.net>
44340
44341 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44342 small copies by hand.
44343
984a4237
JL
443442012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44345
44346 [BZ #13761]
57f41c40
AS
44347 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44348 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44349 group memberships.
984a4237 44350
18c9d62b
DM
443512012-03-28 David S. Miller <davem@davemloft.net>
44352
88d85d4f
DM
44353 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44354 that branches into memcpy.
44355 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44356 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44357 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44358 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44360 bits.
44361 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44362 implementation too.
44363 * sysdeps/sparc/mempcpy.S: New file.
44364
e5aa83e1
DM
44365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44366 the IFUNC routine in the libc case.
44367 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44368
88570753
DM
44369 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44370 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44371 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44372 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44373 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44374 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44375 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44376 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44377
249d7567
DM
44378 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44379 loop to 256 bytes instead of 64 bytes and fix test signedness.
44380
18c9d62b
DM
44381 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44382 * sysdeps/sparc/sparc32/Makefile: rather than here...
44383 * sysdeps/sparc/sparc64/Makefile: and here.
44384
05f3d1f6
UD
443852012-03-28 Ulrich Drepper <drepper@gmail.com>
44386
44387 * malloc/mallocbug.c: Avoid warnings about unused variables.
44388
86ae07a8
JL
443892012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44390
44391 [BZ #13760]
44392 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44393 in the right place. Discard and retry query if response is
44394 larger than input buffer size.
44395
41bf21a1
JM
443962012-03-28 Joseph Myers <joseph@codesourcery.com>
44397
d6270972
JM
44398 [BZ #369]
44399 [BZ #2678]
44400 [BZ #3866]
44401 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44402 x for large integer exponent.
44403 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44404 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44405 sign of result as needed afterwards.
44406 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44407 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44408 result for underflowing pow the same as for overflow.
44409 (__kernel_standard_l): Handle powl overflow and underflow here
44410 rather than calling __kernel_standard.
44411 * math/libm-test.inc (pow_test): Add more tests.
44412
414fca03 44413 [BZ #3868]
41bf21a1
JM
44414 [BZ #13879]
44415 [BZ #13910]
44416 [BZ #13911]
44417 [BZ #13912]
44418 [BZ #13913]
44419 [BZ #13915]
44420 [BZ #13916]
44421 [BZ #13917]
44422 [BZ #13918]
44423 [BZ #13919]
44424 [BZ #13920]
44425 [BZ #13921]
44426 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44427 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44428 (__kernel_standard_l): New function.
44429 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44430 __kernel_standard.
44431 * math/w_acosl.c (__acosl): Likewise.
44432 * math/w_asinl.c (__asinl): Likewise.
44433 * math/w_atan2l.c (__atan2l): Likewise.
44434 * math/w_atanhl.c (__atanhl): Likewise.
44435 * math/w_coshl.c (__coshl): Likewise.
44436 * math/w_exp10l.c (__exp10l): Likewise.
44437 * math/w_exp2l.c (__exp2l): Likewise.
44438 * math/w_fmodl.c (__fmodl): Likewise.
44439 * math/w_hypotl.c (__hypotl): Likewise.
44440 * math/w_j0l.c (__j0l, __y0l): Likewise.
44441 * math/w_j1l.c (__j1l, __y1l): Likewise.
44442 * math/w_jnl.c (__jnl, __ynl): Likewise.
44443 * math/w_lgammal.c (__lgammal): Likewise.
44444 * math/w_log10l.c (__log10l): Likewise.
44445 * math/w_log2l.c (__log2l): Likewise.
44446 * math/w_logl.c (__logl): Likewise.
44447 * math/w_powl.c (__powl): Likewise.
44448 * math/w_remainderl.c (__remainderl): Likewise.
44449 * math/w_scalbl.c (sysv_scalbl): Likewise.
44450 * math/w_sinhl.c (__sinhl): Likewise.
44451 * math/w_sqrtl.c (__sqrtl): Likewise.
44452 * math/w_tgammal.c (__tgammal): Likewise.
44453 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44454 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44455 * math/libm-test.inc (acos_test): Add more tests.
44456 (acosh_test): Likewise.
44457 (asin_test): Likewise.
44458 (atanh_test): Likewise.
44459 (exp_test): Likewise.
44460 (exp10_test): Likewise.
44461 (exp2_test): Likewise.
44462 (expm1_test): Likewise.
44463 (lgamma_test): Likewise.
44464 (log_test): Likewise.
44465 (log10_test): Likewise.
44466 (log1p_test): Likewise.
44467 (log2_test): Likewise.
44468 (pow_test): Do not allow some spurious overflow exceptions.
44469 (sqrt_test): Add more tests.
44470 (tgamma_test): Likewise.
44471 (y0_test): Likewise.
44472 (y1_test): Likewise.
44473 (yn_test): Likewise.
44474
dd62fda6
AB
444752012-03-27 Anton Blanchard <anton@samba.org>
44476
44477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44478 MAP_HUGETLB.
44479 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44480 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44481 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44482
1e3cdfda
AJ
444832012-03-27 David S. Miller <davem@davemloft.net>
44484
b855ab85
DM
44485 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44486
1e3cdfda
AJ
44487 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44488 have-as-vis3 check.
44489
444902012-03-27 Andreas Jaeger <aj@suse.de>
44491
44492 * sysdeps/x86_64/elf/configure.in: Moved to ...
44493 * sysdeps/x86_64/configure.in: ... here.
44494 * sysdeps/x86_64/elf/start.S: Moved to ...
44495 * sysdeps/x86_64/start.S: ... here.
44496 * sysdeps/x86_64/elf/configure: Delete.
44497
44498 * sysdeps/x86_64/configure.in: Merge contents from
44499 sysdeps/i386/configure.in (without i686 check).
44500
44501 * sysdeps/i386/elf/Versions: Merge into ...
44502 * sysdeps/i386/Versions: ... this.
44503 * sysdeps/i386/elf/Versions: Delete file.
44504 * sysdeps/i386/elf/start.S: Moved to ...
44505 * sysdeps/i386/start.S: ...here.
44506 * sysdeps/i386/elf/configure.in: Merge into...
44507 * sysdeps/i386/configure.in: ...here.
44508 * sysdeps/i386/elf/configure.in: Delete file.
44509 * sysdeps/i386/elf/configure: Delete file.
44510
44511 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44512 * debug/backtracesyms.c: ... here.
44513 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44514 * debug/backtracesymsfd.c: ... here.
44515 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44516 * sysdeps/generic/ifunc-sel.h: ... here.
44517
44518 * sysdeps/unix/i386/start.c: Delete file.
44519 * sysdeps/unix/sparc/start.c: Delete file.
44520 * sysdeps/unix/start.c: Delete file.
44521
44522 * sysdeps/sh/elf/configure.in: Moved to ...
44523 * sysdeps/sh/configure.in: ... here.
44524 * sysdeps/sh/elf/start.S: Moved to ...
44525 * sysdeps/sh/start.S: ... here.
44526 * sysdeps/sh/elf/configure: Delete file.
44527
44528 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44529 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44530 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44531 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44532 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44533 * sysdeps/powerpc/powerpc64/start.S: here.
44534 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44535 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44536 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44537 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44538 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44539
44540 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44541 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44542 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44543 * sysdeps/powerpc/powerpc32/start.S: ... here.
44544 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44545 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44546 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44547
44548 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44549 * sysdeps/powerpc/ifunc-sel.h: ... here.
44550 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44551 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44552
44553 * sysdeps/sparc/elf/configure.in: Moved to ...
44554 * sysdeps/sparc/configure.in: ... here.
44555 * sysdeps/sparc/elf/configure: Delete file.
44556 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44557 * sysdeps/sparc/sparc32/start.S: ... here.
44558 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44559 * sysdeps/sparc/sparc64/start.S: ... here.
44560 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44561 * sysdeps/sparc/sparc32/Makefile: ... this.
44562 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44563 * sysdeps/sparc/sparc64/Makefile: ... this.
44564
44565 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44566 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44567 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44568 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44569 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44570 * sysdeps/s390/s390-32/setjmp.S: ... here.
44571 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44572 * sysdeps/s390/s390-32/configure.in: ... here.
44573 * sysdeps/s390/s390-32/elf/configure: Delete file.
44574 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44575 * sysdeps/s390/s390-32/start.S: ... here.
44576
44577 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44578 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44579 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44580 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44581 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44582 * sysdeps/s390/s390-64/setjmp.S: ... here.
44583 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44584 * sysdeps/s390/s390-64/configure.in: ... here
44585 * sysdeps/s390/s390-64/elf/configure: Delete file.
44586 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44587 * sysdeps/s390/s390-64/start.S: ... here.
44588 * sysdeps/s390/s390-64/elf/configure: Delete.
44589
44590 * configure.in: Remove support for elf directories in sysdeps.
44591
44592 * configure: Regenerated.
44593 * sysdeps/i386/configure: Regenerated.
44594 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44595 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44596 * sysdeps/s390/s390-32/configure: Regenerated.
44597 * sysdeps/s390/s390-64/configure: Regenerated.
44598 * sysdeps/sh/configure: Regenerated.
44599 * sysdeps/sparc/configure: Regenerated.
44600 * sysdeps/x86_64/configure: Regenerated.
44601
a3f61311
AS
446022012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44603
c876e002
AS
44604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44605
a3f61311
AS
44606 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44607 denormal result into account.
44608
ac4c54f0
RM
446092012-03-25 Roland McGrath <roland@hack.frob.com>
44610
44611 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44612 Reported by Allan McRae <allan@archlinux.org>.
44613
6a9b9c02
JL
446142012-03-23 Jeff Law <law@redhat.com>
44615
44616 * nss/getnssent.c (__nss_getent): Fix typo.
44617
4c42a0c1
DM
446182012-03-23 David S. Miller <davem@davemloft.net>
44619
44620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44621
1532c7ac
L
446222012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44623
44624 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44625 to pad to uint64_t for each field.
44626 (dl_tls_index): Replace unsigned long with uint64_t.
44627
3ff42526
PP
446282012-03-23 Daniel Jacobowitz <dmj@google.com>
44629 Paul Pluzhnikov <ppluzhnikov@google.com>
44630
44631 [BZ #6528]
44632 * grp/Makefile (otherlibs): Don't set it.
44633 * inet/Makefile (otherlibs): Likewise.
44634 * login/Makefile (otherlibs): Likewise.
44635 * nscd/Makefile (otherlibs): Likewise.
44636 * posix/Makefile (otherlibs): Likewise.
44637 * pwd/Makefile (otherlibs): Likewise.
44638 * rt/Makefile (otherlibs): Likewise.
44639 * sunrpc/Makefile (otherlibs): Likewise.
44640 * nss/Makefile (otherlibs): Likewise.
44641 Add libnss_files to routines and static-only-routines.
44642 ($(objpfx)getent): Remove rule.
44643 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44644 static-only-routines.
44645
7c69cd14
JM
446462012-03-22 Joseph Myers <joseph@codesourcery.com>
44647
44648 [BZ #13892]
44649 * math/s_cexp.c: Include <float.h>.
44650 (__cexp): Handle exp result overflowing not necessarily
44651 overflowing both real and imaginary parts of result.
44652 * math/s_cexpf.c: Likewise.
44653 * math/s_cexpl.c: Likewise.
44654 * math/libm-test.inc (cexp_test): Add more tests.
44655 * sysdeps/i386/fpu/libm-test-ulps: Update.
44656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44657
81b035fe
L
446582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44659
44660 * include/link.h (ELFW): New macro.
44661 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44662 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44663
1da7940c
L
446642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44665
44666 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44667 with uint64_t.
44668
b749dbb9
L
446692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44670
44671 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44672 declaration.
44673 (struct La_x32_retval): Likewise.
44674
2ff87f3f
L
446752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44676
44677 * sysdeps/x86_64/preconfigure.in: New file.
44678 * sysdeps/x86_64/preconfigure: New generated file.
44679
c0df8e69
JM
446802012-03-22 Joseph Myers <joseph@codesourcery.com>
44681
48e44791
JM
44682 [BZ #13824]
44683 * math/e_exp2l.c: Include <float.h>.
44684 (__ieee754_exp2l): Handle overflow and underflow cases
44685 separately. Only pass fractional part of argument to
44686 __ieee754_expl.
44687 * math/libm-test.inc (exp2_test): Add more tests.
44688
c0df8e69
JM
44689 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44690 negating x to take absolute value.
44691 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44692 Likewise.
44693 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44694 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44695 Likewise.
44696 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44697 computing low part if x was negated.
44698 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44699
c8e43ba7
L
447002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44701
44702 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44703 la_x32_gnu_pltexit.
44704 (pltexit): Cast int_retval to ptrdiff_t.
44705 * elf/tst-auditmod3b.c: Likewise.
44706 * elf/tst-auditmod4b.c: Likewise.
44707 * elf/tst-auditmod5b.c: Likewise.
44708 * elf/tst-auditmod6b.c: Likewise.
44709 * elf/tst-auditmod6c.c: Likewise.
44710 * elf/tst-auditmod7b.c: Likewise.
44711
44712 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44713 and x32_gnu_pltexit.
44714
44715 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44716 __ELF_NATIVE_CLASS.
44717 (La_x32_regs): New macro.
44718 (La_x32_retval): Likewise.
44719 (la_x32_gnu_pltenter): New function prototype.
44720 (la_x32_gnu_pltexit): Likewise.
44721
7998fa78
AS
447222012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44723
dcb33988
AS
44724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44725 exponent.
44726
233fc563
AS
44727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44728
7998fa78
AS
44729 * configure.in (libc_cv_cc_nofma): Check for option to disable
44730 generation of FMA instructions.
44731 * configure: Regenerate.
44732 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44733 * sysdeps/ieee754/dbl-64/Makefile: New file.
44734 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44735 Remove brandred-fma4.
44736 (CFLAGS-brandred-fma4.c): Remove.
44737 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44738 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44739 define.
44740 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44741 define.
44742
8e95c99a
L
447432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44744
44745 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44746 LLONG_MAX != LONG_MAX.
44747 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44748 (_fitoa_word): Likewise.
44749 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44750 LLONG_MAX != LONG_MAX.
44751 * stdio-common/_itowa.h: Include <_itoa.h>.
44752 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44753 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44754 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44755 only if not defined.
44756 (_ITOA_WORD_TYPE): Likewise.
44757 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44758 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44759
6f4db457
DM
447602012-03-21 David S. Miller <davem@davemloft.net>
44761
44762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44763
7785fe5a
L
447642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44765
44766 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44767 of x86_64 when setting libc_cv_slibdir, libdir and
44768 libc_cv_localedir.
44769 * sysdeps/unix/sysv/linux/configure: Regenerated.
44770
4535cd55
JM
447712012-03-21 Joseph Myers <joseph@codesourcery.com>
44772
44773 * manual/lang.texi (Old Varargs): Remove section.
44774 (How Variadic): Update menu.
44775 (va_start): Do not mention varargs.h.
44776
17228132
TS
447772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44778 Joseph Myers <joseph@codesourcery.com>
44779
44780 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44781 link test.
44782 * configure: Regenerated.
44783
8149f976
TS
447842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44785
05f3d1f6
UD
44786 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44787 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44788 conformtest.pl
8149f976 44789
1a4ac776
JM
447902012-03-21 Joseph Myers <joseph@codesourcery.com>
44791
be22ce65
JM
44792 * NOTES: Remove.
44793 * Makefile (files-for-dist): Remove NOTES.
44794 (NOTES): Remove rule.
44795 * README: Don't refer to NOTES.
44796 * manual/creature.texi: Don't include macros.texi.
44797 * manual/intro.texi (creature.texi): Remove comment referring to
44798 NOTES.
44799
40b601fb
JM
44800 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44801 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44802 * configure: Regenerated.
44803 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44804 LIBC_TRY_CC_OPTION.
44805 (libc_cv_as_i686): Likewise.
44806 (libc_cv_cc_avx): Likewise.
44807 (libc_cv_cc_sse2avx): Likewise.
44808 (libc_cv_cc_fma4): Likewise.
44809 (libc_cv_cc_novzeroupper): Likewise.
44810 * sysdeps/i386/configure: Regenerated.
44811
1a4ac776
JM
44812 [BZ #13883]
44813 * sysdeps/i386/fpu/s_cexp.S: Remove.
44814 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44815 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44816 * math/libm-test.inc (cexp_test): Add more tests.
44817 * sysdeps/i386/fpu/libm-test-ulps: Update.
44818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44819
a458e7fe
AM
448202012-03-21 Allan McRae <allan@archlinux.org>
44821
44822 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44823
0cb7efc5
JM
448242012-03-21 Joseph Myers <joseph@codesourcery.com>
44825
44826 [BZ #13871]
44827 * math/w_exp2.c: Do not include <float.h>.
44828 (o_threshold, u_threshold): Remove.
44829 (__exp2): Calculate result before checking finiteness and calling
44830 __kernel_standard.
44831 * math/w_exp2f.c: Likewise.
44832 * math/w_exp2l.c: Likewise.
44833 * math/libm-test.inc (exp2_test): Require overflow exception for
44834 1e6 input.
2460d3aa
JM
44835
44836 [BZ #3866]
44837 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44838 range of signed 64-bit integers before using fistpll. Remove
44839 checks for whether integers fit in mantissa bits.
44840 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44841 the range of signed 32-bit integers before using fistpl. Remove
44842 checks for whether integers fit in mantissa bits.
44843 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44844 (__ieee754_powl): Test for y outside the range of signed 64-bit
44845 integers before using fistpll. Reduce 64-bit values to 63-bit
44846 ones as needed.
44847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44848 divide-by-zero is raised for zero to large negative powers.
44849 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44850 (__ieee754_powl): Test for y outside the range of signed 64-bit
44851 integers before using fistpll. Reduce 64-bit values to 63-bit
44852 ones as needed.
44853 * math/libm-test.inc (pow_test): Add more tests.
44854
eb96ffb0
L
448552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44856
44857 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44858 <stdio-common/_itoa.h>.
44859 * debug/segfault.c: Likewise.
44860 * elf/dl-cache.c: Likewise.
44861 * elf/dl-minimal.c: Likewise.
44862 * elf/dl-misc.c: Likewise.
44863 * elf/dl-sysdep.c: Likewise.
44864 * elf/dl-version.c: Likewise.
44865 * elf/rtld.c: Likewise.
44866 * hurd/hurdsock.c: Likewise.
44867 * hurd/lookup-retry.c: Likewise.
44868 * malloc/malloc.c: Likewise.
44869 * malloc/mtrace.c: Likewise.
44870 * nscd/nscd_getgr_r.c: Likewise.
44871 * nscd/nscd_getpw_r.c: Likewise.
44872 * nscd/nscd_getserv_r.c: Likewise.
44873 * posix/getopt_init.c: Likewise.
44874 * posix/wordexp.c: Likewise.
44875 * stdio-common/_itoa.c: Likewise.
44876 * stdio-common/printf_fphex.c: Likewise.
44877 * stdio-common/vfprintf.c: Likewise.
44878 * string/_strerror.c: Likewise.
44879 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44880 * sysdeps/i386/i686/hp-timing.h: Likewise.
44881 * sysdeps/mach/_strerror.c: Likewise.
44882 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44883 * sysdeps/mach/hurd/sethostid.c: Likewise.
44884 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44885 * sysdeps/mach/xpg-strerror.c: Likewise.
44886 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44887 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44888 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44889 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44890 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44891 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44892 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44893 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44894 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44895 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44896 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44897 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44898 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44899 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44900 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44901 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44902 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44903 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44904 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44905 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44906 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44907
44908 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44909
44910 * stdio-common/_itoa.h: Moved to ...
44911 * sysdeps/generic/_itoa.h: Here.
44912
44913 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44914
44915 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44916 instead of "_itoa.h" and "_itowa.h".
44917 * stdio-common/vfprintf.: Likewise.
44918
d1af992d
L
449192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44920
44921 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44922 <bits/wordsize.h>.
44923 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44924 (__signbit): Likwise.
44925 (llrintf): Likwise.
44926 (llrint): Likwise.
44927
114883e0
L
449282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44929
44930 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44931 __WORDSIZE != 64.
44932
c135cc1b
JM
449332012-03-20 Joseph Myers <joseph@codesourcery.com>
44934
44935 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44936 OVERFLOW_EXCEPTION_OK.
44937 * math/libm-test.inc ("Philosophy"): Update comment about
44938 exception testing.
44939 (OVERFLOW_EXCEPTION): Define.
44940 (OVERFLOW_EXCEPTION_OK): Likewise.
44941 (INVALID_EXCEPTION_OK): Renumber.
44942 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44943 (IGNORE_ZERO_INF_SIGN): Likewise.
44944 (test_exceptions): Handle FE_OVERFLOW.
44945 (exp10_test): Expect overflow exceptions.
44946 (exp2_test): Likewise.
44947 (expm1_test): Likewise.
44948 (nextafter_test): Likewise.
44949 (pow_test): Likewise.
44950 (scalbn_test): Likewise.
44951 (scalbln_test): Likewise.
44952
95443d88
L
449532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44954
44955 * sysdeps/x86_64/bits/atomic.h
44956 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44957 64bit integer.
44958 (atomic_exchange_acq): Likewise.
44959 (__arch_exchange_and_add_body): Likewise.
44960 (__arch_add_body): Likewise.
44961 (atomic_add_negative): Likewise.
44962 (atomic_add_zero): Likewise.
44963
490df6c4
L
449642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44965
c2722551 44966 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
44967 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44968
5e52b189
L
449692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44970
44971 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44972 Check __x86_64__ instead of __WORDSIZE.
44973
a9879d4c
L
449742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44975
44976 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44977
5df98260
DM
449782012-03-19 David S. Miller <davem@davemloft.net>
44979
e1497744
DM
44980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44981
5df98260
DM
44982 * sysdeps/sparc/fpu/fenv_private.h: New file.
44983 * sysdeps/sparc/fpu/math_private.h: Use it.
44984 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44985 Remove.
57f41c40 44986 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
44987 (libc_feholdexcept_setroundl): Remove.
44988 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44989 Remove.
44990 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44991 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44992
b4c35121
L
449932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44994
44995 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44996 int64_t instead of long int.
44997 (INSERT_WORDS64): Likwise.
44998
56965fd7
L
449992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45000
45001 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45002 _Unwind_GetCFA return to _Unwind_Ptr first.
45003
83d1aec8
JM
450042012-03-19 Joseph Myers <joseph@codesourcery.com>
45005
1897ad44
JM
45006 [BZ #13629]
45007 * math/s_clog.c: Include <float.h>.
45008 (__clog): Scale large or subnormal inputs.
45009 * math/s_clogf.c: Likewise.
45010 * math/s_clogl.c: Likewise.
45011 * math/s_clog10.c: Include <float.h>.
45012 (M_LOG10_2): Define.
45013 (__clog10): Scale large or subnormal inputs.
45014 * math/s_clog10f.c: Likewise.
45015 * math/s_clog10l.c: Likewise.
45016 * math/libm-test.inc (clog_test): Add more tests.
45017 (clog10_test): Likewise.
45018 * sysdeps/i386/fpu/libm-test-ulps: Update.
45019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45020
7726d6a9
JM
45021 [BZ #11451]
45022 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45023 x and y.
45024 * math/libm-test.inc (atan2_test): Add another test.
45025
83d1aec8
JM
45026 * Makerules (common-objdir-compile): Remove.
45027 * sysdeps/unix/Makefile (config-generated): Do not add
45028 $(unix-generated) to variable.
45029 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45030 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45031 Remove rule.
45032 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45033 Likewise.
45034 [generic bits/local_lim.h] (before-compile): Do not append to
45035 variable.
45036 [generic bits/local_lim.h] (common-generated): Likewise.
45037 [generic sys/param.h] (before-compile): Do not append to variable.
45038 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45039 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45040 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45041 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45042 include.
45043 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45044 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45045 [generic sys/param.h] ($(addprefix
45046 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45047 [generic sys/param.h] (common-generated): Do not append to
45048 variable.
45049 [generic sys/param.h] (sysdep_headers): Likewise.
45050 [generic bits/errno.h] (before-compile): Do not append to
45051 variable.
45052 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45053 rule.
45054 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45055 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45056 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45057 [generic bits/errno.h] (common-generated): Do not append to
45058 variable.
45059 [generic bits/ioctls.h] (before-compile): Do not append to
45060 variable.
45061 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45062 rule.
45063 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45064 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45065 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45066 rule.
45067 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45068 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45069 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45070 [generic bits/ioctls.h] (common-generated): Do not append to
45071 variable.
45072 [generic sys/syscall.h] (syscall.h): Remove variable.
45073 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45074 rule.
45075 [generic sys/syscall.h] (before-compile): Do not append to
45076 variable.
45077 [generic sys/syscall.h] (common-generated): Likewise.
45078 * sysdeps/unix/errnos-tmpl.c: Remove file.
45079 * sysdeps/unix/errnos.awk: Likewise.
45080 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45081 * sysdeps/unix/ioctls.awk: Likewise.
45082 * sysdeps/unix/mk-local_lim.c: Likewise.
45083 * sysdeps/unix/snarf-ioctls: Likewise.
45084
4851a949
RH
450852012-03-19 Richard Henderson <rth@twiddle.net>
45086
bd37f2ee
RH
45087 * sysdeps/i386/fpu/fenv_private.h: New file.
45088 * sysdeps/i386/fpu/math_private.h: Use it.
45089 (math_opt_barrier, math_force_eval): Remove.
45090 (libc_feholdexcept_setround_53bit): Remove.
45091 (libc_feupdateenv_53bit): Remove.
45092 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45093 (math_opt_barrier, math_force_eval): Remove.
45094 (libc_feholdexcept): Remove.
45095 (libc_feholdexcept_setround): Remove.
45096 (libc_fetestexcept, libc_fesetenv): Remove.
45097 (libc_feupdateenv_test): Remove.
45098 (libc_feupdateenv, libc_feholdsetround): Remove.
45099 (libc_feresetround): Remove.
45100
d0adc922
RH
45101 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45102 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45103
0fe0f1f8
RH
45104 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45105 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45106 (libc_feupdateenv_testl): New.
45107 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45108 (libc_feupdateenv_testf): New.
45109 (libc_feupdateenv): Use libc_feupdateenv_test.
45110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45111 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45112
eb92c487
RH
45113 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45114 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45115 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45116 (libc_feresetround_noex): New.
45117 (libc_feresetround_noexf): New.
45118 (libc_feresetround_noexl): New.
45119 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45120 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45121 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45122 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45123 SET_RESTORE_ROUND.
45124 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45126 (__cos): Likewise.
45127 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45128 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45129 SET_RESTORE_ROUND_NOEX.
45130 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45131 SET_RESTORE_ROUND_NOEXF.
45132 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45133 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45134 (libc_feholdsetroundf): New.
45135 (libc_feresetround, libc_feresetroundf): New.
45136
7d2e8012
RH
45137 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45138 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45139 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45140
b4dabbb4
RH
45141 * sysdeps/generic/math_private.h: Include <fenv.h>.
45142 (default_libc_feholdexcept): New.
45143 (default_libc_feholdexcept_setround): New.
45144 (default_libc_fesetenv, default_libc_feupdateenv): New.
45145 (libc_feholdexcept): Only define if undefined.
45146 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45147 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45148 (libc_feholdexcept_setroundl): Likewise.
45149 (libc_feholdexcept_setround_53bit): Likewise.
45150 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45151 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45152 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45153 (libc_feupdateenv_53bit): Likewise.
45154 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45155 (libc_feholdexcept): Convert from macro to inline function.
45156 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45157 (libc_fesetenv, libc_feupdateenv): Likewise.
45158
4851a949
RH
45159 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45160 not previously defined.
45161 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45162 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45163 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45164 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45165 * sysdeps/ieee754/flt-32/math_private.h: New file.
45166 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45167 math_private.h below SET_FLOAT_WORD.
45168 (__isnan, __isinf_ns, __finite): Remove.
45169 (__isnanf, __isinf_nsf, __finitef): Remove.
45170
e79d442e
AS
451712012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45172
45173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45174
90b80344
DM
451752012-03-17 David S. Miller <davem@davemloft.net>
45176
45177 [BZ #6471]
45178 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45179 for 2.16.
45180
edc21804
DM
451812012-03-16 David S. Miller <davem@davemloft.net>
45182
77e927af
DM
45183 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45184 warnings.
45185
374976dd
DM
45186 [BZ #6471]
45187 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45188 properly.
45189 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45190 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45191 sysdep_routines when subdir is sysvipc.
45192 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45193 __getshmlba helper.
45194
edc21804
DM
45195 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45196
473c3ef3
L
451972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45198
45199 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45200 [__LP64__].
45201
eb0f39b6
L
452022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45203
45204 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45205 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45206 (__lround): Renamed to ...
45207 (__llround): This. Replace long int with long long int.
45208 Define lround functions as aliases of llround functions.
45209 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45210
6b6cd74b
L
452112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45212
45213 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45214 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45215 adresses to uintptr_t. Replace "long int" and "unsigned long
45216 int" with "greg_t" on va_arg.
45217
f1a77b01
L
452182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45219
45220 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45221 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45222
45223 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45224 Move e_machine check before EI_CLASS check. Handle x32
45225 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45226 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45227 SKIP_EM_IA_64 and include
45228 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45229
45230 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45231 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45232 (add_system_dir): New macro.
45233
45234 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45235 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45236
11b90b9f
JM
452372012-03-16 Joseph Myers <joseph@codesourcery.com>
45238
c36e1d23
JM
45239 [BZ #2551]
45240 [BZ #2552]
45241 [BZ #2553]
45242 [BZ #2554]
45243 [BZ #2562]
45244 [BZ #2563]
45245 [BZ #2565]
45246 [BZ #2566]
45247 [BZ #2576]
45248 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45249 (y0): Likewise.
45250 * math/w_j0f.c (j0f): Likewise.
45251 (y0f): Likewise.
45252 * math/w_j0l.c (__j0l): Likewise.
45253 (__y0l): Likewise.
45254 * math/w_j1.c (j1): Likewise.
45255 (y1): Likewise.
45256 * math/w_j1f.c (j1f): Likewise.
45257 (y1f): Likewise.
45258 * math/w_j1l.c (__j1l): Likewise.
45259 (__y1l): Likewise.
45260 * math/w_jn.c (jn): Likewise.
45261 (yn): Likewise.
45262 * math/w_jnf.c (jnf): Likewise.
45263 (ynf): Likewise.
45264 * math/w_jnl.c (__jnl): Likewise.
45265 (__ynl): Likewise.
45266 * math/libm-test.inc (j0_test): Add more tests.
45267 (j1_test): Likewise.
45268 (jn_test): Likewise. Add trailing semicolon to existing test.
45269 (y0_test): Likewise.
45270 (y1_test): Likewise.
45271 * sysdeps/i386/fpu/libm-test-ulps: Update.
45272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45273
11b90b9f
JM
45274 [BZ #13851]
45275 [BZ #13854]
45276 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45277 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45278 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45279 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45280 (__tanl): Set errno for infinite argument.
45281 * sysdeps/i386/fpu/mptan.c: Remove.
45282 * sysdeps/i386/fpu/s_tan.S: Likewise.
45283 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45284 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45285 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45286 * math/libm-test.inc (tan_test): Add more tests and enable more
45287 tests for double and long double.
45288 * sysdeps/i386/fpu/libm-test-ulps: Update.
45289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45290
6a1bd2a1
JK
452912012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45292
45293 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45294 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45295
10a803e0
RM
452962012-03-16 Roland McGrath <roland@hack.frob.com>
45297
45298 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45299 * configure.in: Use it for both main tree and add-ons.
45300 * configure: Regenerated.
45301
f196c7f7
L
453022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45303
45304 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45305
8848d99d
JM
453062012-03-16 Joseph Myers <joseph@codesourcery.com>
45307
96cbe7f4
JM
45308 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45309 in comment.
45310
8848d99d
JM
45311 [BZ #13851]
45312 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45313 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45314 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45315 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45316 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45317 infinite argument.
45318 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45319 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45320 != 0 for prec == 2.
45321 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45322 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45323 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45324 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45325 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45326 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45327 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45328 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45329 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45330 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45331 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45332 * math/libm-test.inc (cos_test): Add more tests and enable more
45333 tests for long double.
45334 (sin_test): Likewise.
45335 (sincos_test): Likewise.
45336 * sysdeps/i386/fpu/libm-test-ulps: Update.
45337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45338
dd7f4703
DM
453392012-03-16 David S. Miller <davem@davemloft.net>
45340
45341 * sysdeps/sparc/fpu/math_private.h: New file.
45342
006f1daa
DM
453432012-03-15 David S. Miller <davem@davemloft.net>
45344
c0c83bc8
DM
45345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45346 file.
e6a62e18 45347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45349 file.
e6a62e18
DM
45350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45356 sysdep routines.
45357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45358
88cb87d9
DM
45359 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45360 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45361
006f1daa 45362 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
45363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45364 sparc-ifunc.h
006f1daa 45365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
45366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45367 Likewise.
45368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45369 Likewise.
006f1daa
DM
45370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
45373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45374 Likewise.
006f1daa
DM
45375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
45379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45380 Likewise.
45381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45382 Likewise.
006f1daa
DM
45383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45390 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45404 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45407
11e0098e
AS
454082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45409
45410 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45411 scaling.
45412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45413
e85b09d0
AJ
454142012-03-15 Andreas Jaeger <aj@suse.de>
45415
45416 [BZ #13852]
45417 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45418 ieee754/flt-32 implementation for sin, cos and sincos.
45419 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45420 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45421 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45422 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45423 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45424 ieee754/flt-32 implementation for tan.
45425
45426 * math/libm-test.inc (cos_test): Enable some large input tests for
45427 float as well
45428 (sin_test): Likewise.
45429 (sincos_test): Likewise.
45430 (tan_test): Add tests for large input.
45431
45432 * sysdeps/i386/fpu/libm-test-ulps: Update.
45433
81c64153
AJ
454342012-03-15 Andreas Jaeger <aj@suse.de>
45435
45436 [BZ #13658]
45437 * math/libm-test.inc (cos_test): Add more test cases.
45438 (sin_test): Likewise.
45439 (sincos_test): Likewise.
45440
7bbfa5c6
AJ
454412012-03-15 Andreas Jaeger <aj@suse.de>
45442
45443 [BZ #13837]
45444 * math/libm-test.inc (cos_test): Add a test case for large input
45445 value.
45446 (sin_test): Likewise.
45447 (sincos_test): Likewise.
45448
57f41c40
AS
454492012-03-15 Andreas Jaeger <aj@suse.de>
45450 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
45451
45452 [BZ #13658]
0671f479 45453 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
45454 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45455 * sysdeps/i386/fpu/branred.c: Likewise.
45456 * sysdeps/i386/fpu/dosincos.c: Likewise.
45457 * sysdeps/i386/fpu/mpa.c: Likewise.
45458 * sysdeps/i386/fpu/s_cos.S: Likewise.
45459 * sysdeps/i386/fpu/s_sin.S: Likewise.
45460 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45461 * sysdeps/i386/fpu/sincos32.c: Likewise.
45462
45463 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45464 Define.
45465 (libc_feupdateenv_53bit): Define.
45466 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45467 Define.
45468 (libc_feupdateenv_53bit): Define.
45469
45470 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45471 53 bit (without extend i386 double precision).
45472
45473 * math/libm-test.inc (sincos_test): Add tests for large input.
45474 (sin): Likewise.
45475 (cos): Likewise.
45476
45477 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45478
9cad04ea
AS
454792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45480
45481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45482
f7062b9a
DM
454832012-03-15 David S. Miller <davem@davemloft.net>
45484
45485 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45486 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45487 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45488 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
45500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45501 file.
f7062b9a 45502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
45503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45504 file.
f7062b9a 45505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
45506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45507 file.
f7062b9a 45508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
45509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45510 file.
f7062b9a
DM
45511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45513 fmin/fmax sysdep routines.
45514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45515
7bd951ff
DM
455162012-03-14 David S. Miller <davem@davemloft.net>
45517
559398ab
DM
45518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45523 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45524 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45525 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45539 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45540 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45541 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45547 routines.
45548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45549 file.
559398ab 45550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
45551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45552 file.
559398ab 45553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
45554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45555 file.
559398ab 45556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
45557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45558 file.
559398ab 45559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
45560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45561 file.
559398ab 45562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
45563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45564 file.
45565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45566 file.
45567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45568 file.
45569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45570 file.
45571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45572 New file.
45573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45574 file.
45575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45576 file.
559398ab 45577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
45578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45579 file.
559398ab 45580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45582 file.
559398ab 45583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
45584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45585 file.
559398ab 45586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
45587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45588 VIS3 routines.
559398ab
DM
45589
45590 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45591 New file.
45592
5a1c1e32
DM
45593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45594
eae47a36
DM
45595 * sysdeps/sparc/configure.in: New file.
45596 * sysdeps/sparc/configure: Generate.
45597 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45598 * configure: Regenerate.
45599 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45600 * config.make.in (have-as-vis3): New.
45601 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45602 available use -Av9d instead of -Av9a.
45603 * sysdeps/sparc/sparc64/Makefile: Likewise.
45604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
45605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45606 New file.
45607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45608 file.
45609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45610 New file.
45611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45612 file.
eae47a36
DM
45613 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45615 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45616 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45618
c0c83bc8
DM
45619 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45620 fzeros/fnegs to load 0x80000000 into a float register instead of
45621 using the stack.
7bd951ff
DM
45622 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45623
bd951ccb
JM
456242012-03-14 Joseph Myers <joseph@codesourcery.com>
45625
45626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45627 bits/syscall.h.
45628 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45629 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45630 ($(inst_includedir)/bits/syscall.h): Remove rule.
45631 ($(objpfx)bits/syscall.d): Include instead of
45632 $(objpfx)syscall-list.d.
45633 (generated): Change syscall-list.h and syscall-list.d to
45634 bits/syscall.h and bits/syscall.d.
45635
bb4e6db2
RM
456362012-03-14 Roland McGrath <roland@hack.frob.com>
45637
45638 [BZ #13846]
45639 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45640
aa4a2ae1
JM
456412012-03-14 Joseph Myers <joseph@codesourcery.com>
45642
e456826d
JM
45643 [BZ #13841]
45644 * math/s_csqrt.c: Include <float.h>.
45645 (__csqrt): Scale large or subnormal inputs.
45646 * math/s_csqrtf.c: Likewise.
45647 * math/s_csqrtl.c: Likewise.
45648 * math/libm-test.inc (csqrt_test): Add more tests.
45649 * sysdeps/i386/fpu/libm-test-ulps: Update.
45650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45651
aa4a2ae1
JM
45652 [BZ #13840]
45653 * math/libm-test.inc (hypot_test): Add more tests.
45654
7c10fd35
DM
456552012-03-13 David S. Miller <davem@davemloft.net>
45656
45657 [BZ #13840]
45658 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45659 double-precision for the calculation instead of scaling.
45660
f453b98b
JM
456612012-03-13 Joseph Myers <joseph@codesourcery.com>
45662
45663 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45664 manipulate bits before adding and subtracting TWO52[sx].
45665 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45667 Likewise.
45668 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45669
09a3453f
DM
456702012-03-13 David S. Miller <davem@davemloft.net>
45671
8e59da90
DM
45672 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45673 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45675 rtld-global-offsets.h
45676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45677
2a8ab7f2
DM
45678 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45679 large parameters.
45680
10f62770
DM
45681 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45682
5f0bdb18
DM
45683 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45684 'err' in the ifdef scope in which it is actually used.
45685
09a3453f
DM
45686 * nss/nss_db/db-init.c: Include string.h
45687
b4b2eb5e
DM
456882012-03-12 David S. Miller <davem@davemloft.net>
45689
98bb2f1c
DM
45690 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45691 masking out of the most significant byte of random value used.
45692 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45693 Fix coding style in previous change.
45694
b4b2eb5e
DM
45695 * sysdeps/unix/sysv/linux/kernel-features.h
45696 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45697 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45698 expression.
45699 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45700 later.
45701
6e226b09
DM
457022012-03-11 David S. Miller <davem@davemloft.net>
45703
a1bcbd40
DM
45704 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45705 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45706 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45707 for 'resultvar' otherwise things get truncated on 64-bit.
45708
cb9d6174
DM
45709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45710 Fix masking out of the most significant byte of random value used.
45711
6e226b09
DM
45712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45713
058c132d
AS
457142012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45715
45716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45717
2d2cd515
DM
457182012-03-09 David S. Miller <davem@davemloft.net>
45719
45720 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45721 variables with appropriate CPP guards.
57f41c40
AS
45722 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45723 from the frame pointer, not the stack pointer. Correct layout
45724 comments. Fix test on resulting framesize and the management of
45725 the outregs buffer for pltexit. Preserve floating point return
45726 values across _dl_call_pltexit call.
2d2cd515
DM
45727 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45728 framesize and the management of the outregs buffer for pltexit.
45729 Preserve floating point return values across _dl_call_pltexit
45730 call.
57f41c40
AS
45731 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45732 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45733 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
45734 (print_exit): Fix format string for return register value.
45735
9a07f9d0
JM
457362012-03-10 Joseph Myers <joseph@codesourcery.com>
45737
45738 * sunrpc/Makefile (others): Add rpcgen.
45739 ($(objpfx)rpcgen): Remove special build rule and dependency on
45740 libc.
45741 * sunrpc/rpcgen.c: New file.
45742
547b5e30
PE
457432012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45744
c524201a
PE
45745 [BZ #13673]
45746 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45747 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45748 * sysdeps/i386/crti.S: Likewise.
45749 * sysdeps/i386/crtn.S: Likewise.
45750 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45751 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45752 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45753 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45754 * sysdeps/sh/crti.S: Likewise.
45755 * sysdeps/sh/crtn.S: Likewise.
45756 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45757
7b6235f2
PE
45758 [BZ #13673]
45759 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45760 with URL.
45761 * locale/programs/locfile-kw.gperf: Likewise.
45762 * locale/programs/charmap-kw.h: Regenerated.
45763 * locale/programs/locfile-kw.h: Likewise.
45764
547b5e30
PE
45765 [BZ #13673]
45766 * intl/plural.y: Replace FSF snail mail address with URL.
45767 * intl/plural.c: Regenerated.
45768
5f0a5dae
RH
457692012-03-09 Richard Henderson <rth@twiddle.net>
45770
45771 * include/math_private.h: Remove file.
45772 * math/math_private.h: Move file ...
45773 * sysdeps/generic/math_private.h: ... here.
45774
b8c03620
RH
45775 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45776 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45777 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45778
4e234f5d 45779 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
45780 and <math_private.h>.
45781 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45782 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45783 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45784 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45785 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45786 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45787 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45789 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45790 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45792 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45793 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45794 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45795 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45796 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45797 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45798 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45799 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45800 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45802 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45803 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45804 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45805 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45806 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45807 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45808 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45810 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45811 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45812 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45813 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45814 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45815 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45816 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45817 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45818 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45819 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45820 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45821 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45822 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45823 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45824 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45825 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45826 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45827 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45828 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45829 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45830 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45831 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45832 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45833 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45834 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45835 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45836 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45837 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45838 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45839 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45840 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45841 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45842 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45844 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45845 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45846 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45847 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45848 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45849 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45850 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45851 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45852 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45853 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45854 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45855 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45856 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45860 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45861 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45862 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45863 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45864 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45865 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45866 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45867 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45868 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45869 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45870 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45871 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45872 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45873 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45874 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45875 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45876 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45877 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45878 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45879 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45880 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45881 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45882 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45883 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45884 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45885 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45886 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45887 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45888 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45889 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45890 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45891 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45892 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45893 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45894 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45895 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45896 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45897 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45898 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45899 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45900 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45901 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45902 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45903 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45904 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45905 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45906 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45907 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45908 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45909 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45910 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45911 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45912 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45913 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45914 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45915 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45916 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45917 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45918 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45919 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45920 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45921 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45922 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45923 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45924 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45925 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45926 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45927 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45928 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45929 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45930 * sysdeps/ieee754/k_standard.c: Likewise.
45931 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45936 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45937 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45938 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45941 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45943 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45944 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45945 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45958 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45959 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45960 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45961 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45962 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45963 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45964 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45966 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45967 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45968 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45969 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45970 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45972 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45973 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45974 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45975 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45976 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45977 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45978 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45979 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45981 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45982 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45983 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45984 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45985 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45986 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45987 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45992 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45994 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45995 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45996 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45997 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45998 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46004 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46005 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46008 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46012 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46013 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46014 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46019 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46020 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46022 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46023 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46024 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46025 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46027 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46028 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46032 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46034 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46035 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46036 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46037 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46039 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46044 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46046 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46047 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46048 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46049 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46050 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46051 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46052 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46053 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46054 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46055 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46056 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46057 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46058 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46059 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46060 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46061 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46062 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46063 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46065 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46066 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46068 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46069 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46070 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46071 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46072 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46073 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46074 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46075 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46076 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46078 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46079 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46080 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46081 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46082 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46085 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46086 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46089 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46091 * sysdeps/ieee754/s_lib_version.c: Likewise.
46092 * sysdeps/ieee754/s_matherr.c: Likewise.
46093 * sysdeps/ieee754/s_signgam.c: Likewise.
46094 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46095 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46096 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46097 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46098 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46099 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46100 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46101 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46102 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46103 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46104 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46105 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46106 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46107 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46108 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46109 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46110 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46111 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46112 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46113 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46114 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46115
1991fa03
JM
461162012-03-09 Joseph Myers <joseph@codesourcery.com>
46117
46118 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46119 * sunrpc/rpc_main.c: Likewise.
46120 * sunrpc/rpc_svcout.c: Likewise.
46121
60d6f5a6
DM
461222012-03-09 David S. Miller <davem@davemloft.net>
46123
46124 * include/math_private.h: New file.
46125
4962050e
JM
461262012-03-09 Joseph Myers <joseph@codesourcery.com>
46127
02a6f887
JM
46128 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46129 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46130 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46131 from <bits/socket_type.h>.
46132 (enum __socket_type): Don't define here.
46133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46135 bits/socket_type.h.
46136
c6e013c1
JM
46137 [BZ #13566]
46138 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46139 checking __USE_GNU.
46140
4962050e
JM
46141 * Makerules ($(inst_includedir)/%.h): New rule.
46142 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46143 (install-others): Remove variable setting.
46144 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46145
38842f45
RH
461462012-03-08 Richard Henderson <rth@twiddle.net>
46147
67bb6da6
RH
46148 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46149 from macro to inline function; merge with the
46150 !__LIBC_INTERNAL_MATH_INLINES version.
46151 (__ieee754_sqrtf): Likewise.
46152
15194b4b
RH
46153 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46154 to inline function.
46155 (__rintf, __floor, __floorf): Likewise.
46156
64e21ede
RH
46157 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46158 macro to inline function.
46159 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46160
38842f45
RH
46161 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46162 not <math/math_private.h>.
46163
c64bf5fe
DM
461642012-03-08 David S. Miller <davem@davemloft.net>
46165
46166 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46167 copyright year.
46168 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46169
82d86f28
TS
461702012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46171
46172 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46173 normalization.
46174 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46175 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46176
aea5d727
UD
461772012-03-08 Ulrich Drepper <drepper@gmail.com>
46178
46179 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46180 be defined individually, they must be defined as a block. Define
46181 S for printing a string instead of hidint the different by using a
46182 macro for adding the 'l'.
46183 * stdio-common/tst-fphex-wide.c: Adjust.
46184
70bca0a3
MP
461852012-03-07 Marek Polacek <polacek@redhat.com>
46186
46187 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46188
65b81130
MP
461892012-03-08 Marek Polacek <polacek@redhat.com>
46190
46191 [BZ #13806]
46192 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46193 * stdio-common/tst-fphex.c: Define a few macros to make the
46194 test reusable. Use them.
46195 * stdio-common/tst-fphex-wide.c: New file.
46196
07037eeb
JM
461972012-03-08 Joseph Myers <joseph@codesourcery.com>
46198
a7a93d50
JM
46199 [BZ #6911]
46200 * manual/macros.texi (gnusystems): New macro.
46201 (nongnusystems): Likewise.
46202 (gnulinuxhurdsystems): Likewise.
46203 (gnuhurdsystems): Likewise..
46204 (gnulinuxsystems): Likewise.
46205 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46206 variants of the GNU system, not "GNU system".
46207 * manual/conf.texi: Likewise.
46208 * manual/errno.texi: Likewise. Update example of errno macro
46209 expansion.
46210 * manual/filesys.texi: Likewise.
46211 (getumask): Document as specific to GNU/Hurd.
46212 * manual/install.texi: Likewise. Reword some references to
46213 GNU/Linux.
46214 * manual/intro.texi: Likewise.
46215 * manual/io.texi: Likewise.
46216 (File Name Portability): Detail which constraints are inapplicable
46217 to all GNU systems and which are only inapplicable to GNU/Hurd.
46218 * manual/job.texi: Likewise.
46219 * manual/llio.texi: Likewise.
46220 (O_NOCTTY): Document as present on GNU/Linux.
46221 * manual/maint.texi: Likewise.
46222 * manual/memory.texi: Likewise.
46223 * manual/pattern.texi: Likewise.
46224 * manual/pipe.texi: Likewise.
46225 * manual/process.texi: Likewise.
46226 * manual/resource.texi: Likewise.
46227 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46228 child on GNU/Hurd.
46229 * manual/setjmp.texi: Likewise.
46230 * manual/signal.texi: Likewise.
46231 * manual/startup.texi: Likewise.
46232 * manual/stdio.texi: Likewise.
46233 * manual/terminal.texi: Likewise.
46234 (ONLCR): Document as POSIX.
46235 (OXTABS): Document availability on GNU/Linux as XTABS.
46236 (ONOEOT): Document availability separately from other bits.
46237 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46238 * manual/time.texi: Likewise.
46239 * manual/users.texi: Likewise.
46240 * INSTALL: Regenerated.
46241 * sysdeps/gnu/errlist.c: Regenerated.
46242
07037eeb
JM
46243 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46244 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46245 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46246 puts.
46247 * configure: Regenerated.
46248
d1d3431a
JM
462492012-03-07 Joseph Myers <joseph@codesourcery.com>
46250
af6a1e37
JM
46251 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46252 default includes instead of AC_HEADER_CHECK.
46253 * sysdeps/i386/configure: Regenerated.
46254
d1d3431a
JM
46255 [BZ #10716]
46256 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46257 * math/s_cacoshf.c (__cacoshf): Likewise.
46258 * math/s_cacoshl.c (__cacoshl): Likewise.
46259 * math/s_casinh.c (__casinh): Set signs of result from argument.
46260 * math/s_casinhf.c (__casinhf): Likewise.
46261 * math/s_casinhl.c (__casinhl): Likewise.
46262 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46263 (casinh_test): Add more tests.
46264 * sysdeps/i386/fpu/libm-test-ulps: Update.
46265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46266
482ff4da
UD
462672012-03-07 Ulrich Drepper <drepper@gmail.com>
46268
872fda05
UD
46269 * po/zh_TW.po: Update from translation team.
46270
a4300c7a
UD
46271 * login/Makefile (distribute): Remove variable.
46272 * catgets/Makefile: Likewise.
46273 * mach/Makefile: Likewise.
46274 * malloc/Makefile: Likewise.
46275 * misc/Makefile: Likewise.
46276 * iconv/Makefile: Likewise.
46277 * nscd/Makefile: Likewise.
46278 * hurd/Makefile: Likewise.
46279 * manual/Makefile: Likewise.
46280 * locale/Makefile: Likewise.
46281 * intl/Makefile: Likewise.
46282 * conform/Makefile: Likewise.
46283 * nss/Makefile: Likewise.
46284 * time/Makefile: Likewise.
46285 * soft-fp/Makefile: Likewise.
46286 * dirent/Makefile: Likewise.
46287 * gmon/Makefile: Likewise.
46288 * po/Makefile: Likewise.
46289 * rt/Makefile: Likewise.
46290 * socket/Makefile: Likewise.
46291 * math/Makefile: Likewise.
46292 * signal/Makefile: Likewise.
46293 * debug/Makefile: Likewise.
46294 * elf/Makefile: Likewise.
46295 * timezone/Makefile: Likewise.
46296 * stdlib/Makefile: Likewise.
46297 * iconvdata/Makefile: Likewise.
46298 * sunrpc/Makefile: Likewise.
46299 * io/Makefile: Likewise.
46300 * argp/Makefile: Likewise.
46301 * inet/Makefile: Likewise.
46302 * hesiod/Makefile: Likewise.
46303 * grp/Makefile: Likewise.
46304 * csu/Makefile: Likewise.
46305 * wctype/Makefile: Likewise.
46306 * crypt/Makefile: Likewise.
46307 * libio/Makefile: Likewise.
46308 * string/Makefile: Likewise.
46309 * nis/Makefile: Likewise.
46310 * resolv/Makefile: Likewise.
46311 * stdio-common/Makefile: Likewise.
46312 * wcsmbs/Makefile: Likewise.
46313 * dlfcn/Makefile: Likewise.
46314 * posix/Makefile: Likewise.
46315
3b7c4e74 46316 [BZ #6959]
482ff4da
UD
46317 * timezone/Makefile: Don't install timezone files, just the programs
46318 and scripts.
46319
f72ed77d
UD
463202012-03-06 Ulrich Drepper <drepper@gmail.com>
46321
a000466f
UD
46322 * nss/databases.def: Add missing gshadow entry.
46323
f72ed77d
UD
46324 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46325
a53b7a4e
MP
463262012-03-06 Marek Polacek <polacek@redhat.com>
46327
46328 [BZ #13726]
46329 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46330 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46331 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46332 * stdio-common/tst-long-dbl-fphex.c: New file.
46333
e9258400
DM
463342012-03-06 David S. Miller <davem@davemloft.net>
46335
46336 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46337 (set_obp_int): New function.
46338 (get_obp_int): New function.
46339 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46340 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46341 Avoid unused variable warnings on 'val' and use builtin_expect.
46342 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46343 __builtin_expect.
e9258400
DM
46344 (INLINE_CLONE_SYSCALL): Likewise.
46345
3bd2c723
DM
463462012-03-05 David S. Miller <davem@davemloft.net>
46347
46348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46349
bbb78d03
AS
463502012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46351
884c5db4
AS
46352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46353
bbb78d03
AS
46354 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46355 only for |x| >= 40.
46356 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46357
1c9f702a 463582012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46359
46360 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46361 Replace gettimeofday with __vdso_gettimeofday.
46362
7be16f82
RM
46363 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46364 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46365 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
46366
46367 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46368 time with __vdso_time.
46369
ed58a00f
JM
463702012-03-05 Joseph Myers <joseph@codesourcery.com>
46371
46372 * manual/lang.texi (size_t): Note types to which size_t may be
46373 equivalent with the GNU C Library, but do not describe when
46374 differences between them are significant.
46375
30ee4ced
AJ
463762012-03-05 Andreas Jaeger <aj@suse.de>
46377
46378 * sysdeps/i386/fpu/libm-test-ulps: Update.
46379
b7cd39e8
JM
463802012-03-05 Joseph Myers <joseph@codesourcery.com>
46381
46382 [BZ #3976]
46383 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46384 (__ieee754_pow): Save and restore rounding mode and use
46385 round-to-nearest for main computations.
46386 * math/libm-test.inc (pow_test_tonearest): New function.
46387 (pow_test_towardzero): Likewise.
46388 (pow_test_downward): Likewise.
46389 (pow_test_upward): Likewise.
46390 (main): Call the new functions.
46391 * sysdeps/i386/fpu/libm-test-ulps: Update.
46392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
46393
46394 [BZ #3976]
46395 * math/libm-test.inc (cosh_test_tonearest): New function.
46396 (cosh_test_towardzero): Likewise.
46397 (cosh_test_downward): Likewise.
46398 (cosh_test_upward): Likewise.
46399 (sinh_test_tonearest): Likewise.
46400 (sinh_test_towardzero): Likewise.
46401 (sinh_test_downward): Likewise.
46402 (sinh_test_upward): Likewise.
46403 (main): Call the new functions.
46404 * sysdeps/i386/fpu/libm-test-ulps: Update.
46405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46406
6c6a98c9
TV
464072012-03-05 Tom de Vries <tom@codesourcery.com>
46408
46409 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46410 default stack guard is set in last bytes.
46411 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46412
21bb2d2e 464132012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 46414
21bb2d2e 46415 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 46416
21bb2d2e
AJ
46417 [BZ #13656]
46418 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46419 possibly allocate from heap instead of stack.
46420 * stdio-common/bug-vfprintf-nargs.c: New file.
46421 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 46422
c6922934
AS
464232012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46424
46425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46426
bc957d53
MP
464272012-03-03 Marek Polacek <polacek@redhat.com>
46428
46429 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46430 * math/math_private.h: Likewise.
46431 * stdlib/tst-strtod.c: Likewise.
46432 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46433 * sysdeps/x86_64/bits/atomic.h: Likewise.
46434
6358490d
DM
464352012-03-02 David S. Miller <davem@davemloft.net>
46436
46437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46441 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46442 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46443 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46444 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46445
01ae168d
RM
464462012-03-02 Roland McGrath <roland@hack.frob.com>
46447
d9a17c07
RM
46448 [BZ #13792]
46449 * manual/examples/README: New file, says the example source files
46450 can be used under GPL>=2.
46451 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46452 line containing just "*/".
46453 * manual/examples/add.c: Add copyright header (GPL>=2).
46454 * manual/examples/argp-ex1.c: Likewise.
46455 * manual/examples/argp-ex2.c: Likewise.
46456 * manual/examples/argp-ex3.c: Likewise.
46457 * manual/examples/argp-ex4.c: Likewise.
46458 * manual/examples/atexit.c: Likewise.
46459 * manual/examples/db.c: Likewise.
46460 * manual/examples/dir.c: Likewise.
46461 * manual/examples/dir2.c: Likewise.
46462 * manual/examples/execinfo.c: Likewise.
46463 * manual/examples/filecli.c: Likewise.
46464 * manual/examples/filesrv.c: Likewise.
46465 * manual/examples/fmtmsgexpl.c: Likewise.
46466 * manual/examples/genpass.c: Likewise.
46467 * manual/examples/inetcli.c: Likewise.
46468 * manual/examples/inetsrv.c: Likewise.
46469 * manual/examples/isockad.c: Likewise.
46470 * manual/examples/longopt.c: Likewise.
46471 * manual/examples/memopen.c: Likewise.
46472 * manual/examples/memstrm.c: Likewise.
46473 * manual/examples/mkfsock.c: Likewise.
46474 * manual/examples/mkisock.c: Likewise.
46475 * manual/examples/mygetpass.c: Likewise.
46476 * manual/examples/pipe.c: Likewise.
46477 * manual/examples/popen.c: Likewise.
46478 * manual/examples/rprintf.c: Likewise.
46479 * manual/examples/search.c: Likewise.
46480 * manual/examples/select.c: Likewise.
46481 * manual/examples/setjmp.c: Likewise.
46482 * manual/examples/sigh1.c: Likewise.
46483 * manual/examples/sigusr.c: Likewise.
46484 * manual/examples/stpcpy.c: Likewise.
46485 * manual/examples/strdupa.c: Likewise.
46486 * manual/examples/strftim.c: Likewise.
46487 * manual/examples/strncat.c: Likewise.
46488 * manual/examples/subopt.c: Likewise.
46489 * manual/examples/swapcontext.c: Likewise.
46490 * manual/examples/termios.c: Likewise.
46491 * manual/examples/testopt.c: Likewise.
46492 * manual/examples/testpass.c: Likewise.
46493 * manual/examples/timeval_subtract.c: Likewise.
46494
01ae168d
RM
46495 [BZ #13792]
46496 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46497 function to ...
46498 * manual/timeval_subtract.c.texi: ... here, new file.
46499
49efa33d
DM
465002012-03-02 David S. Miller <davem@davemloft.net>
46501
46502 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46503
28afd92d
JM
465042012-03-02 Joseph Myers <joseph@codesourcery.com>
46505
804360ed
JM
46506 [BZ #3976]
46507 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46508 (__sin): Save and restore rounding mode and use round-to-nearest
46509 for all computations.
46510 (__cos): Save and restore rounding mode and use round-to-nearest
46511 for all computations.
46512 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46513 <fenv.h>.
46514 (tan): Save and restore rounding mode and use round-to-nearest for
46515 all computations.
46516 * math/libm-test.inc (cos_test_tonearest): New function.
46517 (cos_test_towardzero): Likewise.
46518 (cos_test_downward): Likewise.
46519 (cos_test_upward): Likewise.
46520 (sin_test_tonearest): Likewise.
46521 (sin_test_towardzero): Likewise.
46522 (sin_test_downward): Likewise.
46523 (sin_test_upward): Likewise.
46524 (tan_test_tonearest): Likewise.
46525 (tan_test_towardzero): Likewise.
46526 (tan_test_downward): Likewise.
46527 (tan_test_upward): Likewise.
46528 (main): Call the new functions.
46529 * sysdeps/i386/fpu/libm-test-ulps: Update.
46530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46531
a6d06d7b
JM
46532 [BZ #10135]
46533 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46534 small n, then large n, before computing and testing k+n.
46535 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46537 Likewise.
46538 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46539 Likewise.
46540 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46541 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46542 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46543 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46544 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46545 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46546 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46547 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46548 * math/libm-test.inc (scalbn_test): Add more tests.
46549 (scalbln_test): Likewise.
46550
07e12bb3
JM
46551 * manual/filesys.texi (mode_t): Describe constraints on size and
46552 signedness, not exact equivalence to a particular type.
46553 (ino_t): Likewise.
46554 (ino64_t): Likewise.
46555 (dev_t): Likewise.
46556 (nlink_t): Likewise.
46557 (blkcnt_t): Likewise.
46558 (blkcnt64_t): Likewise.
46559 * manual/llio.texi (off_t): Likewise.
46560
28afd92d
JM
46561 [BZ #3976]
46562 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46563 (__ieee754_exp): Save and restore rounding mode and use
46564 round-to-nearest for all computations.
46565 * math/libm-test.inc (exp_test_tonearest): New function.
46566 (exp_test_towardzero): Likewise.
46567 (exp_test_downward): Likewise.
46568 (exp_test_upward): Likewise.
46569 (main): Call the new functions.
46570 * sysdeps/i386/fpu/libm-test-ulps: Update.
46571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46572
b1eeb65d
CD
465732012-03-01 Chris Demetriou <cgd@google.com>
46574
46575 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46576 have predictable order.
46577
53362a4b
DM
465782012-03-01 David S. Miller <davem@davemloft.net>
46579
3c969083
DM
46580 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46581
759707de
DM
46582 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46583 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46584 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46585 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46586
dfdb8ff2
DM
46587 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46588 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46589 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46591 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46592 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46593 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46594 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46595 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46596
ead89f96
DM
46597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46598
7f66bd07
DM
46599 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46600 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46601 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46602
53362a4b
DM
46603 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46604 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46605 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46606 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46607 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46608 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46609 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46610 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46611 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46612 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46613 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46614 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46615 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46616 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46617 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46619 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46620 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46621 * sysdeps/sparc/elf/configure: Regenerated.
46622
7b1902cb
JM
466232012-03-01 Joseph Myers <joseph@codesourcery.com>
46624
bec039bc
JM
46625 * configure.in (AS, LD): Require binutils 2.20 or later.
46626 * configure: Regenerated.
46627 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46628 as required minimum version.
46629 * INSTALL: Regenerated.
46630
7b1902cb
JM
46631 [BZ #2541]
46632 [BZ #4108]
46633 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46634 before squaring exponent.
46635 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46636 bottom long double and 27 bits of top long double before squaring
46637 exponent.
46638 * math/libm-test.inc (erfc_test): Add more tests.
46639 * sysdeps/i386/fpu/libm-test-ulps: Update.
46640 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46642
f775c276
KT
466432012-03-01 Kai Tietz <ktietz@redhat.com>
46644
46645 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46646 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46647 containing bit-fields.
46648 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46649 * soft-fp/single.h (_FP_UNION_S): Likewise.
46650 * soft-fp/double.h (_FP_UNION_D): Likewise.
46651
5b8a4d4a
JM
466522012-02-29 Joseph Myers <joseph@codesourcery.com>
46653
0bab47b6
JM
46654 [BZ #13786]
46655 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46656 not include ../strcmp.S.
46657 [USE_AS_STRNCASECMP_L]: Likewise.
46658 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46659 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46660 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46661 (__strncasecmp_l_ia32): Define as alias to
46662 __strncasecmp_l_nonascii.
46663
0fcad3e2
JM
46664 [BZ #5794]
46665 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46666 * sysdeps/i386/fpu/libm-test-ulps: Update.
46667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46668
5b8a4d4a
JM
46669 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46671
8fdceb2e
JL
466722012-02-29 Jeff Law <law@redhat.com>
46673
46674 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46675 out of bounds read.
46676
1f393a11
MP
466772012-02-29 Marek Polacek <polacek@redhat.com>
46678
46679 [BZ #13706]
46680 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46681 * elf/Makefile: Add rules to run tst-unused-dep.out.
46682
8847f037
DM
466832012-02-28 David S. Miller <davem@davemloft.net>
46684
46685 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46686 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46688 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46689 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46690 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46691
169d7f11
JM
466922012-02-29 Joseph Myers <joseph@codesourcery.com>
46693
46694 * math/libm-test.inc (llround_test): Move one test from
46695 lround_test. Use TEST_f_L in moved test.
46696 (lround_test): Move misplaced test to llround_test. Add testcase
46697 from bug 2561.
46698
39adf059
UD
466992012-02-28 Ulrich Drepper <drepper@gmail.com>
46700
46701 * sysdeps/x86_64/fpu/e_expf.S: New file.
46702 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46703
71b5d1c5
SB
467042012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46705
46706 [BZ #13637]
46707 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46708 of remain_len that may cause incomplete multi-byte character and
46709 false match.
46710 * posix/bug-regex33.c: New file.
46711 * posix/Makefile (tests): Add bug-regex33.
46712
1f77f049
JM
467132012-02-28 Joseph Myers <joseph@codesourcery.com>
46714
46715 * manual/macros.texi: New file.
46716 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46717 * manual/libc.texinfo: Include macros.texi.
46718 * manual/creatute.texi: Likewise.
46719 * manual/install.texi: Likewise.
46720 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46721 @glibcadj{} in references to the GNU C Library.
46722 * manual/charset.texi: Likewise.
46723 * manual/conf.texi: Likewise.
46724 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46725 when not using those macros.
46726 * manual/creature.texi: Likewise.
46727 * manual/crypt.texi: Likewise.
46728 * manual/errno.texi: Likewise.
46729 * manual/filesys.texi: Likewise.
46730 * manual/header.texi: Likewise.
46731 * manual/install.texi: Likewise.
46732 * manual/intro.texi: Likewise.
46733 * manual/io.texi: Likewise.
46734 * manual/job.texi: Likewise.
46735 * manual/lang.texi: Likewise.
46736 * manual/libc.texiinfo: Likewise.
46737 * manual/llio.texi: Likewise.
46738 * manual/locale.texi: Likewise.
46739 * manual/maint.texi: Likewise.
46740 * manual/math.texi: Likewise.
46741 * manual/memory.texi: Likewise.
46742 * manual/message.texi: Likewise.
46743 * manual/nss.texi: Likewise.
46744 * manual/pattern.texi: Likewise.
46745 * manual/process.texi: Likewise.
46746 * manual/resource.texi: Likewise.
46747 * manual/search.texi: Likewise.
46748 * manual/setjmp.texi: Likewise.
46749 * manual/signal.texi: Likewise.
46750 * manual/socket.texi: Likewise.
46751 * manual/startup.texi: Likewise.
46752 * manual/stdio.texi: Likewise.
46753 * manual/string.texi: Likewise.
46754 * manual/sysinfo.texi: Likewise.
46755 * manual/syslog.texi: Likewise.
46756 * manual/terminal.texi: Likewise.
46757 * manual/time.texi: Likewise.
46758 * manual/users.texi: Likewise.
46759 * INSTALL: Regenerated.
46760 * NOTES: Regenerated.
d40c5d54 46761 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 46762
450bf206
AS
467632012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46764
46765 * include/dirent.h: Include <dirstream.h> before
46766 <dirent/dirent.h>.
46767
741a235b
DM
467682012-02-28 David S. Miller <davem@davemloft.net>
46769
46770 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46771 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46772 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46773 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46774
d6b5aa58
DM
467752012-02-27 David S. Miller <davem@davemloft.net>
46776
1aff59a3
DM
46777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46779 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46780 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46781
d6b5aa58
DM
46782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46783 frame pointer instead of stack pointer relative arg slot.
46784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46785 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46786 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46787
433f48bf
CD
467882012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46789
46790 [BZ #3992]
46791 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46792
d674b76d
DM
467932012-02-27 David S. Miller <davem@davemloft.net>
46794
46795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46799 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46800 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46801 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46802 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46803
0e7727f7
JM
468042012-02-27 Joseph Myers <joseph@codesourcery.com>
46805
46806 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46807 later. Allow versions 5-9.
43be4ca2 46808 * configure: Regenerated.
0e7727f7
JM
46809 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46810 required minimum version and 4.6 as recommended version. Do not
46811 mention bugs in GCC 2.7 and 2.8.
43be4ca2 46812 * INSTALL: Regenerated.
0e7727f7 46813
a78bc654
DM
468142012-02-27 David S. Miller <davem@davemloft.net>
46815
428d5830
DM
46816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46820 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46821 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46822 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46823 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46824
a78bc654
DM
46825 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46826 manipulate bits before adding and subtracting TWO112[sx].
46827 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46828
4579f81c
RM
468292012-02-27 Roland McGrath <roland@hack.frob.com>
46830
36c8acb4
RM
46831 [BZ #13775]
46832 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46833 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46834 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46835 being in POSIX, because they are in 1003.1-2008.
46836
84ad622b
RM
46837 * rt/tst-aio.c: Include <fcntl.h>.
46838 * rt/tst-aio7.c: Likewise.
46839 * rt/tst-aio64.c: Likewise.
46840
4579f81c
RM
46841 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46842
abd923db
JM
468432012-02-27 Joseph Myers <joseph@codesourcery.com>
46844
46845 * manual/install.texi (--with-headers): Describe headers as
46846 interface headers, not private headers.
46847 (Specific advice for GNU/Linux systems): Describe use of headers
46848 from "make headers_install", not private headers from older
46849 kernels.
43be4ca2 46850 * INSTALL: Regenerated.
abd923db
JM
46851 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46852 Change to 2.6.19.
46853 * sysdeps/unix/sysv/linux/configure: Regenerated.
46854
6664049b
JM
46855 * manual/llio.texi (fclean): Remove documentation.
46856
bb8b6697
JM
46857 * manual/Makefile (libc-texi-generated): New variable. Include
46858 version.texi.
46859 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46860 $(libc-texi-generated), not duplicated list of files.
46861 (version.texi, stamp-version): New rules.
46862 (realclean): Remove $(libc-texi-generated), not individual files
46863 from that list. Do not remove dir-add.texinfo.
46864 * manual/libc.texinfo: Comment out uses of edition numbers and
46865 references to printed manual. Remove last-updated dates.
46866 (EDITION): Comment out.
46867 (ISBN): Likewise.
46868 (VERSION, UPDATED): Remove.
46869 (version.texi): Include.
46870
12e5c3b9
AS
468712012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46872
46873 * sysdeps/posix/spawni.c: Include <signal.h>.
46874 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46875 * sysdeps/pthread/aio_fsync.c: Likewise.
46876
4efeffc1 468772012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 46878
ba63ba08
UD
46879 * conform/Makefile (tests): Run only when not cross-compiling and
46880 when fast-check is not defined.
46881
d94a4670
UD
46882 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46883 * conform/data/limits.h-data: Fixes for POSIX2008.
46884 * conform/run-conformtest.sh: Run all tests.
46885 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46886 headers.
46887 * include/bits/dlfcn.h: Likewise.
46888 * include/langinfo.h: Likewise.
46889 * include/monetary.h: Likewise.
46890 * include/sys/poll.h: Likewise.
46891
46892 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46893 for __USE_GNU.
46894 * posix/spawn.h: Define __need_sigset_t.
46895 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46896 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46897 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46898 to get sigevent_t only.
46899 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46900 only for __USE_GNU.
46901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46902 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46903 process_vm_writev only for __USE_GNU.
46904 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
46905
46906 * conform/Makefile: For now ignore errors from run-conformtest.
46907 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46908 POSIX to avoid namespace pollution. Don't prepend headers.
46909 * conform/data/aio.h-data: Fixes for POSIX testing.
46910 * conform/data/fcntl.h-data: Likewise.
46911 * conform/data/glob.h-data: Likewise.
46912 * conform/data/grp.h-data: Likewise.
46913 * conform/data/pthread.h-data: Likewise.
46914 * conform/data/pwd.h-data: Likewise.
46915 * conform/data/signal.h-data: Likewise.
46916 * conform/data/spawn.h-data: Likewise.
46917 * conform/data/stdio.h-data: Likewise.
46918 * conform/data/stdlib.h-data: Likewise.
46919 * conform/data/stropts.h-data: Likewise.
46920 * conform/data/sys/mman.h-data: Likewise.
46921 * conform/data/sys/stat.h-data: Likewise.
46922 * conform/data/sys/types.h-data: Likewise.
46923 * conform/data/sys/wait.h-data: Likewise.
46924 * conform/data/time.h-data: Likewise.
46925 * conform/data/unistd.h-data: Likewise.
46926 * conform/data/utime.h-data: Likewise.
46927
46928 * io/sys/stat.h: fchmod was always in POSIX.
46929 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46930 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46931 * rt/aio.h: Define __need_timespec before including <time.h>.
46932 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46933 struct. Add forward declaration of pthread_attr_t and use it in
46934 sigevent.
46935 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46937 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46938 always remove CLK_TCK definition.
46939
c20105c3
AS
469402012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46941
46942 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46943
7a270350
UD
469442012-02-25 Ulrich Drepper <drepper@gmail.com>
46945
31341567
UD
46946 * conform/run-conformtest.sh: New file.
46947 * conform/Makefile: Run run-conformtest for tests.
46948 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46949 support.
46950
46951 * conform/data/uchar.h-data: New file.
46952 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46953 * conform/data/arpa/inet.h-data: Likewise.
46954 * conform/data/assert.h-data: Likewise.
46955 * conform/data/complex.h-data: Likewise.
46956 * conform/data/cpio.h-data: Likewise.
46957 * conform/data/ctype.h-data: Likewise.
46958 * conform/data/dirent.h-data: Likewise.
46959 * conform/data/dlfcn.h-data: Likewise.
46960 * conform/data/errno.h-data: Likewise.
46961 * conform/data/fcntl.h-data: Likewise.
46962 * conform/data/float.h-data: Likewise.
46963 * conform/data/fmtmsg.h-data: Likewise.
46964 * conform/data/fnmatch.h-data: Likewise.
46965 * conform/data/ftw.h-data: Likewise.
46966 * conform/data/glob.h-data: Likewise.
46967 * conform/data/grp.h-data: Likewise.
46968 * conform/data/iconv.h-data: Likewise.
46969 * conform/data/inttypes.h-data: Likewise.
46970 * conform/data/langinfo.h-data: Likewise.
46971 * conform/data/libgen.h-data: Likewise.
46972 * conform/data/limits.h-data: Likewise.
46973 * conform/data/locale.h-data: Likewise.
46974 * conform/data/math.h-data: Likewise.
46975 * conform/data/monetary.h-data: Likewise.
46976 * conform/data/mqueue.h-data: Likewise.
46977 * conform/data/ndbm.h-data: Likewise.
46978 * conform/data/net/if.h-data: Likewise.
46979 * conform/data/netdb.h-data: Likewise.
46980 * conform/data/netinet/in.h-data: Likewise.
46981 * conform/data/nl_types.h-data: Likewise.
46982 * conform/data/poll.h-data: Likewise.
46983 * conform/data/pthread.h-data: Likewise.
46984 * conform/data/pwd.h-data: Likewise.
46985 * conform/data/regex.h-data: Likewise.
46986 * conform/data/sched.h-data: Likewise.
46987 * conform/data/search.h-data: Likewise.
46988 * conform/data/semaphore.h-data: Likewise.
46989 * conform/data/setjmp.h-data: Likewise.
46990 * conform/data/signal.h-data: Likewise.
46991 * conform/data/spawn.h-data: Likewise.
46992 * conform/data/stdarg.h-data: Likewise.
46993 * conform/data/stdio.h-data: Likewise.
46994 * conform/data/stdlib.h-data: Likewise.
46995 * conform/data/string.h-data: Likewise.
46996 * conform/data/strings.h-data: Likewise.
46997 * conform/data/stropts.h-data: Likewise.
46998 * conform/data/sys/ipc.h-data: Likewise.
46999 * conform/data/sys/mman.h-data: Likewise.
47000 * conform/data/sys/msg.h-data: Likewise.
47001 * conform/data/sys/resource.h-data: Likewise.
47002 * conform/data/sys/select.h-data: Likewise.
47003 * conform/data/sys/sem.h-data: Likewise.
47004 * conform/data/sys/shm.h-data: Likewise.
47005 * conform/data/sys/socket.h-data: Likewise.
47006 * conform/data/sys/stat.h-data: Likewise.
47007 * conform/data/sys/statvfs.h-data: Likewise.
47008 * conform/data/sys/time.h-data: Likewise.
47009 * conform/data/sys/timeb.h-data: Likewise.
47010 * conform/data/sys/times.h-data: Likewise.
47011 * conform/data/sys/types.h-data: Likewise.
47012 * conform/data/sys/uio.h-data: Likewise.
47013 * conform/data/sys/un.h-data: Likewise.
47014 * conform/data/sys/utsname.h-data: Likewise.
47015 * conform/data/sys/wait.h-data: Likewise.
47016 * conform/data/syslog.h-data: Likewise.
47017 * conform/data/tar.h-data: Likewise.
47018 * conform/data/termios.h-data: Likewise.
47019 * conform/data/utime.h-data: Likewise.
47020 * conform/data/utmpx.h-data: Likewise.
47021 * conform/data/varargs.h-data: Likewise.
47022 * conform/data/wchar.h-data: Likewise.
47023 * conform/data/wctype.h-data: Likewise.
47024 * conform/data/wordexp.h-data: Likewise.
47025
47026 * include/stropts.h: New file.
47027 * include/uchar.h: New file.
47028 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47029 * include/assert.h: Likewise.
47030 * include/ctype.h: Likewise.
47031 * include/dirent.h: Likewise.
47032 * include/dlfcn.h: Likewise.
47033 * include/fcntl.h: Likewise.
47034 * include/fnmatch.h: Likewise.
47035 * include/glob.h: Likewise.
47036 * include/grp.h: Likewise.
47037 * include/libio.h: Likewise.
47038 * include/locale.h: Likewise.
47039 * include/math.h: Likewise.
47040 * include/net/if.h: Likewise.
47041 * include/netdb.h: Likewise.
47042 * include/netinet/in.h: Likewise.
47043 * include/pthread.h: Likewise.
47044 * include/pwd.h: Likewise.
47045 * include/regex.h: Likewise.
47046 * include/sched.h: Likewise.
47047 * include/search.h: Likewise.
47048 * include/setjmp.h: Likewise.
47049 * include/signal.h: Likewise.
47050 * include/stdio.h: Likewise.
47051 * include/stdlib.h: Likewise.
47052 * include/string.h: Likewise.
47053 * include/sys/cdefs.h: Likewise.
47054 * include/sys/mman.h: Likewise.
47055 * include/sys/msg.h: Likewise.
47056 * include/sys/resource.h: Likewise.
47057 * include/sys/select.h: Likewise.
47058 * include/sys/socket.h: Likewise.
47059 * include/sys/stat.h: Likewise.
47060 * include/sys/statvfs.h: Likewise.
47061 * include/sys/time.h: Likewise.
47062 * include/sys/times.h: Likewise.
47063 * include/sys/uio.h: Likewise.
47064 * include/sys/utsname.h: Likewise.
47065 * include/sys/wait.h: Likewise.
47066 * include/termios.h: Likewise.
47067 * include/time.h: Likewise.
47068 * include/ulimit.h: Likewise.
47069 * include/unistd.h: Likewise.
47070 * include/utime.h: Likewise.
47071 * include/wchar.h: Likewise.
47072 * include/wctype.h: Likewise.
47073 * include/wordexp.h: Likewise.
47074
47075 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47076
7a270350
UD
47077 * time/time.h: TIME_UTC must be a macro.
47078 Make timespec_get available for ISO C11 only as well.
47079
7724defc
UD
470802012-02-24 Ulrich Drepper <drepper@gmail.com>
47081
47082 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47083 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47084
6b1d1d46
JM
470852012-02-24 Joseph Myers <joseph@codesourcery.com>
47086
47087 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47088
0f8bbd69
JM
470892012-02-24 Joseph Myers <joseph@codesourcery.com>
47090
47091 * manual/texinfo.tex: Update to version 2012-01-19.16.
47092
66ab80bc
JM
470932012-02-24 Joseph Myers <joseph@codesourcery.com>
47094
47095 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47096
74981cc5
RM
470972012-02-24 Roland McGrath <roland@hack.frob.com>
47098
ee968201
RM
47099 [BZ #13738]
47100 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47101 * manual/fdl-1.3.texi: New file.
47102 * manual/fdl-1.1.texi: File removed.
47103
74981cc5
RM
47104 [BZ #13738]
47105 * manual/libc.texinfo (FDL_VERSION): New @set.
47106 Use it for mention of FDL in cover text.
47107 (Documentation License): Use it in @include file name.
47108
7bb764bc
JM
471092012-02-22 Joseph Myers <joseph@codesourcery.com>
47110 Roland McGrath <roland@hack.frob.com>
47111
47112 [BZ #5461]
57f41c40
AS
47113 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47114 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47115 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47116 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47117 name.
47118 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47119
6cbeae47
JM
471202012-02-22 Joseph Myers <joseph@codesourcery.com>
47121
47122 [BZ #2547]
47123 [BZ #11365]
47124 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47125 manipulate bits before adding and subtracting TWO23[sx].
47126 * math/libm-test.inc (nearbyint_test): Add more tests.
47127
fe45ce09
JM
471282012-02-22 Joseph Myers <joseph@codesourcery.com>
47129
47130 [BZ #2548]
47131 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47132 bits before adding and subtracting TWO23[sx].
47133 * math/libm-test.inc (rint_test): Add more tests.
47134 (rint_test_tonearest): Likewise.
47135 (rint_test_towardzero): Likewise.
47136 (rint_test_downward): Likewise.
47137 (rint_test_upward: Likewise.
47138
ff3b3d82
JM
471392012-02-22 Joseph Myers <joseph@codesourcery.com>
47140
47141 [BZ #10110]
47142 * include/stdc-predef.h: New file. Extracted from features.h.
47143 * include/features.h: Include stdc-predef.h.
47144 * Makefile (headers): Add stdc-predef.h.
47145 * CONFORMANCE (Compiler limitations): Update.
47146
ef0aab35
JM
471472012-02-22 Joseph Myers <joseph@codesourcery.com>
47148
47149 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47150
58639409
DM
471512012-02-21 David S. Miller <davem@davemloft.net>
47152
47153 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47154 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47155
c0e70b25
DM
471562012-02-20 David S. Miller <davem@davemloft.net>
47157
47158 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47159 using a normal save/restore sequence, rather than allocating a
47160 dummy stack frame just to store a frame pointer and restore.
47161 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47162
fb06851d
JM
471632012-02-21 Joseph Myers <joseph@codesourcery.com>
47164
47165 * manual/install.texi: Fix stray word in line-wrapped comment.
47166
7a8b71c3
DM
471672012-02-20 David S. Miller <davem@davemloft.net>
47168
d510c123
DM
47169 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47170 both binutils and gcc support GOTDATA.
47171
0722d7c2
DM
47172 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47173 "rd %pc" in the PIC register setup sequences.
47174
3d2b3019
DM
47175 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47176 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47177 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47178 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47179 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47180 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47181 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47182 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47183 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47184 (SYSCALL_ERROR_HANDLER): Likewise.
47185 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47186 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47188 (SYSCALL_ERROR_HANDLER): Likewise.
47189
c80098a9
DM
47190 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47191 (HAVE_GCC_GOTDATA): New.
47192 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47193 relocation support in both binutils and gcc.
47194 * sysdeps/sparc/elf/configure: Regenerate.
47195
3a2545a0
DM
47196 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47197 * sysdeps/sparc/sparc32/elf/configure: Delete.
47198 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47199 * sysdeps/sparc/sparc64/elf/configure: Delete.
47200 * sysdeps/sparc/elf/configure.in: New file.
47201 * sysdeps/sparc/elf/configure: Generate.
47202
7a8b71c3
DM
47203 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47204 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47205 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47206 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47207 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47208
f1e86fca
JM
472092012-02-21 Joseph Myers <joseph@codesourcery.com>
47210
47211 * manual/install.texi: Do not mention specific glibc version
47212 numbers.
47213 * manual/libc.texinfo (VERSION, UPDATED): Update.
47214 (@copying): Use @copyright{} and range of years.
47215
0e7dfaef
JM
472162012-02-21 Joseph Myers <joseph@codesourcery.com>
47217
47218 [BZ #13695]
47219 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47220 [crti.S not in sysdirs] (generated): Do not append.
47221 [crti.S not in sysdirs] (omit-deps): Likewise.
47222 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47223 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47224 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47225 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47226 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47227 Likewise.
47228 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47229 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47230 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47231 * csu/defs.awk: Remove file.
47232 * sysdeps/generic/initfini.c: Likewise.
47233 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47234 variable.
47235 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47236 Likewise.
47237
599af3ca
JM
472382012-02-20 Joseph Myers <joseph@codesourcery.com>
47239
47240 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47241 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47242 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47243 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47244 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47245 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47246 <bits/epoll.h>.
47247 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47248 (__EPOLL_PACKED): Define to empty if not defined by
47249 <bits/epoll.h>.
47250 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47252 bits/epoll.h.
47253
0e499750
JM
472542012-02-20 Joseph Myers <joseph@codesourcery.com>
47255
47256 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47257 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47258 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47259 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47260 <bits/timerfd.h>.
47261 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47263 bits/timerfd.h.
47264
5ad91f6e
JM
472652012-02-20 Joseph Myers <joseph@codesourcery.com>
47266
47267 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47268 in C locale.
47269 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47270 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47271 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47273
06b99b02
AJ
472742012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47275
47276 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47277 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47278
7638c0fd
AS
472792012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47280
47281 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47282 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47283 defined.
47284 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47285 Likewise.
47286 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47287 entry for 2.16.
47288
92221550
AJ
472892012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47290
47291 * math/w_acos.c: Use non-signaling floating-point comparisons.
47292 * math/w_acosf.c: Likewise.
47293 * math/w_acosh.c: Likewise.
47294 * math/w_acoshf.c: Likewise.
47295 * math/w_acoshl.c: Likewise.
47296 * math/w_acosl.c: Likewise.
47297 * math/w_asin.c: Likewise.
47298 * math/w_asinf.c: Likewise.
47299 * math/w_asinl.c: Likewise.
47300 * math/w_atanh.c: Likewise.
47301 * math/w_atanhf.c: Likewise.
47302 * math/w_atanhl.c: Likewise.
47303 * math/w_exp2.c: Likewise.
47304 * math/w_exp2f.c: Likewise.
47305 * math/w_exp2l.c: Likewise.
47306 * math/w_j0.c: Likewise.
47307 * math/w_j0f.c: Likewise.
47308 * math/w_j0l.c: Likewise.
47309 * math/w_j1.c: Likewise.
47310 * math/w_j1f.c: Likewise.
47311 * math/w_j1l.c: Likewise.
47312 * math/w_jn.c: Likewise.
47313 * math/w_jnf.c: Likewise.
47314 * math/w_log.c: Likewise.
47315 * math/w_log10.c: Likewise.
47316 * math/w_log10f.c: Likewise.
47317 * math/w_log10l.c: Likewise.
47318 * math/w_log2.c: Likewise.
47319 * math/w_log2f.c: Likewise.
47320 * math/w_log2l.c: Likewise.
47321 * math/w_logf.c: Likewise.
47322 * math/w_logl.c: Likewise.
47323 * math/w_sqrt.c: Likewise.
47324 * math/w_sqrtf.c: Likewise.
47325 * math/w_sqrtl.c: Likewise.
47326 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47327 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47329 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47330 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47331
ebaf36eb
JM
473322012-02-19 Joseph Myers <joseph@codesourcery.com>
47333
47334 [BZ #9739]
47335 * manual/string.texi (strnlen): Use correct parameter name in
47336 equivalent expression.
47337
71c254a6
JM
473382012-02-19 Joseph Myers <joseph@codesourcery.com>
47339
47340 [BZ #11174]
47341 * manual/users.texi (seteuid): Consistently use neweuid for
47342 argument name.
47343
16d2c631
JM
473442012-02-19 Joseph Myers <joseph@codesourcery.com>
47345
47346 [BZ #13704]
47347 * manual/nss.texi (Services in the NSS configuration): Correct
47348 list of services in example configuration file.
47349
cd837b09
NB
473502012-02-19 Nick Bowler <nbowler@draconx.ca>
47351
47352 [BZ #11322]
47353 * manual/arith.texi: Remove statements about negative zero
47354 behaving identically to zero.
47355
02c4bbad
JM
473562012-02-18 Joseph Myers <joseph@codesourcery.com>
47357
47358 [BZ #5993]
47359 * manual/install.texi: Do not document upgrading from libc5.
47360
366842e7
JM
473612012-02-18 Joseph Myers <joseph@codesourcery.com>
47362
47363 [BZ #4596]
47364 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47365
dd54084d
DM
473662012-02-18 David S. Miller <davem@davemloft.net>
47367
47368 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47369 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47370 %o7 across the call.
47371 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47372 instead.
47373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47374 SETUP_PIC_REG_LEAF.
47375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47376 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47377 * sysdeps/sparc/crtn.S: Likewise.
47378
2bcc53a3
UD
473792012-02-17 Ulrich Drepper <drepper@gmail.com>
47380
47381 * aout/Makefile: Remove.
47382
09c093b5
RK
473832012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47384
47385 [BZ #13058]
47386 * manual/examples/argp-ex1.c (main): Format definition in GNU
47387 style.
47388 * manual/examples/argp-ex2.c (main): Likewise.
47389 * manual/examples/argp-ex3.c (main): Likewise.
47390 * manual/examples/argp-ex4.c (main): Likewise.
47391 * manual/examples/longopt.c (main): Use new-style prototype
47392 definition.
47393 * manual/examples/strncat.c (main): Specify return type and use
47394 (void) for arguments.
47395 * manual/examples/subopt.c (main): Use char **argv argument.
47396
2ee633a2
JM
473972012-02-17 Joseph Myers <joseph@codesourcery.com>
47398
47399 [BZ #5077]
47400 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47401 rounding modes.
47402
0520adde
FB
474032012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47404
47405 [BZ #6907]
47406 * manual/string.texi (strchr): Change when strchrnul is
47407 recommended.
47408
3f4081cd
DGM
474092012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47410
47411 [BZ #174]
47412 * manual/locale.texi (setlocale): Document LOCPATH.
47413
d1b10e78
JM
474142012-02-17 Joseph Myers <joseph@codesourcery.com>
47415
47416 [BZ #10210]
47417 * manual/process.texi (execle): Move @dots{} before last argument.
47418
79c6869c
PB
474192012-02-17 Paul Bolle <pebolle@tiscali.nl>
47420
47421 [BZ #12047]
47422 * manual/charset.texi (Generic Charset Conversion): Fix typo
47423 (LC_TYPE -> LC_CTYPE).
47424
cc6e48bc
NB
474252012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47426
47427 [BZ #5805]
47428 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47429 (scalbnf): Likewise.
47430 (scalbnl): Likewise.
47431 (scalbln): Likewise.
47432 (scalblnf): Likewise.
47433 (scalblnl): Likewise.
47434 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47435 (vwarnx): Likewise.
47436 (verr): Likewise.
47437 (verrx): Likewise.
47438 * manual/filesys.texi (telldir): Use braces around return type.
47439 * manual/llio.texi (mmap): Add space after comma.
47440 (mmap64): Likewise.
47441 * manual/math.texi (jn): Use @var{} on parameter names.
47442 (jnf): Likewise.
47443 (jnl): Likewise.
47444 (yn): Likewise.
47445 (ynf): Likewise.
47446 (ynl): Likewise.
47447 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47448 line.
47449 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47450 "...".
47451 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47452 (sched_get_priority_max): Likewise.
47453 * manual/signal.texi (sigvec): Add space after comma.
47454 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47455 names.
47456 (if_indextoname): Likewise.
47457 (if_freenameindex): Likewise.
47458 (sendto): Use ',' instead of '.' in prototype.
47459 * manual/startup.texi (syscall): Use @dots{} instead of literal
47460 "...".
47461 * manual/stdio.texi (__fpending): Separate initial words of
47462 paragraph from @deftypefun line.
47463 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47464 "...".
47465 (vsyslog): Use @var{} on parameter names.
47466 * manual/terminal.texi (stty): Use @var{} on parameter names.
47467 * manual/users.texi (getutmp): Use @var{} on parameter names.
47468 (getutmpx): Likewise.
47469
5b23062f
JM
474702012-02-17 Joseph Myers <joseph@codesourcery.com>
47471
47472 [BZ #6884]
47473 * manual/stdio.texi (fopen): Fix typos in description of
47474 ",ccs=STRING".
47475
8dee4833
AJ
474762012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47477
47478 [BZ #4026]
47479 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47480 get clock_id definition.
47481
9078ce93
TS
474822012-02-17 Thomas Schwinge <thomas@schwinge.name>
47483
47484 [BZ #4822]
47485 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47486 (madvise): Cast every argument to void on its own.
47487
3835c55f
JM
474882012-02-17 Joseph Myers <joseph@codesourcery.com>
47489
47490 [BZ #9902]
47491 * manual/startup.texi (Exit Status): Fix typo.
47492
35c47e37
JM
474932012-02-17 Joseph Myers <joseph@codesourcery.com>
47494
47495 [BZ #10140]
47496 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47497 * manual/examples/argp-ex2.c: Likewise.
47498 * manual/examples/argp-ex3.c: Likewise.
47499
e3b69ca7
RH
475002012-02-16 Richard Henderson <rth@redhat.com>
47501
47502 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47503 * sysdeps/s390/s390-32/initfini.c: Remove.
47504 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47505 * sysdeps/s390/s390-64/initfini.c: Remove.
47506
df83af67
KK
475072012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47508
47509 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47510 compiler output for sysdeps/generic/initfini.c.
47511 * sysdeps/sh/elf/initfini.c: Remove file.
47512
f63f3380
DM
475132012-02-16 David S. Miller <davem@davemloft.net>
47514
fb59b3a4
DM
47515 [BZ #11494]
47516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47517
f63f3380
DM
47518 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47519 * sysdeps/sparc/crti.S: New file.
47520 * sysdeps/sparc/crtn.S: New file.
47521 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47522 * sysdeps/sparc/sparc64/Makefile: Likewise.
47523
df6a4a4a
MF
475242012-02-15 Mike Frysinger <vapier@gentoo.org>
47525
6dd8f3dc 47526 [BZ #3335]
df6a4a4a
MF
47527 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47528
1cac7236
RM
475292012-02-15 Roland McGrath <roland@hack.frob.com>
47530
d2c736f8
RM
47531 [BZ #4822]
47532 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47533
1cac7236
RM
47534 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47535 (write, read, close): Likewise.
47536 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47537
8e475601
JM
475382012-02-15 Joseph Myers <joseph@codesourcery.com>
47539
47540 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47541 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47542 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47543 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47544 <bits/signalfd.h>.
47545 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47547 bits/signalfd.h.
47548
ed656b40
MP
475492012-02-14 Marek Polacek <polacek@redhat.com>
47550
47551 * sysdeps/x86_64/crti.S: New file.
47552 * sysdeps/x86_64/crtn.S: New file.
47553 * sysdeps/x86_64/elf/initfini.c: Remove file.
47554
2a979d3a
JM
475552012-02-13 Joseph Myers <joseph@codesourcery.com>
47556
47557 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47558 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47559 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47560 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47561 <bits/inotify.h>.
47562 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47564 bits/inotify.h.
47565
2a418ac3
JM
475662012-02-13 Joseph Myers <joseph@codesourcery.com>
47567
47568 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47569 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47570 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47571 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47572 <bits/eventfd.h>.
47573 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47575 bits/eventfd.h.
47576
fb779be7
TS
475772012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47578
e19e83c5
RM
47579 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47580 __feraiseexcept instead of feraiseexcept.
7c35ffed 47581
fb779be7
TS
47582 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47583 nanosleep invocations.
47584 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47585 strings, and add error checking for a nanosleep invocations.
47586
59ba27a6
PE
475872012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47588
47589 Replace FSF snail mail address with URLs, as per GNU coding standards.
47590 Most of the snail mail addresses were wrong anyway, and omitting
47591 them makes the source code easier to maintain. Almost all of the
47592 changes are to license notices and to locale LC_IDENTIFICATION
47593 addresses, except for this one:
47594 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47595 not its snail mail address.
47596
57b957eb
RH
475972012-02-09 Richard Henderson <rth@twiddle.net>
47598
af850b1c
RH
47599 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47600 of kernel-features.h.
47601
57b957eb
RH
47602 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47603
6b73181a
MP
476042012-02-08 Marek Polacek <polacek@redhat.com>
47605
47606 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47607 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47608 * sysdeps/gnu/_G_config.h: Likewise.
47609 * sysdeps/generic/_G_config.h: Likewise.
47610
26ecc33a
AS
476112012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47612
6c6dbc63
AS
47613 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47614 tests.
47615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47616
e216c012
AS
47617 * sysdeps/powerpc/powerpc32/crti.S: New file.
47618 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47619 * sysdeps/powerpc/powerpc64/crti.S: New file.
47620 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47621
26ecc33a
AS
47622 * Makeconfig (have-initfini): Don't set.
47623 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47624 * configure.in (nopic_initfini): Don't substitute.
47625 * config.h.in (HAVE_INITFINI): Don't #undef.
47626 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47627 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47628
3add8e13
JM
476292012-02-08 Joseph Myers <joseph@codesourcery.com>
47630
47631 Support crti.S and crtn.S provided directly by architectures.
47632 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47633 [crti.S in sysdirs] (omit-deps): Likewise.
47634 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47635 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47636 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47637 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47638 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47639 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47640 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47641 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47642 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47643 compiler output for sysdeps/generic/initfini.c.
47644 * sysdeps/i386/elf/Makefile: Remove file.
47645 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47646
a22f12b4
MP
476472012-02-07 Marek Polacek <polacek@redhat.com>
47648
47649 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47650 * sysdeps/gnu/_G_config.h: Likewise.
47651 * sysdeps/mach/hurd/_G_config.h: Likewise.
47652
148cf100
MP
476532012-02-07 Marek Polacek <polacek@redhat.com>
47654
47655 * math/Makefile (tests): Add tst-CMPLX2.
47656 * math/tst-CMPLX2.c: New file.
47657
cfdc0dd7
AS
476582012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47659
84ba42c4
AS
47660 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47661
cfdc0dd7
AS
47662 * math/libm-test.inc (jn_test): Add missing L suffix.
47663
622c86f4
MP
476642012-02-06 Marek Polacek <polacek@redhat.com>
47665
47666 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47667 * sysdeps/i386/fpu/e_powf.S: Likewise.
47668 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47669 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47670 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47671 * sysdeps/i386/fpu/e_pow.S: Likewise.
47672 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47673 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47674 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47675 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47676 * sysdeps/i386/fpu/e_log2.S: Likewise.
47677 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47678 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47679 * sysdeps/i386/fpu/e_powl.S: Likewise.
47680 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47681 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47682 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47683 * sysdeps/i386/fpu/e_logl.S: Likewise.
47684 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47685 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47686 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47687 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47688 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47689 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47690 * sysdeps/i386/fpu/e_log.S: Likewise.
47691 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47692 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47693 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47694 * sysdeps/i386/fpu/e_logf.S: Likewise.
47695 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47696 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47697 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47698 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47699 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47700 * sysdeps/i386/fpu/e_log10.S: Likewise.
47701 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47702 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47703 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47704 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47705 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47706 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47707 * sysdeps/i386/asm-syntax.h: Likewise.
47708 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47709 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47710 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47711 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47712 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47713 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47714 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47715 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47716 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47717 * sysdeps/powerpc/sysdep.h: Likewise.
47718 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47719 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47720
d4a54ac6
JM
477212012-02-06 Joseph Myers <joseph@codesourcery.com>
47722
47723 [BZ #411]
47724 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47725
314054ea
JM
477262012-02-06 Joseph Myers <joseph@codesourcery.com>
47727
47728 * sysdeps/i386/sysdep.h: Include <features.h>.
47729 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47730 version.
47731
d8e0ca50
JM
477322012-02-05 Joseph Myers <joseph@codesourcery.com>
47733
47734 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47735 Define.
47736 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47737 LOAD_PIC_REG_STR.
47738
b1da7dd9
JM
477392012-02-03 Joseph Myers <joseph@codesourcery.com>
47740
47741 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47742 (SETUP_PIC_REG): Use GET_PC_THUNK.
47743 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47744 macro.
47745
9a1d9254
JM
477462012-02-03 Joseph Myers <joseph@codesourcery.com>
47747
47748 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47749 for non-PIC compilation.
47750 (SETUP_PIC_REG): Add .p2align directive.
47751 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47752 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47753 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47754 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47755 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47756 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47757 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47758 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47759 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47760 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47761 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47762 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47763 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47764 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47765 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47766 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47767 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47768 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47769 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47770 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47771 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47772 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47773 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47774 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47775 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47777 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47778 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47779 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47780 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47781 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47782 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47783 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47784 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47785 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47786 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47787 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47788 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47789 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47790 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47791 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47792
65dc3b75
JM
477932012-02-03 Joseph Myers <joseph@codesourcery.com>
47794
47795 * math/tst-CMPLX.c: Include <stdio.h>.
47796
d55bf177
JM
477972012-01-31 Joseph Myers <joseph@codesourcery.com>
47798
47799 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47800 float.
47801 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47802 * sysdeps/sparc/bits/mathdef.h: Likewise.
47803
69db4f8f
MP
478042012-01-31 Marek Polacek <polacek@redhat.com>
47805
47806 * libio/libio.h: Don't define _PARAMS.
47807 * locale/programs/config.h: Don't define PARAMS.
47808 * stdlib/strtol_l.c: Likewise.
47809 (__strtol_l): Remove PARAMS from the prototype.
47810
41b81892
UD
478112012-01-31 Ulrich Drepper <drepper@gmail.com>
47812
3b49edc0
UD
47813 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47814 names. Just use the correct names. Remove unnecessary wrapper
47815 functions.
47816 * malloc/arena.c: Likewise.
47817 * malloc/hooks.c: Likewise.
47818
41b81892
UD
47819 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47820 ARENA_TEST says not to. Simplify test for creation of a new arena.
47821 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47822
27a25b6e
UD
478232012-01-30 Ulrich Drepper <drepper@gmail.com>
47824
47825 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47826 into tail calls.
47827 (update_get_addr): New function.
47828 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47829 GET_ADDR_MODULE parameter.
47830
c8a89e7d
JM
478312012-01-30 Joseph Myers <joseph@codesourcery.com>
47832
47833 * crypt/cert.c: Remove __STDC__ conditionals.
47834 * crypt/crypt-entry.c: Likewise.
47835 * crypt/crypt_util.c: Likewise.
47836 * libio/filedoalloc.c: Likewise.
47837 * libio/fileops.c: Likewise.
47838 * libio/genops.c: Likewise.
47839 * libio/iofclose.c: Likewise.
47840 * libio/iofdopen.c: Likewise.
47841 * libio/iofopen.c: Likewise.
47842 * libio/iofopen64.c: Likewise.
47843 * libio/iogetdelim.c: Likewise.
47844 * libio/iopopen.c: Likewise.
47845 * libio/obprintf.c: Likewise.
47846 * libio/oldfileops.c: Likewise.
47847 * libio/oldiofclose.c: Likewise.
47848 * libio/oldiofdopen.c: Likewise.
47849 * libio/oldiofopen.c: Likewise.
47850 * libio/oldiopopen.c: Likewise.
47851 * libio/wfiledoalloc.c: Likewise.
47852 * libio/wgenops.c: Likewise.
47853 * locale/programs/xmalloc.c: Likewise.
47854 * misc/syslog.c: Likewise.
47855 * stdio-common/xbug.c: Likewise.
47856 * string/memchr.c: Likewise.
47857 * string/memcmp.c: Likewise.
47858 * string/memrchr.c: Likewise.
47859 * string/rawmemchr.c: Likewise.
47860 * sysdeps/posix/getcwd.c: Likewise.
47861 * time/strftime_l.c: Likewise.
47862
3b100462
JM
478632012-01-30 Joseph Myers <joseph@codesourcery.com>
47864
47865 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
47866 * config.make.in (config-cflags-sse2avx): Define.
47867 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47868 Fix typo.
47869
607998af
CM
478702012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47871
47872 * scripts/config.guess: Update from upstream config git repository.
47873 * scripts/config.sub: Likewise.
47874
3601428f
CM
478752012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47876
3ac8b282
CM
47877 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47878 (EM_NUM): Update.
47879 (R_TILEPRO_*, R_TILEGX_*): New macros.
47880
e034841e
CM
47881 * scripts/firstversions.awk: Fix bug in version range handling.
47882
540d7568
CM
47883 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47884
3601428f
CM
47885 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47886
463de862
CM
47887 * include/sys/epoll.h: New file.
47888 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47889 libc_hidden_def.
47890
73139a76
UD
478912012-01-28 Ulrich Drepper <drepper@gmail.com>
47892
96bc5b45
UD
47893 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47894 Avoid unnecessary __WORDSIZE == 64 test.
47895 (fmaxf): Use VEX format if possible.
47896 (fmax): Likewise.
47897 (fminf): Likewise.
47898 (fmin): Likewise.
47899
56f6f6a2
UD
47900 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47901 * math/math_private.h: Remove libc_fegetround* and
47902 libc_fesetround*.
47903 * sysdeps/i386/configure.in: Check for -msse2avx.
47904 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47905 also if SSE2AVX is defined.
47906 Remove libc_fegetround* and libc_fesetround*.
47907 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47908 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47909 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47910 of HAS_YMM_USABLE.
47911 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47912 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47913 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47914 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47915 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47916
73139a76
UD
47917 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47918
d73f93a4
AZ
479192012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47920
47921 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47922 size is not set.
47923 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47924
6ee65ed6
UD
479252012-01-27 Ulrich Drepper <drepper@gmail.com>
47926
47927 [BZ #13618]
47928 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47929 relocation.
47930 * Makeconfig (libm): Define.
47931 * elf/Makefile: Add rules to build and run tst-relsort1.
47932 * elf/tst-relsort1.c: New file.
47933 * elf/tst-relsort1mod1.c: New file.
47934 * elf/tst-relsort1mod2.c: New file.
47935
8db21882
JM
479362012-01-27 Joseph Myers <joseph@codesourcery.com>
47937
47938 * math/s_ldexp.c: Remove __STDC__ conditionals.
47939 * math/s_ldexpf.c: Likewise.
47940 * math/s_ldexpl.c: Likewise.
47941 * math/s_nextafter.c: Likewise.
47942 * math/s_nexttowardf.c: Likewise.
47943 * math/s_significand.c: Likewise.
47944 * math/s_significandf.c: Likewise.
47945 * math/s_significandl.c: Likewise.
47946 * math/w_jnl.c: Likewise.
47947 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47948 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47949 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47950 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47951 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47952 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47953 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47954 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47955 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47956 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47957 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47958 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47959 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47960 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47961 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47962 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47963 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47964 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47968 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47969 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47970 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47971 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47972 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47973 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47974 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47975 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47976 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47977 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47978 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47979 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47980 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47981 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47982 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47983 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47984 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47985 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47986 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47987 * sysdeps/ieee754/k_standard.c: Likewise.
47988 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47992 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47993 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47994 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47995 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47998 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47999 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48000 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48001 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48002 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48007 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48008 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48010 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48011 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48012 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48013 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48014 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48015 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48017 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48018 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48019 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48020 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48021 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48022 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48023 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48024 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48025 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48026 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48027 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48028 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48029 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48030 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48031 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48032 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48033 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48034 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48035 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48036 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48037 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48038 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48041 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48042 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48043 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48044 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48045 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48046 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48047 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48048 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48049 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48050 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48051 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48052 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48053 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48054 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48055 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48056 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48057 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48058 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48059 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48060 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48061 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48062 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48063 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48064 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48065 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48066 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48067 * sysdeps/ieee754/s_matherr.c: Likewise.
48068 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48069 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48070 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48071 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48072
965a54a4
JM
480732012-01-26 Joseph Myers <joseph@codesourcery.com>
48074
48075 * crypt/md5.h: Remove __STDC__ conditionals.
48076 * libio/libioP.h: Likewise.
48077 * locale/programs/config.h: Likewise.
48078 * sysdeps/generic/sysdep.h: Likewise.
48079 * sysdeps/i386/asm-syntax.h: Likewise.
48080 * sysdeps/s390/asm-syntax.h: Likewise.
48081 * sysdeps/unix/sysdep.h: Likewise.
48082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48084
7071ad79
JM
480852012-01-26 Joseph Myers <joseph@codesourcery.com>
48086
48087 * libio/libio.h: Remove __STDC__ conditionals.
48088 * malloc/obstack.h: Likewise.
48089 * math/complex.h: Likewise.
48090 * math/math.h: Likewise.
48091 * sysdeps/generic/_G_config.h: Likewise.
48092 * sysdeps/gnu/_G_config.h: Likewise.
48093 * sysdeps/mach/hurd/_G_config.h: Likewise.
48094 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48095 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48096 * sysdeps/sparc/bits/mathdef.h: Likewise.
48097
afc5ed09
UD
480982012-01-26 Ulrich Drepper <drepper@gmail.com>
48099
48100 [BZ #13583]
48101 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48102 Clean up HAS_* macros.
afc5ed09 48103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48104 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48105 possible.
48106 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48107 HAS_AVX.
48108 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48109 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48110 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48111 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48112 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48113
bdb6de1d
JM
481142012-01-25 Joseph Myers <joseph@codesourcery.com>
48115
48116 * elf/tst-unique3.cc (gets): Remove declaration.
48117 * elf/tst-unique3lib.cc (gets): Likewise.
48118 * elf/tst-unique3lib2.cc (gets): Likewise.
48119 * elf/tst-unique4.cc (gets): Likewise.
48120
b15549e6
UD
481212012-01-24 Ulrich Drepper <drepper@gmail.com>
48122
48123 * include/stdio.h: Add C++ protection. Add gets declarations and
48124 definitions.
48125 * debug/tst-chk1.c: Don't declare gets here.
48126 * stdio-common/tst-gets.c: Likewise.
48127
a037381f
JM
481282012-01-24 Joseph Myers <joseph@codesourcery.com>
48129
48130 * posix/glob: Remove directory.
48131
f1d4aa75
JM
481322012-01-24 Joseph Myers <joseph@codesourcery.com>
48133
48134 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48135
81c0c964
PT
481362012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48137
48138 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48139 of the non-standard EPFNOSUPPORT.
48140
0ea698ae
ST
481412011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48142
48143 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48144 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48145 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48146
d220b117
UD
481472012-01-21 Ulrich Drepper <drepper@gmail.com>
48148
48149 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48150
3e1aa84e
UD
481512012-01-20 Ulrich Drepper <drepper@gmail.com>
48152
48153 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48154 transient errors.
48155 * nscd/grpcache.c (cache_addgr): Likewise.
48156 * nscd/hstcache.c (cache_addhst): Likewise.
48157 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48158 * nscd/pwdcache.c (cache_addpw): Likewise.
48159 * nscd/servicescache.c (cache_addserv): Likewise.
48160
400aa020
UD
481612012-01-16 Ulrich Drepper <drepper@gmail.com>
48162
d77e7869
UD
48163 * malloc/malloc.c: Various cleanups.
48164 * malloc/hooks.c: Likewise.
48165
400aa020
UD
48166 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48167 * stdlib/bug-fmtmsg1.c: New file.
48168
48169 * stdlib/fmtmsg.c (init): Add missing unlock.
48170 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48171
e0a309cf
MP
481722012-01-12 Marek Polacek <polacek@redhat.com>
48173
48174 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48175 and _GNU_SOURCE.
48176
929d11c7
WS
481772012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48178
48179 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48180 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48181 macro to ensure uniqueness of label name.
48182 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48183 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48184
41d0e869
UD
481852012-01-11 Ulrich Drepper <drepper@gmail.com>
48186
0cc5ed3b
UD
48187 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48188
41d0e869
UD
48189 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48190 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48191 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48193
a47a831a
UD
481942012-01-10 Ulrich Drepper <drepper@gmail.com>
48195
daa891c0
UD
48196 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48197
48198 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48199 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48200 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48201
e58ef0f2
UD
48202 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48203
a47a831a 48204 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48205 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48206 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48208
48209 * math/bits/math-finite.h: Add ldexp support.
48210
a0bfc9c7
MP
482112012-01-10 Marek Polacek <polacek@redhat.com>
48212
48213 * locale/programs/localedef.h (show_archive_content): Add noreturn
48214 attribute.
48215
d6e97a1d
UD
482162012-01-09 Ulrich Drepper <drepper@gmail.com>
48217
48218 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48219
d5835c26
UD
482202012-01-08 Ulrich Drepper <drepper@gmail.com>
48221
e5f484c6
UD
48222 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48223
d5835c26
UD
48224 * io/Makefile (headers): Add bits/poll2.h.
48225
d1f741e9
WS
482262011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48227
48228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48229 typo #include statement.
48230
ec09c1c4
UD
482312012-01-08 Ulrich Drepper <drepper@gmail.com>
48232
48233 * include/sys/cdefs.h: Define __attribute_alloc_size.
48234 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48235 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48236 * elf/pldd.c: Likewise.
48237 * iconv/iconv_charmap.c: Likewise.
48238 * iconv/iconvconfig.c: Likewise.
48239 * iconv/strtab.c: Likewise.
48240 * locale/programs/locale.c: Likewise.
48241 * locale/programs/localedef.h: Likewise.
48242 * locale/programs/simple-hash.c: Likewise.
48243 * nscd/nscd.h: Likewise.
48244 * nss/makedb.c: Likewise.
48245 * sysdeps/generic/ldconfig.h: Likewise.
48246 * locale/programs/localedef.c: Remove xmalloc prototype.
48247 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48248
20b38e03
PP
482492012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48250
48251 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48252 appropriate.
48253
a0da5fe1
UD
482542012-01-08 Ulrich Drepper <drepper@gmail.com>
48255
1d5a644a 48256 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48257 * math/tst-CMPLX.c: New file.
1d5a644a 48258
8784a6db
UD
48259 * math/complex.h (CMPLXL): Fix typo.
48260
d9a216c0
UD
48261 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48262 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48263 GLIBC_2.16.
48264 * debug/tst-chk1.c: Add poll and ppoll tests.
48265 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48266 * include/sys/poll.h: Add hidden proto for ppoll.
48267 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48268 * sysdeps/mach/hurd/ppoll.c: Likewise.
48269 * io/ppoll.c: Likewise.
48270 * debug/poll_chk.c: New file.
48271 * debug/ppoll_chk.c: New file.
48272 * include/bits/poll2.h: New file.
48273 * io/bits/poll2.h: New file.
48274
ac097f5c
UD
48275 [BZ #1350]
48276 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48277
2119dcfa
UD
48278 * configure.in: static is always set to yes. Remove.
48279 * config.make.in: Don't set build-static.
48280 * Makeconfig: Remove use of build-static.
48281 * dlfcn/Makefile: Likewise.
48282 * elf/Makefile: Likewise.
48283 * math/Makefile: Likewise.
48284 * misc/Makefile: Likewise.
48285 * nptl/Makefile: Likewise.
48286 * sysdeps/mach/hurd/Makefile: Likewise.
48287
121766a9
UD
48288 * configure.in: PWD_P is not used anymore.
48289 * config.make.in: Remove PWD_P entry.
48290
51a1d39c 48291 * configure.in: Remove last remnants of RANLIB.
8720d066 48292 No need to check for signed size_t anymore.
215f4bdc
UD
48293 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48294 and IA-64.
3857022a 48295 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48296 * aclocal.m4: Likewise.
48297
d3ed7225
UD
48298 * wcsmbs/mbrtoc16.c: Implement using towc function.
48299 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48300 * wcsmbs/wcsmbsload.c: Likewise.
48301 * iconv/gconv_simple.c: Likewise.
48302 * iconv/gconv_int.h: Likewise.
48303 * iconv/gconv_builtin.h: Likewise.
48304 * iconv/iconv_prog.c: Remove CHAR16 handling.
48305
48306 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48307
48308 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48309
a0da5fe1
UD
48310 * configure.in: Remove --with-elf and --enable-bounded options.
48311 Dont set base_machine for ia64. More non-ELF conditions removed.
48312 Remove testing and setting of leading underscore information.
48313 * config.make.in (build-bounded): Set to no.
48314 * config.h.in: Remove NO_UNDERSCORES entry.
48315 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48316 them.
48317 * csu/start.c: Remove !NO_UNDERSCORE code.
48318 * locale/localeinfo.h: Likewise.
48319 * sysdeps/generic/machine-gmon.h: Likewise.
48320 * sysdeps/generic/sysdep.h: Likewise.
48321 * sysdeps/i386/sysdep.h: Likewise.
48322 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48323 * sysdeps/mach/sysdep.h: Likewise.
48324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48325 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48326 * sysdeps/sh/sysdep.h: Likewise.
48327 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48328 * sysdeps/unix/i386/sysdep.S: Likewise.
48329 * sysdeps/unix/sparc/start.c: Likewise.
48330 * sysdeps/unix/sparc/sysdep.S: Likewise.
48331 * sysdeps/unix/sparc/sysdep.h: Likewise.
48332 * sysdeps/unix/start.c: Likewise.
48333 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48334 * sysdeps/x86_64/sysdep.h: Likewise.
48335
df78418a
UD
483362012-01-07 Ulrich Drepper <drepper@gmail.com>
48337
a784e502
UD
48338 [BZ #13553]
48339 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48340 for non-gcc.
48341 * argp/argp-fmtstream.h: Use const instead __const.
48342 * argp/argp.h: Likewise.
48343 * assert/assert.h: Likewise.
48344 * bits/fenv.h: Likewise.
48345 * bits/sched.h: Likewise.
48346 * bits/sigset.h: Likewise.
48347 * bits/sigthread.h: Likewise.
48348 * catgets/nl_types.h: Likewise.
48349 * conform/data/pthread.h-data: Likewise.
48350 * crypt/crypt-private.h: Likewise.
48351 * crypt/crypt.h: Likewise.
48352 * crypt/crypt_util.c: Likewise.
48353 * ctype/ctype.h: Likewise.
48354 * debug/execinfo.h: Likewise.
48355 * debug/mbsnrtowcs_chk.c: Likewise.
48356 * debug/mbsrtowcs_chk.c: Likewise.
48357 * debug/wcsnrtombs_chk.c: Likewise.
48358 * debug/wcsrtombs_chk.c: Likewise.
48359 * debug/wcstombs_chk.c: Likewise.
48360 * dirent/dirent.h: Likewise.
48361 * dlfcn/dlfcn.h: Likewise.
48362 * elf/neededtest4.c: Likewise.
48363 * grp/grp.h: Likewise.
48364 * gshadow/gshadow.h: Likewise.
48365 * iconv/gconv.h: Likewise.
48366 * iconv/gconv_int.h: Likewise.
48367 * iconv/gconv_simple.c: Likewise.
48368 * iconv/iconv.h: Likewise.
48369 * iconv/loop.c: Likewise.
48370 * iconv/skeleton.c: Likewise.
48371 * include/aio.h: Likewise.
48372 * include/aliases.h: Likewise.
48373 * include/argz.h: Likewise.
48374 * include/arpa/inet.h: Likewise.
48375 * include/assert.h: Likewise.
48376 * include/dirent.h: Likewise.
48377 * include/dlfcn.h: Likewise.
48378 * include/execinfo.h: Likewise.
48379 * include/fcntl.h: Likewise.
48380 * include/fenv.h: Likewise.
48381 * include/glob.h: Likewise.
48382 * include/grp.h: Likewise.
48383 * include/libintl.h: Likewise.
48384 * include/mntent.h: Likewise.
48385 * include/netdb.h: Likewise.
48386 * include/pwd.h: Likewise.
48387 * include/rpc/netdb.h: Likewise.
48388 * include/sched.h: Likewise.
48389 * include/search.h: Likewise.
48390 * include/shadow.h: Likewise.
48391 * include/signal.h: Likewise.
48392 * include/stdio.h: Likewise.
48393 * include/stdlib.h: Likewise.
48394 * include/string.h: Likewise.
48395 * include/sys/socket.h: Likewise.
48396 * include/sys/stat.h: Likewise.
48397 * include/sys/statfs.h: Likewise.
48398 * include/sys/statvfs.h: Likewise.
48399 * include/sys/syslog.h: Likewise.
48400 * include/sys/time.h: Likewise.
48401 * include/sys/uio.h: Likewise.
48402 * include/time.h: Likewise.
48403 * include/unistd.h: Likewise.
48404 * include/utmp.h: Likewise.
48405 * include/wchar.h: Likewise.
48406 * include/wctype.h: Likewise.
48407 * inet/aliases.h: Likewise.
48408 * inet/arpa/inet.h: Likewise.
48409 * inet/netinet/ether.h: Likewise.
48410 * inet/netinet/in.h: Likewise.
48411 * intl/libintl.h: Likewise.
48412 * io/bits/fcntl2.h: Likewise.
48413 * io/fcntl.h: Likewise.
48414 * io/ftw.h: Likewise.
48415 * io/sys/poll.h: Likewise.
48416 * io/sys/stat.h: Likewise.
48417 * io/sys/statfs.h: Likewise.
48418 * io/sys/statvfs.h: Likewise.
48419 * io/utime.h: Likewise.
48420 * libio/bits/stdio.h: Likewise.
48421 * libio/bits/stdio2.h: Likewise.
48422 * libio/libio.h: Likewise.
48423 * libio/libioP.h: Likewise.
48424 * libio/stdio.h: Likewise.
48425 * locale/lc-ctype.c: Likewise.
48426 * locale/locale.h: Likewise.
48427 * login/utmp.h: Likewise.
48428 * malloc/arena.c: Likewise.
48429 * malloc/malloc.c: Likewise.
48430 * malloc/malloc.h: Likewise.
48431 * malloc/mcheck.c: Likewise.
48432 * malloc/mtrace.c: Likewise.
48433 * math/bits/mathcalls.h: Likewise.
48434 * math/fenv.h: Likewise.
48435 * math/math_private.h: Likewise.
48436 * misc/bits/error.h: Likewise.
48437 * misc/bits/syslog.h: Likewise.
48438 * misc/err.h: Likewise.
48439 * misc/error.h: Likewise.
48440 * misc/fstab.h: Likewise.
48441 * misc/mntent.h: Likewise.
48442 * misc/regexp.h: Likewise.
48443 * misc/search.h: Likewise.
48444 * misc/sgtty.h: Likewise.
48445 * misc/sys/mman.h: Likewise.
48446 * misc/sys/syslog.h: Likewise.
48447 * misc/sys/uio.h: Likewise.
48448 * misc/sys/xattr.h: Likewise.
48449 * misc/ttyent.h: Likewise.
48450 * nis/rpcsvc/ypclnt.h: Likewise.
48451 * nss/nss.h: Likewise.
48452 * posix/bits/unistd.h: Likewise.
48453 * posix/fnmatch.h: Likewise.
48454 * posix/glob.h: Likewise.
48455 * posix/sched.h: Likewise.
48456 * posix/spawn.h: Likewise.
48457 * posix/sys/wait.h: Likewise.
48458 * posix/unistd.h: Likewise.
48459 * posix/wordexp.h: Likewise.
48460 * pwd/pwd.h: Likewise.
48461 * resolv/netdb.h: Likewise.
48462 * resource/sys/resource.h: Likewise.
48463 * rt/aio.h: Likewise.
48464 * rt/bits/mqueue2.h: Likewise.
48465 * rt/mqueue.h: Likewise.
48466 * shadow/shadow.h: Likewise.
48467 * signal/signal.h: Likewise.
48468 * socket/send.c: Likewise.
48469 * socket/sendto.c: Likewise.
48470 * socket/sys/socket.h: Likewise.
48471 * stdio-common/printf.h: Likewise.
48472 * stdlib/bits/stdlib.h: Likewise.
48473 * stdlib/fmtmsg.h: Likewise.
48474 * stdlib/monetary.h: Likewise.
48475 * stdlib/stdlib.h: Likewise.
48476 * stdlib/ucontext.h: Likewise.
48477 * streams/stropts.h: Likewise.
48478 * string/argz.h: Likewise.
48479 * string/bits/string2.h: Likewise.
48480 * string/string.h: Likewise.
48481 * string/strings.h: Likewise.
48482 * sunrpc/rpc/auth.h: Likewise.
48483 * sunrpc/rpc/auth_des.h: Likewise.
48484 * sunrpc/rpc/clnt.h: Likewise.
48485 * sunrpc/rpc/netdb.h: Likewise.
48486 * sunrpc/rpc/pmap_clnt.h: Likewise.
48487 * sunrpc/rpc/xdr.h: Likewise.
48488 * sysdeps/generic/inttypes.h: Likewise.
48489 * sysdeps/generic/net/if.h: Likewise.
48490 * sysdeps/generic/sys/swap.h: Likewise.
48491 * sysdeps/gnu/net/if.h: Likewise.
48492 * sysdeps/gnu/utmpx.h: Likewise.
48493 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48494 * sysdeps/i386/i486/bits/string.h: Likewise.
48495 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48496 * sysdeps/s390/bits/string.h: Likewise.
48497 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48498 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48499 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48500 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48501 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48502 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48503 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48504 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48505 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48506 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48507 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48508 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48509 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48510 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48511 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48512 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48513 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48515 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48516 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48517 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48518 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48519 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48520 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48521 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48522 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48523 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48524 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48525 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48526 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48527 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48528 * sysvipc/sys/ipc.h: Likewise.
48529 * sysvipc/sys/msg.h: Likewise.
48530 * sysvipc/sys/sem.h: Likewise.
48531 * sysvipc/sys/shm.h: Likewise.
48532 * termios/termios.h: Likewise.
48533 * time/sys/time.h: Likewise.
48534 * time/time.h: Likewise.
48535 * wcsmbs/bits/wchar2.h: Likewise.
48536 * wcsmbs/uchar.h: Likewise.
48537 * wcsmbs/wchar.h: Likewise.
48538 * wctype/wctype.h: Likewise.
48539
0269750c
UD
48540 [BZ #13551]
48541 * Makeconfig: Remove all but ELF support including AIX support.
48542 * Makerules: Likewise.
48543 * config.h.in: Likewise.
48544 * config.make.in: Likewise.
48545 * configure: Likewise.
48546 * configure.in: Likewise.
48547 * csu/Makefile: Likewise.
48548 * csu/version.c: Likewise.
48549 * debug/Makefile: Likewise.
48550 * dlfcn/Makefile: Likewise.
48551 * elf/Makefile: Likewise.
48552 * extra-lib.mk: Likewise.
48553 * iconv/Makefile: Likewise.
48554 * include/libc-symbols.h: Likewise.
48555 * include/shlib-compat.h: Likewise.
48556 * resolv/Makefile: Likewise.
48557 * resolv/res_libc.c: Likewise.
48558 * rt/Makefile: Likewise.
48559 * sysdeps/i386/asm-syntax.h: Likewise.
48560 * sysdeps/i386/sysdep.h: Likewise.
48561 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48562 * sysdeps/mach/sysdep.h: Likewise.
48563 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48564 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48565 * sysdeps/s390/asm-syntax.h: Likewise.
48566 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48567 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48568 * sysdeps/sh/sysdep.h: Likewise.
48569 * sysdeps/unix/sparc/sysdep.h: Likewise.
48570 * sysdeps/wordsize-32/divdi3.c: Likewise.
48571 * sysdeps/x86_64/sysdep.h: Likewise.
48572
00bbd29b
UD
48573 * argp/Versions: Remove _argp_unlock_xxx.
48574
48575 [BZ #13559]
48576 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48577 * abilist/libBrokenLocale.abilist: Likewise.
48578 * abilist/libanl.abilist: Likewise.
48579 * abilist/libc.abilist: Likewise.
48580 * abilist/libcrypt.abilist: Likewise.
48581 * abilist/libdl.abilist: Likewise.
48582 * abilist/libm.abilist: Likewise.
48583 * abilist/libnsl.abilist: Likewise.
48584 * abilist/libpthread.abilist: Likewise.
48585 * abilist/libresolv.abilist: Likewise.
48586 * abilist/librt.abilist: Likewise.
48587 * abilist/libthread_db.abilist: Likewise.
48588 * abilist/libutil.abilist: Likewise.
48589 * abilist/libnss_db.abilist: New file.
48590
48591 * scripts/abilist.awk: Add support for indirect functions.
48592
a2693a0e
UD
48593 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48594
3f05895f
UD
48595 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48596
ecb6fb48
UD
48597 * shlib-versions: Remove entries for ports architectures.
48598
664f8cb9
UD
48599 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48600 files in ports.
48601 * elf/stackguard-macros.h: Remove support for IA-64.
48602 * elf/tst-auditmod1.c: Likewise.
48603 * sysdeps/generic/ldsodefs.h: Likewise.
48604
7ae81d88
UD
48605 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48606 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48607 configure files.
48608
bdeba135
UD
48609 [BZ #13552]
48610 * configure.in: Remove --enable-omitfp support.
48611 * FAQ.in: Adjust.
48612 * config.make.in: Likewise.
48613 * Makeconfig: Likewise.
48614 * manual/install.texi: Likewise.
48615
d75a0a62
UD
48616 In case anyone cares, the IA-64 architecture could move to ports.
48617 * sysdeps/ia64/*: Removed.
48618 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 48619 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 48620
dcc9756b
UD
48621 [BZ #13555]
48622 * configure.in: Remove entries for unsupported architectures.
48623
d3761ebc 48624 [BZ #13533]
9954432e
UD
48625 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48626 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48627 routines.
48628 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48629 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48630 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48631 fall back to using wcrtomb.
48632 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48633 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48634 renaming.
48635 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48636 * wcsmbs/tst-c16c32-1.c: New file.
48637
48638 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48639 local variable.
48640
c3a87236
UD
48641 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48642
28926a1b
UD
48643 * elf/tst-unique3.cc: Add explicit declaration of gets.
48644 * elf/tst-unique3lib.cc: Likewise.
48645 * elf/tst-unique3lib2.cc: Likewise.
48646 * elf/tst-unique4.cc: Likewise.
48647
df78418a
UD
48648 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48649
8ecd6b2a
JM
486502012-01-06 Joseph Myers <joseph@codesourcery.com>
48651
48652 [BZ #13566]
48653 * assert/assert.h (static_assert): Don't define for C++.
48654 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48655 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48656
9f115170
UD
486572012-01-03 Ulrich Drepper <drepper@gmail.com>
48658
5e0d0300
UD
48659 * iconv/loop.c (single loop): Fix assertion in storing of
48660 remaining bytes.
48661
9f115170
UD
48662 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48663
81fb02b0
UD
486642012-01-01 Ulrich Drepper <drepper@gmail.com>
48665
48666 * posix/getconf.c: Update copyright year.
48667 * nss/getent.c: Likewise.
a316c1f6 48668 * nss/makedb.c: Likewise.
81fb02b0
UD
48669 * iconv/iconvconfig.c: Likewise.
48670 * iconv/iconv_prog.c: Likewise.
48671 * elf/ldconfig.c: Likewise.
a316c1f6
UD
48672 * elf/pldd.c: Likewise.
48673 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
48674 * catgets/gencat.c: Likewise.
48675 * csu/version.c: Likewise.
48676 * elf/ldd.bash.in: Likewise.
48677 * elf/sprof.c (print_version): Likewise.
48678 * locale/programs/locale.c: Likewise.
48679 * locale/programs/localedef.c: Likewise.
a316c1f6 48680 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
48681 * nscd/nscd.c (print_version): Likewise.
48682 * debug/xtrace.sh: Likewise.
48683 * malloc/memusage.sh: Likewise.
48684 * malloc/mtrace.pl: Likewise.
48685 * debug/catchsegv.sh: Likewise.
48686
2ba92745
JJ
486872011-12-30 Jakub Jelinek <jakub@redhat.com>
48688
48689 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48690 pure attribute.
48691
dadebdae
UD
486922011-12-24 Ulrich Drepper <drepper@gmail.com>
48693
d3761ebc 48694 [BZ #13533]
db6af3eb
UD
48695 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48696 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48697 transformations.
48698 * iconv/gconv_int.h: Likewise.
48699 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48700 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48701 from libc for GLIBC_2.16.
48702 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48703 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48704 * wcsmbs/uchar.h: Really define mbstate_t.
48705 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48706 * wcsmbs/c16rtomb.c: New file.
48707 * wcsmbs/mbrtoc16.c: New file.
48708 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48709 for C/POSIX locale.
48710 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48711 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48712
dadebdae
UD
48713 * wcsmbs/wchar.h: Add missing __restrict.
48714
67371b56
UD
487152011-12-23 Ulrich Drepper <drepper@gmail.com>
48716
74033a25
UD
48717 [BZ #13532]
48718 * time/Makefile (routines): Add timespec_get.
48719 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48720 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48721 timespec for ISO C11.
48722 * time/timespec_get.c: New file.
48723 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48724 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48725
380d7e87
UD
48726 [BZ #13531]
48727 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48728 * stdlib/stdlib.h: Declare aligned_alloc.
48729 * Versions.def: Add GLIBC_2.16 for libc.
48730 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48731
4e9e7a35
UD
48732 [BZ 13527]
48733 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48734 ISO C11.
48735
380d7e87 48736 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
48737 code.
48738
03a71829
UD
48739 [BZ #13528]
48740 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48741
839e283e
UD
48742 [BZ #13529]
48743 * assert/assert.h (static_assert): Define.
48744
ce5294e2 48745 * version.h: Update for 2.16 development version.
90fa7312 48746
8d44e150 48747 [BZ #13526]
d7809905
UD
48748 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48749 _ISOC11_SOURCE.
48750
c0da14cd
UD
48751 * version.h (RELEASE): Bump for 2.15 release.
48752 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48753
530a3249
MP
48754 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48755 Patch by Marek Polacek <mpolacek@redhat.com>.
48756
67371b56
UD
48757 * bits/byteswap.h: Protect long long constants with __extension__.
48758 * sysdeps/i386/bits/byteswap.h: Likewise.
48759 * sysdeps/ia64/bits/byteswap.h: Likewise.
48760 * sysdeps/s390/bits/byteswap.h: Likewise.
48761 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48762
15db4de1
LD
487632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48764
48765 [BZ #13540]
bbe315ea
LD
48766 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48767 destination buffer.
15db4de1
LD
48768 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48769
2b2596b1
MP
487702011-12-23 Marek Polacek <polacek@redhat.com>
48771
48772 * elf/dl-addr.c (determine_info): Add inline keyword.
48773 * elf/tst-auditmod4b.c (check_avx): Likewise.
48774 * elf/tst-auditmod6b.c (check_avx): Likewise.
48775 * elf/tst-auditmod6c.c (check_avx): Likewise.
48776 * elf/tst-auditmod7b.c (check_avx): Likewise.
48777
70c6c246
UD
487782011-12-23 Ulrich Drepper <drepper@gmail.com>
48779
48780 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48781 !__SSE_MATH__.
48782
c044cf14
LD
487832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48784
15db4de1 48785 [BZ #13540]
c044cf14
LD
48786 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48787 processing for last bytes.
48788
6b13d9d9
BH
487892011-08-06 Bruno Haible <bruno@clisp.org>
48790
d455f537
BH
48791 [BZ #13061]
48792 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48793 U+0385, not to U+1FEE.
48794
6b13d9d9
BH
48795 [BZ #13062]
48796 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48797 entry for U+00A5 U+0301.
48798
db910efd
UD
487992011-12-22 Ulrich Drepper <drepper@gmail.com>
48800
27deeafc
UD
48801 [BZ #13166]
48802 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48803 buffer for the output is too small.
48804
aed9d171
UD
48805 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48806 optimization.
48807
db910efd
UD
48808 [BZ #13185]
48809 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48810 SSE flags if possible.
48811
2bd779ae
LD
488122011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48813
e7f9dac3 48814 [BZ #13540]
2bd779ae
LD
48815 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48816 processing for last bytes.
48817
154bfc16
JM
488182011-12-22 Joseph Myers <joseph@codesourcery.com>
48819
48820 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48821 (syscall-list-default-options, syscall-list-default-condition)
48822 (syscall-list-includes): Define.
48823 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48824 list of ABIs and options and #if conditions for each ABI. Do not
48825 handle common syscalls between ABIs specially.
48826 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48827 Remove.
48828 (syscall-list-variants, syscall-list-32bit-options)
48829 (syscall-list-32bit-condition, syscall-list-64bit-options)
48830 (syscall-list-64bit-condition): Define.
48831 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48832 (syscall-list-variants, syscall-list-32bit-options)
48833 (syscall-list-32bit-condition, syscall-list-64bit-options)
48834 (syscall-list-64bit-condition): Define.
48835 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48836 Remove.
48837 (syscall-list-variants, syscall-list-32bit-options)
48838 (syscall-list-32bit-condition, syscall-list-64bit-options)
48839 (syscall-list-64bit-condition): Define.
48840 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48841 Remove.
48842 (syscall-list-variants, syscall-list-32bit-options)
48843 (syscall-list-32bit-condition, syscall-list-64bit-options)
48844 (syscall-list-64bit-condition): Define.
48845
21eaf3a5
UD
488462011-12-22 Ulrich Drepper <drepper@gmail.com>
48847
16c6f992
UD
48848 * locale/iso-639.def: Add brx entry.
48849
41043168
UD
48850 [BZ #13328]
48851 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48852 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48853
21eaf3a5
UD
48854 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48855 __feraiseexcept_renamed.
48856
e3a851a2
UD
488572011-12-21 Ulrich Drepper <drepper@gmail.com>
48858
4920765e
UD
48859 [BZ #13538]
48860 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48861 EPOLLET with unsigned values.
48862 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48863 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48864
e3a851a2
UD
48865 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48866 to large cancellation.
48867 * math/s_cacoshf.c: Likewise.
48868 * math/s_cacoshl.c: Likewise.
48869
b27e24b8
RK
488702011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48871
48872 [BZ #13305]
aebefeee 48873 [BZ #12786]
b27e24b8
RK
48874 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48875 * math/s_cacoshf.c: Likewise.
48876 * math/s_cacoshl.c: Likewise.
48877
ee190f67
UD
488782011-12-21 Ulrich Drepper <drepper@gmail.com>
48879
48880 [BZ #13439]
48881 * iconv/gconv.h: Define __GCONV_SWAP.
48882 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48883 * iconvdata/utf-16.c: Likewise.
48884 * iconvdata/utf-32.c: Likewise.
48885
707f25df
AS
488862011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48887
48888 [BZ #13524]
48889 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48890 numerator after shifting it by one limb.
48891
d2daaa1e
RÁE
488922011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48893
48894 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48895 under [__USE_EXTERN_INLINES].
48896
a4647e72
UD
488972011-12-17 Ulrich Drepper <drepper@gmail.com>
48898
48899 [BZ #13446]
48900 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48901
f0b264f1
AZ
489022011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48903
48904 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48905 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48906 optimized code.
48907 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48908 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48909 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48910 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48911 for strncasecmp/strncasecmp_l compilation.
48912 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48913 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48914
8ef4f244
MP
489152011-12-08 Marek Polacek <mpolacek@redhat.com>
48916
48917 [BZ #13484]
48918 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48919 of __asm__.
48920
97ac2654
UD
489212011-12-17 Ulrich Drepper <drepper@gmail.com>
48922
48923 [BZ #13506]
48924 * time/tzfile.c (__tzfile_read): Check values from file header.
48925
91d2a845
WS
489262011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48927
48928 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48929 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48930 * powerpc/powerpc32/dl-start.S: Likewise.
48931 * powerpc/powerpc32/elf/start.S: Likewise.
48932 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48933 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48934 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48935 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48936 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48937 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48938 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48939 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48940 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48941 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48942 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48943 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48944 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48945 * powerpc/powerpc32/memset.S: Likewise.
48946 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48947 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48948 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48949 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48950 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48951 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48952 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48953 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48954 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48955 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48956 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48957 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48958 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48959
a1267ba1
AZ
489602011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48961
48962 * math/libm-test.inc: Added more nearbyint tests.
48963 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48964 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48965 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48966 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48967
ad8ac1bd
RL
489682011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48969
48970 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48971 FD_CLOEXEC.
48972
1d3e4b61
UD
489732011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48974
48975 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48976 Add wcscpy-ssse3 wcscpy-c.
48977 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48978 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48979 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48980 * sysdeps/x86_64/wcschr.S: New file.
48981 * sysdeps/x86_64/wcsrchr.S: New file.
48982 * string/test-strcmp.c: Remove checking of wcscmp function for
48983 wrong alignments.
48984 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48985 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48986 wcsrchr-sse2 wcsrchr-c.
48987 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48988 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48989 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48990 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48991 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48992 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48993 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48994 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48995 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48996 * wcsmbc/wcschr.c (WCSCHR): New macro.
48997
5b330a2d
UD
489982011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48999
49000 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49001 * wcsmbs/test-wcsrchr.c: New file.
49002 * string/test-strrchr.c: Add wcsrchr support.
49003 (WIDE): New macro.
49004 * wcsmbs/test-wcscpy.c: New file.
49005 * string/test-strcpy.c: Add wcscpy support.
49006 (WIDE): New macro.
26428b7c 49007
f039c043
UD
490082011-12-10 Ulrich Drepper <drepper@gmail.com>
49009
49010 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49011 the inner loop.
49012
850fb039
AS
490132011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49014
49015 [BZ #13472]
49016 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49017
4efbd5cb
UD
490182011-12-04 Ulrich Drepper <drepper@gmail.com>
49019
52ff5dd0 49020 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49021 Minor optimizations.
52ff5dd0 49022
4efbd5cb
UD
49023 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49024 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49025 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49026
8a426e12
UD
490272011-12-03 Ulrich Drepper <drepper@gmail.com>
49028
aff2453d
UD
49029 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49030 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49031 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49032 for gcc to avoid warnings.
49033 * inet/Makefile (tests): Add tst-checks.
49034 * inet/tst-checks.c: New file.
49035
49036 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49037 warning.
49038
49039 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49040 __wmemcmp_sse2.
49041
49042 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49043 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49044
8a426e12
UD
49045 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49046
9bea3473
UD
490472011-12-02 Ulrich Drepper <drepper@gmail.com>
49048
3a965496
UD
49049 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49050 problem.
49051
9bea3473
UD
49052 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49053
f101631b
UD
490542011-11-29 Joseph Myers <joseph@codesourcery.com>
49055
49056 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49057 conditional on GCC version.
49058 (__arch_compare_and_exchange_val_8_acq)
49059 (__arch_compare_and_exchange_val_16_acq)
49060 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49061 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49062 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49063
a98275aa
UD
490642011-12-02 Joseph Myers <joseph@codesourcery.com>
49065
49066 * sysdeps/sh/backtrace.c: New file.
49067
d4cc29a2
AS
490682011-12-02 Andreas Schwab <schwab@redhat.com>
49069
49070 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49071 parenthesis.
49072
6257af2d
AS
490732011-12-01 Andreas Schwab <schwab@redhat.com>
49074
49075 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49076 falling back to utime.
49077
b5f44c1a
AS
490782011-11-30 Andreas Schwab <schwab@redhat.com>
49079
49080 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49081 expectations for float.
49082
f3a6cc0a
AS
490832011-11-29 Andreas Schwab <schwab@redhat.com>
49084
49085 * locale/weight.h (findidx): Add parameter len.
49086 * locale/weightwc.h (findidx): Likewise.
49087 * posix/fnmatch_loop.c (FCT): Adjust caller.
49088 * posix/regcomp.c (build_equiv_class): Likewise.
49089 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49090 * posix/regexec.c (check_node_accept_bytes): Likewise.
49091 * string/strcoll_l.c (STRCOLL): Likewise.
49092 * string/strxfrm_l.c (STRXFRM): Likewise.
49093
9d65ea3a
UD
490942011-11-17 Ulrich Drepper <drepper@gmail.com>
49095
49096 * Makefile.in: Remove CVSOPT handling.
49097 * configure.in: Remove use of AC_REVISION.
49098 * iconvdata/Makefile (distribute): No need to filter out CVS.
49099 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49100 handling.
49101
5583a086
AS
491022011-11-16 Andreas Schwab <schwab@redhat.com>
49103
49104 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49105 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49106 [USE_AS_STRNCASECMP_L]: Likewise.
49107 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49108 NO_TLS_DIRECT_SEG_REFS.
49109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49110 Fix argument offsets for non-PIC.
49111 [USE_AS_STRNCASECMP_L]: Likewise.
49112 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49113 NO_TLS_DIRECT_SEG_REFS.
49114
d62a8200
UD
491152011-11-15 Ulrich Drepper <drepper@gmail.com>
49116
9d65ea3a 49117 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49118 O_CLOEXEC.
49119 * locale/loadlocale.c (_nl_load_locale): Likewise.
49120
09f93bd3
AS
491212011-11-15 Andreas Schwab <schwab@redhat.com>
49122
446514f9
AS
49123 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49124 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49126 (SYSCALL_GETTIME): Set errno on error.
49127
09f93bd3
AS
49128 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49129 count references to noai6ai_cached.
49130
312be3f9
UD
491312011-11-15 Ulrich Drepper <drepper@gmail.com>
49132
49133 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49134
49135 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49136 FD_CLOEXEC for /proc/self/maps.
49137
49138 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49139 FD_CLOEXEC for /proc/meminfo.
49140
49141 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49142 gai.conf.
49143
49144 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49145 FD_CLOEXEC for given file.
49146
49147 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49148
49149 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49150 FD_CLOEXEC for /etc/hosts.
49151 (_gethtent): Likewise.
49152
49153 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49154
49155 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49156 cancellation and set FD_CLOEXEC for /etc/netgroup.
49157
49158 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49159 reading /etc/publickey.
49160
49161 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49162 allow cancellation when reading /etc/group.
49163
49164 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49165 cancellation.
49166 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49167
49168 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49169 when using data file.
49170
49171 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49172
49173 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49174 (write_nis_obj): Use "c" and "e" in fopen.
49175
49176 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49177
49178 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49179
49180 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49181
49182 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49183
49184 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49185 locale.alias.
49186
49187 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49188
49189 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49190
49191 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49192
49193 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49194 file parsing and set FD_CLOEXEC.
49195
82af0fa8
UD
491962011-11-14 Ulrich Drepper <drepper@gmail.com>
49197
49198 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49199
a5fb313c
AS
492002011-11-14 Andreas Schwab <schwab@redhat.com>
49201
49202 * malloc/arena.c (arena_get2): Don't call reused_arena when
49203 _int_new_arena failed.
49204
6abf3465
UD
492052011-11-14 Ulrich Drepper <drepper@gmail.com>
49206
49207 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49208 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49209 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49210 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49211 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49212 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49213 to compile strcasecmp and strncasecmp.
49214 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49215 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49216
49217 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49218
76e3966e
UD
492192011-11-13 Ulrich Drepper <drepper@gmail.com>
49220
49221 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49222 locale-defines.sym to gen-as-const-headers.
49223 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49224 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49226 to compile strcasecmp and strncasecmp.
49227 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49228 strcasecmp_l and strncasecmp_l.
49229 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49230 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49231 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49232 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49233 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49234 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49235 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49236 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49237 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49238 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49239 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49240
ab26144e
UD
492412011-11-12 Ulrich Drepper <drepper@gmail.com>
49242
7edb22ef
UD
49243 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49244 result of SYSDEP_GETTIME_CPU to retval.
49245 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49246 parameter list to macro. Remove trailing semicolon. Adjust users.
49247
9694fc44
UD
49248 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49249 variable.
49250
8ad89ef8
UD
49251 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49252 mantissa words.
49253 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49254
0c822ef9
UD
49255 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49256 from unused variable.
49257
874e0564
UD
49258 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49259 DWARF definitions.
49260 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49261 for assembling.
49262
3a2edc79
UD
49263 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49264 over namespaces.
49265
f3c2577f
UD
49266 * sunrpc/rpc_prot.c (rejected): Fix case value.
49267
294ce126
UD
49268 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49269 unsigned long long int to avoid warnings in shift.
49270
5e2b63c6
UD
49271 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49272 of use of trans.
49273 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49274 variable tmp.
49275
e7f4b08e
UD
49276 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49277 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49278 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49279
ab26144e
UD
49280 * nis/nis_table.c (nis_list): Use variable of correct type for
49281 result of __follow_path call.
49282
8a6d5255
AZ
492832011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49284
49285 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49286 of math functions ceil, trunc, floor, round, and sqrt, when
49287 avaliable on the platform.
49288 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49289 name clash.
49290 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49291 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49292 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49293
aaddc98c
MP
492942011-10-30 Marek Polacek <mpolacek@redhat.com>
49295
49296 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49297 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49298
95b7042b
RM
492992011-11-11 Roland McGrath <roland@hack.frob.com>
49300
49301 * include/unistd.h: Fix __readlink return type.
49302 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49303
57769839
UD
493042011-11-11 Ulrich Drepper <drepper@gmail.com>
49305
49306 * stdlib/ucontext.h: Undo last change for makecontext.
49307
edc5984d
AS
493082011-11-11 Andreas Schwab <schwab@redhat.com>
49309
98591e58
AS
49310 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49311
edc5984d
AS
49312 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49313 * setjmp/setjmp.h: Mark functions as non-leaf.
49314 * setjmp/bits/setjmp2.h: Likewise.
49315 * stdlib/ucontext.h: Likewise.
49316
77cdc054
AS
493172011-11-10 Andreas Schwab <schwab@redhat.com>
49318
49319 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49320 (reused_arena): Don't check arena limit.
49321 (arena_get2): Atomically check arena limit.
49322
fe72eebd
UD
493232011-11-08 Ulrich Drepper <drepper@gmail.com>
49324
5f078c32
UD
49325 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49326 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49327
fe72eebd
UD
49328 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49329 instructions.
49330
ae1bc2fa
AS
493312011-11-07 Andreas Schwab <schwab@redhat.com>
49332
7583a88d
AS
49333 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49334 handler when locking.
49335
ae1bc2fa
AS
49336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49337 Fix size of allocated buffer.
49338
10fb0bfa
AS
493392011-11-04 Andreas Schwab <schwab@redhat.com>
49340
998832a4
AS
49341 [BZ #10103]
49342 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49343 declarations for long double functions.
49344 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49345
10fb0bfa
AS
49346 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49347
3d7ba52b
AS
493482011-11-03 Andreas Schwab <schwab@redhat.com>
49349
a9ae54a1
AS
49350 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49351 installed.
49352
3d7ba52b
AS
49353 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49354 is disabled.
49355
bc8db248
ST
493562011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49357
49358 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49359
45b96dd6
AS
493602011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49361
647776f6
AS
49362 * include/alloca.h (stackinfo_alloca_round): Define.
49363 (extend_alloca): Use it.
49364 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49365 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49366 here.
49367
d91a8b93
AS
49368 * scripts/check-local-headers.sh: Ignore libaudit.h.
49369
45b96dd6
AS
49370 * nscd/Makefile (extra-objs): Make recursively expanded.
49371
432d41ce
UD
493722011-11-01 Ulrich Drepper <drepper@gmail.com>
49373
34372fc6
UD
49374 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49375 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49376
fadb59f8
UD
49377 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49378 * posix/tst-rfc3484-2.c: Likewise.
49379 * posix/tst-rfc3484-3.c: Likewise.
49380
78239589
UD
49381 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49382 process_vm_writev.
49383 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49384 process_vm_writev.
49385 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49386 process_vm_writev from libc using GLIBC_2.15 version.
49387
432d41ce
UD
49388 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49389
02f9c6cf
PP
493902011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49391
49392 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49393 stack usage.
49394
3a2c0242
UD
493952011-10-31 Ulrich Drepper <drepper@gmail.com>
49396
f4ec4833
UD
49397 [BZ #13367]
49398 * nss/getent.c (initgroups_keys): Show error message in case no group
49399 names are given.
49400
3a2c0242
UD
49401 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49402 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49403 __bump_nl_timestamp.
49404 * nscd/connections (nscd_init): When host database is served open
49405 netlink socket and request notification about configuration changes.
49406 (main_loop_poll): Track netlink file descriptor and bump timestamp
49407 in case data becomes available.
49408 (main_loop_epoll): Likewise.
49409 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49410 (database_pers_head): Add extra_data fileds.
49411 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49412 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49413 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49414 Adjust caller.
49415 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49416 in6ai data, call __free_in6ai.
49417 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49418 Add -DHAVE_NETLINK.
49419 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49420 interface information. Reuse previous data if netlink timestamp
49421 is not changed.
49422 (__bump_nl_timestamp): New function.
49423 (__free_in6ai): New function.
49424
636064eb
UD
494252011-10-30 Ulrich Drepper <drepper@gmail.com>
49426
49427 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49428 close_not_cancel_no_status here.
49429 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49430
9beb2334
UD
494312011-10-29 Ulrich Drepper <drepper@gmail.com>
49432
6ef76f3b
UD
49433 [BZ #13276]
49434 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49435 return value.
49436
0ffc4f3e 49437 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
49438 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49439 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49440
cb95113e
UD
494412011-07-03 Andreas Jaeger <aj@suse.de>
49442
49443 [BZ #10709]
49444 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49445 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49446 * math/libm-test.inc (sin_test): Add test case.
49447
a1b560ff
UD
494482011-10-29 Ulrich Drepper <drepper@gmail.com>
49449
c9aaface
UD
49450 [BZ #13337]
49451 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49452 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49453
d272e7f1
UD
49454 * elf/chroot_canon.c (chroot_canon): Cleanups.
49455
1bc33071
UD
49456 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49457
1760874d
TJ
49458 [BZ #13335]
49459 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49460 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49461
51d91b18
UD
49462 * string/test-strchr.c: Make usable for strchrnul testing.
49463 * string/test-strchrnul.c: New file.
49464 * string/Makefile (strop-tests): Add strchrnul.
49465
a1b560ff 49466 * po/it.po: Update from translation team.
b611fb81 49467 * po/es.po: Likewise.
a1b560ff 49468
a5b81e1f
UD
494692011-10-28 Ulrich Drepper <drepper@gmail.com>
49470
fd52bc6d
UD
49471 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49472 the three constants needed as parameters. Drop the others.
49473 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49474 __m128i_strloadu_tolower.
52e4b9eb
UD
49475 Create and initialize variable zero and use it in all the places
49476 where _mm_setzero_si128 was used.
fd52bc6d 49477
a5b81e1f
UD
49478 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49479 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49480 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49481 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49482 anymore.
49483 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49484 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49485 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49486 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49487 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49488 __mpranred, __mptan.
49489 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49490 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49491 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49492 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49493 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49494 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49495 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49496 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49497 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49498
b4343346
AS
494992011-10-28 Andreas Schwab <schwab@redhat.com>
49500
0c92d8a8
AS
49501 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49502 redefine if SHARED.
49503 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49504
b4343346
AS
49505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49506 wide char related routines to wcsmbs subdir.
49507
3871f58f
AS
495082011-10-27 Andreas Schwab <schwab@redhat.com>
49509
49510 [BZ #13344]
49511 * misc/sys/cdefs.h (__THROWNL): Define.
49512 * posix/unistd.h: Use __THREADNL instead of __THREAD
49513 for memory synchronization functions.
49514
94d44d9f
RM
495152011-10-26 Roland McGrath <roland@hack.frob.com>
49516
21b64b15 49517 [BZ #13349]
94d44d9f
RM
49518 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49519 doesn't exist.
49520 * manual/stdio.texi (Obstack Streams): Node removed.
49521
f6ce9294
AS
495222011-10-26 Andreas Schwab <schwab@redhat.com>
49523
80479147
AS
49524 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49525 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49526 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49527
f6ce9294
AS
49528 * math/math_private.h (math_force_eval): Allow non-addressable
49529 arguments.
49530 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49531
618280a1
UD
495322011-10-25 Ulrich Drepper <drepper@gmail.com>
49533
e0016b11
UD
49534 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49535 file is not needed.
49536
49537 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49538 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49539 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49540 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49541 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49542 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49543 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49544 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49545 Add AVX variants.
49546 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49547 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49548 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49549 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49550 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49551 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49552 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49553 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49554 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49555 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49556 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49557 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49558 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49559 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49560 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49561 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49562 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49563 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49564 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49565
49566 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49567 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49568
618280a1
UD
49569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49570 place. Use VEX encoding when compiling for AVX.
49571
37822576
AS
495722011-10-25 Andreas Schwab <schwab@redhat.com>
49573
1f1e1947
AS
49574 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49575 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49576
37822576
AS
49577 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49578
31ea014d
UD
495792011-10-25 Ulrich Drepper <drepper@gmail.com>
49580
d7826aa1 49581 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 49582 useless if() expression.
d7826aa1
UD
49583 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49584 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49585 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49586 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49587 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49588 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49589 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49590 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49591 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49592 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49593 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49594 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49595 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49596 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49597 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49598 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49599 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49600 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49601 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49602
31ea014d
UD
49603 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49604
16437fec
AS
496052011-10-25 Andreas Schwab <schwab@redhat.com>
49606
49607 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49608 condition.
49609 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49610
31d3cc00
UD
496112011-10-25 Ulrich Drepper <drepper@gmail.com>
49612
49613 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49614 .text section. Avoid duplicate constants.
49615 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49617 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49619 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49621 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49622 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49623 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49624 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49625 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49626 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49627 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49628 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49629 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49630 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49631 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49632 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49633 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49635 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49636 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49637 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49638 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49639 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49640 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49641 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49642 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49643 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49644 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49645 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49646 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49647 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49648 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49649 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49650 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49651 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49652 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49653 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49654 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49655 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49656 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49657 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49658 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49659 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49660
58985aa9
UD
496612011-10-24 Ulrich Drepper <drepper@gmail.com>
49662
202c9deb
UD
49663 * sysdeps/x86_64/dla.h: Move to ...
49664 * sysdeps/x86_64/fpu/dla.h: ...here.
49665 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49666 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 49667
af968f62
UD
49668 * config.make.in: Add have-mfma4 entry.
49669 * configure.in: Substitute libc_cv_cc_fma4.
49670 * math/Makefile (dbl-only-routines): Add sincostab.
49671 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49672 Use __sincostab not sincos.
49673 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49674 name is a macro.
49675 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49676 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49678 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49679 using __copysign.
49680 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49681 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49682 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49683 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49684 and __inv.
49685 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49686 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49687 __copysign.
49688 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49689 define aliases when function name is a macro.
49690 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49691 sysdeps/ieee754/dbl-64/sincos.tbl.
49692 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49693 fma4-enabled routines.
49694 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49695 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49696 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49697 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49698 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49699 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49700 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49701 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49702 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49703 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49704 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49705 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49706 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49707 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49708 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49709 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49710 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49711 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49712 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49714 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49715 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49716 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49717 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49718 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49719 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49720 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49721 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49722 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49723 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49724
58985aa9
UD
49725 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49726 rename.
49727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49735
a201fbcf
AS
497362011-10-24 Andreas Schwab <schwab@redhat.com>
49737
49738 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49739
fc2ee42a
LD
497402011-10-23 Ulrich Drepper <drepper@gmail.com>
49741
bb3129bd
UD
49742 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49743
0275fff8
UD
49744 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49745 prediction.
49746 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49747
2fa2ae85
UD
49748 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49749 Remove unused variable magic_bits.
49750 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49751
fc2ee42a
LD
49752 * string/strnlen.c: Define and use STRNLEN macro.
49753 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49754 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49755 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49756 * wcsmbs/wcslen.c: Define and use WCSLEN.
49757 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49758 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49759 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49760 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49761 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49762 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49763 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49764
ce7dd29f
LD
497652011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49766
49767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49768 strnlen-sse2-no-bsf.
49769 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49770 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49771 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49772 Add strnlen support.
49773 (USE_AS_STRNLEN): New macro.
49774 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49775 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49776 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49777 * sysdeps/x86_64/wcslen.S: New file.
49778
979c70a3
MZ
497792011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49780
49781 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49782 XMM-moves are used for copying on small sizes.
49783
2d09f82f
LD
497842011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49785
49786 * wcsmbs/Makefile (strop-tests): Add wcschr.
49787 * wcsmbs/test-wcschr.c: New file.
49788 * string/test-strchr.c: Update.
49789 Add wcschr support.
49790 (WIDE): New macro.
49791
619fccca
LD
497922011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49793
2d09f82f 49794 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
49795 * wcsmbs/test-wcslen.c: New file.
49796 * string/test-strlen.c: Update.
49797 Add wcslen support.
49798 (WIDE): New macro.
49799
09f699ea
UD
498002011-10-23 Ulrich Drepper <drepper@gmail.com>
49801
49802 * po/it.po: Update from translation team.
49803
95584d3b
LD
498042011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49805
49806 * sysdeps/x86_64/wcscmp.S: Update.
49807 Fix wrong comparison semantics.
49808 wcscmp shall use signed comparison not unsigned.
49809 Don't use substraction to avoid overflow bug.
49810 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49811 * wcsmbc/wcscmp.c: Likewise.
49812 * string/test-strcmp.c: Likewise.
49813 Add new tests to check cases with negative values.
49814
c8b3296b
UD
498152011-10-23 Ulrich Drepper <drepper@gmail.com>
49816
49817 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49818 * sysdeps/x86_64/dla.h: ...here. New file.
49819 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49821 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49824 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49826 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49828
246ad57a
AS
498292011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49830
49831 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49832 __ynl_finite aliases.
49833
a1a87169
UD
498342011-10-22 Ulrich Drepper <drepper@gmail.com>
49835
0d355eb7
UD
49836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49837
a1a87169
UD
49838 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49839 define DLA_FMA.
49840 [DLA_FMA] (EMULV): Use DLA_FMA.
49841 [DLA_FMA] (MUL12): Use EMULV.
49842 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49843 that are not needed.
49844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49849 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49851
ee2aafe0
AS
498522011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49853
49854 * math/s_nan.c: Undef __nan.
49855 * math/s_nanf.c: Undef __nanf.
49856 * math/s_nanl.c: Undef __nanl.
49857 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49858 "math_private.h".
49859
bc62c2fb
UD
498602011-10-22 Ulrich Drepper <drepper@gmail.com>
49861
77425c63
UD
49862 * math/s_catan.c: Add branch predictions.
49863 * math/s_catanf.c: Likewise.
49864 * math/s_catanh.c: Likewise.
49865 * math/s_catanhf.c: Likewise.
49866 * math/s_catanhl.c: Likewise.
49867 * math/s_catanl.c: Likewise.
49868 * math/s_cexp.c: Likewise.
49869 * math/s_cexpf.c: Likewise.
49870 * math/s_cexpl.c: Likewise.
49871 * math/s_clog.c: Likewise.
49872 * math/s_clog10.c: Likewise.
49873 * math/s_clog10f.c: Likewise.
49874 * math/s_clog10l.c: Likewise.
49875 * math/s_clogf.c: Likewise.
49876 * math/s_clogl.c: Likewise.
49877 * math/s_csqrt.c: Likewise.
49878 * math/s_csqrtf.c: Likewise.
49879 * math/s_csqrtl.c: Likewise.
49880 * math/s_ctanf.c: Likewise.
49881 * math/s_ctanh.c: Likewise.
49882 * math/s_ctanhf.c: Likewise.
49883 * math/s_ctanhl.c: Likewise.
49884 * math/s_ctanl.c: Likewise.
49885
bc62c2fb
UD
49886 * math/math_private.h: Define __nan, __nanf, __nanl.
49887 * math/s_cacosh.c: Include <math_private.h>.
49888 * math/s_cacoshl.c: Likewise.
49889 * math/s_casinh.c: Likewise.
49890 * math/s_casinhf.c: Likewise.
49891 * math/s_casinhl.c: Likewise.
49892 * math/s_ccos.c: Rely entire on ccosh.
49893 * math/s_ccosf.c: Rely entire on ccoshf.
49894 * math/s_ccosl.c: Rely entirely on ccoshl.
49895 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49896 Remove tests for FE_INVALID.
49897 * math/s_ccoshf.c: Likewise.
49898 * math/s_ccoshl.c: Likewise.
49899 * math/s_csin.c: Likewise.
49900 * math/s_csinf.c: Likewise.
49901 * math/s_csinh.c Likewise.
49902 * math/s_csinhf.c: Likewise.
49903 * math/s_csinhl.c: Likewise.
49904 * math/s_csinl.c: Likewise.
49905 * math/s_ctan.c: Likewise.
49906 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49907 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49908 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49909
8ec250a4
UD
499102011-10-21 Ulrich Drepper <drepper@gmail.com>
49911
c196fed8
UD
49912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49913 compilation problems.
49914
8ec250a4
UD
49915 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49916 __builtin_expect.
49917
8d4f46c6
UD
499182011-10-20 Ulrich Drepper <drepper@gmail.com>
49919
ed72b654
UD
49920 * sysdeps/i386/configure.in: Test for -mfma4 option.
49921 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49922 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49923 COMMON_CPUID_INDEX_80000001.
49924 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49925 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49926 use it if FMA3 is not supported.
49927 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49928
8d4f46c6
UD
49929 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49930 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49931
d45c60c2
AS
499322011-10-20 Andreas Schwab <schwab@redhat.com>
49933
49934 [BZ #12892]
49935 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49936 it would create a cycle with a link time dependency.
49937
d9a4d2ab
UD
499382011-10-19 Ulrich Drepper <drepper@gmail.com>
49939
855d1560
UD
49940 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49941 instruction.
49942 * string/Makefile (strop-tests): Add rawmemchr.
49943 * string/test-rawmemchr.c: New file.
49944
d9a4d2ab
UD
49945 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49946 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49947 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49948 when compiling str{,n}casecmp and when AVX is available. Hook up
49949 new optimized code in initializers.
49950
8f3b1ffe
AS
499512011-10-19 Andreas Schwab <schwab@redhat.com>
49952
49953 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49954 __feraiseexcept instead of feraiseexcept.
49955
d38f1dba
UD
499562011-10-18 Ulrich Drepper <drepper@gmail.com>
49957
d9a8d0ab
UD
49958 * math/math_private.h: Define defaults for libc_fetestexcept and
49959 libc_feupdateenv.
49960 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49961 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49962 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49963 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49964 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49965 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49966 libc_fetestexcept and libc_feupdateenv.
49967
4855e3dd
UD
49968 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49969 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49970 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49971 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49972 libc_feholdexcept_setround.
49973
581d30e3
UD
49974 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49975 Add s_nearbyint-c and s_nearbyintf-c.
49976 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49977 nearbyintf inlines.
49978 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49979 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49980 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49981 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49982
d38f1dba
UD
49983 * math/math_private.h: Define defaults for libc_fegetround,
49984 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49985 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49986 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49987 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49988 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49989 standard functions.
49990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49991 Remove comments and hacks for old compiler versions.
49992 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49993 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49994 libc_feholdexceptl.
49995
caa6c9d8
AS
499962011-10-18 Andreas Schwab <schwab@redhat.com>
49997
49998 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
49999 (__feraiseexcept_renamed): Add __NTH.
50000 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50001 namespace violations.
50002
97c066e6
UD
500032011-10-17 Ulrich Drepper <drepper@gmail.com>
50004
99ce7b04
UD
50005 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50006
1004d182
UD
50007 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50008
228a984d
UD
50009 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50010 recently added interfaces.
50011 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50012
c8553a6a
UD
50013 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50014 about macro parameter expansion.
50015
ed22dcf6
UD
50016 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50017 __NO_MATH_INLINES is defined. Cleanups.
50018
50019 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50020 and __floorf is target has SSE4.1.
50021 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50022 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50023 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50024 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50025
b171c137
UD
50026 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50027 name.
50028 (floorf): Likewise.
50029
97c066e6
UD
50030 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50031
629f62ef
AS
500322011-10-17 Andreas Schwab <schwab@redhat.com>
50033
49a43d80
AS
50034 * misc/sys/cdefs.h: Fix last change.
50035
629f62ef
AS
50036 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50037 database lookup.
50038
e453f6cd
UD
500392011-10-16 Ulrich Drepper <drepper@gmail.com>
50040
aa78043a
UD
50041 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50042
ad0f5cad
UD
50043 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50044 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50045 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50046 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50047 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50048 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50049 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50050 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50051 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50052 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50053 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50054 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50055 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50056 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50057 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50058 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50059 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50060 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50061 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50062 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50063 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50064 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50065
50066 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50067 ceil, ceilf, floor, floorf.
50068
50069 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50070 Perform IRELATIVE relocations last.
50071
e453f6cd
UD
50072 * elf/do-rel.h: Add another parameter nrelative, replacing the
50073 local variable with the same name. Change name of the function
50074 to end in Rel or Rela (uppercase).
50075 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50076 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50077 elf_dynamic_do_##reloc function.
50078
fd5bdc09
UD
500792011-10-15 Ulrich Drepper <drepper@gmail.com>
50080
79b195b5
UD
50081 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50082 is sufficient, at least on modern CPUs.
50083
d4a28569
UD
50084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50085
b61099b5
UD
50086 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50087 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50088
bcf01e6d
UD
50089 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50090 __expl_finite.
50091 * math/bits/math-finite.h: Add entries for exp.
50092 * math/e_expl.c: Add __*_finite alias.
50093 * sysdeps/i386/fpu/e_exp.S: Likewise.
50094 * sysdeps/i386/fpu/e_expf.S: Likewise.
50095 * sysdeps/i386/fpu/e_expl.c: Likewise.
50096 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50097 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50098 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50099 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50100 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50101 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50102 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50103
ba1a0d59
UD
50104 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50105 is sufficient, at least on modern CPUs.
50106
fd5bdc09
UD
50107 * ctype/ctype-info.c (__ctype_init): Define.
50108 * include/ctype.h (__ctype_init): Declare.
50109 (__ctype_b_loc): The variable is always initialized.
50110 (__ctype_toupper_loc): Likewise.
50111 (__ctype_tolower_loc): Likewise.
50112 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50113 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50114
7872cfb0
AS
501152011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50116
b468825a
AS
50117 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50118
7872cfb0
AS
50119 * configure.in: Also look in $cxxmachine/include for C++ system
50120 headers.
50121
be13f7bf
LD
501222011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50123
50124 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50125 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50126 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50127 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50128 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50129 (USE_AS_WMEMCMP): New macro.
50130 Fixing indents.
50131 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50132 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50133 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50134 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50135 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50136 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50137 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50138 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50139 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50140 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50141 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50142 (USE_AS_WMEMCMP): New macro.
50143 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50144 * sysdeps/string/test-memcmp.c: Update.
50145 Fix simple_wmemcmp.
50146 Add new tests.
50147 * wcsmbs/wmemcmp.c: Update.
50148 (WMEMCMP): New macro.
50149 Fix overflow bug.
50150
556a2007
AJ
501512011-10-12 Andreas Jaeger <aj@suse.de>
50152
50153 [BZ #13268]
50154 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50155
538faaa7
UD
501562011-10-15 Ulrich Drepper <drepper@gmail.com>
50157
ab6737ff
UD
50158 * libio/iofwide.c (do_length): Avoid warning.
50159
538faaa7
UD
50160 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50161
396a21b1
UD
501622011-10-14 Ulrich Drepper <drepper@gmail.com>
50163
cdf2901f
UD
50164 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50165
38ad40ce
UD
50166 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50167 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50168 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50169 * sysdeps/i386/i686/fpu/e_log.S: New file.
50170 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50171 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50172
396a21b1
UD
50173 * ctype/ctype.h: Add support for inlined isXXX functions when
50174 compiling C++ code.
50175
6b1f68c9
AS
501762011-10-14 Andreas Schwab <schwab@redhat.com>
50177
349290c0
AS
50178 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50179
6b1f68c9
AS
50180 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50181
f2282d42
RM
501822011-10-13 Roland McGrath <roland@hack.frob.com>
50183
50184 [BZ #13291]
50185 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50186
5298ffa8
AS
501872011-10-13 Andreas Schwab <schwab@redhat.com>
50188
714fad23
AS
50189 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50190 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50191 feraiseexcept.
50192
81dcc7fb
AS
50193 * sysdeps/x86_64/memrchr.S: Check for zero size.
50194
5298ffa8
AS
50195 * string/stratcliff.c: Add memrchr tests.
50196
951fbcec
LD
501972011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50198
50199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50200 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50201 rawmemchr-sse2 rawmemchr-sse2-bsf.
50202 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50203 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50204 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50205 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50206 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50207 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50208 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50209 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50210 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50211 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50212 * string/memrchr.c (MEMRCHR): New macro.
50213
0ac5ae23
UD
502142011-10-12 Ulrich Drepper <drepper@gmail.com>
50215
50216 Add integration with gcc's -ffinite-math-only and optimize wrapper
50217 functions in libm.
50218 * Versions.def: Define GLIBC_2.15 version for libm.
50219 * math/Makefile (headers): Add bits/math-finite.h.
50220 * math/bits/math-finite.h: New file.
50221 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50222 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50223 * math/e_acoshl.c: Add __*_finite alias.
50224 * math/e_acosl.c: Likewise.
50225 * math/e_asinl.c: Likewise.
50226 * math/e_atan2l.c: Likewise.
50227 * math/e_atanhl.c: Likewise.
50228 * math/e_coshl.c: Likewise.
50229 * math/e_exp10.c: Likewise.
50230 * math/e_exp10f.c: Likewise.
50231 * math/e_exp10l.c: Likewise.
50232 * math/e_exp2l.c: Likewise.
50233 * math/e_fmodl.c: Likewise.
50234 * math/e_gammal_r.c: Likewise.
50235 * math/e_hypotl.c: Likewise.
50236 * math/e_j0l.c: Likewise.
50237 * math/e_j1l.c: Likewise.
50238 * math/e_jnl.c: Likewise.
50239 * math/e_lgammal_r.c: Likewise.
50240 * math/e_log10l.c: Likewise.
50241 * math/e_log2l.c: Likewise.
50242 * math/e_logl.c: Likewise.
50243 * math/e_powl.c: Likewise.
50244 * math/e_sinhl.c: Likewise.
50245 * math/e_sqrtl.c: Likewise.
50246 * math/e_scalb.c: Completely rewritten and optimized.
50247 * math/e_scalbf.c: Likewise.
50248 * math/e_scalbl.c: Likewise.
50249 * math/w_acos.c: Likewise.
50250 * math/w_acosf.c: Likewise.
50251 * math/w_acosl.c: Likewise.
50252 * math/w_acosh.c: Likewise.
50253 * math/w_acoshf.c: Likewise.
50254 * math/w_acoshl.c: Likewise.
50255 * math/w_asin.c: Likewise.
50256 * math/w_asinf.c: Likewise.
50257 * math/w_asinl.c: Likewise.
50258 * math/w_atan2.c: Likewise.
50259 * math/w_atan2f.c: Likewise.
50260 * math/w_atan2l.c: Likewise.
50261 * math/w_atanh.c: Likewise.
50262 * math/w_atanhf.c: Likewise.
50263 * math/w_atanhl.c: Likewise.
50264 * math/w_exp10.c: Likewise.
50265 * math/w_exp10f.c: Likewise.
50266 * math/w_exp10l.c: Likewise.
50267 * math/w_fmod.c: Likewise.
50268 * math/w_fmodf.c: Likewise.
50269 * math/w_fmodl.c: Likewise.
50270 * math/w_j0.c: Likewise.
50271 * math/w_j0f.c: Likewise.
50272 * math/w_j0l.c: Likewise.
50273 * math/w_j1.c: Likewise.
50274 * math/w_j1f.c: Likewise.
50275 * math/w_j1l.c: Likewise.
50276 * math/w_jn.c: Likewise.
50277 * math/w_jnf.c: Likewise.
50278 * math/w_log.c: Likewise.
50279 * math/w_logf.c: Likewise.
50280 * math/w_logl.c: Likewise.
50281 * math/w_log10.c: Likewise.
50282 * math/w_log10f.c: Likewise.
50283 * math/w_log10l.c: Likewise.
50284 * math/w_log2.c: Likewise.
50285 * math/w_log2f.c: Likewise.
50286 * math/w_log2l.c: Likewise.
50287 * math/w_pow.c: Likewise.
50288 * math/w_powf.c: Likewise.
50289 * math/w_powl.c: Likewise.
50290 * math/w_remainder.c: Likewise.
50291 * math/w_remainderf.c: Likewise.
50292 * math/w_remainderl.c: Likewise.
50293 * math/w_scalb.c: Likewise.
50294 * math/w_scalbf.c: Likewise.
50295 * math/w_scalbl.c: Likewise.
50296 * math/w_sqrt.c: Likewise.
50297 * math/w_sqrtf.c: Likewise.
50298 * math/w_sqrtl.c: Likewise.
50299 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50300 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50301 used.
50302 * math/math_private.h: Declare __kernel_standard_f.
50303 * math/w_cosh.c: Remove cruft and optimize a bit.
50304 * math/w_coshf.c: Likewise.
50305 * math/w_coshl.c: Likewise.
50306 * math/w_exp2.c: Likewise.
50307 * math/w_exp2f.c: Likewise.
50308 * math/w_exp2l.c: Likewise.
50309 * math/w_hypot.c: Likewise.
50310 * math/w_hypotf.c: Likewise.
50311 * math/w_hypotl.c: Likewise.
50312 * math/w_lgamma.c: Likewise.
50313 * math/w_lgamma_r.c: Likewise.
50314 * math/w_lgammaf.c: Likewise.
50315 * math/w_lgammaf_r.c: Likewise.
50316 * math/w_lgammal.c: Likewise.
50317 * math/w_lgammal_r.c: Likewise.
50318 * math/w_sinh.c: Likewise.
50319 * math/w_sinhf.c: Likewise.
50320 * math/w_sinhl.c: Likewise.
50321 * math/w_tgamma.c: Likewise.
50322 * math/w_tgammaf.c: Likewise.
50323 * math/w_tgammal.c: Likewise.
50324 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50325 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50326 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50327 Minor optimizations. Pretty printing. Remove cruft.
50328 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50329 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50330 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50331 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50332 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50333 * sysdeps/i386/fpu/e_asin.S: Likewise.
50334 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50335 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50336 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50337 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50338 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50339 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50340 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50341 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50342 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50343 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50344 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50345 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50346 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50347 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50348 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50349 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50350 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50351 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50352 * sysdeps/i386/fpu/e_log.S: Likewise.
50353 * sysdeps/i386/fpu/e_log10.S: Likewise.
50354 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50355 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50356 * sysdeps/i386/fpu/e_log2.S: Likewise.
50357 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50358 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50359 * sysdeps/i386/fpu/e_logf.S: Likewise.
50360 * sysdeps/i386/fpu/e_logl.S: Likewise.
50361 * sysdeps/i386/fpu/e_pow.S: Likewise.
50362 * sysdeps/i386/fpu/e_powf.S: Likewise.
50363 * sysdeps/i386/fpu/e_powl.S: Likewise.
50364 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50365 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50366 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50367 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50368 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50369 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50370 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50371 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50372 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50373 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50374 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50376 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50377 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50378 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50379 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50380 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50381 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50382 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50383 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50384 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50386 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50387 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50389 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50390 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50391 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50392 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50393 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50394 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50395 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50396 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50397 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50398 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50399 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50400 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50401 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50402 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50403 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50404 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50405 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50406 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50407 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50408 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50409 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50410 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50411 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50412 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50413 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50414 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50415 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50416 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50417 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50418 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50419 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50420 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50421 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50422 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50423 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50424 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50425 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50426 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50427 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50428 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50429 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50430 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50431 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50432 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50433 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50434 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50435 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50437 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50438 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50439 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50440 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50441 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50442 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50443 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50444 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50445 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50446 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50447 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50448 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50449 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50450 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50451 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50452 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50453 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50454 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50455 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50456 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50457 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50458 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50459 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50460 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50461 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50462 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50463 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50464 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50465 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50466 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50467 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50468 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50469 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50470 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50471 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50472 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50473 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50474 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50475 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50476 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50477 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50478 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50479 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50480 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50481 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50482 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50483 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50484 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50485 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50486 (__isnanf): Likewise.
50487 (__isinf_ns): Likewise.
50488 (__isinf_nsf): Likewise.
50489 (__finite): Likewise.
50490 (__finitef): Likewise.
50491 (__ieee754_sqrt): Define as macro.
50492 (__ieee754_sqrtf): Define as macro.
50493 (__ieee754_sqrtl): Define as macro.
50494 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50495 inlined copy.
50496 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50497 __FINITE_MATH_ONLY__ consistent.
50498 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50499
12cc2fcd
AS
505002011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50501
a843a204
AS
50502 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50503 of rawmemchr.
50504
12cc2fcd
AS
50505 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50506
c853acd5
UD
505072011-10-09 Ulrich Drepper <drepper@gmail.com>
50508
50509 * po/ja.po: Update from translation team.
50510
c658d255
RM
505112011-10-08 Roland McGrath <roland@hack.frob.com>
50512
110946e4
RM
50513 * locale/programs/locarchive.c (prepare_address_space): New function.
50514 (create_archive, enlarge_archive, open_archive): Use it.
50515
50604220
RM
50516 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50517 inside [SHARED], where it is used.
50518
c658d255
RM
50519 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50520
50521 * nss/getent.c (netgroup_keys): Remove unused variable.
50522 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50523
6a621eb7
UD
505242011-10-08 Ulrich Drepper <drepper@gmail.com>
50525
7edb55ce
UD
50526 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50527 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50528 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50529 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50530 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50531 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50532 * math/Makefile (libm-calls): Add s_isinf_ns.
50533 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50534 * math/multc3.c: Likewise.
50535 * math/s_casin.c: Likewise.
50536 * math/s_casinf.c: Likewise.
50537 * math/s_casinl.c: Likewise.
50538 * math/s_ccos.c: Likewise.
50539 * math/s_ccosf.c: Likewise.
50540 * math/s_ccosl.c: Likewise.
50541 * math/s_ctan.c: Likewise.
50542 * math/s_ctanf.c: Likewise.
50543 * math/s_ctanh.c: Likewise.
50544 * math/s_ctanhf.c: Likewise.
50545 * math/s_ctanhl.c: Likewise.
50546 * math/s_ctanl.c: Likewise.
50547 * math/w_fmod.c: Likewise.
50548 * math/w_fmodf.c: Likewise.
50549 * math/w_fmodl.c: Likewise.
50550 * math/w_remainder.c: Likewise.
50551 * math/w_remainderf.c: Likewise.
50552 * math/w_remainderl.c: Likewise.
50553 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50554 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50555 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50556 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50557 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50558 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50559 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50560 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50561
187da0ae
UD
50562 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50563 of the number.
50564 * stdio-common/printf_fphex.c: Likewise.
50565 * stdio-common/printf_size.c: Likewise.
50566
9277c064
UD
50567 * math/e_exp10.c: Include math_private.h using <...> not "...".
50568 * math/e_exp10f.c: Likewise.
50569 * math/e_exp10l.c: Likewise.
50570 * math/e_exp2l.c: Likewise.
50571 * math/e_j0l.c: Likewise.
50572 * math/e_j1l.c: Likewise.
50573 * math/e_jnl.c: Likewise.
50574 * math/e_lgammal_r.c: Likewise.
50575 * math/e_rem_pio2l.c: Likewise.
50576 * math/e_scalb.c: Likewise.
50577 * math/e_scalbf.c: Likewise.
50578 * math/e_scalbl.c: Likewise.
50579 * math/k_cosl.c: Likewise.
50580 * math/k_sinl.c: Likewise.
50581 * math/k_tanl.c: Likewise.
50582 * math/s_cacoshf.c: Likewise.
50583 * math/s_catan.c: Likewise.
50584 * math/s_catanf.c: Likewise.
50585 * math/s_catanh.c: Likewise.
50586 * math/s_catanhf.c: Likewise.
50587 * math/s_catanhl.c: Likewise.
50588 * math/s_catanl.c: Likewise.
50589 * math/s_ccosh.c: Likewise.
50590 * math/s_ccoshf.c: Likewise.
50591 * math/s_ccoshl.c: Likewise.
50592 * math/s_cexp.c: Likewise.
50593 * math/s_cexpf.c: Likewise.
50594 * math/s_cexpl.c: Likewise.
50595 * math/s_clog.c: Likewise.
50596 * math/s_clog10.c: Likewise.
50597 * math/s_clog10f.c: Likewise.
50598 * math/s_clog10l.c: Likewise.
50599 * math/s_clogf.c: Likewise.
50600 * math/s_clogl.c: Likewise.
50601 * math/s_csin.c: Likewise.
50602 * math/s_csinf.c: Likewise.
50603 * math/s_csinh.c: Likewise.
50604 * math/s_csinhf.c: Likewise.
50605 * math/s_csinhl.c: Likewise.
50606 * math/s_csinl.c: Likewise.
50607 * math/s_csqrt.c: Likewise.
50608 * math/s_csqrtf.c: Likewise.
50609 * math/s_csqrtl.c: Likewise.
50610 * math/s_ctan.c: Likewise.
50611 * math/s_ctanf.c: Likewise.
50612 * math/s_ctanh.c: Likewise.
50613 * math/s_ctanhf.c: Likewise.
50614 * math/s_ctanhl.c: Likewise.
50615 * math/s_ctanl.c: Likewise.
50616 * math/s_ldexp.c: Likewise.
50617 * math/s_ldexpf.c: Likewise.
50618 * math/s_ldexpl.c: Likewise.
50619 * math/s_significand.c: Likewise.
50620 * math/s_significandf.c: Likewise.
50621 * math/s_significandl.c: Likewise.
50622 * math/w_acos.c: Likewise.
50623 * math/w_acosf.c: Likewise.
50624 * math/w_acosh.c: Likewise.
50625 * math/w_acoshf.c: Likewise.
50626 * math/w_acoshl.c: Likewise.
50627 * math/w_acosl.c: Likewise.
50628 * math/w_asin.c: Likewise.
50629 * math/w_asinf.c: Likewise.
50630 * math/w_asinl.c: Likewise.
50631 * math/w_atan2.c: Likewise.
50632 * math/w_atan2f.c: Likewise.
50633 * math/w_atan2l.c: Likewise.
50634 * math/w_atanh.c: Likewise.
50635 * math/w_atanhf.c: Likewise.
50636 * math/w_atanhl.c: Likewise.
50637 * math/w_cosh.c: Likewise.
50638 * math/w_coshf.c: Likewise.
50639 * math/w_coshl.c: Likewise.
50640 * math/w_dremf.c: Likewise.
50641 * math/w_exp10.c: Likewise.
50642 * math/w_exp10f.c: Likewise.
50643 * math/w_exp10l.c: Likewise.
50644 * math/w_exp2.c: Likewise.
50645 * math/w_exp2f.c: Likewise.
50646 * math/w_fmod.c: Likewise.
50647 * math/w_fmodf.c: Likewise.
50648 * math/w_fmodl.c: Likewise.
50649 * math/w_hypot.c: Likewise.
50650 * math/w_hypotf.c: Likewise.
50651 * math/w_hypotl.c: Likewise.
50652 * math/w_j0.c: Likewise.
50653 * math/w_j0f.c: Likewise.
50654 * math/w_j0l.c: Likewise.
50655 * math/w_j1.c: Likewise.
50656 * math/w_j1f.c: Likewise.
50657 * math/w_j1l.c: Likewise.
50658 * math/w_jn.c: Likewise.
50659 * math/w_jnf.c: Likewise.
50660 * math/w_jnl.c: Likewise.
50661 * math/w_lgamma.c: Likewise.
50662 * math/w_lgamma_r.c: Likewise.
50663 * math/w_lgammaf.c: Likewise.
50664 * math/w_lgammaf_r.c: Likewise.
50665 * math/w_lgammal.c: Likewise.
50666 * math/w_lgammal_r.c: Likewise.
50667 * math/w_log.c: Likewise.
50668 * math/w_log10.c: Likewise.
50669 * math/w_log10f.c: Likewise.
50670 * math/w_log10l.c: Likewise.
50671 * math/w_log2.c: Likewise.
50672 * math/w_log2f.c: Likewise.
50673 * math/w_log2l.c: Likewise.
50674 * math/w_logf.c: Likewise.
50675 * math/w_logl.c: Likewise.
50676 * math/w_pow.c: Likewise.
50677 * math/w_powf.c: Likewise.
50678 * math/w_powl.c: Likewise.
50679 * math/w_remainder.c: Likewise.
50680 * math/w_remainderf.c: Likewise.
50681 * math/w_remainderl.c: Likewise.
50682 * math/w_scalb.c: Likewise.
50683 * math/w_scalbf.c: Likewise.
50684 * math/w_scalbl.c: Likewise.
50685 * math/w_sinh.c: Likewise.
50686 * math/w_sinhf.c: Likewise.
50687 * math/w_sinhl.c: Likewise.
50688 * math/w_sqrt.c: Likewise.
50689 * math/w_sqrtf.c: Likewise.
50690 * math/w_sqrtl.c: Likewise.
50691 * math/w_tgamma.c: Likewise.
50692 * math/w_tgammaf.c: Likewise.
50693 * math/w_tgammal.c: Likewise.
50694
6a621eb7
UD
50695 * po/ja.po: Update from translation team.
50696
bf582445
AJ
506972011-09-29 Andreas Jaeger <aj@suse.de>
50698
f9efbf3a
AJ
50699 [BZ #13179]
50700 * sunrpc/netname.c (netname2host): Fix logic.
50701
bf582445
AJ
50702 [BZ #6779]
50703 [BZ #6783]
50704 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50705 correctly.
50706 * math/w_remainder.c (__remainder): Likewise.
50707 * math/w_remainderf.c (__remainderf): Likewise.
50708 * math/libm-test.inc (remainder_test): Add test cases.
50709
48693bea
AK
507102011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50711
50712 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50713 sdiv_qrnnd.
50714
42622229
LD
507152011-10-07 Ulrich Drepper <drepper@gmail.com>
50716
50717 * string/test-memcmp.c: Avoid unncessary #defines.
50718 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50719
093ecf92
LD
507202011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50721
50722 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50723 Use new sse2 version for core i3 - i7 as it's faster
50724 than sse42 version.
50725 (bit_Prefer_PMINUB_for_stringop): New.
50726 * sysdeps/x86_64/rawmemchr.S: Update.
50727 Replace with faster SSE2 version.
50728 * sysdeps/x86_64/memrchr.S: New file.
50729 * sysdeps/x86_64/memchr.S: Update.
50730 Replace with faster SSE2 version.
50731
fde56e5c
MP
507322011-09-12 Marek Polacek <mpolacek@redhat.com>
50733
50734 * elf/dl-load.c (lose): Add cast to avoid warning.
50735
21fd49a9
UD
507362011-10-07 Ulrich Drepper <drepper@gmail.com>
50737
5a06e643
UD
50738 * po/ca.po: Update from translation team.
50739
684ae515
UD
50740 * inet/getnetgrent_r.c: Hook up nscd.
50741 * nscd/Makefile (routines): Add nscd_netgroup.
50742 (nscd-modules): Add netgroupcache.
50743 (CFLAGS-netgroupcache.c): Define.
50744 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50745 (cache_search): Add const to second parameter.
50746 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50747 INNETGR.
50748 (dbs): Add netgrdb entry.
50749 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50750 (verify_persistent_db): Handle netgrdb.
50751 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50752 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50753 GETFDNETGR.
50754 (netgroup_response_header): Define.
50755 (innetgroup_response_header): Define.
50756 (datahead): Add netgroup_response_header and innetgroup_response_header
50757 elements.
50758 * nscd/nscd.conf: Add entries for netgroup cache.
50759 * nscd/nscd.h (dbtype): Add netgrdb.
50760 (_PATH_NSCD_NETGROUP_DB): Define.
50761 (netgroup_iov_disabled): Declare.
50762 (xmalloc, xcalloc, xrealloc): Move declarations here.
50763 (cache_search): Adjust prototype.
50764 Add netgroup-related prototypes.
50765 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50766 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50767 (__nscd_innetgr): Declare.
50768 * nscd/selinux.c (perms): Use access_vector_t as element type and
50769 add netgroup-related initializers.
50770 * nscd/netgroupcache.c: New file.
50771 * nscd/nscd_netgroup.c: New file.
50772 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50773 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50774 For four parameters use innetgr.
50775 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50776 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50777 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50778 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50779
21fd49a9
UD
50780 * nscd/connections.c (register_traced_file): Don't register file
50781 for disabled databases.
50782
054c0457
UD
507832011-10-06 Ulrich Drepper <drepper@gmail.com>
50784
32b63198
UD
50785 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50786
054c0457
UD
50787 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50788 from tree and freeing node.
50789
64031225
JO
507902011-09-25 Jiri Olsa <jolsa@redhat.com>
50791
50792 * nss/nsswitch.c (__nss_database_lookup): Handle
50793 nss_parse_service_list out of memory case.
50794
0490345c
JO
507952011-09-15 Jiri Olsa <jolsa@redhat.com>
50796
50797 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50798 out of memory case.
50799
3a62d00d
AS
508002011-10-04 Andreas Schwab <schwab@redhat.com>
50801
50802 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50803 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50804 pass it down.
50805 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50806 elf_machine_rela, elf_machine_lazy_rel.
50807 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50808 (ELF_DYNAMIC_DO_REL): Likewise.
50809 (ELF_DYNAMIC_DO_RELA): Likewise.
50810 (ELF_DYNAMIC_RELOCATE): Likewise.
50811 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50812 to ELF_DYNAMIC_DO_REL.
50813 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50814 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50815 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50816 elf_machine_rela.
50817 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50818 skip_ifunc, don't call ifunc function if non-zero.
50819 (elf_machine_rela): Likewise.
50820 (elf_machine_lazy_rel): Likewise.
50821 (elf_machine_lazy_rela): Likewise.
50822 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50823 (elf_machine_lazy_rel): Likewise.
50824 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50825 Likewise.
50826 (elf_machine_lazy_rel): Likewise.
50827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50828 Likewise.
50829 (elf_machine_lazy_rel): Likewise.
50830 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50831 (elf_machine_lazy_rel): Likewise.
50832 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50833 (elf_machine_lazy_rel): Likewise.
50834 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50835 (elf_machine_lazy_rel): Likewise.
50836 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50837 (elf_machine_lazy_rel): Likewise.
50838 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50839 (elf_machine_lazy_rel): Likewise.
50840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50841 (elf_machine_lazy_rel): Likewise.
50842
68577918
UD
508432011-09-28 Ulrich Drepper <drepper@gmail.com>
50844
50845 * nss/nss_files/files-init.c (_nss_files_init): Use static
50846 initialization for all the *_traced_file variables.
50847
68822d74
AS
508482011-09-28 Andreas Schwab <schwab@redhat.com>
50849
50850 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50851
2056100b
RM
508522011-09-27 Roland McGrath <roland@hack.frob.com>
50853
50854 [BZ #13226]
50855 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50856
32c76b63
AS
508572011-09-27 Andreas Schwab <schwab@redhat.com>
50858
50859 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50860 Reread the line before reparsing it.
50861
bf972c9d
AS
508622011-09-26 Andreas Schwab <schwab@redhat.com>
50863
50864 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50865
e057a1b5
JM
508662011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50867 Maxim Kuvyrkov <maxim@codesourcery.com>
50868 Joseph Myers <joseph@codesourcery.com>
50869
50870 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50871 if needed for __stack_chk_guard.
50872
bc7e1c36
RM
508732011-09-19 Roland McGrath <roland@hack.frob.com>
50874
ecb1482f
RM
50875 * sysdeps/posix/spawni.c (script_execute): Always define it.
50876 It will be optimized away if unused.
50877 (maybe_script_execute): New function.
50878 (__spawni): Call it.
50879
bc7e1c36
RM
50880 * Makerules: Don't include tls.make.
50881 (config-tls): Always set to thread.
50882 * tls.make.c: File removed.
50883
1c3b002b
MF
508842011-09-19 Mike Frysinger <vapier@gentoo.org>
50885
50886 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50887 * config.make.in (CPPFLAGS-config): New substituted variable.
50888
2840865d
UD
508892011-09-15 Ulrich Drepper <drepper@gmail.com>
50890
88738eb6
UD
50891 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50892
cbf645a6 50893 [BZ #13192]
2840865d
UD
50894 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50895 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50896
b402e91a
RM
508972011-09-15 Roland McGrath <roland@hack.frob.com>
50898
50899 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50900 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50901 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50902 (CALL_FAIL): Likewise.
50903 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50904 (CALL_FAIL): Macro removed.
50905 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50906
4c1a1f71
UD
509072011-09-15 Ulrich Drepper <drepper@gmail.com>
50908
50909 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50910 for __FINITE_MATH_ONLY__ == 1.
50911
edc121be
AS
509122011-09-15 Andreas Schwab <schwab@redhat.com>
50913
50914 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50915 __ieee754_sqrt instead of sqrt.
50916 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50917 __ieee754_sqrtf instead of sqrtf.
50918 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50919 __floorf instead of floorf.
50920 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50921 __floorf, __truncf instead of floorf, truncf.
50922
cd205654
UD
509232011-09-14 Ulrich Drepper <drepper@gmail.com>
50924
ee4d0315
UD
50925 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50926
cd205654
UD
50927 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50928 __extern_always_inline.
50929 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50930 32-bit.
50931
48b67d71
AS
509322011-09-14 Andreas Schwab <schwab@redhat.com>
50933
50934 * elf/rtld.c (dl_main): Also relocate in dependency order when
50935 doing symbol dependency testing.
50936
1ae12c75
AS
509372011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50938
50939 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50940 Always define `refsym'.
50941
995a80df
AS
509422011-09-13 Andreas Schwab <schwab@redhat.com>
50943
e529793b
AS
50944 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50945 (__FD_ELT): Renamed from __FDELT.
50946 * misc/bits/select2.h (__FD_ELT): Likewise.
50947 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50948 __FD_MASK instead of __FDELT, __FDMASK.
50949 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50950 Likewise.
50951 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50952 Likewise.
50953
52d4fef8
AS
50954 * elf/Makefile (gen-ldd): Fix pattern.
50955
995a80df
AS
50956 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50957 (init_tls): Likewise.
50958
8682f8b0
UD
509592011-09-12 Ulrich Drepper <drepper@gmail.com>
50960
50961 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50962
de82006d
AS
509632011-09-12 Andreas Schwab <schwab@redhat.com>
50964
a7c8e6a1
AS
50965 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50966 `struct cmsghdr *' instead of `void *'.
50967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50968 Likewise.
50969
0f31fe77
AS
509702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50971
50972 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50973 if non-absolute.
50974 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50975 ldd_rewrite_script.
0f31fe77 50976
32b4c839
UD
509772011-09-11 Ulrich Drepper <drepper@gmail.com>
50978
83cd1420
UD
50979 * configure.in: Remove --with-tls option.
50980 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50981 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50982 out in case it is missing.
50983 * sysdeps/ia64/elf/configure.in: Likewise.
50984 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50985 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50986 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50987 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50988 * sysdeps/sh/elf/configure.in: Likewise.
50989 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50990 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50991 * sysdeps/x86_64/elf/configure.in: Likewise.
50992 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50993 * sysdeps/mach/hurd/tls.h: Likewise.
50994
633f745d
UD
50995 [BZ #13067]
50996 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50997
f318beb8
UD
50998 [BZ #13090]
50999 * configure.in: Fix use of AC_INIT.
51000
32b4c839
UD
51001 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51002
3ce1f295
UD
510032011-09-10 Ulrich Drepper <drepper@gmail.com>
51004
bb016596
UD
51005 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51006 __set_errno.
8e58439c
UD
51007 * malloc/hooks.c: Likewise.
51008
aebae053 51009 [BZ #11929]
02d46fc4
UD
51010 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51011 variables statically.
51012 (narenas): Initialize.
51013 (list_lock): Initialize.
bb016596
UD
51014 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51015 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51016 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51017 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51018 Add initializers to main_arena and mp_.
51019 (malloc_state): Remove pagesize member. Change all users to use
51020 GLRO(dl_pagesize).
51021
51022 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51023 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51024 is always initialized.
51025
22a89187
UD
51026 * malloc/malloc.c: Removed unused configurations and dead code.
51027 * malloc/arena.c: Likewise.
51028 * malloc/hooks.c: Likewise.
02d46fc4 51029 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51030
d063d164
UD
51031 * include/tls.h: Removed. USE___THREAD must always be defined.
51032 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51033 * elf/dl-libc.c: Likewise.
51034 * elf/dl-tsd.c: Likewise.
51035 * include/errno.h: Likewise.
51036 * include/netdb.h: Likewise.
51037 * include/resolv.h: Likewise.
51038 * inet/herrno-loc.c: Likewise.
51039 * inet/herrno.c: Likewise.
51040 * malloc/arena.c: Likewise.
51041 * malloc/hooks.c: Likewise.
51042 * malloc/malloc.c: Likewise.
51043 * resolv/res-state.c: Likewise.
51044 * resolv/res_libc.c: Likewise.
51045 * sysdeps/i386/dl-machine.h: Likewise.
51046 * sysdeps/ia64/dl-machine.h: Likewise.
51047 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51048 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51049 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51050 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51051 * sysdeps/sh/dl-machine.h: Likewise.
51052 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51053 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51054 * sysdeps/unix/i386/sysdep.S: Likewise.
51055 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51056 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51058 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51060 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51061 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51063 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51065 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51066 * sysdeps/x86_64/dl-machine.h: Likewise.
51067 * tls.make.c: Likewise.
51068
3ce1f295
UD
51069 * configure.in: Remove --with-__thread option. Make tests for
51070 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51071 tls_model attribute fail if no support is available. Remove
51072 USE_IN_LIBIO.
51073 * Makeconfig: Adjust for dropped configure option. All features are
51074 now mandatory.
51075 * Makerules: Likewise.
51076 * Versions.def: Likewise.
51077 * argp/argp-fmtstream.c: Likewise.
51078 * argp/argp-fmtstream.h: Likewise.
51079 * argp/argp-help.c: Likewise.
51080 * assert/assert.c: Likewise.
51081 * config.h.in: Likewise.
51082 * config.make.in: Likewise.
51083 * configure: Likewise.
51084 * configure.in: Likewise.
51085 * csu/Versions: Likewise.
51086 * csu/init.c: Likewise.
51087 * elf/tst-audit2.c: Likewise.
51088 * elf/tst-tls10.c: Likewise.
51089 * elf/tst-tls10.h: Likewise.
51090 * elf/tst-tls11.c: Likewise.
51091 * elf/tst-tls12.c: Likewise.
51092 * elf/tst-tls14.c: Likewise.
51093 * elf/tst-tlsmod11.c: Likewise.
51094 * elf/tst-tlsmod12.c: Likewise.
51095 * elf/tst-tlsmod13.c: Likewise.
51096 * elf/tst-tlsmod13a.c: Likewise.
51097 * elf/tst-tlsmod14a.c: Likewise.
51098 * elf/tst-tlsmod15b.c: Likewise.
51099 * elf/tst-tlsmod16a.c: Likewise.
51100 * elf/tst-tlsmod16b.c: Likewise.
51101 * elf/tst-tlsmod7.c: Likewise.
51102 * elf/tst-tlsmod8.c: Likewise.
51103 * elf/tst-tlsmod9.c: Likewise.
51104 * gmon/gmon.c: Likewise.
51105 * grp/fgetgrent_r.c: Likewise.
51106 * grp/putgrent.c: Likewise.
51107 * hurd/fopenport.c: Likewise.
51108 * include/libc-symbols.h: Likewise.
51109 * include/tls.h: Likewise.
51110 * intl/gettextP.h: Likewise.
51111 * intl/loadinfo.h: Likewise.
51112 * locale/global-locale.c: Likewise.
51113 * locale/localeinfo.h: Likewise.
51114 * mach/devstream.c: Likewise.
51115 * malloc/arena.c: Likewise.
51116 * malloc/set-freeres.c: Likewise.
51117 * misc/err.c: Likewise.
51118 * misc/getttyent.c: Likewise.
51119 * misc/mntent_r.c: Likewise.
51120 * posix/getopt.c: Likewise.
51121 * posix/wordexp.c: Likewise.
51122 * pwd/fgetpwent_r.c: Likewise.
51123 * resolv/Versions: Likewise.
51124 * resolv/res_hconf.c: Likewise.
51125 * shadow/fgetspent_r.c: Likewise.
51126 * shadow/putspent.c: Likewise.
51127 * stdio-common/printf_fphex.c: Likewise.
51128 * stdio-common/tmpfile.c: Likewise.
51129 * stdlib/abort.c: Likewise.
51130 * stdlib/fmtmsg.c: Likewise.
51131 * sunrpc/auth_unix.c: Likewise.
51132 * sunrpc/clnt_perr.c: Likewise.
51133 * sunrpc/clnt_tcp.c: Likewise.
51134 * sunrpc/clnt_udp.c: Likewise.
51135 * sunrpc/clnt_unix.c: Likewise.
51136 * sunrpc/openchild.c: Likewise.
51137 * sunrpc/svc_simple.c: Likewise.
51138 * sunrpc/svc_tcp.c: Likewise.
51139 * sunrpc/svc_udp.c: Likewise.
51140 * sunrpc/svc_unix.c: Likewise.
51141 * sunrpc/xdr.c: Likewise.
51142 * sunrpc/xdr_array.c: Likewise.
51143 * sunrpc/xdr_rec.c: Likewise.
51144 * sunrpc/xdr_ref.c: Likewise.
51145 * sunrpc/xdr_stdio.c: Likewise.
51146
1248c1c4
PB
511472011-09-09 Ulrich Drepper <drepper@gmail.com>
51148
51149 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51150
511512011-07-03 Andreas Jaeger <aj@suse.de>
51152
51153 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51154 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51155 regenerate with gen-libm-tests.pl.
51156
511572010-05-12 Petr Baudis <pasky@suse.cz>
51158
51159 [BZ #11589]
51160 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51161 around j0() zero points by switching to j1().
51162 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51163 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51164 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51165 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51166
f22e1074
UD
511672011-09-09 Ulrich Drepper <drepper@gmail.com>
51168
f19009c1
UD
51169 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51170 instead of 0.
51171 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51172 instead of 0.
f19009c1
UD
51173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51174 Patch in part by Pavel Roskin <proski@gnu.org>.
51175
3f8cc204
UD
51176 [BZ #13138]
51177 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51178 realloc.
51179 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51180 Free memory block if necessary.
51181
f22e1074
UD
51182 [BZ #12847]
51183 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51184 be NULL. Don't lock in this case.
51185
0a2349f9
RM
511862011-09-09 Roland McGrath <roland@hack.frob.com>
51187
51188 * elf/elf.h (ELFOSABI_GNU): New macro.
51189 (ELFOSABI_LINUX): Define to that.
51190
f3cdd467
DZ
511912011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51192
51193 * string/strncat.c (strncat): Undef the symbol in case it has been
51194 defined in bits/string.h.
51195
74718d13
UD
511962011-09-09 Ulrich Drepper <drepper@gmail.com>
51197
633e9e0f
UD
51198 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51199
0a2349f9 51200 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51201 link map.
51202
f9924780
AJ
512032011-08-17 Andreas Jaeger <aj@suse.de>
51204
51205 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51206
7f5517aa
PP
512072011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51208 Ian Lance Taylor <iant@google.com>
51209
51210 * math/libm-test.inc (lround_test): New testcase.
51211 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51212
762011fe
UD
512132011-09-08 Ulrich Drepper <drepper@gmail.com>
51214
92963737
UD
51215 * Makefile: Remove support for automatic cvs check-ins.
51216 * Makerules: Likewise.
51217 * config.make.in: Likewise.
51218 * configure.in: Likewise.
51219 * intl/Makefile: Likewise.
51220 * locale/Makefile: Likewise.
51221 * po/Makefile: Likewise.
51222 * posix/Makefile: Likewise.
51223 * sysdeps/gnu/Makefile: Likewise.
51224 * sysdeps/mach/hurd/Makefile: Likewise.
51225 * sysdeps/sparc/sparc32/Makefile: Likewise.
51226
b0727fd8
JS
51227 [BZ #13118]
51228 * posix/Makefile (bug-regex32-ENV): Define.
51229 Patch by John Stanley <jpsinthemix@verizon.net>.
51230
a0f33f99
UD
51231 * misc/Makefile (headers): Add bits/select2.h.
51232 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51233 * misc/bits/select2.h: New file.
51234 * include/bits/select2.h: New file.
51235 * debug/Makefile (routines): Add fdelt_chk.
51236 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51237 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51238 FD_ISSET.
51239 * debug/fdelt_chk.c: New file.
51240
762011fe
UD
51241 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51242 * wcsmbs/test-wmemcmp.c: Likewise.
51243 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51244 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51245
512462011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51247
51248 * string/Makefile (strop-tests): Add memcmp.
51249 * string/test-wmemcmp.c: New file.
51250 * string/test-memcmp.c: Add wmemcmp support.
51251
7f513ec8
RM
512522011-09-08 Roland McGrath <roland@hack.frob.com>
51253
0442afb4
RM
51254 [BZ #13153]
51255 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51256 2011-07-19 change.
51257
7f513ec8
RM
51258 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51259 garbage value in a __mach_port_mod_refs call in the cases of the
51260 task-self and thread-self ports.
51261
a12b2239
ST
512622011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51263
51264 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51265
610f9ab4
AS
512662011-09-08 Andreas Schwab <schwab@redhat.com>
51267
7f513ec8 51268 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51269
48882a1a
LD
512702011-09-07 Ulrich Drepper <drepper@gmail.com>
51271
b49865be
UD
51272 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51273
fdc86bc9
UD
51274 * elf/dl-libc.c (dlerror_run): Pass back error code from
51275 dl_catch_error.
51276
c966526a
UD
51277 [BZ #13123]
51278 * elf/dl-load.c (lose): Free l_origin if it is valid.
51279
48882a1a
LD
51280 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51281 names.
51282 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51283 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51284 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51285 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51286 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51287 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51288
77a2a8b4
AZ
512892011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51290
51291 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51292 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51293 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51294 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51295 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51296 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51297 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51298 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51299 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51300 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51301
24f579d8
AM
513022011-08-15 Alan Modra <amodra@gmail.com>
51303
51304 [BZ #13092]
51305 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51306 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51307 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51308 ppc_mcount to static-only-routines.
51309 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51310 __mcount_internal.
51311 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51312 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51313
3d4837df
UD
513142011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51315
51316 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51317 for finite and infinity parameters.
51318
22700377
WS
513192011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51320
51321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51322 and add nop instructions for throughput optimization.
51323 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51324
5025581e
WS
513252011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51326
51327 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51328 aligned copy for power7 with vector-scalar instructions.
51329 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51330
08a300c9
L
513312011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51332
51333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51334 AVX check.
51335
59178ef9
AS
513362011-09-07 Andreas Schwab <schwab@redhat.com>
51337
51338 [BZ #13144]
51339 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51340 last change.
51341
e38ba7ab
UD
513422011-09-07 Ulrich Drepper <drepper@gmail.com>
51343
51344 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51345 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51346 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51347 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51348 clock_gettime.
51349
d53a73ac
UD
513502011-09-06 Ulrich Drepper <drepper@gmail.com>
51351
fc8bffcc
UD
51352 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51353 Forgot to demangle the pointer.
51354
ceaa0c5d
UD
51355 * sysdeps/i386/sysdep.h: Define atom_text_section.
51356 * sysdeps/x86_64/sysdep.h: Likewise.
51357 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51358 section with atom_text_section.
51359 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51360 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51361 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51362 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51363 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51364
a77d3c17
UD
51365 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51366 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51367 already be defined. Change to take two parameters and don't assign
51368 result to variable. Adjust all users.
51369 Define INTERNAL_GETTIME if not already defined.
51370 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51371 call.
51372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51373 HAVE_CLOCK_GETTIME_VSYSCALL.
51374 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51375
d53a73ac
UD
51376 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51377 gettimeofday vsyscall, just use time.
51378
a8f84144
AS
513792011-09-06 Andreas Schwab <schwab@redhat.com>
51380
51381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51382 <errno.h>.
51383
ef606249
UD
513842011-09-06 Ulrich Drepper <drepper@gmail.com>
51385
51386 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51387 syscall on x86-64.
51388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51389 syscall.
51390 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51391 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51392 syscall if possible.
51393
6585cb60
UD
513942011-09-05 Ulrich Drepper <drepper@gmail.com>
51395
51396 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51397 e_ident. Don't pass to find_mapsXX.
51398 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51399
a5f524e4
LD
514002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51401
51402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51403 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51404 * sysdeps/x86_64/multiarch/strchr.S: Update.
51405 Check bit_slow_BSF bit.
51406 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51407 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51408 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51409
554881ef
UD
514102011-09-05 Ulrich Drepper <drepper@gmail.com>
51411
d96de963
UD
51412 [BZ #13134]
51413 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51414 before glibc 2.15.
51415 (tryshell): Define.
51416 (__spawni): Change last parameter to be flag. Test
51417 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51418 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51419 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51420 * posix/spawni.c: Likewise.
51421 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51422 * posix/spawnp.c: Likewise. Change normal version to use
51423 SPAWN_XFLAGS_USE_PATH.
51424 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51425 SPAWN_XFLAGS_TRY_SHELL.
51426
d48e5868
UD
51427 [BZ #13150]
51428 * posix/glob.h: Remove gcc 1.x support.
51429
554881ef
UD
51430 [BZ #13068]
51431 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51432
693fb948
LD
514332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51434
51435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51436 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51437 strrchr-sse2-bsf
51438 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51439 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51440 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51441 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51442 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51443 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51444
1b48c537
UD
514452011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51446
49d42c37
UD
51447 * sysdeps/x86_64/wcscmp.S: New file.
51448
1b48c537
UD
51449 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51450 wcscmp-c wcscmp-sse2
51451 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51452 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51453 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51454 * wcsmbs/wcscmp.c: Allow renaming.
51455
15c95c5d
DM
514562011-09-05 David S. Miller <davem@davemloft.net>
51457
51458 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51459 stack slot, rather than the struct return pointer slot.
51460 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51461 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51463 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51464
2f0ad8f3
UD
514652011-09-05 Ulrich Drepper <drepper@gmail.com>
51466
d88ae418
UD
51467 * po/ja.po: Update from translation team.
51468
2f0ad8f3
UD
51469 [BZ #13144]
51470 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51471 kernel in 64-bit binaries.
51472
5f4318d1
DM
514732011-09-01 David S. Miller <davem@davemloft.net>
51474
51475 * elf/elf.h (HWCAP_SPARC_*): Move to..
51476 * sysdeps/sparc/sysdep.h: this new file and add new values.
51477 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51478 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51479 _DL_HWCAP_COUNT to 24.
51480 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51481 entries.
51482 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51483 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51484 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51486 instead of magic constants.
51487 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51488
3ba57516
DM
514892011-08-31 David S. Miller <davem@davemloft.net>
51490
51491 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51493 Reimplement to do errno handling inline.
51494 (SYSCALL_ERROR_HANDLER): New macro.
51495 (__SYSCALL_STRING): Do not do errno handling in asm.
51496 (__CLONE_SYSCALL_STRING): Delete.
51497 (__INTERNAL_SYSCALL_STRING): Delete.
51498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51499 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51500 (PSEUDO): Reimplement to do errno handling inline.
51501 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51502 (SYSCALL_ERROR_HANDLER): New macro.
51503 (__SYSCALL_STRING): Do not do errno handling in asm.
51504 (__CLONE_SYSCALL_STRING): Delete.
51505 (__INTERNAL_SYSCALL_STRING): Delete.
51506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51507 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51508 i386.
51509 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51510 (inline_syscall*): Add 'err' argument.
51511 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51512 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51513 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51514 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51515
51516 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51517 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51518
2bc17433
AS
515192011-08-30 Andreas Schwab <schwab@redhat.com>
51520
51521 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51522
fbeb5f4d
JO
515232011-08-29 Jiri Olsa <jolsa@redhat.com>
51524
51525 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51526 directive.
51527
ad69cc26
DM
515282011-08-24 David S. Miller <davem@davemloft.net>
51529
51530 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51531
39dd69df
AS
515322011-08-24 Andreas Schwab <schwab@redhat.com>
51533
51534 * elf/Makefile: Add rules to build and run unload8 test.
51535 * elf/unload8.c: New file.
51536 * elf/unload8mod1.c: New file.
51537 * elf/unload8mod1x.c: New file.
51538 * elf/unload8mod2.c: New file.
51539 * elf/unload8mod3.c: New file.
51540
51541 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51542 it wasn't used.
51543
2c0b250a
DM
515442011-08-23 David S. Miller <davem@davemloft.net>
51545
51546 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51547 subtract stack bias.
51548 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51549 %sp not %fp in calculations.
51550 (_JMPBUF_UNWINDS_ADJ): Likewise.
51551
22044b48
DM
51552 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51553 (aio_suspend): Call it to force an exception region around the
51554 AIO_MISC_WAIT() invocation.
51555
2cae4995
AS
515562011-08-23 Andreas Schwab <schwab@redhat.com>
51557
51558 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51559 backslash.
51560
873a772e
AJ
515612011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51562
51563 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51564 protection macro.
51565 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51566 and <dl-machine.h>.
51567 (Elf64_FuncDesc): Remove.
51568
25ad0df1
DM
515692011-08-22 David S. Miller <davem@davemloft.net>
51570
51571 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51572 sigaltstack check, add missing cfi directives.
51573 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51574 missing cfi directives, and sigaltstack handling.
51575
e888bcbe
AS
515762011-08-16 Andreas Schwab <schwab@redhat.com>
51577
51578 [BZ #11724]
51579 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51580 object is seen twice.
51581 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51582
51583 * elf/Makefile (distribute): Add tst-initorder2.c.
51584 (tests): Add tst-initorder2.
51585 (modules-names): Add tst-initorder2a tst-initorder2b
51586 tst-initorder2c tst-initorder2d. Add rules to build them.
51587 ($(objpfx)tst-initorder2.out): New rule.
51588 * elf/tst-initorder2.c: New file.
51589 * elf/tst-initorder2.exp: New file.
51590
87162f46
AS
515912011-08-22 Andreas Schwab <schwab@redhat.com>
51592
70538b7f
AS
51593 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51594
f55ffe58
AS
51595 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51596 dependencies back to end of function.
51597
87162f46
AS
51598 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51599 $(elfobjdir)/ld.so.
51600
91b392a4
UD
516012011-08-21 Ulrich Drepper <drepper@gmail.com>
51602
51603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51604 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51605 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51606 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51607 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51608 of __vdso_gettimeofday.
51609 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51610 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51611 attribute_hidden.
51612 (_libc_vdso_platform_setup): Remove initialization of
51613 __vdso_gettimeofday and __vdso_time.
51614
5c43483f
UD
516152011-08-20 Ulrich Drepper <drepper@gmail.com>
51616
775a77e7
UD
51617 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51618 and fgetc_unlocked.
51619 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51620 getc_unlocked.
89f447ed 51621
49c74ba9
UD
51622 * elf/dl-open.c (add_to_global): Report additions to the global scope
51623 for LD_DEBUG=scopes.
51624 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 51625 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 51626
5c43483f
UD
51627 [BZ #13114]
51628 * stdio-common/Makefile (tests): Add bug24.
51629 * stdio-common/bug24.c: New file.
51630
a101b025
AJ
516312011-08-19 Andreas Jaeger <aj@suse.de>
51632
51633 [BZ #13114]
51634 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51635 non-existant file when using close-on-exec mode.
51636
c88f1766
UD
516372011-08-20 Ulrich Drepper <drepper@gmail.com>
51638
0276a718
UD
51639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51640 the very first instruction.
51641
c88f1766
UD
51642 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51643 the CFI state in the end.
51644 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51645 inclusion of dl-trampoline.h.
51646 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51647
51ccffa0
AS
516482011-08-19 Andreas Schwab <schwab@redhat.com>
51649
94d7165f
AS
51650 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51651 expectations for long double.
51652
51ccffa0
AS
51653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51654 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51655
fd708658 516562011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
51657
51658 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51659 artificual limit depends upon the system page size.
51660
44f0a71e
UD
516612011-08-17 Ulrich Drepper <drepper@gmail.com>
51662
51663 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51664 * resolv/Makefile: Define CFLAGS-libresolv.
51665
8de79a24
AS
516662011-08-17 Andreas Schwab <schwab@redhat.com>
51667
51668 * nss/makedb.c (compute_tables): Make variables used in nested
51669 function static.
51670
27724598
UD
516712011-08-17 Ulrich Drepper <drepper@gmail.com>
51672
c5305d88
UD
51673 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51674 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51675 if buffer was too small.
51676
27724598
UD
51677 * elf/pldd.c (main): Attach to all threads in the process.
51678 Rewrite /proc handling to use *at functions.
51679
076fe015
UD
516802011-08-16 Ulrich Drepper <drepper@gmail.com>
51681
174baab3
UD
51682 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51683 specifies first scope to show.
51684 (dl_open_worker): Update callers. Move printing scope of new
51685 object to before the relocation.
44f0a71e 51686 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
51687 * sysdeps/generic/ldsodefs.h: Update declaration.
51688
076fe015
UD
51689 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51690 string for the scope number.
51691
a60df2c3
UD
516922011-08-14 Ulrich Drepper <drepper@gmail.com>
51693
51694 * nscd/servicescache.c (cache_addserv): Make sure written is always
51695 initialized.
51696
5e4287d1
RM
516972011-08-14 Roland McGrath <roland@hack.frob.com>
51698
85ae0589
RM
51699 * sysdeps/i386/i486/bits/atomic.h
51700 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51701 statement expression, so as to suppress "set but not used" warning.
51702 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51703
69f63097
RM
51704 * string/strncat.c (STRNCAT): Use prototype definition.
51705
675456ef
RM
51706 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51707 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51708 -Iprograms here.
51709 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51710 (localedef-modules): Add localedef.
51711 (locale-modules): Add locale.
51712
5e4287d1
RM
51713 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51714 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51715 to avoid a warning.
51716
9c96ff23
DM
517172011-08-14 David S. Miller <davem@davemloft.net>
51718
51719 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51720 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51721
f9ddf089
UD
517222011-08-13 Ulrich Drepper <drepper@gmail.com>
51723
44f0a71e 51724 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
51725 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51726 * elf/rtld.c (dl_main): Set l_name of vDSO.
51727 Call _dl_show_scope when DL_DEBUG_SCOPES.
51728 (process_dl_debug): Recognize scopes flag and also set it for all.
51729 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51730 Declare _dl_show_scope.
51731
1dc27704
UD
51732 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51733 (do_dlopen): Pass caller_dlopen to dl_open.
51734 (__libc_dlopen_mode): Initialize caller_dlopen.
51735
f9ddf089
UD
51736 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51737 of libc. Make tolower call locale-independent. Optimize a bit by
51738 using isdigit instead of isalnum.
51739 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51740
9ac533d3
UD
517412011-08-12 Ulrich Drepper <drepper@gmail.com>
51742
51743 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51744 was a dependency or dynamically loaded.
51745
89edf2e9
UD
517462011-08-11 Ulrich Drepper <drepper@gmail.com>
51747
8e999d29
UD
51748 * intl/l10nflist.c: Allow architecture-specific pop function.
51749 * sysdeps/x86_64/l10nflist.c: New file.
51750
89edf2e9
UD
51751 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51752 classification.
51753
14d96785
AS
517542011-08-10 Andreas Schwab <schwab@redhat.com>
51755
51756 * include/dirent.h: Add libc_hidden_proto for scandirat and
51757 scandirat64. Don't declare __scandirat64.
51758 * dirent/scandirat.c: Add libc_hidden_def.
51759 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51760 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51761
6761ac04
DM
517622011-08-10 David S. Miller <davem@davemloft.net>
51763
51764 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51765 enum.
51766 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51767 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51768 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51769
c55fbd1e
UD
517702011-08-09 Ulrich Drepper <drepper@gmail.com>
51771
51772 * Versions.def [libc]: Add GLIBC_2.15.
51773 * dirent/Makefile (routines): Add scandirat and scandirat64.
51774 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51775 GLIBC_2.15.
51776 * dirent/dirent.h: Declare scandirat and scandirat64.
51777 * dirent/scandirat.c: New file.
51778 * dirent/scandirat64.c: New file.
51779 * sysdeps/wordsize-64/scandirat.c: New file.
51780 * sysdeps/wordsize-64/scandirat64.c: New file.
51781 * dirent/opendir.c: Define opendirat.
51782 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51783 using scandirat.
51784 * dirent/scandir64.c: Adjust for scandir.c change.
51785 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51786 __scandirat64, and __scandir_cancel_handler.
51787 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51788 additional parameter and use openat instead of open (outside of ld.so).
51789 Add new __opendir as wrapper around __opendirat.
51790 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51791 here without requiring old scandirat implementation.
51792
879165f2
UD
517932011-08-08 Ulrich Drepper <drepper@gmail.com>
51794
51795 * dirent/scandir.c (cancel_handler): Renamed to
51796 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51797 defined. Adjust users.
51798 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51799 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51800
cb7e923b
UD
518012011-08-04 Ulrich Drepper <drepper@gmail.com>
51802
16292edd
UD
51803 * string/test-string.h (IMPL): Use __STRING to expand name and then
51804 stringify it.
51805
cb7e923b
UD
51806 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51807 of cleanups.
51808
cff82933
LD
518092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51810
51811 * string/Makefile: Update.
51812 (strop-tests): Append strncat.
51813 * string/test-wcscmp.c: New file.
51814 New comprehensive test for wcscmp.
51815 * string/test-strcmp.c: Update.
51816 (WIDE): New define.
51817
9be9bfcc
AS
518182011-07-22 Andreas Schwab <schwab@redhat.com>
51819
51820 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51821 line.
51822
2e96f1c7
AS
518232011-07-26 Andreas Schwab <schwab@redhat.com>
51824
51825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51826 encoding to ACE if AI_IDN.
51827
85188888
JJ
518282011-08-01 Jakub Jelinek <jakub@redhat.com>
51829
51830 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51831 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51832
5fa16e9b
LD
518332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51834
51835 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51836 Fix overflow bug in strncat.
51837 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51838
51839 * string/test-strncat.c: Update.
51840 Add new tests for checking overflow bugs.
51841
518422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51843
51844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51845 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51846 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51847 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51848 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51849 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51850 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51851 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51852 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51853
51854 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51855 (USE_AS_STRCAT): Define.
51856 Add strcat and strncat support.
51857 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51858
8c1a459f
AS
518592011-07-25 Andreas Schwab <schwab@redhat.com>
51860
51861 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51862 __n bigger than INT_MAX+1.
51863 (__strncmp_g): Likewise.
51864
bba33c28
UD
518652011-07-23 Ulrich Drepper <drepper@gmail.com>
51866
798be72d
UD
51867 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51868 * libio/stido.h: Likewise.
51869
8accd4dc
UD
51870 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51871 (AF_NFC): Define.
51872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51873 (AF_NFC): Define.
51874
cbff0d96
UD
51875 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51876 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51877 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51878 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51879 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51880
9191c04a
UD
51881 [BZ #13021]
51882 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51883 installed.
51884
bba33c28
UD
51885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51886 typo.
51887 (_dl_x86_64_save_sse): Likewise.
51888
90f139dd
UD
518892011-07-22 Ulrich Drepper <drepper@gmail.com>
51890
1aae088a
UD
51891 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51892 OSXSAVE.
51893 (_dl_x86_64_save_sse): Likewise.
51894
8e2045f5
UD
51895 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51896
90f139dd
UD
51897 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51898
1d002f25
AS
518992011-07-21 Andreas Schwab <schwab@redhat.com>
51900
51901 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51902 change.
51903 (_dl_x86_64_save_sse): Use correct AVX check.
51904
21137f89
UD
519052011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51906
51907 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51908 bug in strncpy/strncat.
51909 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51910
a65c0b7a
UD
519112011-07-21 Ulrich Drepper <drepper@gmail.com>
51912
51913 * string/tester.c (test_strcat): Add tests for different alignments
51914 of source and destination.
51915 (test_strncat): Likewise.
51916
6986b98a
UD
519172011-07-20 Ulrich Drepper <drepper@gmail.com>
51918
90bb2039
UD
51919 [BZ #12852]
51920 * posix/glob.c (glob): Check passed in values before using them in
51921 expressions to avoid some overflows.
51922 (glob_in_dir): Likewise.
51923
5644ef54
UD
51924 [BZ #13007]
51925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51926 check for AVX enablement so that we don't crash with old kernels and
51927 new hardware.
51928 * elf/tst-audit4.c: Add same checks here.
51929 * elf/tst-audit6.c: Likewise.
51930
51931 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 51932
bfc9dc9b
AS
519332011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51934
51935 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51936
702e64bb
UD
519372011-07-20 Ulrich Drepper <drepper@gmail.com>
51938
51939 * po/cs.po: Update from translation team.
51940 * po/bg.po: Likewise.
51941
295e904f
MP
519422011-07-12 Marek Polacek <mpolacek@redhat.com>
51943
51944 * misc/sys/cdefs.h: Add support for const attribute.
51945 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51946 to gnu_dev_{major,minor,makedev} functions.
51947
3ff94596
MP
519482011-07-20 Marek Polacek <mpolacek@redhat.com>
51949
51950 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51951
28b59fca
AS
519522011-07-20 Andreas Schwab <schwab@redhat.com>
51953
51954 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51955 strlen results.
51956
19df733e
AK
519572011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51958
51959 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51960 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51961 register in order to avoid conflicts with the soft frame pointer
51962 being held in r11 when necessary.
51963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51964 (INTERNAL_VSYSCALL_NCS): Likewise.
51965
c8835729
MP
519662011-07-14 Marek Polacek <mpolacek@redhat.com>
51967
51968 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51969 * elf/dl-fini.c (_dl_fini): Adjust caller.
51970 * elf/dl-close.c (_dl_close_worker): Likewise.
51971 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51972
b902330c
MP
519732011-07-15 Marek Polacek <mpolacek@redhat.com>
51974
8991e135
MP
51975 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51976 "aux_cache->nlibs < 0".
51977
b902330c
MP
51978 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51979 in the reload-count case.
51980
99710781
LD
519812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51982
51983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51984 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51985 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51986 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51987 * sysdeps/x86_64/multiarch/strcat.S: New file.
51988 * sysdeps/x86_64/multiarch/strncat.S: New file.
51989 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51990 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51991 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51992 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51993 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51994 (USE_AS_STRCAT): Define.
51995 Add strcat and strncat support.
51996 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51997 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51998 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51999 * string/strncat.c: Update.
52000 (USE_AS_STRNCAT): Define.
52001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52002 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52003 and i7.
52004 * sysdeps/x86_64/multiarch/init-arch.h
52005 (bit_Prefer_PMINUB_for_stringop): New.
52006 (index_Prefer_PMINUB_for_stringop): Likewise.
52007 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52008 bit_Prefer_PMINUB_for_stringop.
52009
7dc6bd90
UD
520102011-07-19 Ulrich Drepper <drepper@gmail.com>
52011
52012 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52013 buffer64.
52014 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52015 of casting of buffer.
52016 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52017 buffer32 and buffer64.
52018 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52019 writes instead of casting of buffer.
52020 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52021 buffer32.
52022 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52023 casting of buffer.
52024
e0e72284
AS
520252011-07-19 Andreas Schwab <schwab@redhat.com>
52026
52027 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52028
feb1eb0b
UD
520292011-07-19 Ulrich Drepper <drepper@gmail.com>
52030
52031 * nscd/nscd.c (termination_handler): Don't do anything for a database
52032 if it has not yet been initialized.
52033
298711ff
UD
520342011-07-18 Ulrich Drepper <drepper@gmail.com>
52035
52036 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52037
520382011-07-15 Marek Polacek <mpolacek@redhat.com>
52039
52040 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52041
f9d68389
UD
520422011-07-18 Ulrich Drepper <drepper@gmail.com>
52043
52044 * po/nl.po: Update from translation team.
52045 * po/sv.po: Likewise.
52046
db290cf5
RM
520472011-07-16 Roland McGrath <roland@hack.frob.com>
52048
52049 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52050 now disallowed by GCC.
5c550700 52051
fd5e21c7
RM
52052 * configure.in (use-default-link): Default to yes if a test -shared
52053 link meets our qualifications.
52054 * configure: Regenerated.
52055
5c550700
RM
52056 * config.make.in (output-format): New variable.
52057 * configure.in: Check for ld --print-output-format support.
52058 * configure: Regenerated.
52059 * Makerules ($(common-objpfx)format.lds)
52060 [$(output-format) != unknown]: Just use $(output-format),
52061 instead of the linker-script munging.
52062
9fa2c032
RM
520632011-07-14 Roland McGrath <roland@hack.frob.com>
52064
a6928d51
RM
52065 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52066 of $(common-objpfx)shlib.lds.
52067 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52068
661607b3
RM
52069 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52070 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52071
9fa2c032
RM
52072 * configure.in (-z relro check): Adjust test code to add a large
52073 writable data section after it.
52074 * configure: Regenerated.
52075
defe9061
RM
520762011-07-11 Roland McGrath <roland@hack.frob.com>
52077
52078 * configure.in (-z relro check): Fix test code to make the variable
52079 truly const.
52080 * configure: Regenerated.
52081
319b9ad4
UD
520822011-07-11 Ulrich Drepper <drepper@gmail.com>
52083
52084 * nscd/nscd.h (struct traced_file): Define.
52085 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52086 elements. Add traced_files.
52087 (inotify_fd): Declare.
52088 (register_traced_file): Declare.
52089 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52090 (inotify_fd): Export.
52091 (resolv_conf_descr): Remove.
52092 (nscd_init): Move inotify descriptor creation to main.
52093 Don't register files for notification here.
52094 (register_traced_file): New function.
52095 (invalidate_cache): Don't use reset_res to determine whether to call
52096 res_init, go through the list of registered files.
52097 (main_loop_poll): The inotify descriptors are now stored in the
52098 structures for the traced files.
52099 (main_loop_epoll): Likewise
52100 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52101 to __nss_disable_nscd.
52102 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52103 for a database anymore. Check the records for all the registered
52104 files instead.
52105 * nss/Makefile (libnss_files-routines): Add files-init.
52106 (libnss_db-routines): Add db-init.
52107 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52108 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52109 * nss/nss_db/db-init.c: New file.
52110 * nss/nss_files/files-init.c: New file.
52111 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52112 __nss_lookup_function.
52113 (__nss_lookup_function): Call nss_load_library.
52114 (nss_load_all_libraries): New function.
52115 (__nss_disable_nscd): Take parameter with callback function for files
52116 to register. Set is_nscd. Load all the DSOs for the NSS modules
52117 used for the cached services.
52118 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52119 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52120 options for features to all the files in nscd.
52121
52122 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52123
23bee3e8
RM
521242011-07-10 Roland McGrath <roland@hack.frob.com>
52125
52126 * csu/elf-init.c (__libc_csu_init): Comment typo.
52127
46a5b7f0
UD
521282011-07-09 Ulrich Drepper <drepper@gmail.com>
52129
52130 * po/pl.po: Update from translation team.
52131 * po/ja.po: Likewise.
52132 * po/ru.po: Likewise.
52133 * po/ko.po: Likewise.
52134 * po/fr.po: Likewise.
52135
d30cf5bb
RM
521362011-07-09 Roland McGrath <roland@hack.frob.com>
52137
113ddea4
RM
52138 * configure.in (.ctors/.dtors header and trailer check):
52139 Use an empirical test on a built program.
52140 * configure: Regenerated.
52141
574920b4
RM
52142 * configure.in (-z relro check): Use an empirical test on a built DSO.
52143 Detect, but do not require, on ia64.
52144 * configure: Regenerated.
52145
d30cf5bb
RM
52146 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52147 Update tests that use readelf to use $READELF instead.
52148 * configure: Regenerated.
52149
8538fdb3
UD
521502011-07-08 Ulrich Drepper <drepper@gmail.com>
52151
52152 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52153 if the result is not used.
52154
04d08991
AJ
521552011-07-05 Andreas Jaeger <aj@suse.de>
52156
52157 [BZ#9696]
52158 * stdlib/tst-strtod.c: Add testcase.
52159
de283087
AD
521602011-07-07 Ulrich Drepper <drepper@gmail.com>
52161
4e5f31c8 52162 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52163 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52164 The latter has a higher limit. Take additional parameter to pass to
52165 the new function.
52166 (__pathconf): Pass file to __statfs_link_max.
52167 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52168 __statfs_link_max.
52169 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52170 __statfs_link_max.
52171
de283087
AD
52172 [BZ #12868]
52173 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52175 Handle Lustre.
52176 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52177 (__statfs_filesize_max): Likewise.
52178 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52179
c75fa153
AJ
521802011-07-05 Andreas Jaeger <aj@suse.de>
52181
52182 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52183
1a544854
UD
521842011-07-06 Marek Polacek <mpolacek@redhat.com>
52185
52186 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52187 `status' variable.
52188 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52189 Likewise.
52190
6f0eec67
UD
521912011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52192
52193 * Makefile (strop-tests): Add strncat.
52194 * string/test-strncat.c: New file.
52195
aae30307
UD
521962011-06-30 Marek Polacek <mpolacek@redhat.com>
52197
52198 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52199
c0cfb5eb
UD
522002011-06-21 Andreas Jaeger <aj@suse.de>
52201
52202 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52203 Copy rule from iconvdata/Makefile.
52204
01636b21
UD
522052011-07-06 Ulrich Drepper <drepper@gmail.com>
52206
52207 [BZ #12922]
52208 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52209 but no long options are defined, just return 'W'.
52210
9895c8bc
UD
522112011-06-22 Marek Polacek <mpolacek@redhat.com>
52212
52213 [BZ #9696]
52214 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52215
5d4cf042
UD
522162011-07-06 Ulrich Drepper <drepper@gmail.com>
52217
52218 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52219 netgroups to read.
960e5535 52220 (innetgr): Likewise.
5d4cf042 52221
751eb97e
RM
522222011-07-05 Roland McGrath <roland@hack.frob.com>
52223
52224 * config.make.in (install_root): Default to $(DESTDIR).
52225
f15f1e45
UD
522262011-07-05 Ulrich Drepper <drepper@gmail.com>
52227
52228 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52229
4e34ac6a
RM
522302011-07-02 Roland McGrath <roland@hack.frob.com>
52231
5e9b6af4
RM
52232 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52233
84f9ea0f
RM
52234 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52235 containing directory rather than embedding absolute directory names.
52236
ea5ee9f7
RM
52237 * scripts/check-local-headers.sh: Rewritten using awk.
52238 Match by word, not by line. Print error messages for matches.
52239 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52240
1b74661a
RM
52241 * Makerules [shlib-lds-flags empty]:
52242 ($(common-objpfx)libc_pic.opts): New target.
52243 ($(common-objpfx)libc_pic.os.clean): New target.
52244 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52245
52246 * config.make.in (OBJCOPY): New variable.
52247 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52248 * configure: Regenerated.
52249
f781ef40
RM
52250 * config.make.in (use-default-link): New variable.
52251 * configure.in (use_default_link): Grok --with-default-link to set it.
52252 * configure: Regenerated.
52253 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52254 (shlib-lds, shlib-lds-flags): Define to empty.
52255
2d4fa81e
RM
52256 * Makerules (shlib-lds): New variable.
52257 (shlib-lds-flags): New variable.
52258 (build-shlib, build-moduile, build-module-asneeded): Use it.
52259 ($(common-objpfx)libc.so): Use $(shlib-lds).
52260 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52261 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52262
31fffa6b
RM
52263 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52264 DT_FLAGS/DT_FLAGS_1 with zero flags.
52265
4e34ac6a
RM
52266 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52267 linker script munging.
52268
fcfc776b
UD
522692011-07-02 Ulrich Drepper <drepper@gmail.com>
52270
52271 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52272 as 128-bit value.
52273 * crypt/sha512.c (sha512_process_block): Perform total addition using
52274 128-bit if possible.
52275 (__sha512_finish_ctx): Likewise.
52276 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52277 as 64-bit value.
52278 * crypt/sha256.c (SWAP64): Define.
52279 (sha256_process_block): Perform total addition using 64-bit if
52280 possible.
52281 (__sha256_finish_ctx): Likewise.
52282
99231d9a
UD
522832011-07-01 Ulrich Drepper <drepper@gmail.com>
52284
52285 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52286 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52287 * nscd/hstcache.c (cache_addhst): Likewise.
52288 * nscd/grpcache.c (cache_addgr): Likewise.
52289 * nscd/aicache.c (addhstaiX): Likewise
52290 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52291
445b4a53
TK
522922011-07-01 Thorsten Kukuk <kukuk@suse.de>
52293
52294 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52295 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52296 * nscd/hstcache.c (cache_addhst): Likewise.
52297 * nscd/grpcache.c (cache_addgr): Likewise.
52298 * nscd/aicache.c (addhstaiX): Likewise
52299
6d4d8e8e
AS
523002011-07-01 Andreas Schwab <schwab@redhat.com>
52301
52302 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52303 domain only when needed.
52304
89f654c5
AS
523052011-06-30 Andreas Schwab <schwab@redhat.com>
52306
52307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52308 is always restored.
52309
cf3b23ff
UD
523102011-06-29 Ulrich Drepper <drepper@gmail.com>
52311
52312 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52313 are re-adding the entry.
52314 * nscd/servicescache.c (cache_addserv): Likewise.
52315
751626f9
AJ
523162011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52317
52318 * sysdeps/generic/dl-irel.h: fix protection against multiple
52319 inclusions.
52320 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52321
9113ea1f
UD
523222011-06-28 Ulrich Drepper <drepper@gmail.com>
52323
5c0b8d90
UD
52324 [BZ #12935]
52325 * malloc/memusage.sh: Fix quoting in message.
52326 * debug/xtrace.sh: Likewise.
52327
9113ea1f
UD
52328 * configure.in: Remove support for --experimental-malloc option, make
52329 it the default.
52330 * config.make.in: Likewise.
52331 * malloc/Makefile: Likewise.
52332
a4172181
AS
523332011-06-27 Andreas Schwab <schwab@redhat.com>
52334
52335 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52336 two-byte characters.
52337
78a7eee7
RM
523382011-06-27 Roland McGrath <roland@hack.frob.com>
52339
62bede13
RM
52340 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52341 AC_CACHE_CHECK invocation.
52342 * configure: Regenerated.
52343
78a7eee7
RM
52344 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52345
5ce33a62
UD
523462011-06-27 Ulrich Drepper <drepper@gmail.com>
52347
034807a9
UD
52348 [BZ #12350]
52349 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52350 bit from old_res_options.
52351
4902da17
UD
52352 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52353
5ce33a62
UD
52354 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52355 value type for setfct.
52356
c2344f56
L
523572011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52358
52359 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52360 __gettimeofday instead of gettimeofday.
52361
68468076
UD
523622011-06-26 Ulrich Drepper <drepper@gmail.com>
52363
52364 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52365
acb0d739
L
523662011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52367
52368 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52369
52370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52371 info.
52372
8912479f
L
523732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52374
52375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52376 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52377 strcpy-sse2-unaligned strncpy-sse2-unaligned
52378 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52379 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52380 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52381 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52382 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52383 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52384 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52385 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52386 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52387 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52388 (STRCPY): Support SSE2 and SSSE3 versions.
52389
d5495a11
UD
523902011-06-24 Ulrich Drepper <drepper@gmail.com>
52391
52392 [BZ #12874]
52393 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52394 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52395 kernels which artificially limit size of requests.
52396
0b1cbaae
L
523972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52398
52399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52400 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52401 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52402 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52403 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52404 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52405 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52406 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52407 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52409 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52410 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52411 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52412 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52413 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52415 Enable unaligned load optimization for Intel Core i3, i5 and i7
52416 processors.
52417 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52418 Define.
52419 (index_Fast_Unaligned_Load): Define.
52420 (HAS_FAST_UNALIGNED_LOAD): Define.
52421
07f494a0
MP
524222011-06-23 Marek Polacek <mpolacek@redhat.com>
52423
52424 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52425
fa3fc0fe
UD
524262011-06-22 Ulrich Drepper <drepper@gmail.com>
52427
52428 [BZ #12907]
52429 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52430 until it is clear that the information is realy needed.
52431 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52432
e12df166
AS
524332011-06-22 Andreas Schwab <schwab@redhat.com>
52434
52435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52436
852eb34d
UD
524372011-06-22 Ulrich Drepper <drepper@gmail.com>
52438
84e2a551
UD
52439 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52440 /sys/devices/system/cpu/online if it is usable.
52441
852eb34d
UD
52442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52443 reading the information from the /proc filesystem to once a second.
52444
6e502e19
UD
524452011-06-21 Andreas Jaeger <aj@suse.de>
52446
52447 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52448 NULL after inclusion of kernel headers.
52449
75d39ff2
UD
524502011-06-21 Ulrich Drepper <drepper@gmail.com>
52451
51f9aa6a
UD
52452 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52453 calls to internal_setent.
52454
c0244a9d
UD
52455 [BZ #12885]
52456 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52457 addresses using gethostbyname4_r ignore IPv4 addresses.
52458
c5e3c2ae
UD
52459 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52460 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52461
75d39ff2
UD
52462 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52463
42675c6f
DM
524642011-06-20 David S. Miller <davem@davemloft.net>
52465
52466 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52467 inclusions.
52468 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52469
52470 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52471 (elf_irel): Use it.
52472 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52473 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52474 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52475 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52476 * sysdeps/x86_64/dl-irel.h: Likewise.
52477
52478 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52479 * elf/dl-sym.c: Likewise.
52480
57912a71
UD
524812011-06-15 Ulrich Drepper <drepper@gmail.com>
52482
52483 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52484 need to dereference resplen2.
52485
ee22793d
AS
524862011-06-14 Andreas Schwab <schwab@redhat.com>
52487
52488 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52489
a9e836b0
UD
524902011-06-15 Ulrich Drepper <drepper@gmail.com>
52491
77fb9117
UD
52492 * Makeconfig: Define vardbdir and inst_vardbdir.
52493 * nss/Makefile: Add rules to install db-Makefile.
52494
40c1b22c
UD
52495 * nss/nss_db/db-XXX.c: Cleanup.
52496
9f2da732
UD
52497 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52498 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52499 GLIBC_PRIVATE.
52500 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52501 * nss/makedb.c: Implement -g option to specify that value strings
52502 are generated and should not be added to table iterated over for
52503 get*ent calls.
52504 * nss/nss_db/db-initgroups.c: New file.
52505
82e9a1f7
UD
52506 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52507 interface.
52508
c41af17e
UD
52509 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52510 (internal_getgrouplist): Adjust to name change.
52511 Update use_initgroups_entry if this is not the first call.
52512 * nss/databases.def: Add initgroups entry.
52513
a9e836b0
UD
52514 * nss/makedb.c (compute_tables): Check result of multiple hash table
52515 sizes to minimize maximum chain length.
52516
2666d441
UD
525172011-06-14 Ulrich Drepper <drepper@gmail.com>
52518
52519 * Versions.def: Add entry for libnss_db.
52520 * shlib-versions: Likewise.
52521 * nss/Makefile: Add rules to build libnss_db.
52522 * nss/Versions: Add libnss_db information. Organize libnss_files
52523 entries better.
52524 * nss/db-Makefile: Add gshadow support. Change rules for the new
52525 makedb progra. Some minor improvements to generate smaller files.
52526 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52527 here from...
52528 * nss/makedb.c: ...here.
52529 Improve database format to be smaller and require less memory at
52530 runtime.
52531 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52532 db anymore.
52533 * nss/nss_db/db-netgrp.c: Likewise.
52534 * nss/nss_db/db-open.c: Likewise.
52535 * nss/nss_files/flies-XXX.x: Adjust comments.
52536 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52537 * nss/nss_files/files-grp.c: Likewise.
52538 * nss/nss_files/files-hosts.c: Likewise.
52539 * nss/nss_files/files-network.c: Likewise.
52540 * nss/nss_files/files-proto.c: Likewise.
52541 * nss/nss_files/files-pwd.c: Likewise.
52542 * nss/nss_files/files-rpc.c: Likewise.
52543 * nss/nss_files/files-service.c: Likewise.
52544 * nss/nss_files/files-sgrp.c: Likewise.
52545 * nss/nss_files/files-spwd.c: Likewise.
52546 * nss/nss_db/db-alias.c: Removed.
52547 * nss/nss_db/dummy-db.h: Removed.
52548
9ee76b5a
UD
525492011-06-02 Ulrich Drepper <drepper@gmail.com>
52550
52551 * nss/makedb.c: Rewritten to not use database library.
52552 * nss/Makefile: Update to build new makedb program.
52553
c71ca1f8
AJ
525542011-06-14 Andreas Jaeger <aj@suse.de>
52555
52556 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52557 memset declaration.
52558
3154bfb8
UD
525592011-06-10 Andreas Schwab <schwab@redhat.com>
52560
52561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52562 tmpbuf.
52563
b350afab
RM
525642011-06-10 Roland McGrath <roland@hack.frob.com>
52565
decd4e50
RM
52566 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52567 * elf/Makefile ($(objpfx)ld.so): Likewise.
52568
5615eaf2
RM
52569 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52570 Don't list ld.so twice in dependencies.
52571
52572 * posix/bug-regex31.c: Include <stdlib.h>.
52573
52574 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52575
52576 * nis/nss_compat/compat-spwd.c
52577 (getspent_next_nss_netgr): Remove unused variable.
52578 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52579
52580 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52581 nonmembers" output to use the right array.
52582
52583 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52584
52585 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52586
52587 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52588 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52589 * catgets/gencat.c (read_input_file): Likewise.
52590 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52591
52592 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52593 variable definition inside #if's controlling its use.
52594
52595 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52596
52597 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52598
52599 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52600
52601 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52602 unreachable code.
52603
52604 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52605
b68e08db
RM
52606 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52607 * configure: Regenerated.
52608
b350afab
RM
52609 * Makerules: Revert last change.
52610 * elf/Makefile: Likewise.
52611
28368601
RM
526122011-06-09 Roland McGrath <roland@hack.frob.com>
52613
52614 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52615 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52616 (reloc-link): Likewise.
52617
11988f8f
UD
526182011-06-09 Ulrich Drepper <drepper@gmail.com>
52619
52620 * elf/Makefile: Add rules to build pldd.
52621 * elf/pldd.c: New file.
52622 * elf/pldd-xx.c: New file.
52623
e80fab37
UD
526242011-06-07 Ulrich Drepper <drepper@gmail.com>
52625
52626 * version.h: Update for 2.15 development version.
52627
9b849836
DM
526282011-06-07 David S. Miller <davem@davemloft.net>
52629
52630 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52631 ifuncs.
52632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52633 elf_machine_lazy_rel): Likewise.
52634 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52635 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52636 elf_machine_lazy_rel): Likewise.
52637 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52638 dl_hwcap via passed in argument.
52639 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52640 Likewise.
52641
5a31b283
AK
526422011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52643
52644 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52645
069e52f8
RM
526462011-06-06 Roland McGrath <roland@hack.frob.com>
52647
52648 [BZ #12849]
52649 * manual/fdl-1.1.texi: New file, verbatim from:
52650 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52651 * manual/lgpl-2.1.texi: New file, verbatim from:
52652 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52653 * manual/Makefile (licenses): New variable, list those new file names.
52654 (texis): Use it.
52655 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52656
52657 * manual/fdl.texi: File removed.
52658 * manual/lesser.texi: File removed.
52659 * manual/libc.texinfo (Copying, Documentation License):
52660 Use new @include file names, put @appendix directive before @include.
52661
f16846a5
JJ
526622011-06-04 Jakub Jelinek <jakub@redhat.com>
52663
52664 [BZ #12841]
52665 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52666 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52667 (mq_open): Add __NTH.
52668
3d29045b
L
526692011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52670
52671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52672 Assume Intel Core i3/i5/i7 processor if AVX is available.
52673
8c297311
UD
526742011-05-31 Ulrich Drepper <drepper@gmail.com>
52675
52676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52677 typo.
52678
c8fc0c91
UD
526792011-05-31 Andreas Schwab <schwab@redhat.com>
52680
52681 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52682 memory. Use alloca_account. Fix memory leak when retrying.
52683
5b27a807
UD
526842011-05-31 Ulrich Drepper <drepper@gmail.com>
52685
356f8bc6
UD
52686 * version.h (RELEASE): Bump for 2.14 release.
52687 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52688
5b27a807
UD
52689 * config.make.in (RANLIB): Remove entry.
52690
01f16ab0
UD
526912011-05-30 Ulrich Drepper <drepper@gmail.com>
52692
41fce8bd
UD
52693 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52694 (libc.pot): Work around missing support for .ksh extension in xgettext.
52695
4769ae77
UD
52696 [BZ #12684]
52697 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52698 if both request failed.
52699 (send_dg): In case of server errors clear resplen or *resplen2.
52700
6b1e7d19
UD
52701 [BZ #12454]
52702 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52703 when there are multiple maps.
52704 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52705 (_dl_fini): Remove test here.
52706
01f16ab0
UD
52707 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52708
b1ebd700
UD
527092011-05-29 Ulrich Drepper <drepper@gmail.com>
52710
7ae22829
UD
52711 [BZ #12350]
52712 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52713 bit from old_res_options.
52714 (gaih_inet): Likewise.
52715
553149f6 52716 [BZ #11099]
18a84741 52717 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
52718 as signed.
52719
652ffab1
UD
52720 * resolv/res_init.c (res_setoptions): Make the code more compact.
52721
16985fd0
UD
52722 [BZ #11558]
52723 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52724 set RES_USEVC.
52725
0464f746
UD
52726 [BZ #11634]
52727 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52728
7d17596c
UD
52729 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52730
cf6bbbd7
UD
52731 [BZ #11781]
52732 * malloc/malloc.h: Declare malloc hook variables as volatile.
52733
13f1ab36
UD
52734 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52735 in last patch.
52736
b1ebd700
UD
52737 [BZ #11799]
52738 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 52739 raise in the comment.
80e2212d
UD
52740 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52742 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 52743
ce67228d
UD
527442011-05-28 Ulrich Drepper <drepper@gmail.com>
52745
8887a920
UD
52746 [BZ #12811]
52747 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52748 grow the buffers more if it already has to be sufficient.
52749 (build_wcs_upper_buffer): Likewise.
52750 * posix/regexec.c (check_matching): Likewise.
52751 (clean_state_log_if_needed): Likewise.
52752 (extend_buffers): Don't enlarge buffers beyond size of the input
52753 buffer.
52754 Patches mostly by Emil Wojak <emil@wojak.eu>.
52755 * posix/bug-regex32.c: New file.
52756 * posix/Makefile (tests): Add bug-regex32.
52757
4f031072
UD
52758 * locale/findlocale.c (_nl_find_locale): Return right away if
52759 _nl_explode_name failed.
52760 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52761
d0478f0c
UD
52762 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52763
de81b246
UD
52764 * debug/xtrace.sh: Unify messages.
52765 * malloc/memusage.sh: Likewise.
52766
c738465a
UD
52767 [BZ #12813]
52768 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52769 time symbol from vDSO. Substitute with vsyscall if not available.
52770 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52771 __vdso_time.
52772
f1f929d7
UD
52773 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52774 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52775 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52776 Add sendmmsg and internal_sendmmsg.
52777 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52778 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52779 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52780
ce67228d
UD
52781 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52782 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52783 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52784
e57420c6
UD
527852011-05-27 Ulrich Drepper <drepper@gmail.com>
52786
a8509ca5
UD
52787 [BZ #12813]
52788 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52789 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52790 available.
52791 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52792 __vdso_getcpu.
52793
e57420c6
UD
52794 [BZ #12814]
52795 * iconvdata/Makefile (tests): Add bug-iconv9.
52796 * iconvdata/bug-iconv9.c: New file.
52797
4d07db15
AS
527982011-05-27 Andreas Schwab <schwab@redhat.com>
52799
52800 [BZ #12814]
52801 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52802
ea486f69
JJ
528032011-05-25 Jakub Jelinek <jakub@redhat.com>
52804
52805 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52806 (struct user_regs_struct): Change intcs field back to cs.
52807
6f038433
UD
528082011-05-25 Ulrich Drepper <drepper@gmail.com>
52809
52810 * po/ja.po: Update from translation team.
52811
67f86a25
UD
528122011-05-23 Ulrich Drepper <drepper@gmail.com>
52813
52814 [BZ #12795]
52815 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52816 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52817
def7fbd6
AS
528182011-05-20 Andreas Schwab <schwab@redhat.com>
52819
52820 * stdlib/longlong.h: Update from GCC.
52821
f50ef8f1
AS
528222011-05-23 Andreas Schwab <schwab@redhat.com>
52823
52824 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52825 parameter name.
52826 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52827 Add parameter name.
52828 (__sysconf): Pass it down.
52829
de7ce8f1
UD
528302011-05-22 Ulrich Drepper <drepper@gmail.com>
52831
f2962a71
UD
52832 [BZ #12671]
52833 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52834 some situations.
52835 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52836 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52837 add in in __libc_use_alloca calls. Adjust callers.
52838 (glob): Use malloc in some situations.
52839
de7ce8f1
UD
52840 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52841 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52842 pltexit.
52843
aec84f53
UD
528442011-05-21 Ulrich Drepper <drepper@gmail.com>
52845
05bb4a68
UD
52846 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52847 and CLOCK_BOOTTIME_ALARM.
52848
7ea72f99
UD
52849 [BZ #12782]
52850 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52851 is returned.
52852
7e4afad5
UD
52853 * string/_strerror.c (__strerror_r): Print negative errors as signed
52854 numbers.
52855
8e211fec
UD
52856 [BZ #12777]
52857 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52858 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52859 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52860
f7d82dc9
UD
52861 * configure.in: Fix typo in redirection and correct removal of test
52862 files in two cases.
52863
cc9e536d
UD
52864 [BZ #12788]
52865 * locale/setlocale.c (new_composite_name): Fix test to check for
52866 identical name of all categories.
52867
aec84f53
UD
52868 [BZ #12792]
52869 * libio/filedoalloc.c (local_isatty): New function.
52870 (_IO_file_doallocate): Use local_isatty.
52871 * stdio-common/perror.c (perror): In case a new stream is used
52872 forward the stream error.
52873 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52874 error flag.
52875
78e64fdc
RT
528762011-05-20 Ulrich Drepper <drepper@gmail.com>
52877
34a9094f
UD
52878 [BZ #11869]
52879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52880 alloca.
52881 * include/alloca.h (extend_alloca_account): Define.
52882
78e64fdc
RT
52883 [BZ #11857]
52884 * posix/regex.h: Fix comments with documentation of user-accessible
52885 fields after compilation and describe correct free'ing of pattern
52886 after re_compile_pattern.
52887 Patch by Reuben Thomas <rrt@sc3d.org>.
52888
457bddfc
RA
528892011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52890
52891 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52892 and -mno-altivec to prevent the compiler from using Altivec and/or
52893 VSX instructions when the corresponding registers are not available.
52894
a4527b51
AS
528952011-05-19 Andreas Schwab <schwab@redhat.com>
52896
52897 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52898
ed690b2f
UD
528992011-05-19 Ulrich Drepper <drepper@gmail.com>
52900
52901 * libio/freopen.c (freopen): Use __dup2, not dup2.
52902 * libio/freopen64.c (freopen64): Likewise.
52903
8db73634
L
529042011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52905
52906 [BZ #12775]
52907 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52908 * math/Makefile (tests): Add test-powl.
52909 (CFLAGS-test-powl.c): Define.
52910 * math/test-powl.c: New file.
52911
0a197a9d
L
529122011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52913
52914 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52915
ee30c380
UD
529162011-05-17 Ulrich Drepper <drepper@gmail.com>
52917
52918 [BZ #11837]
52919 * iconvdata/gb18030.c: Update to GB18020-2005.
52920
6ce75379
UD
529212011-05-16 Ulrich Drepper <drepper@gmail.com>
52922
a4b89fd8
AR
52923 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52924 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52925 Patch by Aharon Robbins <arnold@skeeve.com>.
52926
ea389b12
UD
52927 [BZ #11892]
52928 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52929 on the stack.
52930
68a3f91f
UD
52931 [BZ #11895]
52932 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52933 through underflows.
52934
15cc7dd1
UD
52935 [BZ #12766]
52936 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52937 point to strings before performing equality test for error_one_per_line
52938 mode.
52939
f3799213
UD
52940 [BZ #11697]
52941 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52942
d79a9c94
UD
52943 [BZ #11820]
52944 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52945 (struct user_fpregs_struct): Avoid __uint*_t types.
52946
56e5eb46
UD
52947 [BZ #6420]
52948 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52949 symbol info. Use it instead of calling _dl_addr locally.
52950 (lock_and_info): New function.
52951 (tr_freehook): Call lock_and_info and pass symbol info as additional
52952 parameter to tr_where.
52953 (tr_mallochook): Likewise.
52954 (tr_reallochook): Likewise.
52955 (tr_memalignhook): Likewise.
52956
6ce75379
UD
52957 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52958 used and couldn't be at all thread-safe.
52959
f8a3b5bf
UD
529602011-05-15 Ulrich Drepper <drepper@gmail.com>
52961
94b7cc37
UD
52962 * libio/freopen.c (freopen): Don't close old file descriptor
52963 before the new one is opened. Instead dup the new file descriptor
52964 to the old one after the new stream is created.
52965 * libio/freopen64.c (freopen64): Likewise.
52966 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52967 * libio/fileops.c (_IO_new_file_close_it): Handle new
52968 _IO_FLAGS2_NOCLOSE flag.
52969 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52970 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52971 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52972 _IO_FLAGS2_NOCLOSE flag.
52973 * include/unistd.h: Add hidden_proto for dup3.
52974 Define __have_dup3.
52975 * io/dup3.c: Define hidden symbol.
52976 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52977
bd25564e
UD
52978 [BZ #7101]
52979 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52980 when an incomplete long option is used.
52981 * posix/tst-getopt_long1.c: New file.
52982 * posix/Makefile (tests): Add tst-getopt_long1.
52983
c84cfef4
UD
52984 [BZ #10138]
52985 * scripts/config.guess: Update from autoconf-2.68.
52986 * scripts/config.sub: Likewise.
52987
3b85df27
UD
52988 [BZ #10157]
52989 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52990 tests into ...
52991 (has_cpuclock): ...this. New function.
52992 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52993 macro here based on has_cpuclock code.
52994
15a856b1
UD
52995 [BZ #10149]
52996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52997 First byte (not low byte) is now always NUL.
52998 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52999
05f399e6
UD
53000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53001 Use non-cancelable interfaces.
53002
10a52685 53003 [BZ #9809]
94ecc67d
UD
53004 * locale/iso-639.def: Add entry for Sorani.
53005
f8a3b5bf
UD
53006 [BZ #11901]
53007 * include/stdlib.h: Move include protection to the right place.
53008 Define abort_msg_s. Declare __abort_msg with it.
53009 * stdlib/abort.c (__abort_msg): Adjust type.
53010 * assert/assert.c (__assert_fail_base): New function. Majority
53011 of code from __assert_fail. Allocate memory for __abort_msg with
53012 mmap.
53013 (__assert_fail): Now call __assert_fail_base.
53014 * assert/assert-perr.c: Remove bulk of implementation. Use
53015 __assert_fail_base.
53016 * include/assert.hL Declare __assert_fail_base.
53017 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53018 mmap.
53019 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53020
1af4e298
UD
530212011-05-14 Ulrich Drepper <drepper@gmail.com>
53022
f8a3b5bf 53023 [BZ #11952]
d26dfc60
MG
53024 [BZ #12453]
53025 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53026 until all modules are registered in the DTV.
53027 * elf/Makefile: Add rules to build and run tst-tls19.
53028 * elf/tst-tls19.c: New file.
53029 * elf/tst-tls19mod1.c: New file.
53030 * elf/tst-tls19mod2.c: New file.
53031 * elf/tst-tls19mod3.c: New file.
53032 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53033
2fc54d6f
UD
53034 [BZ #12083]
53035 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53036 correctly.
53037
98d76b46
UD
53038 [BZ #12601]
53039 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53040 two-byte sequence errors.
53041 * iconvdata/Makefile (tests): Add bug-iconv8.
53042 * iconvdata/bug-iconv8.c: New file.
53043
da3c19ef
UD
53044 [BZ #12626]
53045 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53046 buf2 definition.
53047
ca408c15
UD
53048 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53049
d6f67f7d
UD
53050 [BZ #12432]
53051 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53052 (dummy_getcfa): New function.
53053 (init): Get _Unwind_GetCFA address, use dummy if not found.
53054 (backtrace_helper): In recursion check, also check whether CFA changes.
53055 (__backtrace): Completely initialize arg.
53056
1af4e298 53057 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53058 storing incomplete byte sequence in state object. Avoid testing for
53059 guaranteed too small input if we know there is enough data available.
1af4e298 53060
da62f81b
AS
530612011-05-11 Andreas Schwab <schwab@redhat.com>
53062
53063 * Makeconfig (+link-pie): Indent.
53064 * Rules (binaries-pie): Define if $(have-fpie) and
53065 $(build-shared).
53066 (binaries-shared): Also filter out $(binaries-pie).
53067 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53068 * nscd/Makefile (others-pie): Add nscd.
53069 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53070 ($(objpfx)nscd): Remove command override.
53071 * login/Makefile (others-pie): Add pt_chown.
53072 ($(objpfx)pt_chown): Remove command override.
53073 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53074 remove command overrides.
53075
fcabc0f8
UD
530762011-05-13 Ulrich Drepper <drepper@gmail.com>
53077
20030ae6
UD
53078 * libio/tst_putwc.c: Fix error messages.
53079
fcabc0f8
UD
53080 [BZ #12724]
53081 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53082 currently writing and seek to current position when not.
53083 * libio/Makefile (tests): Add bug-fclose1.
53084 * libio/bug-fclose1.c: New file.
53085
320a5dc0
PB
530862011-05-12 Ulrich Drepper <drepper@gmail.com>
53087
53088 [BZ #12511]
53089 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53090 don't set DF_1_NODELETE here.
53091 (do_lookup_x): When entering new entry test for copy relocation
53092 and if necessary set DF_1_NODELETE flag.
53093 * elf/tst-unique4.cc: New file.
53094 * elf/tst-unique4.h: New file.
53095 * elf/tst-unique4lib.cc: New file.
53096 * elf/Makefile: Add rules to build and run tst-unique4.
53097 Patch by Piotr Bury <pbury@goahead.com>.
53098
22836f52
UD
530992011-05-11 Ulrich Drepper <drepper@gmail.com>
53100
f574184a
UD
53101 [BZ #12052]
53102 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53103
e1fb097f
UD
53104 [BZ #12625]
53105 * misc/mntent_r.c (addmntent): Flush the stream after the output
53106
22836f52
UD
53107 [BZ #12393]
53108 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53109 (is_trusted_path_normalize): Skip initial colon. Append slash
53110 to empty buffer. Duplicate is_trusted_path code but allow
53111 constructed patch to be prefix.
53112 (is_dst): Allow $ORIGIN followed by /.
53113 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53114 Correct testing of result of is_trusted_path_normalize
53115 (decompose_rpath): Fix warning.
53116
7b3b0b2a
UD
531172011-05-10 Ulrich Drepper <drepper@gmail.com>
53118
53119 [BZ #11257]
53120 * grp/initgroups.c (internal_getgrouplist): When we found the service
53121 list through the initgroups entry in nsswitch.conf do not always
53122 continue on a successful lookup. Don't always use the
eac80ce2 53123 __nss_group_database value if it is set.
7b3b0b2a
UD
53124 * nss/nsswitch.conf (initgroups): Change action for successful db
53125 lookup to continue for compatibility.
53126
2a81eaa5
UD
531272011-05-09 Ulrich Drepper <drepper@gmail.com>
53128
be97a69e
UD
53129 [BZ #11532]
53130 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53131 and CP774 modules.
53132 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53133 and CP774 modules.
53134 * iconvdata/tst-tables.sh: Likewise.
53135 * iconvdata/cp770.c: New file.
53136 * iconvdata/cp771.c: New file.
53137 * iconvdata/cp772.c: New file.
53138 * iconvdata/cp773.c: New file.
53139 * iconvdata/cp774.c: New file.
53140 * iconvdata/testdata/CP770: New file.
53141 * iconvdata/testdata/CP770..UTF8: New file.
53142 * iconvdata/testdata/CP771: New file.
53143 * iconvdata/testdata/CP771..UTF8: New file.
53144 * iconvdata/testdata/CP772: New file.
53145 * iconvdata/testdata/CP772..UTF8: New file.
53146 * iconvdata/testdata/CP773: New file.
53147 * iconvdata/testdata/CP773..UTF8: New file.
53148 * iconvdata/testdata/CP774: New file.
53149 * iconvdata/testdata/CP774..UTF8: New file.
53150
53151 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53152 END CHARMAP line.
53153 * iconvdata/gen-8bit-gap.sh: Likewise.
53154 * iconvdata/gen-8bit.sh: Likewise.
53155
c1e9e399
UD
53156 * locale/iso-639.def: Add ary entry.
53157
24c55fb3 53158 [BZ #11258]
96b4b1b0
UD
53159 * locale/C-translit.h.in: Add U20A1 transliteration.
53160
bdc2f971
KB
53161 [BZ #12178]
53162 * locale/iso-639.def: Add wae entry.
53163 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53164
2952b117
UD
53165 [BZ #12545]
53166 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53167 for n.
53168
2a81eaa5
UD
53169 [BZ #12711]
53170 * locale/C-translit.h.in: Add entry for U20B9.
53171 Patch by pravin.d.s@gmail.com.
53172
28377d1b
UD
531732011-05-08 Ulrich Drepper <drepper@gmail.com>
53174
7fb90fb8
UD
53175 [BZ #12713]
53176 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53177 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53178 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53179 in rtld. Use *stat64.
7fb90fb8 53180 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53181 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53182 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53183 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53184 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53185 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53186 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53187 __fstatat64 macros.
7fb90fb8
UD
53188 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53189 * dirent/rewinddir.c: Add libc_hidden_def.
53190 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53191 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53192
28377d1b
UD
53193 * include/dirent.h (__alloc_dir): Add flags parameter.
53194 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53195 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53196 __alloc_dir.
53197 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53198 from fdopendir if O_CLOEXEC is already set.
53199
66bdbaa4
AM
532002011-03-15 Alan Modra <amodra@gmail.com>
53201
53202 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53203 l_tls_firstbyte_offset non-zero. Save padding offset in
53204 l_tls_firstbyte_offset for later use.
53205 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53206 freeing static tls block.
53207
95721191
JN
532082011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53209
53210 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53211 where #ifdef was intended. The intent is to prevent ARG_MAX from
53212 being defined by the kernel headers.
53213
f87dfb1f
UD
532142011-05-07 Ulrich Drepper <drepper@gmail.com>
53215
53216 [BZ #12734]
53217 * resolv/resolv.h: Define RES_NOTLDQUERY.
53218 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53219 no-tld-query and set RES_NOTLDQUERY.
53220 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53221 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53222 modern BIND to search name as TLD unless forbidden.
53223
47c3cd7a
UD
532242011-05-07 Petr Baudis <pasky@suse.cz>
53225 Ulrich Drepper <drepper@gmail.com>
53226
53227 [BZ #12393]
53228 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53229 (is_trusted_path): ...to here.
c1e9ea35 53230 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53231 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53232 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53233
8a35c912
PP
532342011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53235
53236 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53237 __BEGIN/__END_DECLS.
53238
acd41f47
UD
532392011-05-06 Ulrich Drepper <drepper@gmail.com>
53240
53241 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53242 NSS_STATUS_NOTFOUND if no record was found.
53243
597df647
AS
532442011-05-05 Andreas Schwab <schwab@redhat.com>
53245
53246 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53247 (headers-not-in-tirpc): Remove rpc/netdb.h
53248 * resolv/netdb.h: Revert last change.
53249
b9af1301
PP
532502011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53251
53252 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53253 circular dependency between libgcc.a and libc.a.
53254
4e34d5f5
AS
532552011-05-05 Andreas Schwab <schwab@redhat.com>
53256
53257 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53258 * nis/Makefile: Don't install rpcsvc/*.
53259 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53260 instead of <rpc/types.h>.
53261 (MAXHOSTNAMELEN): Define.
53262
00ee369c
AS
532632011-05-03 Andreas Schwab <schwab@redhat.com>
53264
53265 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53266
0b592a30
MB
532672011-04-28 Maciej Babinski <mbabinski@google.com>
53268
53269 [BZ #12714]
53270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53271 gethostbyname4_r when IPv6 results are possible.
53272
6e04cbbe
UD
532732011-05-02 Ulrich Drepper <drepper@gmail.com>
53274
53275 [BZ #12723]
53276 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53277 _PC_PIPE_BUF handling.
53278
e4ecafe0
BH
532792011-04-30 Bruno Haible <bruno@clisp.org>
53280
53281 [BZ #12717]
53282 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53283 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53284 to 'int'.
53285 * inet/getnameinfo.c (getnameinfo): Likewise.
53286
125ee683
UD
532872011-04-29 Ulrich Drepper <drepper@gmail.com>
53288
53289 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53290 to groups setting in database lookup.
53291 * nss/nsswitch.conf: Add initgroups entry.
53292
b722481a
EB
532932011-04-22 Ulrich Drepper <drepper@gmail.com>
53294
53295 [BZ #12685]
53296 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53297 mode string.
53298 Patch by Eric Blake <eblake@redhat.com>.
53299
4df46dbd
L
533002011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53301
53302 * sunrpc/Makefile (need-export-routines): Add svc_run.
53303 (routines): Remove svc_run.
53304 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53305 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53306 * sunrpc/svc_run.c (svc_run): Likewise.
53307 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53308
e84142d2
UD
533092011-04-21 Ulrich Drepper <drepper@gmail.com>
53310
53311 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53312 problem in reallocation in last patch.
53313
877175d8
UD
533142011-04-20 Ulrich Drepper <drepper@gmail.com>
53315
53316 * sunrpc/Makefile: Move inclusion of Rules.
53317
ab8eed78
UD
533182011-04-19 Ulrich Drepper <drepper@gmail.com>
53319
53320 * nss/nss_files/files-initgroups.c: New file.
53321 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53322 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53323 _nss_files_initgroups_dyn.
53324
e3d8f584
RS
533252011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53326
53327 * elf/elf.h (R_ARM_IRELATIVE): Define.
53328
af190f45
UD
533292011-04-19 Ulrich Drepper <drepper@gmail.com>
53330
53331 * po/ru.po: Update from translation team.
53332
53cf59ef
UD
533332011-04-17 Ulrich Drepper <drepper@gmail.com>
53334
53335 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53336 dependencies.
53337
4c559bcd
MF
533382011-02-06 Mike Frysinger <vapier@gentoo.org>
53339
53340 [BZ #12653]
53341 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53342 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53343 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53344 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53345 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53346
4420675c
AS
533472011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53348
53349 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53350 differing bytes.
53351 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53353 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53354
75ea32ab
UD
533552011-04-17 Ulrich Drepper <drepper@gmail.com>
53356
53357 [BZ #12420]
53358 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53359 storing it.
53360 * stdlib/bug-getcontext.c: New file.
53361 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53362
27390476
AK
533632011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53364
53365 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53366 instructions into .machine "z9-109".
53367 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53368 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53369
10442705
AK
533702011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53371
53372 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53373 between environment variables and auxiliary vector.
53374
7b57bfe5
UD
533752011-04-16 Ulrich Drepper <drepper@gmail.com>
53376
53377 * Makefile: Add rules to build linkobj/libc.so.
53378 * include/libc-symbols.h: Define libc_hidden_nolink.
53379 * include/rpc/auth.h: Mark functions which are to be hidden.
53380 * include/rpc/auth_des.h: Likewise.
53381 * include/rpc/auth_unix.h: Likewise.
53382 * include/rpc/clnt.h: Likewise.
53383 * include/rpc/des_crypt.h: Likewise.
53384 * include/rpc/key_prot.h: Likewise.
53385 * include/rpc/pmap_clnt.h: Likewise.
53386 * include/rpc/pmap_prot.h: Likewise.
53387 * include/rpc/pmap_rmt.h: Likewise.
53388 * include/rpc/rpc_msg.h: Likewise.
53389 * include/rpc/svc.h: Likewise.
53390 * include/rpc/svc_auth.h: Likewise.
53391 * include/rpc/xdr.h: Likewise.
53392 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53393 * nss/Makefile: Likewise.
53394 * sunrpc/Makefile: Don't install headers. Build library with normal
53395 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53396 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53397 for the compat linking library. Remove use of INTDEF/INTUSE.
53398 * sunrpc/auth_none.c: Likewise.
53399 * sunrpc/auth_unix.c: Likewise.
53400 * sunrpc/authdes_prot.c: Likewise.
53401 * sunrpc/authuxprot.c: Likewise.
53402 * sunrpc/clnt_gen.c: Likewise.
53403 * sunrpc/clnt_perr.c: Likewise.
53404 * sunrpc/clnt_raw.c: Likewise.
53405 * sunrpc/clnt_simp.c: Likewise.
53406 * sunrpc/clnt_tcp.c: Likewise.
53407 * sunrpc/clnt_udp.c: Likewise.
53408 * sunrpc/clnt_unix.c: Likewise.
53409 * sunrpc/des_crypt.c: Likewise.
53410 * sunrpc/des_soft.c: Likewise.
53411 * sunrpc/get_myaddr.c: Likewise.
53412 * sunrpc/key_call.c: Likewise.
53413 * sunrpc/key_prot.c: Likewise.
53414 * sunrpc/netname.c: Likewise.
53415 * sunrpc/pm_getmaps.c: Likewise.
53416 * sunrpc/pm_getport.c: Likewise.
53417 * sunrpc/pmap_clnt.c: Likewise.
53418 * sunrpc/pmap_prot.c: Likewise.
53419 * sunrpc/pmap_prot2.c: Likewise.
53420 * sunrpc/pmap_rmt.c: Likewise.
53421 * sunrpc/publickey.c: Likewise.
53422 * sunrpc/rpc_cmsg.c: Likewise.
53423 * sunrpc/rpc_common.c: Likewise.
53424 * sunrpc/rpc_dtable.c: Likewise.
53425 * sunrpc/rpc_prot.c: Likewise.
53426 * sunrpc/rpc_thread.c: Likewise.
53427 * sunrpc/rtime.c: Likewise.
53428 * sunrpc/svc.c: Likewise.
53429 * sunrpc/svc_auth.c: Likewise.
53430 * sunrpc/svc_authux.c: Likewise.
53431 * sunrpc/svc_raw.c: Likewise.
53432 * sunrpc/svc_run.c: Likewise.
53433 * sunrpc/svc_simple.c: Likewise.
53434 * sunrpc/svc_tcp.c: Likewise.
53435 * sunrpc/svc_udp.c: Likewise.
53436 * sunrpc/svc_unix.c: Likewise.
53437 * sunrpc/svcauth_des.c: Likewise.
53438 * sunrpc/xcrypt.c: Likewise.
53439 * sunrpc/xdr.c: Likewise.
53440 * sunrpc/xdr_array.c: Likewise.
53441 * sunrpc/xdr_float.c: Likewise.
53442 * sunrpc/xdr_intXX_t.c: Likewise.
53443 * sunrpc/xdr_mem.c: Likewise.
53444 * sunrpc/xdr_rec.c: Likewise.
53445 * sunrpc/xdr_ref.c: Likewise.
53446 * sunrpc/xdr_sizeof.c: Likewise.
53447 * sunrpc/xdr_stdio.c: Likewise.
53448
e6c61494
UD
534492011-04-10 Ulrich Drepper <drepper@gmail.com>
53450
53451 [BZ #12650]
53452 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53453 * sysdeps/ia64/dl-tls.h: Likewise.
53454 * sysdeps/powerpc/dl-tls.h: Likewise.
53455 * sysdeps/s390/dl-tls.h: Likewise.
53456 * sysdeps/sh/dl-tls.h: Likewise.
53457 * sysdeps/sparc/dl-tls.h: Likewise.
53458 * sysdeps/x86_64/dl-tls.h: Likewise.
53459 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53460
34fe483e
AS
534612011-03-14 Andreas Schwab <schwab@redhat.com>
53462
53463 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53464 rpath element also skip the following colon.
53465 (expand_dynamic_string_token): Add is_path parameter and pass
53466 down to DL_DST_REQUIRED and _dl_dst_substitute.
53467 (decompose_rpath): Call expand_dynamic_string_token with
53468 non-zero is_path. Ignore empty rpaths.
53469 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53470 with zero is_path.
53471
f12a32e6
AS
534722011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53473
53474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53475 Make cancelable.
53476
38a7d692
UD
534772011-04-09 Ulrich Drepper <drepper@gmail.com>
53478
53479 [BZ #12655]
53480 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53481 Patch by Filipe David Manana <fdmanana@apache.org>.
53482
e451d22b
AS
534832011-04-07 Andreas Schwab <schwab@redhat.com>
53484
53485 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53486 Maintain aligned stack.
53487 (CHECK_RSP): Remove unused macro.
53488
dedc7c7b
UD
534892011-04-03 Ulrich Drepper <drepper@gmail.com>
53490
53491 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53492 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53493
94521213
UD
534942011-04-02 Ulrich Drepper <drepper@gmail.com>
53495
53496 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53497
8cb700c0 53498 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 53499
0354e355
L
535002011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53501
53502 [BZ #12518]
53503 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53504 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53505 * sysdeps/x86_64/memmove.c: New file.
53506 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53507 (memcpy): Renamed to ...
53508 (__new_memcpy): This.
53509 (memcpy): Provide GLIBC_2_14 memcpy.
53510 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53511 (memcpy): Provide GLIBC_2_2_5 memcpy.
53512
8593482f
UD
535132011-04-01 Ulrich Drepper <drepper@gmail.com>
53514
53515 [BZ #12631]
53516 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53517
81a5726b
AS
535182011-03-30 Andreas Schwab <schwab@redhat.com>
53519
53520 * misc/syncfs.c: New file.
53521 * misc/Makefile (routines): Add syncfs.
53522 * posix/unistd.h: Declare syncfs.
53523 * sysdeps/unix/syscalls.list: Add syncfs.
53524
00e5419f
AS
535252011-04-01 Andreas Schwab <schwab@redhat.com>
53526
53527 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53528 open_by_handle_at.
53529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53530 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53534 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53535 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53536
748876bf
UD
535372011-04-01 Ulrich Drepper <drepper@gmail.com>
53538
658e451d
UD
53539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53540 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53541 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53542 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53543 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53545 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53546
748876bf
UD
53547 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53548 sync_file_range.c with -fexceptions.
53549 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53550 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53551 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53552 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53553 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53554 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53555 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
53556 sync_file_range as cancellation point
53557 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53558 now a wrapper around __call_sync_file_range with cancellation handling.
53559 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53560 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53561 function name to __call_sync_file_range.
53562 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53563 Add call_sync_file_range.
748876bf 53564
6e63d5e1
AS
535652011-04-01 Andreas Schwab <schwab@redhat.com>
53566
53567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 53568 bits/timex.h.
6e63d5e1 53569
46998f74
UD
535702011-04-01 Ulrich Drepper <drepper@gmail.com>
53571
4c1423ed
UD
53572 * iconv/iconv.h: Fix typo in comment.
53573 * io/fcntl.h: Likewise.
53574 * libio/stdio.h: Likewise.
53575 * posix/spawn.h: Likewise.
53576 * posix/unistd.h: Likewise.
53577 * stdlib/stdlib.h: Likewise.
53578 * time/time.h: Likewise.
53579 * wcsmbs/wchar.h: Likewise.
53580
158648c0
UD
53581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53582 open_by_handle): Add.
53583 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53584 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53585 Augment a few comments.
53586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53587 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53588 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53591 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53592 open_by_handle.
53593
46998f74
UD
53594 * io/fcntl.h (AT_EMPTY_PATH): Define.
53595
83fe108b
UD
535962011-03-30 Ulrich Drepper <drepper@gmail.com>
53597
53598 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53599 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53600 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53601 to...
53602 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
53603 * Versions.def: Add GLIBC_2.14.
53604 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53605 Export.
83fe108b 53606
bb242059
UD
536072011-03-22 Ulrich Drepper <drepper@gmail.com>
53608
53609 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53610 round counter.
53611 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53612
c97a1282
L
536132011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53614
53615 [BZ #12597]
53616 * string/test-strncmp.c (do_page_test): New function.
53617 (check2): Likewise.
53618 (test_main): Call check2.
53619 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53620
2a115601
UD
536212011-03-20 Ulrich Drepper <drepper@gmail.com>
53622
53623 [BZ #12587]
53624 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53625 Handle cache information in CPU leaf 4.
53626 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53627
8126d904
UD
536282011-03-18 Ulrich Drepper <drepper@gmail.com>
53629
042c49c6 53630 [BZ #12583]
8126d904
UD
53631 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53632 character representation.
53633 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53634
ccfe366e
RA
536352011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53636
53637 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53638 END(__isnan) to END(__isnanf) to match function entry point/label
53639 EALIGN(__isnanf,...).
53640
c6e13027
JJ
536412011-03-10 Jakub Jelinek <jakub@redhat.com>
53642
53643 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53644
33f85a3f
UD
536452011-03-10 Ulrich Drepper <drepper@gmail.com>
53646
028478fa
UD
53647 [BZ #12510]
53648 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53649 copy from the symbol referenced in the relocation to initialize the
53650 used variable.
53651 Patch by Piotr Bury <pbury@goahead.com>.
53652 * elf/Makefile: Add rules to build and tst-unique3.
53653 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53654 * elf/tst-unique3.cc: New file.
53655 * elf/tst-unique3.h: New file.
53656 * elf/tst-unique3lib.cc: New file.
53657 * elf/tst-unique3lib2.cc: New file.
53658
33f85a3f
UD
53659 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53660
03592fc7
MF
536612011-03-10 Mike Frysinger <vapier@gentoo.org>
53662
53663 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53664 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53665 to _start.
03592fc7 53666
6a5ee102
UD
536672011-03-06 Ulrich Drepper <drepper@gmail.com>
53668
53669 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53670 to-be-loaded object along a path to loader is ld.so.
53671
7e4ba49c
HJ
536722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53673 Ulrich Drepper <drepper@gmail.com>
53674
53675 * sysdeps/x86_64/memset.S: After aligning destination, code
53676 branches to different locations depending on the value of
53677 misalignment, when multiarch is enabled. Fix this.
53678
536792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53680
53681 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53682 Set _x86_64_preferred_memory_instruction for AMD processsors.
53683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53684 Set bit_Prefer_SSE_for_memop for AMD processors.
53685
13a804de
UD
536862011-03-04 Ulrich Drepper <drepper@gmail.com>
53687
53688 * libio/fmemopen.c (fmemopen): Optimize a bit.
53689
9d25c392
AS
536902011-03-03 Andreas Schwab <schwab@redhat.com>
53691
53692 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53693
a5543c6a
RM
536942011-03-03 Roland McGrath <roland@redhat.com>
53695
53696 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53697
012d35f7
DM
536982011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53699
7e4ba49c 53700 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
53701 __bzero_ultra1 instead of __memset_ultra1.
53702
4bff6e01
AS
537032011-02-23 Andreas Schwab <schwab@redhat.com>
53704 Ulrich Drepper <drepper@gmail.com>
53705
53706 [BZ #12509]
53707 * include/link.h (struct link_map): Add l_orig_initfini.
53708 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53709 returning unsuccessfully.
53710 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53711 close of a file loaded at startup, restore the original l_initfini
53712 list.
53713 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53714 list, store the pointer.
53715 * elf/Makefile ($(objpfx)noload-mem): New rule.
53716 (noload-ENV): Define.
53717 (tests): Add $(objpfx)noload-mem.
53718 * elf/noload.c: Include <memcheck.h>.
53719 (main): Call mtrace. Close all opened handles.
53720
f2092faf
AS
537212011-02-17 Andreas Schwab <schwab@redhat.com>
53722
53723 [BZ #12454]
53724 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53725 dependencies are missing.
53726
6c8a2e88
ST
537272011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53728
f2092faf 53729 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
53730 Hurd needs munmap.
53731 * sysdeps/mach/hurd/ifreq.h: New file.
53732
84a42118
PB
537332011-01-27 Petr Baudis <pasky@suse.cz>
53734 Ulrich Drepper <drepper@gmail.com>
53735
071f805e 53736 [BZ 12445]#
84a42118
PB
53737 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53738 to extend_alloca().
53739 * stdio-common/bug23.c: New file.
53740 * stdio-common/Makefile (tests): Add bug23.
53741
e23fe25b
AS
537422010-09-28 Andreas Schwab <schwab@redhat.com>
53743 Ulrich Drepper <drepper@gmail.com>
53744
53745 [BZ #12489]
53746 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53747 before performing relro protection. At old place add assertion
53748 to make sure nothing changed.
53749
d3f02e10
NS
537502011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53751 Glauber de Oliveira Costa <glommer@gmail.com>
53752
53753 * elf/elf.h: Add new ARM TLS relocs.
53754
d55fd7a5
RA
537552011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53756
53757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53758 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53759 cast from r3.
53760 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53761 'tests' variable.
53762 * sysdeps/wordsize-64/tst-writev.c: New file.
53763
2206397e
RA
537642011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53765
53766 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53767 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53768 insns in _dl_start to prevent a TOC reference before relocs are
53769 resolved.
53770
e9433893
UD
537712011-02-15 Ulrich Drepper <drepper@gmail.com>
53772
53773 [BZ #12469]
53774 * Makeconfig: Remove RANLIB definition.
53775 * Makerules: Don't use RANLIB.
53776 * aclocal.m4: Remove ranlib test.
53777 * configure.in: No need to check for ranlib.
53778 * elf/rtld-Rules: Don't use RANLIB.
53779
f75286c6
ST
537802011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53781
8e31c82d
ST
53782 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53783 protection macro.
53784 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53785 inclusion protection macro.
53786
f75286c6
ST
53787 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53788 SIGRTMIN and SIGRTMAX and print information in that case only when
53789 SIGRTMIN is defined.
53790
c1d0e639
JJ
537912011-02-11 Jakub Jelinek <jakub@redhat.com>
53792
53793 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53794 arginfo fn returning -1.
53795
53796 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53797 and thousands string is zero terminated.
53798
edf9294e
AS
537992011-02-03 Andreas Schwab <schwab@redhat.com>
53800
53801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53802 sysdeps/unix/sysv/linux/bits/socket.h.
53803
2b7e92df
ST
538042011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53805
edf9294e
AS
53806 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53807 (__CPU_COUNT): Remove old macros.
53808 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53809 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53810 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
53811 (__sched_cpualloc, __sched_cpufree): Add declarations.
53812
a4c7ea7b
UD
538132011-02-05 Ulrich Drepper <drepper@gmail.com>
53814
53815 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53816 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53817 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53818 (readdhstai): Return value of addhstaiX call.
53819 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53820 (addgrbyX): Return value returned by cache_addgr.
53821 (readdgrbyname): Return value returned by addgrbyX.
53822 (readdgrbygid): Likewise.
53823 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53824 (addpwbyX): Return value returned by cache_addpw.
53825 (readdpwbyname): Return value returned by addhstbyX.
53826 (readdpwbyuid): Likewise.
53827 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53828 (addservbyX): Return value returned by cache_addserv.
53829 (readdservbyname): Return value returned by addservbyX:
53830 (readdservbyport): Likewise.
53831 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53832 (addhstbyX): Return value returned by cache_addhst.
53833 (readdhstbyname): Return value returned by addhstbyX.
53834 (readdhstbyaddr): Likewise.
53835 (readdhstbynamev6): Likewise.
53836 (readdhstbyaddrv6): Likewise.
53837 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53838 (readdinitgroups): Return value returned by addinitgroupsX.
53839 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53840 (prune_cache): Keep track of timeout value of re-added entries.
53841 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53842 * nscd/nscd.h: Adjust prototypes of readd* functions.
53843
a0bf67cc
RM
538442011-02-04 Roland McGrath <roland@redhat.com>
53845
53846 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53847 (nis_stats): Likewise.
53848 * nis/nis_modify.c (nis_modify): Likewise.
53849 * nis/nis_remove.c (nis_remove): Likewise.
53850 * nis/nis_add.c (nis_add): Likewise.
53851
53852 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53853
53854 * posix/fnmatch_loop.c: Add some consts.
53855
53856 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53857
435b95eb
L
538582011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53859
53860 [BZ #12460]
53861 * config.make.in (config-cflags-novzeroupper): Define.
53862 * configure.in: Substitute libc_cv_cc_novzeroupper.
53863 * elf/Makefile (AVX-CFLAGS): Define.
53864 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53865 (CFLAGS-tst-auditmod4a.c): Likewise.
53866 (CFLAGS-tst-auditmod4b.c): Likewise.
53867 (CFLAGS-tst-auditmod6b.c): Likewise.
53868 (CFLAGS-tst-auditmod6c.c): Likewise.
53869 (CFLAGS-tst-auditmod7b.c): Likewise.
53870 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53871
8517b15e
UD
538722011-02-02 Ulrich Drepper <drepper@gmail.com>
53873
53874 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53875 function to the callback.
53876 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53877
10a656fe
AS
538782011-02-02 Andreas Schwab <schwab@redhat.com>
53879
53880 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53881 of errno.
53882
968dad0a
UD
538832011-01-19 Ulrich Drepper <drepper@gmail.com>
53884
9f94d2ea 53885 [BZ #11724]
968dad0a
UD
53886 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53887 of constructors.
53888 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53889 of destructors.
53890 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53891
53892 [BZ #11724]
53893 * elf/Makefile: Add rules to build and run new test.
53894 * elf/tst-initorder.c: New file.
53895 * elf/tst-initorder.exp: New file.
53896 * elf/tst-initordera1.c: New file.
53897 * elf/tst-initordera2.c: New file.
53898 * elf/tst-initordera3.c: New file.
53899 * elf/tst-initordera4.c: New file.
53900 * elf/tst-initorderb1.c: New file.
53901 * elf/tst-initorderb2.c: New file.
53902 * elf/tst-order-a1.c: New file.
53903 * elf/tst-order-a2.c: New file.
53904 * elf/tst-order-a3.c: New file.
53905 * elf/tst-order-a4.c: New file.
53906 * elf/tst-order-b1.c: New file.
53907 * elf/tst-order-b2.c: New file.
53908 * elf/tst-order-main.c: New file.
53909 New test case by George Gensure <werkt0@gmail.com>.
53910
86e92359
UD
539112010-10-01 Andreas Schwab <schwab@redhat.com>
53912
53913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53914 decoding ACE if AI_CANONIDN.
53915
5d5732b0
UD
539162011-01-18 Ulrich Drepper <drepper@gmail.com>
53917
53918 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53919
a77e8cbc
UD
539202011-01-17 Ulrich Drepper <drepper@gmail.com>
53921
6392473f
UD
53922 * version.h (RELEASE): Bump for 2.13 release.
53923 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53924
620a0529
UD
53925 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53926
18ba70a5
UD
53927 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53928 MADV_NOHUGEPAGE.
32465c3e
UD
53929 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53930 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53931 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53932 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53934 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53935
c0dafcf1
UD
53936 * posix/getconf.c: Update copyright year.
53937 * catgets/gencat.c: Likewise.
53938 * csu/version.c: Likewise.
53939 * debug/catchsegv.sh: Likewise.
53940 * debug/xtrace.sh: Likewise.
53941 * elf/ldconfig.c: Likewise.
53942 * elf/ldd.bash.in: Likewise.
53943 * elf/sprof.c (print_version): Likewise.
53944 * iconv/iconv_prog.c: Likewise.
53945 * iconv/iconvconfig.c: Likewise.
53946 * locale/programs/locale.c: Likewise.
53947 * locale/programs/localedef.c: Likewise.
53948 * malloc/memusage.sh: Likewise.
53949 * malloc/mtrace.pl: Likewise.
53950 * nscd/nscd.c (print_version): Likewise.
53951 * nss/getent.c: Likewise.
53952
a77e8cbc
UD
53953 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53954 PF_CAIF, and PF_ALG.
53955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53956
77e8bddf
AS
539572011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53958
1f20b93a
AS
53959 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53960 (modules-names): Use them.
53961 (ifunc-test-modules, ifunc-pie-tests): Define.
53962 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53963 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53964 (test-extras): Likewise.
53965 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53966 $(compile-command.c).
53967 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53968 (all-built-dso): Define.
53969 (check-textrel.out, check-execstack.out): Depend on it.
53970
77e8bddf
AS
53971 * configure.in: Don't override --enable-multi-arch.
53972
bc425b33
UD
539732011-01-15 Ulrich Drepper <drepper@gmail.com>
53974
53975 [BZ #6812]
53976 * nscd/hstcache.c (tryagain): Define.
53977 (cache_addhst): Return tryagain not notfound for temporary errors.
53978 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53979 failed.
53980
794c3ad3
UD
539812011-01-14 Ulrich Drepper <drepper@gmail.com>
53982
70181fdd
UD
53983 [BZ #10563]
53984 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53985 to make the syscall.
53986 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53987
794c3ad3
UD
53988 [BZ #12378]
53989 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53990 and fall back to matching as normal character if the string ends before
53991 the matching ']' is found. This is what POSIX requires.
53992 * posix/testfnm.c: Adjust test result.
53993 * posix/globtest.sh: Adjust test result. Add new test.
53994 * posix/tst-fnmatch.input: Likewise.
53995 * posix/tst-fnmatch2.c: Add new test.
53996
68dc9497
AS
539972010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53998
53999 * elf/Makefile (check-execstack): Revert last change. Depend on
54000 check-execstack.h.
54001 (check-execstack.h): New target.
54002 (generated): Add check-execstack.h.
54003 * elf/check-execstack.c: Include "check-execstack.h".
54004 (main): Revert last change.
54005 (handle_file): Return zero if GNU_STACK is absent and
54006 DEFAULT_STACK_PERMS doesn't include PF_X.
54007
451f001b
UD
540082011-01-13 Ulrich Drepper <drepper@gmail.com>
54009
cfa28e56
UD
54010 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54011 in child fails because the descriptor is already closed.
8cf8ce17
UD
54012 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54013 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54014 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54015
1086d70d
UD
54016 [BZ #12397]
54017 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54018 syscall.
54019
451f001b
UD
54020 [BZ #10484]
54021 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54022 temporary buffer used to handle multi lookups locally.
a85b5cb4 54023 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54024
08769175
UD
540252011-01-12 Ulrich Drepper <drepper@gmail.com>
54026
54027 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54028 loader is ld.so.
54029
5e49c52e
UD
540302011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54031
54032 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54033 alignment for SSE2.
54034
60522a5f
UD
540352011-01-12 Ulrich Drepper <drepper@gmail.com>
54036
54037 [BZ #12394]
54038 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54039 characters. When rounding increased number of integer digits recompute
54040 number of groups.
54041 * stdio-common/tst-grouping.c: New file.
54042 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54043
f257bbd7
UD
540442011-01-09 Ulrich Drepper <drepper@gmail.com>
54045
54046 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54047 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54048
54049 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54050 void.
54051 * bits/select.h: Likewise.
54052
fa9c15cb
UD
540532011-01-08 Ulrich Drepper <drepper@gmail.com>
54054
54055 * po/ja.po: Update from translation team.
54056
16c2895f
DM
540572011-01-04 David S. Miller <davem@sunset.davemloft.net>
54058
54059 [BZ #11155]
54060 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54061 implementation just like for lxstat, fxstatat, et al.
54062
2543fef2
JM
540632010-12-27 Jim Meyering <meyering@redhat.com>
54064
54065 [BZ #12348]
54066 * posix/regexec.c (build_trtable): Return failure indication upon
54067 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54068
98727dbe
UD
540692010-12-25 Ulrich Drepper <drepper@gmail.com>
54070
5bd6dc5c
UD
54071 [BZ #12201]
54072 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54073 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54074 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54075 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54076
97983464
UD
54077 [BZ #12207]
54078 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54079
98727dbe
UD
54080 [BZ #12204]
54081 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54082 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54083
4a531bb0
L
540842010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54085
54086 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54087 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54088 script has SORT_BY_INIT_PRIORITY.
54089 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54090 NO_CTORS_DTORS_SECTIONS is defined.
54091 * elf/soinit.c: Likewise.
54092 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54093 NO_CTORS_DTORS_SECTIONS is defined.
54094 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54095 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54096 * sysdeps/sh/init-first.c: Likewise.
54097 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54098
07eb4b71
UD
540992010-12-24 Ulrich Drepper <drepper@gmail.com>
54100
54101 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54102 always use the slow path.
54103
30950a5f
RA
541042010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54105
54106 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54107 similar rule which adds the sysdep directories to the header search in
54108 order to pick up the correct platform stackinfo.h.
54109 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54110 perform test if it is, otherwise return successfully without testing.
54111 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54112 DEFAULT_STACK_PERMS define in stackinfo.h.
54113 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54114 defined in stackinfo.h.
54115 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54116 DEFAULT_STACK_PERMS defined in stackinfo.h.
54117 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54118 * sysdeps/ia64/stackinfo.h: Likewise.
54119 * sysdeps/s390/stackinfo.h: Likewise.
54120 * sysdeps/sh/stackinfo.h: Likewise.
54121 * sysdeps/sparc/stackinfo.h: Likewise.
54122 * sysdeps/x86_64/stackinfo.h: Likewise.
54123 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54124 PF_X for powerpc64. Retain PF_X for powerpc32.
54125
db753e2c
UD
541262010-12-19 Ulrich Drepper <drepper@gmail.com>
54127
14b697f7
UD
54128 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54129 accurately.
db753e2c
UD
54130 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54131 GETDENTS_64BIT_ALIGNED.
54132
28300719
UD
541332010-12-14 Ulrich Drepper <dreper@gmail.com>
54134
14b697f7 54135 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54136
4f197237
AS
541372010-12-10 Andreas Schwab <schwab@redhat.com>
54138
dbb0472f
AS
54139 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54140 _GNU_SOURCE.
54141
4f197237
AS
54142 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54143 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54144 Remove __restrict.
54145 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54146 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54147
fb88ac72
UD
541482010-12-09 Ulrich Drepper <drepper@gmail.com>
54149
54150 [BZ #11655]
54151 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54152 are initialized.
54153
42acbb92
JJ
541542010-12-09 Jakub Jelinek <jakub@redhat.com>
54155
54156 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54157
c038d98d
UD
541582010-12-03 Ulrich Drepper <drepper@gmail.com>
54159
54160 * po/it.po: Update from translation team.
54161
3a4a2499
L
541622010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54163
54164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54165 unused codes.
54166
1e24cf6e
UD
541672010-11-30 Ulrich Drepper <drepper@gmail.com>
54168
54169 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54170
a7690819
AS
541712010-11-24 Andreas Schwab <schwab@redhat.com>
54172
54173 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54174 specially.
54175 (gaih_getanswer_slice): Likewise.
54176
3bf8d1b1
JJ
541772010-10-20 Jakub Jelinek <jakub@redhat.com>
54178
54179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54180
6db52fbb
PB
541812010-05-31 Petr Baudis <pasky@suse.cz>
54182
54183 [BZ #11149]
54184 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54185 silently even in the chroot mode.
54186
eaca7569
UD
541872010-11-22 Ulrich Drepper <drepper@gmail.com>
54188
54189 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54190 last patch a bit. Pretty printing
54191
3056dcdb
UD
541922010-05-31 Petr Baudis <pasky@suse.cz>
54193
54194 [BZ #10085]
54195 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54196 initialization of skip_initgroups_dyn.
54197
cf7c9078
UD
541982010-11-19 Ulrich Drepper <drepper@gmail.com>
54199
54200 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54201 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54202
a1fb5e3e
UD
542032010-11-16 Ulrich Drepper <drepper@gmail.com>
54204
54205 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54206
3540d66b
AS
542072010-11-11 Andreas Schwab <schwab@redhat.com>
54208
54209 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54210 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54211 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54212 ($(objpfx)tst-fnmatch-mem): New rule.
54213 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54214 * posix/tst-fnmatch.c (main): Call mtrace.
54215
13b69574
L
542162010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54217
54218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54219 Support Intel processor model 6 and model 0x2c.
54220
da93d214
LM
542212010-11-10 Luis Machado <luisgpm@br.ibm.com>
54222
54223 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54224 signed comparison.
54225
8ca52c6e
L
542262010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54227
54228 [BZ #12205]
54229 * string/test-strncasecmp.c (check_result): New function.
54230 (do_one_test): Use it.
54231 (check1): New function.
54232 (test_main): Use it.
54233 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54234 Support strcasecmp and strncasecmp.
54235
69da074d
UD
542362010-11-08 Ulrich Drepper <drepper@gmail.com>
54237
54238 [BZ #12194]
54239 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54240 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54241
ff02d528
L
542422010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54243
54244 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54245 IFUNC support.
54246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54247 memset-x86-64.
54248 * sysdeps/x86_64/multiarch/bzero.S: New file.
54249 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54250 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54251 * sysdeps/x86_64/multiarch/memset.S: New file.
54252 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54254 Set bit_Prefer_SSE_for_memop for Intel processors.
54255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54256 Define.
54257 (index_Prefer_SSE_for_memop): Define.
54258 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54259
344d0b54
LM
542602010-11-04 Luis Machado <luisgpm@br.ibm.com>
54261
54262 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54263 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54264
c0dde15b
UD
542652010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54266
54267 [BZ #12191]
54268 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54269 (__x86_64_raw_data_cache_size_half): Likewise.
54270 (__x86_64_raw_shared_cache_size): Likewise.
54271 (__x86_64_raw_shared_cache_size_half): Likewise.
54272
54273 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54274 (__x86_64_raw_data_cache_size_half): Likewise.
54275 (__x86_64_raw_shared_cache_size): Likewise.
54276 (__x86_64_raw_shared_cache_size_half): Likewise.
54277 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54278 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54279 and __x86_64_raw_shared_cache_size_half. Round
54280 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54281 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54282 to multiple of 256 bytes.
54283
0e516e0e
MS
542842010-11-03 Ulrich Drepper <drepper@gmail.com>
54285
54286 [BZ #12167]
54287 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54288 of inacessible symlinks. Verify result of symlink before returning it.
54289 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54290 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54291
0e012e87
ER
542922010-10-28 Erich Ritz <erichritz@gmail.com>
54293
54294 * math/math.h (isinf): Fix typo in comment.
54295
de0ff7bc
UD
542962010-11-01 Ulrich Drepper <drepper@gmail.com>
54297
54298 * po/da.po: Update from translation team.
54299
fa41c84d
UD
543002010-10-26 Ulrich Drepper <drepper@gmail.com>
54301
54302 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54303 is added to the list.
54304
f0967738
AK
543052010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54306 Ulrich Drepper <drepper@gmail.com>
54307
54308 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54309 the global list here. Move code to...
54310 (_dl_add_to_namespace_list): ...here. New function.
54311 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54312 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54313 * elf/dl-load.c (lose): Don't remove the element from the list.
54314 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54315 (_dl_map_object): Likewise.
54316
543172010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54318
54319 [BZ #12159]
54320 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54321 into all bytes of SSE register.
54322 Patch by Richard Li <richardpku@gmail.com>.
54323
f0967738 543242010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54325
54326 [BZ #12140]
54327 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54328 perturbing.
54329
d0b9e94f
MB
543302010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54331
54332 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54333 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54334 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54335 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54337 submachine.
54338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54339
8e9f92e9
AS
543402010-10-22 Andreas Schwab <schwab@redhat.com>
54341
54342 * include/dlfcn.h (__RTLD_SECURE): Define.
54343 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54344 mode & __RTLD_SECURE instead.
54345 (open_path): Rename preloaded parameter to secure.
54346 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54347 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54348 * elf/dl-deps.c (openaux): Likewise.
54349 * elf/rtld.c (struct map_args): Remove is_preloaded.
54350 (map_doit): Don't use it.
54351 (dl_main): Likewise.
54352 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54353 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54354
bc96fbda
AS
543552010-09-09 Andreas Schwab <schwab@redhat.com>
54356
54357 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54358 (sysd-rules-targets): Remove duplicates.
54359 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54360 rtld-%.$o dependency.
54361
22cd1c9b
AS
543622010-10-18 Andreas Schwab <schwab@redhat.com>
54363
54364 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54365 _dl_map_object do it.
54366
18edac48
UD
543672010-10-19 Ulrich Drepper <drepper@gmail.com>
54368
54369 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54370 fast fma builtins, define the macros in the C99 standard.
54371 (FP_FAST_FMAF): Likewise.
54372 (FP_FAST_FMAL): Likewise.
54373 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54374
54375 * bits/mathdef.h: Update copyright year.
54376 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54377
d2050124
MM
543782010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54379
54380 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54381 builtins, define the macros in the C99 standard.
54382 (FP_FAST_FMAF): Likewise.
54383 (FP_FAST_FMAL): Likewise.
54384 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54385 multiply/add.
54386 (FP_FAST_FMAF): Likewise.
54387
475facd1
JJ
543882010-10-15 Jakub Jelinek <jakub@redhat.com>
54389
54390 [BZ #3268]
54391 * math/libm-test.inc (fma_test): Some new testcases.
54392 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54393 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54394 y and infinite z. Do multiplication by C already in long double.
54395 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54397 y and infinite z. Do bitwise or of inexact bit into u.d.
54398 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54399 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54400 * sysdeps/i386/fpu/s_fma.S: Removed.
54401 * sysdeps/i386/fpu/s_fmal.S: Removed.
54402
7c08a05c
JJ
544032010-10-16 Jakub Jelinek <jakub@redhat.com>
54404
54405 [BZ #3268]
54406 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54408 computation is not scheduled after fetestexcept. Fix value
54409 of minimum denormal long double.
54410
f3f7372d
JJ
544112010-10-14 Jakub Jelinek <jakub@redhat.com>
54412
54413 [BZ #3268]
54414 * math/libm-test.inc (fma_test): Add some more tests.
54415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54416 correctly.
54417
14d43591
AS
544182010-10-15 Andreas Schwab <schwab@redhat.com>
54419
54420 * scripts/data/localplt-s390-linux-gnu.data: New file.
54421 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54422
5e908464
JJ
544232010-10-13 Jakub Jelinek <jakub@redhat.com>
54424
54425 [BZ #3268]
54426 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54427 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54428 instead of dbl-64.
54429 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54430 inlines.
54431 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54433 if one of x and y is very large and the other is subnormal.
54434 * sysdeps/s390/fpu/s_fmaf.c: New file.
54435 * sysdeps/s390/fpu/s_fma.c: New file.
54436 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54437 * sysdeps/powerpc/fpu/s_fma.S: New file.
54438 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54439 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54440 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54441
544422010-10-12 Jakub Jelinek <jakub@redhat.com>
54443
54444 [BZ #3268]
54445 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54446 fma tests.
54447 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54448 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54449 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54450 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54451 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54452 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54453 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54454
b833d51f
UD
544552010-10-12 Ulrich Drepper <drepper@redhat.com>
54456
54457 [BZ #12078]
54458 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54459 * posix/bug-regex31.input: Add test case.
54460
1751705d
UD
544612010-10-11 Ulrich Drepper <drepper@gmail.com>
54462
e9b9cbf5
UD
54463 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54464 * posix/bug-regex31.input: New file.
54465
54466 [BZ #12078]
54467 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54468 (parse_sub_exp): Fix last change, use postorder.
54469
ef06edbe
UD
54470 * posix/bug-regex31.c: New file.
54471 * posix/Makefile: Add rules to build and run bug-regex31.
54472
a129c80d
UD
54473 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54474
54475 [BZ #12078]
54476 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54477
b76b818e
UD
54478 [BZ #12108]
54479 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54480 to have entries in sys_siglist.
54481
1751705d
UD
54482 [BZ #12093]
54483 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54484 be NULL.
54485
9ff8d36f
JJ
544862010-10-07 Jakub Jelinek <jakub@redhat.com>
54487
54488 [BZ #3268]
54489 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54490 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54491 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54492 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54493 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54494 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54495 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54496 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54497 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54498 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54499 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54500 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54501 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54502 * math/ftestexcept.c (fetestexcept): Likewise.
54503 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54504 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54505 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54506 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54507 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54508 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54509 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54510
af325969
UD
545112010-10-11 Ulrich Drepper <drepper@gmail.com>
54512
c579b202 54513 [BZ #12107]
af325969
UD
54514 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54515 newline.
54516
67a67b95
UD
545172010-10-06 Ulrich Drepper <drepper@gmail.com>
54518
54519 * string/bug-strstr1.c: New file.
54520 * string/Makefile: Add rules to build and run bug-strstr1.
54521
5fb308bc
EB
545222010-10-05 Eric Blake <eblake@redhat.com>
54523
54524 [BZ #12092]
54525 * string/str-two-way.h (two_way_long_needle): Always clear memory
54526 when skipping input due to the shift table.
54527
45db99c7
UD
545282010-10-03 Ulrich Drepper <drepper@gmail.com>
54529
3b111893
UD
54530 [BZ #12005]
54531 * malloc/mcheck.c: Handle large requests.
54532
45db99c7
UD
54533 [BZ #12077]
54534 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54535 for strncmp and strncasecmp.
54536 * string/stratcliff.c: Add tests for strcmp and strncmp.
54537 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54538
cf7a1eb8
NI
545392010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54540
54541 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54542 __set_fpscr.
54543
6484ba5e
AJ
545442010-09-30 Andreas Jaeger <aj@suse.de>
54545
54546 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54547 (CGROUP_SUPER_MAGIC): Define.
54548 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54549 Handle btrfs and cgroup file systems.
54550 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54551 Likewise.
54552
91c42559
LM
545532010-09-27 Luis Machado <luisgpm@br.ibm.com>
54554
54555 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54556 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54557
87a97932
AK
545582010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54559
54560 [BZ #12067]
54561 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54562 trying to locate the ELF header.
54563
c21cc9bc
AS
545642010-09-27 Andreas Schwab <schwab@redhat.com>
54565
54566 [BZ #11611]
54567 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54568 Mask out sign-bit copies when constructing f_fsid.
54569
315970f6
PB
545702010-09-24 Petr Baudis <pasky@suse.cz>
54571
54572 * debug/stack_chk_fail_local.c: Add missing licence exception.
54573 * debug/warning-nop.c: Likewise.
54574
1ac7a2c7
JM
545752010-09-15 Joseph Myers <joseph@codesourcery.com>
54576
54577 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54578 implementing getdents64 using getdents syscall, set d_type if
54579 __ASSUME_GETDENTS32_D_TYPE.
54580
56801c50
AS
545812010-09-16 Andreas Schwab <schwab@redhat.com>
54582
54583 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54584 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54585
dda51327
UD
545862010-09-21 Ulrich Drepper <drepper@redhat.com>
54587
54588 [BZ #12037]
54589 * posix/unistd.h: Undo change of feature selection for ftruncate from
54590 2010-01-11.
54591
8ffcee4a
UD
545922010-09-20 Ulrich Drepper <drepper@redhat.com>
54593
a545ecd9 54594 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
54595 detection.
54596
e24f0a8b
AS
545972010-09-20 Andreas Schwab <schwab@redhat.com>
54598
54599 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54600 fanotify_mark.
54601 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54602
7291c56f
AS
546032010-09-14 Andreas Schwab <schwab@redhat.com>
54604
54605 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54606 variables after CHECK_SP call.
54607 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54608
bc5fb037
AS
546092010-09-13 Andreas Schwab <schwab@redhat.com>
54610 Ulrich Drepper <drepper@redhat.com>
54611
54612 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54613 re-relocationg ld.so.
54614 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54615 _dl_init_paths call.
54616 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54617 here anymore.
54618
e66e7419
UD
546192010-09-14 Ulrich Drepper <drepper@redhat.com>
54620
54621 * resolv/res_init.c (__res_vinit): Count the default server we added.
54622
c044aa75
CLT
546232010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54624 Ulrich Drepper <drepper@redhat.com>
54625
54626 [BZ #11968]
54627 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54628 (____longjmp_chk): Use %ebx for saving value across system call.
54629 Add unwind info.
54630
32cf4069
AS
546312010-09-06 Andreas Schwab <schwab@redhat.com>
54632
54633 * manual/Makefile: Don't mix pattern rules with normal rules.
54634
817328ee
AS
546352010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54636
54637 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54638 operation.
54639 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54640 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54641 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54642 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54644 Likewise.
54645
29fddf61
UD
546462010-09-04 Ulrich Drepper <drepper@redhat.com>
54647
54648 [BZ #11979]
54649 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54650 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54651
0959ffc9
UD
546522010-09-02 Ulrich Drepper <drepper@redhat.com>
54653
54654 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54655 * sysdeps/x86_64/addmul_1.S: Likewise.
54656 * sysdeps/x86_64/lshift.S: Likewise.
54657 * sysdeps/x86_64/mul_1.S: Likewise.
54658 * sysdeps/x86_64/rshift.S: Likewise.
54659 * sysdeps/x86_64/sub_n.S: Likewise.
54660 * sysdeps/x86_64/submul_1.S: Likewise.
54661
ece29840
ST
546622010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54663
0959ffc9
UD
54664 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54665 Define __sched_param instead of SCHED_* and sched_param when
ece29840 54666 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 54667 * bits/sched.h [__need_schedparam]
ece29840 54668 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
54669 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54670 (__defined_schedparam): Define to 1.
ece29840
ST
54671 (__sched_param): New structure, identical to sched_param.
54672 (__need_schedparam): Undefine.
54673
e53a31fe
MF
546742010-08-31 Mike Frysinger <vapier@gentoo.org>
54675
fdc0c10d
MF
54676 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54677 (epoll_create1): Declare.
54678
e53a31fe
MF
54679 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54680
a726d796
AS
546812010-08-31 Andreas Schwab <schwab@redhat.com>
54682
54683 [BZ #7066]
54684 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54685 shifting retval into place.
54686
2f3e3dc7
UD
546872010-09-01 Ulrich Drepper <drepper@redhat.com>
54688
f2933da9
UD
54689 * nis/rpcsvc/nis.h: Update copyright notice.
54690 * nis/rpcsvc/nis.x: Likewise.
54691 * nis/rpcsvc/nis_callback.h: Likewise.
54692 * nis/rpcsvc/nis_callback.x: Likewise.
54693 * nis/rpcsvc/nis_object.x: Likewise.
54694 * nis/rpcsvc/nis_tags.h: Likewise.
54695 * nis/rpcsvc/yp.h: Likewise.
54696 * nis/rpcsvc/yp.x: Likewise.
54697 * nis/rpcsvc/ypupd.h: Likewise.
54698 * nis/yp_xdr.c: Likewise.
54699 * nis/ypupdate_xdr.c: Likewise.
54700
2f3e3dc7
UD
54701 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54702 mainly the body of pmap_getport. Add parameters to specify timeouts.
54703 (pmap_getport): Use __libc_rpc_getport.
54704 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54705 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54706 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54707
f3dcc2f9
AS
547082010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54709
54710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54711 fanotify_mark.
54712
6d34eb5b
RM
547132010-08-27 Roland McGrath <roland@redhat.com>
54714
54715 * sysdeps/i386/i686/multiarch/Makefile
54716 (CFLAGS-varshift.c): New variable.
54717
9ea3de11
UD
547182010-08-27 Ulrich Drepper <drepper@redhat.com>
54719
c96d23fc
UD
54720 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54721 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54722
9ea3de11
UD
54723 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54724
54725 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54726
623aac7f
L
547272010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54728
54729 * sysdeps/x86_64/strlen.S: Unroll the loop.
54730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54731 strlen-sse2 strlen-sse2-bsf.
54732 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54733 __strlen_no_bsf if bit_Slow_BSF is set.
54734 (__strlen_sse42): Removed.
54735 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54736 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54737
8b2b7715
RM
547382010-08-25 Roland McGrath <roland@redhat.com>
54739
54740 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54741 * sysdeps/x86_64/multiarch/varshift.c: New file.
54742 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54743 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54744 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54745 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54746
e73015f2
L
547472010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54748
54749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54750 strlen-sse2 strlen-sse2-bsf.
54751 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54752 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54753 (__strlen_sse2): Removed.
54754 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54755 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54757 bit_Slow_BSF for Atom.
54758 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54759 (index_Slow_BSF): Define.
54760 (HAS_SLOW_BSF): Define.
54761
df24a73e
UD
547622010-08-25 Ulrich Drepper <drepper@redhat.com>
54763
54764 [BZ #10851]
54765 * resolv/res_init.c (__res_vinit): When no server address at all
54766 is given default to loopback.
54767
f2ac4868
RM
547682010-08-24 Roland McGrath <roland@redhat.com>
54769
09055553
RM
54770 * configure.in: Remove config-name.h generation.
54771 * configure: Regenerated.
54772 * config-name.in: File removed.
54773 * scripts/config-uname.sh: New file.
54774 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54775 ($(objdir)config-name.h): New target.
54776
f2ac4868
RM
54777 * sunrpc/rpc_parse.h: Avoid nested comment.
54778
73f27d5e
RH
547792010-08-24 Richard Henderson <rth@redhat.com>
54780 Ulrich Drepper <drepper@redhat.com>
54781 H.J. Lu <hongjiu.lu@intel.com>
54782
54783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54785 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54786 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54787 _mm_alignr_epi8 with _mm_loadu_si128.
54788 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54789 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54790 (__m128i_shift_right): Removed.
54791 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54792 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54793 * sysdeps/x86_64/multiarch/varshift.h: New file.
54794 * sysdeps/x86_64/multiarch/varshift.S: New file.
54795
84b9230c
MF
547962010-08-21 Mike Frysinger <vapier@gentoo.org>
54797
54798 * configure.in: Move assembler checks to before sysdep dir checking.
54799
9bbd0ddc
PB
548002010-08-20 Petr Baudis <pasky@suse.cz>
54801
54802 * LICENSES: Sync the sunrpc license.
54803
9da4bb31
UD
548042010-08-19 Ulrich Drepper <drepper@redhat.com>
54805
a7ab6ec8
UD
54806 * sunrpc/auth_des.c: Update copyright notice once again.
54807 * sunrpc/auth_none.c: Likewise.
54808 * sunrpc/auth_unix.c: Likewise.
54809 * sunrpc/authdes_prot.c: Likewise.
54810 * sunrpc/authuxprot.c: Likewise.
54811 * sunrpc/bindrsvprt.c: Likewise.
54812 * sunrpc/clnt_gen.c: Likewise.
54813 * sunrpc/clnt_perr.c: Likewise.
54814 * sunrpc/clnt_raw.c: Likewise.
54815 * sunrpc/clnt_simp.c: Likewise.
54816 * sunrpc/clnt_tcp.c: Likewise.
54817 * sunrpc/clnt_udp.c: Likewise.
54818 * sunrpc/clnt_unix.c: Likewise.
54819 * sunrpc/des_crypt.c: Likewise.
54820 * sunrpc/des_soft.c: Likewise.
54821 * sunrpc/get_myaddr.c: Likewise.
54822 * sunrpc/getrpcport.c: Likewise.
54823 * sunrpc/key_call.c: Likewise.
54824 * sunrpc/key_prot.c: Likewise.
54825 * sunrpc/openchild.c: Likewise.
54826 * sunrpc/pm_getmaps.c: Likewise.
54827 * sunrpc/pm_getport.c: Likewise.
54828 * sunrpc/pmap_clnt.c: Likewise.
54829 * sunrpc/pmap_prot.c: Likewise.
54830 * sunrpc/pmap_prot2.c: Likewise.
54831 * sunrpc/pmap_rmt.c: Likewise.
54832 * sunrpc/rpc/auth.h: Likewise.
54833 * sunrpc/rpc/auth_unix.h: Likewise.
54834 * sunrpc/rpc/clnt.h: Likewise.
54835 * sunrpc/rpc/des_crypt.h: Likewise.
54836 * sunrpc/rpc/key_prot.h: Likewise.
54837 * sunrpc/rpc/netdb.h: Likewise.
54838 * sunrpc/rpc/pmap_clnt.h: Likewise.
54839 * sunrpc/rpc/pmap_prot.h: Likewise.
54840 * sunrpc/rpc/pmap_rmt.h: Likewise.
54841 * sunrpc/rpc/rpc.h: Likewise.
54842 * sunrpc/rpc/rpc_des.h: Likewise.
54843 * sunrpc/rpc/rpc_msg.h: Likewise.
54844 * sunrpc/rpc/svc.h: Likewise.
54845 * sunrpc/rpc/svc_auth.h: Likewise.
54846 * sunrpc/rpc/types.h: Likewise.
54847 * sunrpc/rpc/xdr.h: Likewise.
54848 * sunrpc/rpc_clntout.c: Likewise.
54849 * sunrpc/rpc_cmsg.c: Likewise.
54850 * sunrpc/rpc_common.c: Likewise.
54851 * sunrpc/rpc_cout.c: Likewise.
54852 * sunrpc/rpc_dtable.c: Likewise.
54853 * sunrpc/rpc_hout.c: Likewise.
54854 * sunrpc/rpc_main.c: Likewise.
54855 * sunrpc/rpc_parse.c: Likewise.
54856 * sunrpc/rpc_parse.h: Likewise.
54857 * sunrpc/rpc_prot.c: Likewise.
54858 * sunrpc/rpc_sample.c: Likewise.
54859 * sunrpc/rpc_scan.c: Likewise.
54860 * sunrpc/rpc_scan.h: Likewise.
54861 * sunrpc/rpc_svcout.c: Likewise.
54862 * sunrpc/rpc_tblout.c: Likewise.
54863 * sunrpc/rpc_util.c: Likewise.
54864 * sunrpc/rpc_util.h: Likewise.
54865 * sunrpc/rpcinfo.c: Likewise.
54866 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54867 * sunrpc/rpcsvc/key_prot.x: Likewise.
54868 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54869 * sunrpc/rpcsvc/mount.x: Likewise.
54870 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54871 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54872 * sunrpc/rpcsvc/rex.x: Likewise.
54873 * sunrpc/rpcsvc/rstat.x: Likewise.
54874 * sunrpc/rpcsvc/rusers.x: Likewise.
54875 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54876 * sunrpc/rpcsvc/spray.x: Likewise.
54877 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54878 * sunrpc/rtime.c: Likewise.
54879 * sunrpc/svc.c: Likewise.
54880 * sunrpc/svc_auth.c: Likewise.
54881 * sunrpc/svc_authux.c: Likewise.
54882 * sunrpc/svc_raw.c: Likewise.
54883 * sunrpc/svc_run.c: Likewise.
54884 * sunrpc/svc_simple.c: Likewise.
54885 * sunrpc/svc_tcp.c: Likewise.
54886 * sunrpc/svc_udp.c: Likewise.
54887 * sunrpc/svc_unix.c: Likewise.
54888 * sunrpc/svcauth_des.c: Likewise.
54889 * sunrpc/xcrypt.c: Likewise.
54890 * sunrpc/xdr.c: Likewise.
54891 * sunrpc/xdr_array.c: Likewise.
54892 * sunrpc/xdr_float.c: Likewise.
54893 * sunrpc/xdr_mem.c: Likewise.
54894 * sunrpc/xdr_rec.c: Likewise.
54895 * sunrpc/xdr_ref.c: Likewise.
54896 * sunrpc/xdr_sizeof.c: Likewise.
54897 * sunrpc/xdr_stdio.c: Likewise.
54898
9da4bb31
UD
54899 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54900 handling.
54901
bdaa77bc
AS
549022010-08-19 Andreas Schwab <schwab@redhat.com>
54903
54904 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54905
fe2f79db
LM
549062010-08-19 Luis Machado <luisgpm@br.ibm.com>
54907
54908 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54909 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54910 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54911 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54912 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54913 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54914 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54915 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54916 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54917 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54918 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54919 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54920 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54921 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54922
b9b42ee0
AB
549232010-07-26 Anton Blanchard <anton@samba.org>
54924
54925 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54926 * malloc/arena.c (heap_trim): Likewise.
54927
1c06ba31
UD
549282010-08-16 Ulrich Drepper <drepper@redhat.com>
54929
54930 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54931 here. Not...
54932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54933 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54934
f8392f40
L
549352010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54936
54937 * sysdeps/i386/elf/Makefile: New file.
54938
3162f12e
AS
549392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54940
54941 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54942 from fanotify_init.
54943 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54944 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54945
28c90b2c
UD
549462010-08-15 Ulrich Drepper <drepper@redhat.com>
54947
54948 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54949 of strncasecmp_l.
1feccb6c 54950 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 54951
ca6bb004
UD
549522010-08-14 Ulrich Drepper <drepper@redhat.com>
54953
e9f82e0d
UD
54954 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54955 strncase_l-nonascii.
54956 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54957 Add strncase_l-ssse3.
54958 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54959 * sysdeps/x86_64/strcmp.S: Likewise.
54960 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54961 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54962 * sysdeps/x86_64/strncase.S: New file.
54963 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54964 * sysdeps/x86_64/strncase_l.S: New file.
54965 * string/Makefile (strop-tests): Add strncasecmp.
54966 * string/test-strncasecmp.c: New file.
54967
54968 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54969 warning.
54970
ca6bb004
UD
54971 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54972 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54973
052fa7b3
AS
549742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54975
54976 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54977
962dba78
UD
549782010-08-12 Ulrich Drepper <drepper@redhat.com>
54979
54980 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54981 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54982 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54983
bebff237
AM
549842010-05-01 Alan Modra <amodra@gmail.com>
54985
54986 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54987 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54988 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54989 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54990 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54991 tidying. Don't tail-call __sigjmp_save for static lib.
54992 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54993 save location.
54994 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54995 (CALL_MCOUNT): Add eh info, and nop after bl.
54996 (TAIL_CALL_SYSCALL_ERROR): New macro.
54997 (PSEUDO_RET): Use it.
54998 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54999 Correct save location of integer regs and cr.
55000 (_dl_profile_resolve): Correct cr save location. Delete nops
55001 after bl when SHARED. Reduce cfi size a little by better
55002 placement of cfi directives.
55003 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55004 make a stack frame. Instead use parm save area as a temp.
55005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55006 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55008 Don't make a stack frame for parent, use parm save area.
55009 Increase child stack frame to 112 bytes. Don't save unused reg,
55010 and adjust reg usage. Set up cfi on error recovery and
55011 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55013 (__makecontext): Add dummy nop after jump to exit.
55014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55015 Use correct parm save area and cr save, reduce stack frame.
55016 Correct cfi for possible PSEUDO_RET frame setup.
55017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55018 Branch to local label emitted by PSEUDO_RET rather than
55019 __syscall_error.
55020
02637374
AS
550212010-08-12 Andreas Schwab <schwab@redhat.com>
55022
55023 [BZ #11904]
55024 * locale/programs/locale.c (print_assignment): New function.
55025 (show_locale_vars): Use it.
55026
c3e2f19b
UD
550272010-08-11 Ulrich Drepper <drepper@redhat.com>
55028
3cdaa6ad
UD
55029 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55030 field.
55031 (struct statfs64): Likewise.
55032 (_STATFS_F_FLAGS): Define.
55033 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55034 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55035 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55036 (ST_VALID): Define locally.
55037 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55038 __statvfs_getflags, use the provided value.
55039 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55040 __ASSUME_STATFS_F_FLAGS.
55041
754f7da3
UD
55042 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55043
10b3bedc
UD
55044 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55045 Add sys/fanotify.h.
55046 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55047 fanotify_mask for GLIBC_2.13.
55048 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55049 fanotify_init and fanotify_mark.
55050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55051 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55052
c08fb0d7
UD
55053 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55054 Add prlimit.
55055 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55056 prlimit64 for GLIBC_2.13.
55057 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55058 prlimit64.
55059 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55060 syscall.
55061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55062 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55063 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55064 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55065 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55066 add prlimit alias.
55067 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55068
15bac72b
UD
55069 [BZ #11903]
55070 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55071 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55072
c3e2f19b
UD
55073 * nss/Makefile: Add rules to build and run tst-nss-test1.
55074 * shlib-versions: Add entry for libnss_test1.
55075 * nss/nss_test1.c: New file.
55076 * nss/tst-nss-test1.c: New file.
55077
55078 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55079 (__nss_configure_lookup): Set appropriate entry in
55080 __nss_configure_lookup to true.
55081 * nss/nsswitch.h: Define enum with indeces of databases in
55082 databases and __nss_database_custom arrays. Declare
55083 __nss_database_custom.
55084 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55085 to avoid using nscd when custom rules are installed.
55086 * nss/getXXbyYY_r.c: Likewise.
55087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55088
55089 * nss/nss_files/files-parse.c: Whitespace fixes.
55090
f15ce4d8
UD
550912010-08-09 Ulrich Drepper <drepper@redhat.com>
55092
55093 [BZ #11883]
55094 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55095 * posix/fnmatch_loop.c: Likewise.
55096
d22e4cc9
AK
550972010-07-17 Andi Kleen <ak@linux.intel.com>
55098
55099 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55100 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55101 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55102 * Versions.def [GLIBC_2.13]: Add.
55103
805bc17d
UD
551042010-08-06 Ulrich Drepper <drepper@redhat.com>
55105
55106 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55107 Also fail if tpwd after pwuid call is NULL.
55108
5a42321d
ST
551092010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55110
55111 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55112 when converting to ms.
55113
fd3ebeda
ST
551142010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55115
55116 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55117 EOPNOTSUPP errors with ENOTTY.
55118 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55119 EOPNOTSUPP errors with ENOTTY.
55120
73507d3a
UD
551212010-07-31 Ulrich Drepper <drepper@redhat.com>
55122
55123 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55124 Add strcasecmp_l-ssse3.
55125 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55126 strcasecmp.
55127 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55128 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55129 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55130
fe36dd02
UD
551312010-07-30 Ulrich Drepper <drepper@redhat.com>
55132
66f6765a
UD
55133 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55134
42e08a54
UD
55135 * string/Makefile (strop-tests): Add strcasecmp.
55136 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55137 strcasecmp_l-nonascii.
55138 (gen-as-const-headers): Add locale-defines.sym.
55139 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55140 * sysdeps/x86_64/strcasecmp.S: New file.
55141 * sysdeps/x86_64/strcasecmp_l.S: New file.
55142 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55143 * sysdeps/x86_64/locale-defines.sym: New file.
55144 * string/test-strcasecmp.c: New file.
55145
fe36dd02
UD
55146 * string/test-strcasestr.c: Test both ends of the range of characters.
55147 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55148
48cbc0d6
RM
551492010-07-29 Roland McGrath <roland@redhat.com>
55150
76e6d6bc 55151 [BZ #11856]
48cbc0d6
RM
55152 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55153
880113d9
UD
551542010-07-27 Ulrich Drepper <drepper@redhat.com>
55155
55156 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55157 for ld.so.
55158
deb9cabb
AS
551592010-07-27 Andreas Schwab <schwab@redhat.com>
55160
55161 * manual/memory.texi (Malloc Tunable Parameters): Document
55162 M_PERTURB.
55163
1c7570ff
RM
551642010-07-26 Roland McGrath <roland@redhat.com>
55165
55166 [BZ #11840]
55167 * configure.in (-fgnu89-inline check): Set and substitute
55168 gnu89_inline, not libc_cv_gnu89_inline.
55169 * configure: Regenerated.
55170 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55171
24fb0f88
UD
551722010-07-26 Ulrich Drepper <drepper@redhat.com>
55173
55174 * string/test-strnlen.c: New file.
55175 * string/Makefile (strop-tests): Add strnlen.
55176 * string/tester.c (test_strnlen): Add a few more test cases.
55177 * string/tst-strlen.c: Better error reporting.
55178
55179 * sysdeps/x86_64/strnlen.S: New file.
55180
8e96b93a
UD
551812010-07-24 Ulrich Drepper <drepper@redhat.com>
55182
55183 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55184 lower-latency instructions.
55185
dbc676d4
UD
551862010-07-23 Ulrich Drepper <drepper@redhat.com>
55187
55188 * string/test-strcasestr.c: New file.
55189 * string/test-strstr.c: New file.
55190 * string/Makefile (strop-tests): Add strstr and strcasestr.
55191 * string/str-two-way.h: Don't undefine MAX.
55192 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55193
f6a31e0e
AS
551942010-07-21 Andreas Schwab <schwab@redhat.com>
55195
55196 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55197 strcasestr-nonascii.
55198 (CFLAGS-strcasestr-nonascii.c): Define.
55199 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55200 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55201 Remove unused attribute.
55202
5dbc3b6c
RM
552032010-07-20 Roland McGrath <roland@redhat.com>
55204
55205 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55206 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55207 ld.so.cache was broken. With it, there is no way to disable dsocaps
55208 like LD_HWCAP_MASK can disable hwcaps.
55209
23d101d8
EPM
552102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55211
55212 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55213
cc9f2e47
UD
552142010-07-16 Ulrich Drepper <drepper@redhat.com>
55215
55216 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55217 call in strcasestr.
55218 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55219 __strcasestr_sse42_nonascii.
55220 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55221 strcasestr-nonascii.c.
55222 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55223
77c1b069
LM
552242010-06-15 Luis Machado <luisgpm@br.ibm.com>
55225
55226 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55227 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55228 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55229 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55230
440566c3
UD
552312010-07-09 Ulrich Drepper <drepper@redhat.com>
55232
55233 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55234 fcntl.
55235
5be9d05d
AS
552362010-07-06 Andreas Schwab <schwab@redhat.com>
55237
c30b7ee2 55238 [BZ #11577]
5be9d05d
AS
55239 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55240 dl_signal_cerror.
55241
8a492a67
UD
552422010-07-06 Ulrich Drepper <drepper@redhat.com>
55243
55244 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55245 _PC_PIPE_BUF using F_GETPIPE_SZ.
55246
713df3d5
RM
552472010-07-05 Roland McGrath <roland@redhat.com>
55248
55249 * manual/arith.texi (Rounding Functions): Fix rint description
55250 implicit in round description.
55251
702e8f14
UD
552522010-07-02 Ulrich Drepper <drepper@redhat.com>
55253
55254 * elf/Makefile: Fix linking for a few tests to make recent linker
55255 happy.
55256
52ed8be9
AS
552572010-06-30 Andreas Schwab <schwab@redhat.com>
55258
55259 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55260 $(common-objpfx)libc_nonshared.a.
55261
f47c9a11
LM
552622010-06-21 Luis Machado <luisgpm@br.ibm.com>
55263
55264 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55265 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55266 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55267 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55268 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55269 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55270 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55271 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55286 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55287 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55288 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55289 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55290 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55291 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55292 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55293 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55294 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55295 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55296 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55297 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55312
6fb8cbcb
L
553132010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55314
55315 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55316 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55317 * string/memmove.c (memmove): Renamed to ...
55318 (MEMMOVE): ...this. Default to memmove.
55319 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55320 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55321 (END_CHK): Define.
55322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55323 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55324 mempcpy-ssse3-back memmove-ssse3-back.
55325 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55326 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55327 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55328 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55329 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55330 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55331 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55332 * sysdeps/x86_64/multiarch/memmove.c: New file.
55333 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55334 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55335 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55336 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55337 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55338 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55339 Define.
55340 (index_Fast_Copy_Backward): Define.
55341 (HAS_ARCH_FEATURE): Define.
55342 (HAS_FAST_REP_STRING): Define.
55343 (HAS_FAST_COPY_BACKWARD): Define.
55344
4e733bac 553452010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55346
55347 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55348 Restore proper fallback handling.
55349
63c4ed22
UD
553502010-06-19 Ulrich Drepper <drepper@redhat.com>
55351
ac2b484c
UD
55352 [BZ #11701]
55353 * posix/group_member.c (__group_member): Correct checking loop.
55354
63c4ed22
UD
55355 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55356 OOM in getpwuid_r correctly. Return error number when the caller
55357 should return, otherwise -1.
55358 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55359 call returning > 0 value.
55360 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55361
765ade4b
AS
553622010-06-07 Andreas Schwab <schwab@redhat.com>
55363
55364 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55365 libc_nonshared.a from targets in modules-names.
55366
80da2e09
KS
553672010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55368
55369 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55370 requires it.
55371
158db122
LM
553722010-06-10 Luis Machado <luisgpm@br.ibm.com>
55373
55374 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55375 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55376 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55378
caa78cf8
AS
553792010-06-02 Andreas Schwab <schwab@redhat.com>
55380
55381 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55382
b2ef2c01
UD
553832010-06-14 Ulrich Drepper <drepper@redhat.com>
55384
55385 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55386 and F_GETPIPE_SZ.
55387 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55388 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55391 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55392 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55393
fbd643b6
RM
553942010-06-14 Roland McGrath <roland@redhat.com>
55395
55396 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55397
f32f2869
JJ
553982010-06-07 Jakub Jelinek <jakub@redhat.com>
55399
55400 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55401 __REDIRECT followed by __THROW.
55402 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55403 * posix/getopt.h (getopt): Likewise.
55404
2a50c078
EPM
554052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55406
55407 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55408 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55409 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55410 in AT_FLAGS.
55411 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55412 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55413
eb5ad2eb
LM
554142010-05-28 Luis Machado <luisgpm@br.ibm.com>
55415
55416 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55417
3c88fe1e
L
554182010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55419
55420 [BZ #11640]
55421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55422 Properly check family and model.
55423
d2f73151
TY
554242010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55425
55426 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55427
ebd2e13d
LM
554282010-05-24 Luis Machado <luisgpm@br.ibm.com>
55429
55430 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55431
b32b8b45
UD
554322010-05-21 Ulrich Drepper <drepper@redhat.com>
55433
55434 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55435 symbol reference.
55436
9acbe24d
AS
554372010-05-19 Andreas Schwab <schwab@redhat.com>
55438
55439 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55440 symbol reference.
55441
f0ccf6ea
AS
554422010-05-21 Andreas Schwab <schwab@redhat.com>
55443
3d04ff3a
AS
55444 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55445 and internal_recvmmsg.
55446 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55447 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55448 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55449 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55450
f0ccf6ea
AS
55451 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55452 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55453 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55454
5b08ac57
AS
554552010-05-20 Andreas Schwab <schwab@redhat.com>
55456
55457 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55458
4828935d
LM
554592010-05-17 Luis Machado <luisgpm@br.ibm.com>
55460
55461 POWER7 optimizations.
55462 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55463 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55464
373d545e
UD
554652010-05-19 Ulrich Drepper <drepper@redhat.com>
55466
55467 * version.h: Update for 2.13 development version.
55468
21a2b1ae
AS
554692010-05-12 Andrew Stubbs <ams@codesourcery.com>
55470
55471 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55472 exceptions. Return 0.
55473
3f7dcb2b
RM
554742010-05-07 Roland McGrath <roland@redhat.com>
55475
55476 * elf/ldconfig.c (main): Add a const.
55477
5f24d53a 554782010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 55479
a160f8d8
UD
55480 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55481 (args_options): Add no-idn option.
55482 (ahosts_keys_int): Add idn_flags to ai_flags.
55483 (parse_option): Handle 'i' option to clear idn_flags.
55484
5f24d53a
UD
55485 * malloc/malloc.c (_int_free): Possible race in the most recently
55486 added check. Only act on the data if no current modification
55487 happened.
265bb1ce
UD
55488
55489See ChangeLog.17 for earlier changes.
This page took 7.90887 seconds and 5 git commands to generate.