]> sourceware.org Git - glibc.git/blame - ChangeLog
NPTL: Fixed missed conditionalization of setxid hooey.
[glibc.git] / ChangeLog
CommitLineData
59ff172f
RM
12015-01-08 Roland McGrath <roland@hack.frob.com>
2
cc40d25e
RM
3 * nptl/nptl-init.c (pthread_functions): Conditionalize
4 .ptr__nptl_setxid initialization on [SIGSETXID].
5
9287adf0
RM
6 * sysdeps/nptl/sys/procfs.h: New file.
7 * nptl_db/Makefile (headers): Add it.
8 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9
59ff172f
RM
10 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
12 * nptl/pthread_attr_setaffinity.c: Include it.
13 * nptl/pthread_setattr_default_np.c: Likewise.
14 * nptl/check-cpuset.h: New file.
15
b9205857
RH
162015-01-08 Richard Henderson <rth@redhat.com>
17
18 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19 (CFLAGS-tst-execstack-prog.c): Likewise.
20 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21
1a0a8d15
CLT
222015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
23 Sandra Loosemore <sandra@codesourcery.com>
24 Andrew Jenner <andrew@codesourcery.com>
25 Joseph Myers <joseph@codesourcery.com>
26 Nathan Sidwell <nathan@codesourcery.com>
27
28 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
31 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
32 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
36 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
37 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
42 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
43 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
44 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
45
dd6e8af6
AZ
462015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47
48 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
49 timespec struct member in syscall macro.
50 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
51 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
52 first timeval struct member in syscall macro.
53 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
54
8116321f
JM
552015-01-07 Joseph Myers <joseph@codesourcery.com>
56
57 [BZ #17748]
58 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
59 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
60 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
61 __feupdateenv and define as weak alias of __feupdateenv. Use
62 libm_hidden_weak.
63 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
64 libm_hidden_def.
65 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
66 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
67 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
68 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
69 libm_hidden_def.
70 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
71 __feupdateenv and define as weak alias of __feupdateenv. Use
72 libm_hidden_weak.
73 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
74 libm_hidden_def.
75 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
76 __feupdateenv and define as weak alias of __feupdateenv. Use
77 libm_hidden_weak.
78 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
79 libm_hidden_def.
80 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
81 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
82 (__feupdateenv): Likewise.
83 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
84 __feupdateenv and define as weak alias of __feupdateenv. Use
85 libm_hidden_weak.
86 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
87 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
88 libm_hidden_def.
89 * sysdeps/tile/math_private.h (__feupdateenv): New inline
90 function.
91 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
92 libm_hidden_def.
93 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
94 __feupdateenv instead of feupdateenv.
95 (default_libc_feupdateenv_test): Likewise.
96 (libc_feresetround_ctx): Likewise.
97
882dfe18
AZ
982015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
99
100 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
101 prototype.
102
39a12f8d
CM
1032015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
104
105 * posix/regcomp.c (parse_bracket_exp): Initialize type to
106 COLL_SYM in a couple of places to avoid uninitialized variable
107 wanings on tilegx gcc 4.8.2.
108
dc400d7b
RE
1092015-01-07 Richard Earnshaw <rearnsha@arm.com>
110
111 * sysdeps/aarch64/strcpy.S: New file.
112 * sysdeps/aarch64/stpcpy.S: New file.
113 * NEWS: Updated.
114
ec582ca0
RE
1152015-01-07 Richard Earnshaw <rearnsha@arm.com>
116
117 * sysdeps/aarch64/strrchr.S: New file.
118 * NEWS: Updated.
119
d5b1c5ed
EB
1202015-01-07 Eric Biggers <ebiggers3@gmail.com>
121
122 [BZ #17658]
123 * stdlib/setenv.c: Fix memory leak when setting large,
124 duplicate string.
125
fb87ee96
VN
1262015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
127
60f046a8 128 [BZ #17273]
fb87ee96
VN
129 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
130 and tabs from buffer before parsing fstab entry.
131 * misc/tst-mntent.c (main): Add test for mount entry with
132 trailing spaces and tabs.
133
cd42798a
JM
1342015-01-06 Joseph Myers <joseph@codesourcery.com>
135
01238691
JM
136 [BZ #17748]
137 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
138 * math/fesetround.c (fesetround): Rename to __fesetround and
139 define as weak alias of __fesetround. Use libm_hidden_weak.
140 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
141 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
142 * sysdeps/arm/fesetround.c (fesetround): Likewise.
143 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
144 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
145 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
146 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
147 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
148 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
149 __fesetround_inline.
150 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
151 __fesetround_inline instead of __fesetround.
152 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
153 __fesetround and define as weak alias of __fesetround. Use
154 libm_hidden_weak. Call __fesetround_inline instead of
155 __fesetround.
156 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
157 __fesetround and define as weak alias of __fesetround. Use
158 libm_hidden_weak.
159 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
160 Likewise.
161 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
162 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
163 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
164 * sysdeps/tile/math_private.h (__fesetround): New inline function.
165 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
166 __fesetround and define as weak alias of __fesetround. Use
167 libm_hidden_weak.
168 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
169 __fesetround instead of fesetround.
170 (default_libc_feholdexcept_setround): Likewise.
171 (libc_feholdsetround_ctx): Likewise.
172 (libc_feholdsetround_noex_ctx): Likewise.
173
cd42798a
JM
174 [BZ #17748]
175 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
176 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
177 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
178 and define as weak alias of __fesetenv. Use libm_hidden_weak.
179 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
180 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
181 define as weak alias of __fesetenv. Use libm_hidden_weak.
182 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
183 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
184 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
185 define as weak alias of __fesetenv. Use libm_hidden_weak.
186 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
187 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
188 define as weak alias of __fesetenv. Use libm_hidden_weak.
189 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
190 libm_hidden_def.
191 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
192 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
193 Likewise.
194 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
195 define as weak alias of __fesetenv. Use libm_hidden_weak.
196 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
197 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
198 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
199 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
200 and define as weak alias of __fesetenv. Use libm_hidden_weak.
201 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
202 __fesetenv instead of fesetenv.
203 (libc_feresetround_noex_ctx): Likewise.
204 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
205 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
206 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
207 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
208 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
209 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
210 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
211 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
212 (__feupdateenv): Likewise.
213 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
214 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
215 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
216 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
217
38949026
AJ
2182015-01-06 Aurelien Jarno <aurelien@aurel32.net>
219
1cf98e27 220 [BZ #17806]
38949026
AJ
221 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
222 addresses have been freed.
223
5fe55e9c
AJ
2242015-01-06 Aurelien Jarno <aurelien@aurel32.net>
225
226 * resolv/res_init.c (__res_vinit): Improve comments about nserv
227 and nservall.
228
dc8ab018
OB
2292015-01-06 Ondřej Bílka <neleai@seznam.cz>
230
231 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
232 Clean up check_pf allocation pattern. addresses
233
14bb4e57
AZ
2342015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
235
236 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
237 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
238 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
239 * nptl/pthread_exit.c (__pthread_exit): Likewise.
240 * nptl/pthread_join.c (pthread_join): Likewise.
241 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
242 * sysdeps/posix/waitid.c (__waitid): Likewise.
243 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
244 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
245 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
246 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
247 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
248 Likewise.
249 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
250 (__libc_pread64): Likewise.
251 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
252 (__libc_pwrite): Likewise.
253 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
254 (__libc_pwrite64): Likewsie.
255 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
256 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
257 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
258 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
259 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
260 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
261 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
263 Likewise.
264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
265 (__libc_pread64): Likewise.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
267 Likewise.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
269 (__libc_pwrite64): Likewise.
270 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
271 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
272 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
273 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
274 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
275 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
276 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
277 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
278 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
279 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
280 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
281 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
282 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
283 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
284 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
285 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
286 Likewise.
287
10a5e112
AS
2882015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
289
290 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
291 (CFLAGS-test-double.c): Likewise.
292 (CFLAGS-test-ldouble.c): Likewise.
293 (CPPFLAGS-test-ifloat.c): Likewise.
294 (CPPFLAGS-test-idouble.c): Likewise.
295 (CPPFLAGS-test-ildoubl.c): Likewise.
296 (CFLAGS-test-test-fenv.c): Remove variable.
297 (CFLAGS-test-misc.c): Likewise.
298
57ada0e7
L
2992015-01-06 H.J. Lu <hongjiu.lu@intel.com>
300
301 [BZ #17797]
302 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
303 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
304 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
305 CLOCKS_PER_SEC == 1000000.
306 * time/clocktest.c (main): Replace %ld with %jd and cast to
307 intmax_t.
308
46abb64d
RM
3092015-01-05 Roland McGrath <roland@hack.frob.com>
310
311 * sysdeps/generic/unwind-resume.h: New file.
312 * sysdeps/gnu/unwind-resume.c: Include it.
313 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
314 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
315 argument list.
316 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
317 global rather than static.
318 (_Unwind_Resume): Update user.
319 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
320 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
321 rather than static. Add __attribute__ ((cold)).
322 (_Unwind_Resume, __gcc_personality_v0): Update callers.
323 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
324 * sysdeps/arm/arm-unwind-resume.S: New file.
325 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
326 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
327 * sysdeps/arm/Makefile [$(subdir) = csu]
328 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
329 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
330 Add rt-arm-unwind-resume.
331 [$(subdir) = nptl]
332 (libpthread-sysdep_routines, libpthread-shared-only-routines):
333 Add pt-arm-unwind-resume.
334 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
335 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
336
ef9faf13
JM
3372015-01-05 Joseph Myers <joseph@codesourcery.com>
338
339 [BZ #17748]
340 * include/fenv.h (__feholdexcept): Declare. Use
341 libm_hidden_proto.
342 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
343 define as weak alias of __feholdexcept. Use libm_hidden_weak.
344 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
345 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
346 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
347 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
348 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
349 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
350 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
351 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
352 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
353 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
354 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
355 (feholdexcept): Likewise.
356 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
357 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
358 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
359 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
360 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
361 __feholdexcept instead of feholdexcept.
362 (default_libc_feholdexcept_setround): Likewise.
363
295a453e
SE
3642015-01-05 Steve Ellcey <sellcey@imgtec.com>
365
366 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
367 to avoid using stl/str to align destination.
368
882c4b9f
SE
3692015-01-05 Steve Ellcey <sellcey@imgtec.com>
370
371 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
372
ac4c11f5
JM
3732015-01-05 Joseph Myers <joseph@codesourcery.com>
374
375 [BZ #17796]
376 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
377 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
378 Define as weak alias not strong alias.
379
03403e30
SE
3802015-01-05 Steve Ellcey <sellcey@imgtec.com>
381
382 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
383 bltzal with addiupc.
384 (RTLD_START): Ditto.
385
1dca195e
CM
3862015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
387
7ea793f3
CM
388 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
389 for __vdso_* functions in declarations.
390 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
391 definitions.
392 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
393 INTERNAL_VSYSCALL): Use struct return types to check for error.
394
1dca195e
CM
395 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
396 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
397 function with cast from llround().
398 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
399 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
400 Define.
401
a287953a
JM
4022015-01-05 Joseph Myers <joseph@codesourcery.com>
403
ab70da77
JM
404 [BZ #17793]
405 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
406 Define as weak alias not strong alias.
407
b8986484
JM
408 [BZ #17635]
409 * ctype/ctype-c99.c: New file. isblank implementation moved from
410 ...
411 * ctype/ctype-extn.c: ... here.
412 (__isblank_l): Move to ...
413 * ctype/ctype-c99_l.c: ... here. New file.
414 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
415 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
416 Remove variable.
417 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
418 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
419 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
420 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
421 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
422
a287953a
JM
423 [BZ #17777]
424 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
425 (posix_fadvise64): Define as weak alias not strong alias.
426 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
427 (posix_fallocate64): Likewise.
428 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
429 Remove variable.
430 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
431 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
432 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
433 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
434 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
435
b1efe3bb
MF
4362015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
437
438 [BZ #16191]
439 * NEWS: Mention bug fix.
440 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
441 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
442 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
443 (HOST_STACK_END_ADDR): Likewise.
444
9706dc5f
JM
4452015-01-02 Joseph Myers <joseph@codesourcery.com>
446
b93c2205
JM
447 [BZ #17748]
448 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
449 * math/fegetround.c (fegetround): Rename to __fegetround and
450 define as weak alias of __fegetround. Use libm_hidden_weak.
451 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
452 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
453 * sysdeps/arm/fegetround.c (fegetround): Likewise.
454 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
455 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
456 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
457 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
458 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
459 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
460 Undefine after rather than before function definition; use
461 parentheses around function name in definition.
462 (__fegetround): Also undefine macro after function definition.
463 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
464 __fegetround and define as weak alias of __fegetround. Use
465 libm_hidden_weak. Do not undefine as macro.
466 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
467 Likewise.
468 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
469 __fegetround and define as weak alias of __fegetround. Use
470 libm_hidden_weak.
471 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
472 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
473 * sysdeps/tile/math_private.h (__fegetround): New inline function.
474 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
475 __fegetround and define as weak alias of __fegetround. Use
476 libm_hidden_weak.
477 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
478 __fegetround instead of fegetround.
479
253a59cc
JM
480 [BZ #17782]
481 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
482 Condition macro definition on [__USE_MISC].
483
27dae011
JM
484 [BZ #17781]
485 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
486 (struct sigaction): Change type of sa_flags field to int.
487
172019c0
JM
488 [BZ #17780]
489 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
490 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
491 __glibc_reserved0.
492
522ad1d6
JM
493 * nptl/version.c (banner): Use single year in copyright notice.
494
9706dc5f
JM
495 * NEWS: Update copyright dates.
496 * catgets/gencat.c (print_version): Likewise.
497 * csu/version.c (banner): Likewise.
498 * debug/catchsegv.sh: Likewise.
499 * debug/pcprofiledump.c (print_version): Likewise.
500 * debug/xtrace.sh (do_version): Likewise.
501 * elf/ldconfig.c (print_version): Likewise.
502 * elf/ldd.bash.in: Likewise.
503 * elf/pldd.c (print_version): Likewise.
504 * elf/sotruss.sh: Likewise.
505 * elf/sprof.c (print_version): Likewise.
506 * iconv/iconv_prog.c (print_version): Likewise.
507 * iconv/iconvconfig.c (print_version): Likewise.
508 * locale/programs/locale.c (print_version): Likewise.
509 * locale/programs/localedef.c (print_version): Likewise.
510 * login/programs/pt_chown.c (print_version): Likewise.
511 * malloc/memusage.sh (do_version): Likewise.
512 * malloc/memusagestat.c (print_version): Likewise.
513 * malloc/mtrace.pl: Likewise.
514 * manual/libc.texinfo: Likewise.
515 * nptl/version.c (banner): Likewise.
516 * nscd/nscd.c (print_version): Likewise.
517 * nss/getent.c (print_version): Likewise.
518 * nss/makedb.c (print_version): Likewise.
519 * posix/getconf.c (main): Likewise.
520 * scripts/test-installation.pl: Likewise.
521 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
522
b8607aac
WN
5232015-01-02 Will Newton <will.newton@linaro.org>
524
525 * sysdeps/arm/armv7/configure: Removed.
526 * sysdeps/arm/armv7/configure.ac: Likewise.
527
b168057a
JM
5282015-01-02 Joseph Myers <joseph@codesourcery.com>
529
530 * All files with FSF copyright notices: Update copyright dates
531 using scripts/update-copyrights.
532 * intl/plural.c: Regenerated.
533 * locale/programs/charmap-kw.h: Likewise.
534 * locale/programs/locfile-kw.h: Likewise.
535
b217c15f
SP
5362015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
537
538 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
539
73a268c7
JM
5402014-12-31 Joseph Myers <joseph@codesourcery.com>
541
542 [BZ #17748]
543 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
544 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
545 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
546 and define as weak alias of __fegetenv. Use libm_hidden_weak.
547 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
548 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
549 define as weak alias of __fegetenv. Use libm_hidden_weak.
550 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
551 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
552 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
553 define as weak alias of __fegetenv. Use libm_hidden_weak.
554 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
555 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
556 define as weak alias of __fegetenv. Use libm_hidden_weak.
557 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
558 libm_hidden_def.
559 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
560 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
561 Likewise.
562 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
563 define as weak alias of __fegetenv. Use libm_hidden_weak.
564 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
565 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
566 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
567 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
568 and define as weak alias of __fegetenv. Use libm_hidden_weak.
569 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
570 __fegetenv instead of fegetenv.
571 (libc_feholdsetround_noex_ctx): Likewise.
572
0bd95672
MF
5732014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
574
575 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
576 (Elf_MIPS_ABIFlags_v0): New structure.
577 (EF_MIPS_FP64): Define.
578 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
579 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
580 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
581 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
582 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
583 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
584 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
585 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
586 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
587 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
588 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
589 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
590 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
591 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
592 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
593 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
594 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
595 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
596 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
597 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
598 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
599 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
600 field.
601 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
602 EF_MIPS_FP64.
603 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
604 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
605 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
606 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
607 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
608 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
609 * sysdeps/mips/tst-abi-interlink.c: Likewise.
610 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
611 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
612 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
613 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
614 record the current FP ABI extension.
615 (mips-mode-switch): Define to show if kernel headers support mode
616 switching.
617 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
618 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
619 supported SYSV ABI version to 3.
620 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
621 feature.
622
f59ad976
RS
6232014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
624 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
625
626 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
627 path.
628 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
629
4a3d3999
JM
6302014-12-31 Joseph Myers <joseph@codesourcery.com>
631
632 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
633 __fegetround and redefine to call __fegetround. Remove condition
634 on [!__NO_MATH_INLINES].
635 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
636 function.
637 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
638 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
639 Remove macro.
640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
641 instead of <fenv_libc.h>.
642 (__llrintl): Call fegetround instead of __fegetround.
643 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
644 instead of <fenv_libc.h>.
645 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
646 (__lrintl): Call fegetround instead of __fegetround.
647 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
648 instead of <fenv_libc.h>.
649 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
650 (__rintl): Call fegetround instead of __fegetround.
651
195f3afc
SP
6522014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
653
654 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
655 arrays.
656
7062bd42
L
6572014-12-30 H.J. Lu <hongjiu.lu@intel.com>
658
659 [BZ #17775]
660 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
661 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
662 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
663
07256e18
AS
6642014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
665
666 * sysdeps/i386/tls-macros.h: Include <features.h>.
667 (TLS_LE): Use non-PIC version for GCC >= 5.0.
668 (TLS_IE): Likewise.
669 (TLS_LD): Likewise.
670 (TLS_GD): Likewise.
671 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
672 define for GCC >= 5.0.
673
1ff950ad
CM
6742014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
675
676 * math/test-fenv.c (test_single_exception, set_single_exc,
677 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
678 feexcp_mask_test, feenable_test, fe_single_test): Add
679 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
680 case where they are not used.
681 * math/libm-test.inc: Likewise.
682 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
683 unused in the absence of FP rounding/exception support.
684 * stdio-common/tst-printf-round.c: Likewise.
685 * stdlib/tst-strtod-round.c: Likewise.
686 * stdlib/tst-strtod-underflow.c: Likewise.
687
0747f818
JM
6882014-12-30 Joseph Myers <joseph@codesourcery.com>
689
690 [BZ #17723]
691 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
692 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
693 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
694 __feraiseexcept and define as weak alias of __feraiseexcept. Use
695 libm_hidden_weak.
696 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
697 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
698 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
699 libm_hidden_def.
700 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
701 __feraiseexcept and define as weak alias of __feraiseexcept. Use
702 libm_hidden_weak.
703 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
704 Likewise.
705 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
706 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
707 __feraiseexcept and define as weak alias of __feraiseexcept. Use
708 libm_hidden_weak.
709 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
710 libm_hidden_def.
711 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
712 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
713 (__feraiseexcept): Likewise.
714 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
715 __feraiseexcept and define as weak alias of __feraiseexcept. Use
716 libm_hidden_weak.
717 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
718 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
719 libm_hidden_def.
720 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
721 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
722 Use libm_hidden_def.
723 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
724 libm_hidden_def.
725 (feraiseexcept): Define as weak not strong alias. Use
726 libm_hidden_weak.
727 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
728 New inline function. Factored out of ...
729 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
730 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
731 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
732 feraiseexcept.
733 * math/w_acos.c (__acos): Likewise.
734 * math/w_asin.c (__asin): Likewise.
735 * math/w_ilogb.c (__ilogb): Likewise.
736 * math/w_j0.c (y0): Likewise.
737 * math/w_j1.c (y1): Likewise.
738 * math/w_jn.c (yn): Likewise.
739 * math/w_log.c (__log): Likewise.
740 * math/w_log10.c (__log10): Likewise.
741 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
742 * sysdeps/aarch64/fpu/math_private.h
743 (libc_feupdateenv_test_aarch64): Likewise.
744 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
745 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
746 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
747 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
748 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
749 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
750 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
751 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
752 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
753 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
754
8d2b2763
L
7552014-12-30 H.J. Lu <hongjiu.lu@intel.com>
756
757 [BZ #17732]
758 * io/test-utime.c (main): Replace %ld with %jd and cast to
759 intmax_t.
41fad830 760 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
761 * nptl/tst-mutex5.c: Include <stdint.h>.
762 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
763 * posix/tst-regex.c (run_test): Likewise.
764 (run_test_backwards): Likewise.
5d619de4
L
765 * rt/tst-clock.c: Include <stdint.h>.
766 (clock_test): Replace %ld with %jd and cast to intmax_t.
767 * rt/tst-cpuclock1.c: Include <stdint.h>.
768 (do_test): Replace %lu with %ju and cast to uintmax_t.
769 * rt/tst-cpuclock2.c: Include <stdint.h>.
770 (do_test): Replace %lu with %ju and cast to uintmax_t.
771 * rt/tst-mqueue1.c: Include <stdint.h>.
772 (check_attrs): Replace %ld with %jd and cast to intmax_t.
773 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
774 intmax_t.
775 * rt/tst-mqueue4.c (do_test): Likewise.
776 * rt/tst-timer4.c: Include <stdint.h>.
777 (check_ts): Replace %ld with %jd and cast to intmax_t.
778 (do_test): Likewise.
ad86fbc3
L
779 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
780 and cast to intmax_t.
37f46900 781 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
782 * time/clocktest.c (main): Likewise.
783 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 784 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 785
8b4416d8
AS
7862014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
787 H.J. Lu <hongjiu.lu@intel.com>
788
789 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
790 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
791 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
792 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
793 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
794 version if bit_Fast_Unaligned_Load is set.
795 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
796 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
797 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
798 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
799 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
800 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
802 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
803 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
804 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
805 to 4.
806 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
807 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
808 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
809 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
810
e47b8d3b
CM
8112014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
812
6d6d7fde
CM
813 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
814 instead of #if to avoid a Wundef warning.
815 * stdlib/tst-limits.c (do_test): Likewise.
816
cd2c37c9
CM
817 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
818 parallel other exception macros.
819 (fegetenv): Convert from macro to extern inline so that it applies
820 retroactively to inline functions already seen by the compiler.
821 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
822
e47b8d3b
CM
823 * posix/Makefile (before-compile): Use $(objpfx) for
824 posix-conf-vars-def.h.
825
4a6aca7b
SP
8262014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
827
7910c2ae
SP
828 * posix/getconf.c (main): Use size_t for type of I.
829 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
830 NSPEC.
831
50cbbaa9
SP
832 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
833 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
834 * posix/posix-envs.def: Likewise.
835 * sysdeps/posix/sysconf.c: Likewise.
836 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
837 (specs): Remove array.
838 * scripts/gen-posix-conf-vars.awk: Support generation of specs
839 array.
840
3b566046
SP
841 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
842 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
843 (__sysconf): Use CONF_IS_* macros.
844
4a6aca7b
SP
845 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
846 ($(objpfx)posix-conf-vars-def.h): New target.
847 * posix/posix-conf-vars.list: New file.
848 * posix/posix-conf-vars.h: New file.
849 * posix/confstr.c: Include posix-conf-vars.h.
850 (confstr): Use CONF_IS_* macros.
851 * posix/posix-envs.def: Include posix-conf-vars.h. Use
852 CONF_IS_* macros.
853 * scripts/gen-posix-conf-vars.awk: New file.
854
7c1395a7
CM
8552014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
856
0025b4cc
CM
857 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
858 fegetround): Add no-op macros to avoid linknamespace issues.
859
d8aaf74b
CM
860 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
861 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
862
5d24aa60
CM
863 * sysdeps/unix/sysv/linux/tile/sysdep.h
864 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
865 assembly-specific section to avoid a redefinition warning.
866
7c1395a7
CM
867 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
868 long before casting to pointer to avoid a cast warning.
869
3c87c616
CM
8702014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
871
872 * sysdeps/tile/tilegx/Implies: New file.
873
f559d8cf
RE
8742014-12-23 Richard Earnshaw <rearnsha@arm.com>
875
876 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
877
7d81e8d6
FW
8782014-12-23 Florian Weimer <fweimer@redhat.com>
879
880 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
881
90aa3d09
JM
8822014-12-22 Joseph Myers <joseph@codesourcery.com>
883
884 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
885 not define.
886 * sysdeps/unix/sysv/linux/utimes.c: Do not include
887 <kernel-features.h>.
888 (__utimes) [__NR_utimes]: Make code unconditional.
889 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
890 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
891 (__ASSUME_UTIMES): Do not undefine.
892 * sysdeps/unix/sysv/linux/tile/kernel-features.h
893 (__ASSUME_UTIMES): Likewise.
894 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
895 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
896 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
897 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
898
4c0c0e2a
SE
8992014-12-22 Steve Ellcey <sellcey@imgtec.com>
900
901 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
902
0dacd7a3
CM
9032014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
904
b638f96a
CM
905 [BZ #17747]
906 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
907 alias to weak alias for j0l, y0l.
908 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
909 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
910
0dacd7a3
CM
911 [BZ #17746]
912 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
913 conversion.
914
528479c4
SE
9152014-12-22 Steve Ellcey <sellcey@imgtec.com>
916
917 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
918 to zero if not already defined.
919
f56f9124
JM
9202014-12-22 Joseph Myers <joseph@codesourcery.com>
921
922 [BZ #17724]
923 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
924 (__kernel_standard_f): Remove. Moved to k_standardf.c.
925 (__kernel_standard_l): Remove. Moved to k_standardl.c with
926 (char *) casts added.
927 * sysdeps/ieee754/k_standardf.c: New file.
928 * sysdeps/ieee754/k_standardl.c: Likewise.
929 * math/Makefile (libm-support): Remove k_standard.
930 (libm-calls): Add k_standard.
931
8622d556
WD
9322014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
933
934 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
935 Optimize to avoid an unnecessary FPCR read.
936
f3806bdb
WD
9372014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
938
939 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
940 Optimize to reduce FPCR/FPSR accesses.
941
9b47df58
WD
9422014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
943
944 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
945 Call libc_fetestexcept_aarch64.
946
97be3cac
WD
9472014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
948
949 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
950 Call libc_fesetround_aarch64.
951
935ab817
JM
9522014-12-22 Joseph Myers <joseph@codesourcery.com>
953
954 [BZ #17733]
955 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
956 (__bind): Do not define as weak alias.
957 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
958 define.
959 (__getsockname): Do not define as weak alias.
960
cc8623f1
WN
9612014-12-22 Will Newton <will.newton@linaro.org>
962
963 * manual/install.texi: Document that we require bison 2.7
964 or above.
965 * INSTALL: Regenerate.
966 * configure.ac: Use AC_CHECK_PROG_VER instead of
967 AC_PATH_PROG when checking for bison and check for
968 version 2.7 or above.
969 * configure: Regenerate.
970
a19ca65a
CM
9712014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
972
92901170 973 [BZ #17745]
e969965a
CM
974 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
975 * sysdeps/tile/ffsll.c (ffsll): To here.
976
a19ca65a
CM
977 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
978
050f7298
L
9792014-12-21 H.J. Lu <hongjiu.lu@intel.com>
980
981 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
982 if not defined.
983 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
984 definition.
985 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
986 hidden ___tls_get_addr.
987 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
988 hidden __tls_get_addr.
989 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
990 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
991 Likewise.
992
6df5547e
AS
9932014-12-21 Andreas Schwab <schwab@linux-m68k.org>
994
995 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
996 _dl_init call.
997
7432d613
L
9982014-12-21 H.J. Lu <hongjiu.lu@intel.com>
999
1000 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1001 from "call _dl_init@PLT".
1002 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1003
98fe149e
AK
10042014-12-21 Anders Kaseorg <andersk@mit.edu>
1005
1006 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1007 guarantees.
1008
d12455f5
CM
10092014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1010
1011 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1012
95dee05f
CM
10132014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1014
92901170 1015 [BZ #17744]
95dee05f
CM
1016 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1017 strnlen.
1018
2ef4b74a
SE
10192014-12-19 Steve Ellcey <sellcey@imgtec.com>
1020
1021 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1022 of multu on MIPSr6.
1023 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1024 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1025 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1026 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1027 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1028
10292014-12-19 Steve Ellcey <sellcey@imgtec.com>
1030
1031 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1032 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1033 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1034 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1035 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1036 mips32r6/mips64r6.
1037 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1038
3eb38795
OB
10392014-12-19 Ondřej Bílka <neleai@seznam.cz>
1040
1041 * string/strncat.c (STRNCAT): Simplify implementation.
1042
6d4188dd
DM
10432014-12-19 David S. Miller <davem@davemloft.net>
1044
0d4ba8be
DM
1045 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1046 access the quad as both a long double and as a series of 4 words.
1047
6d4188dd
DM
1048 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1049 link_map->l_info array access.
1050
4ef91cdc
CM
10512014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1052
804c54f7
CM
1053 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1054
4ef91cdc
CM
1055 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1056 * math/atest-exp2.c (TIMEOUT): Likewise.
1057 * math/atest-sincos.c (TIMEOUT): Likewise.
1058
afd176d6
L
10592014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1060
1061 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1062 -Wno-error with -fno-builtin-lround.
1063
a4a43a90
TR
10642014-12-19 Torvald Riegel <triegel@redhat.com>
1065
1066 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1067 Contains futex constants and functions moved over from ...
1068 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1069 <lowlevellock-futex.h>.
1070 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1071 (lll_timedwait_tid): Add comments and parentheses around macro
1072 arguments.
1073
76f71081
TR
10742014-12-19 Torvald Riegel <triegel@redhat.com>
1075
1076 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1077 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1078 (__lll_private_flag): Remove.
1079 (lll_futex_wait): Likewise.
1080 (lll_futex_timed_wait): Likewise.
1081 (lll_futex_wake): Likewise.
1082 (lll_futex_requeue): Likewise.
1083 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1084 (__lll_timedwait_tid): Spell out argument names.
1085 (lll_timedwait_tid): Add comments and parentheses around macro
1086 arguments.
1087 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1088 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1089
6b814909
TR
10902014-12-19 Torvald Riegel <triegel@redhat.com>
1091
1092 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1093 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1094 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1095 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1096 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1097 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1098 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1099 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1100 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1101 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1102 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1103 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1104 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1105 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1106 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1107 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1108 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1109 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1110 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1111
9cd4d4ab
L
11122014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1113
1114 * sysdeps/x86_64/x32/Makefile: New file.
1115
c9c1a2d0
L
11162014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1117
1118 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1119 1L with (mp_limb_t) 1.
1120
af102d95
RM
11212014-12-17 Roland McGrath <roland@hack.frob.com>
1122
dd690454
RM
1123 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1124 * nptl/libc_pthread_init.c: ... here.
1125 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1126 * nptl/register-atfork.c: ... here.
1127
74eb826c
RM
1128 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1129 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1130 Use assert_perror to check its return value.
1131 (__gai_create_helper_thread): Likewise.
1132
c9ce306b
RM
1133 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1134
af102d95
RM
1135 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1136
8ac5a76a
JM
11372014-12-17 Joseph Myers <joseph@codesourcery.com>
1138
ea41469b
JM
1139 [BZ #17725]
1140 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1141 __profil_counter.
1142 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1143 Likewise.
1144 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1145 Likewise.
1146 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1147 Likewise.
1148 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1149 (profil_counter): Likewise.
1150 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1151 (profil_counter): Likewise.
1152 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1153 Likewise.
1154 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1155 Likewise.
1156 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1157 (profil_counter): Likewise.
1158 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1159 Likewise.
1160 [!__profil_counter] (profil_counter): Define as weak alias of
1161 __profil_counter.
1162 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1163 (profil_counter): Rename to __profil_counter.
1164 [!__profil_counter] (profil_counter): Define as weak alias of
1165 __profil_counter.
1166 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1167 (profil_counter): Rename to __profil_counter.
1168 [!__profil_counter] (profil_counter): Define as weak alias of
1169 __profil_counter.
1170 * sysdeps/posix/profil.c: Update comment referring to
1171 profil_counter.
1172 (__profil): Use __profil_counter instead of profil_counter.
1173 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1174 __profil_counter. Use __profil_counter_ushort and
1175 __profil_counter_uint in definitions.
1176 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1177 instead of profil_counter_uint and profil_counter_ushort.
1178
8ac5a76a
JM
1179 [BZ #17722]
1180 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1181 define as weak alias of __inet_makeaddr.
1182 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1183 as weak alias of __inet_addr.
1184 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1185 as weak alias of __inet_pton. Use libc_hidden_weak.
1186 * include/arpa/inet.h (__inet_pton): Declare. Use
1187 libc_hidden_proto.
1188 (inet_makeaddr): Don't use libc_hidden_proto.
1189 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1190 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1191 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1192 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1193 Remove variable.
1194 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1195 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1196
66ce3cb1
SE
11972014-12-17 Steve Ellcey <sellcey@imgtec.com>
1198
1199 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1200
d22ce01b
SL
12012014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1202
1203 * stdio-common/bug-vfprintf-nargs.c (do_test):
1204 Cast value to intptr_t to avoid format warning
1205 for usage with PRIdPTR printing macro.
1206
eca2772b
SL
12072014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1208
1209 * libio/tst-widetext.c (do_test):
1210 Use format type %td instead of %Zd for ptrdiff_t
1211 in order to avoid format warning.
1212
bdf079da
AS
12132014-12-17 Andreas Schwab <schwab@suse.de>
1214
1215 * nscd/mem.c (gc): Add size_t cast to match printf format.
1216
3eb5d2fc
RM
12172014-12-16 Roland McGrath <roland@hack.frob.com>
1218
1219 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1220 (init): Apply PTR_MANGLE to pointers before storing them.
1221 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1222 before using them.
1223
d003ada2
JM
12242014-12-16 Joseph Myers <joseph@codesourcery.com>
1225
380292ba
JM
1226 [BZ #17719]
1227 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1228 define as weak alias of __memrchr.
1229 (__memrchr): Do not define as strong alias of memrchr.
1230 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1231 Remove variable.
1232 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1233 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1234 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1235
9a44d530
JM
1236 [BZ #17717]
1237 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1238 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1239 (if_indextoname): Rename to __if_indextoname and define as weak
1240 alias of __if_indextoname. Use libc_hidden_weak.
1241 (if_freenameindex): Rename to __if_freenameindex and define as
1242 weak alias of __if_freenameindex.
1243 (if_nameindex): Rename to __if_nameindex and define as weak alias
1244 of __if_nameindex.
1245 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1246 __if_nametoindex and define as weak alias of __if_nametoindex.
1247 Use libc_hidden_weak.
1248 (if_freenameindex): Rename to __if_freenameindex and define as
1249 weak alias of __if_freenameindex.
1250 (if_nameindex): Rename to __if_nameindex and define as weak alias
1251 of __if_nameindex.
1252 (if_indextoname): Rename to __if_indextoname and define as weak
1253 alias of __if_indextoname. Use libc_hidden_weak.
1254 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1255 __if_nametoindex and define as weak alias of __if_nametoindex.
1256 Use libc_hidden_weak.
1257 (if_freenameindex): Rename to __if_freenameindex and define as
1258 weak alias of __if_freenameindex. Use libc_hidden_weak.
1259 (if_nameindex_netlink): Use __if_freenameindex instead of
1260 if_freenameindex.
1261 (if_nameindex): Rename to __if_nameindex and define as weak alias
1262 of __if_nameindex. Use libc_hidden_weak.
1263 (if_indextoname): Rename to __if_indextoname and define as weak
1264 alias of __if_indextoname. Use libc_hidden_weak.
1265 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1266 libc_hidden_proto.
1267 [!_ISOMAC] (__if_freenameindex): Likewise.
1268 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1269 if_nametoindex.
1270 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1271 variable.
1272 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1273 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1274 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1275 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1276 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1277 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1278 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1279
d003ada2
JM
1280 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1281 Remove variable.
1282 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1283 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1284
a0d424ef
SP
12852014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1286
0cd85520
SP
1287 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1288 subscript above bounds'
1289
a0d424ef
SP
1290 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1291 bounds.
1292
0e426475
AS
12932014-12-16 Arjun Shankar <arjun.is@lostca.se>
1294
8b460906
AS
1295 * libio/tst-fopenloc.c: Use test-skeleton.c.
1296
fa13e15b
AS
1297 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1298 (entry): Rename to ITEM.
1299 (do_test, comp): Adjust.
1300
0e426475
AS
1301 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1302
4f646bce
TR
13032014-12-16 Torvald Riegel <triegel@redhat.com>
1304
1305 * string/tester.c: Include <libc-internal.h>.
1306 (test_memset): Ignore -Wmemset-transposed-args.
1307
a07c4427
TR
13082014-12-16 Torvald Riegel <triegel@redhat.com>
1309
1310 * misc/tst-mntent2.c (do_test): Fix warning.
1311
1469f466
TR
13122014-12-16 Torvald Riegel <triegel@redhat.com>
1313
1314 * elf/tst-unique4lib.cc(a): Mark as used.
1315
11e3417a
FW
13162014-12-16 Florian Weimer <fweimer@redhat.com>
1317
1318 [BZ #17630]
1319 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1320 names.
1321
ae61fc7b
AM
13222014-12-16 Allan McRae <allan@archlinux.org>
1323
1324 * stdio-common/Makefile (tests): Re-add bug26.
1325
363a9899
OB
13262014-12-15 Ondřej Bílka <neleai@seznam.cz>
1327
1328 [BZ #17657]
1329 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1330 static array.
1331
d52c62df
TR
13322014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1333
1334 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1335 (__lll_lock_wait): Likewise.
1336 (__lll_timedlock_wait): Likewise.
1337 (__lll_timedwait_tid): Likewise.
1338 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1339 (__lll_robust_timedlock_wait): Likewise.
1340 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1341 (lll_cond_trylock): Likewise.
1342 (__lll_lock): Likewise.
1343 (__lll_robust_lock): Likewise.
1344 (__lll_cond_lock): Likewise.
1345 (lll_robust_cond_lock): Likewise.
1346 (__lll_timedlock): Likewise.
1347 (__lll_robust_timedlock): Likewise.
1348 (__lll_unlock): Likewise.
1349 (__lll_robust_unlock): Likewise.
1350 (lll_wait_tid): Likewise.
1351 (lll_timedwait_tid): Likewise.
1352
045a6bcd
TR
13532014-12-15 Torvald Riegel <triegel@redhat.com>
1354
1355 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1356
7f786dc1
TR
13572014-12-15 Torvald Riegel <triegel@redhat.com>
1358
1359 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1360
e7e21cba
AZ
13612014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1362
1363 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1364 * stdio-common/tst-sprintf.c: Likewise.
1365
bc89c0fc
TR
13662014-12-15 Torvald Riegel <triegel@redhat.com>
1367
1368 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1369
a5357b7c
JL
13702014-12-15 Jeff Law <law@redhat.com>
1371
1372 [BZ #16617]
1373 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1374 on the heap. (CVE-2012-3406)
1375 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1376 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1377 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1378
3a12c70f
WN
13792014-12-15 Will Newton <will.newton@linaro.org>
1380
1381 * manual/install.texi: Bump required version of texinfo
1382 to 4.7 from 4.5.
1383 * INSTALL: Regenerated.
1384 * configure.ac: Check for makeinfo version 4.7 and above.
1385 * configure: Regenerated.
1386
e4f639e4
RM
13872014-12-12 Roland McGrath <roland@hack.frob.com>
1388
1389 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1390 PREFIX, string constant to insert between directory and name.
1391 * sysdeps/posix/shm_open.c: Update caller.
1392 * sysdeps/posix/shm_unlink.c: Likewise.
1393 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1394 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1395 (SEM_SHM_PREFIX): New macro.
1396 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1397 [$(have-thread-library) = no].
1398 * nptl/Makefile (libpthread-routines): Add shm-directory.
1399 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1400 * sysdeps/nptl/shm-directory.h: New file.
1401 * sysdeps/posix/shm-directory.c
1402 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1403 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1404 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1405 INTERNAL_SYSCALL.
1406 (__where_is_shmfs): Function removed.
1407 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1408 Variables removed.
1409 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1410 Use SHM_GET_NAME.
1411 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1412
1413 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1414 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1415 unconditional for use inside libpthread.
1416 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1417
439c43f6
RM
14182014-12-12 Roland McGrath <roland@hack.frob.com>
1419
c76d1ff5
RM
1420 * nptl/pthread_getaffinity.c: New file.
1421 * nptl/pthread_setaffinity.c: New file.
1422 * nptl/pthread_getname.c: New file.
1423 * nptl/pthread_setname.c: New file.
1424
439c43f6
RM
1425 * nptl/pthread_create.c (START_THREAD_DEFN)
1426 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1427
48e435cd
SL
14282014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1429 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1430
1431 * resolv/res_send.c (send_vc): Disable warning resplen may
1432 be used uninitialized.
1433
9d9c0019
SL
14342014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1435
1436 * nptl/tst-mutex6.c
1437 (ATTR_NULL): New define checks ATTR against NULL.
1438 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1439 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1440
9173840b
JL
14412014-12-11 James Lemke <jwlemke@codesourcery.com>
1442
1443 [BZ #17581]
1444 * malloc/hooks.c
1445 (mem2mem_check): Revert my previous change.
1446 (malloc_check_get_size): Revert my previous change.
1447 (mem2chunk_check): Revert my previous change.
1448
78e21c5d
RM
14492014-12-11 Roland McGrath <roland@hack.frob.com>
1450
1451 * sysdeps/posix/shm-directory.c: New file.
1452 * sysdeps/posix/shm-directory.h: New file.
1453 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1454 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1455 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1456 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1457 Transmute EPERM to EACCES.
1458 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1459 from ...
1460 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1461 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1462
f82c43af
KK
14632014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1464
1465 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1466 pointer and cast to uintptr_t.
1467 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1468 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1469 Add cast to avoid warning.
1470 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1471
fc00cf7b
JM
14722014-12-11 Joseph Myers <joseph@codesourcery.com>
1473
1474 * nptl/semaphore.h: Move to ...
1475 * sysdeps/pthread/semaphore.h: ... here.
1476 * Makefile (installed-headers): Change nptl/semaphore.h to
1477 sysdeps/pthread/semaphore.h.
1478
1c4053db
RM
14792014-12-11 Roland McGrath <roland@hack.frob.com>
1480
73b0c1a1
RM
1481 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1482 generated error format strings.
1483
1c4053db
RM
1484 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1485 -Wformat-extra-args warnings for scanf formats.
1486 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1487 test of zero-length format (duh).
1488 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1489 corner-case scanf format test.
1490 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1491 generated fprintf format string.
1492 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1493 corner-case sprintf format tests.
1494 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1495 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1496 -Wformat-extra-args warnings throughout.
1497 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1498 (CFLAGS-scanf4.c): Likewise.
1499 (CFLAGS-scanf7.c): Likewise.
1500 (CFLAGS-tst-sprintf.c): Likewise.
1501 (CFLAGS-tst-printf.c): Likewise.
1502 (CFLAGS-tst-printfsz.c): Likewise.
1503
47d51f4f
JM
15042014-12-11 Joseph Myers <joseph@codesourcery.com>
1505
a1edbf3c
JM
1506 * include/cpio.h: New file.
1507 * include/fmtmsg.h: Likewise.
1508
47d51f4f
JM
1509 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1510 corresponding format argument to size_t.
1511 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1512 arguments.
1513 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1514 corresponding format argument to size_t.
1515 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1516 arguments.
1517 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1518 corresponding format argument to size_t.
1519 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1520 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1521 (CFLAGS-tst-mbswcs2.c): Likewise.
1522 (CFLAGS-tst-mbswcs3.c): Likewise.
1523 (CFLAGS-tst-mbswcs4.c): Likewise.
1524 (CFLAGS-tst-mbswcs5.c): Likewise.
1525 (CFLAGS-tst-trans.c): Likewise
1526
e9813cfb
RM
15272014-12-11 Roland McGrath <roland@hack.frob.com>
1528
1529 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1530 rather than assuming they won't contain any '%'s.
1531
f627ca82
CM
15322014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1533
1534 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1535 inhibit_loop_to_libcall to avoid recursive calls.
1536 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1537 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1538
7f296942
AZ
15392014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1540
1541 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1542 prototype.
1543
d0276e18
SE
15442014-12-11 Steve Ellcey <sellcey@imgtec.com>
1545
1546 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1547 integer value instead of boolean.
1548
fc56e970
SE
15492014-12-11 Steve Ellcey <sellcey@imgtec.com>
1550
1551 * malloc/malloc.c: Fix powerof2 check.
1552
40e53917
SL
15532014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1554
1555 * locale/programs/locfile.h (maybe_swap_uint32):
1556 Remove inline and add unused attribute.
1557
1ea166df
SL
15582014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1559
9d9c0019 1560 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
1561 Truncating assembler expression to a .long expression.
1562
acf869f4
AS
15632014-12-11 Andreas Schwab <schwab@suse.de>
1564
1565 * elf/rtld.c (struct map_args): Constify str member.
1566 (do_preload): Constify fname argument.
1567
9d969099
AZ
15682014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1569
1570 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1571 constants definition.
1572
da5bcaa4
AS
15732014-12-11 Andreas Schwab <schwab@suse.de>
1574
b0a3c164
AS
1575 [BZ #16657]
1576 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1577 FORCE_ELISION instead of DO_ELISION.
1578 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1579 Remove.
1580 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1581 Likewise.
1582
da5bcaa4
AS
1583 * iconvdata/gconv-modules: Remove duplicate entry.
1584
6d248857
WN
15852014-12-11 Will Newton <will.newton@linaro.org>
1586
1587 Merge gettext 0.19.3 into intl/.
1588
1589 This involves a number of cosmetic changes to comments
1590 and ANSI function definitions and prototypes throughout
1591 all the files. The gettext copyright header is used but
1592 with the date ranges taken from the glibc copy.
1593
1594 * NEWS: Add gettext merge to 2.21.
1595 * intl/bindtextdom.c: Switch to gettext copyright.
1596 Use ANSI definitions and prototypes.
1597 Use gl_* locking primitives rather than __libc_* ones.
1598 Use __builtin_expect rather than __glibc_likely/unlikely.
1599 * intl/dcgettext.c: Switch to gettext copyright.
1600 Use ANSI definitions and prototypes.
1601 * intl/dcigettext.c: Switch to gettext copyright.
1602 Use ANSI definitions and prototypes.
1603 (INTDIV0_RAISES_SIGFPE): New define.
1604 Use gl_* locking primitives rather than __libc_* ones.
1605 Include eval-plural.h instead of plural-eval.c.
1606 Use __builtin_expect rather than __glibc_likely/unlikely.
1607 * intl/dcngettext.c: Switch to gettext copyright.
1608 Use ANSI definitions and prototypes.
1609 * intl/dgettext.c: Likewise.
1610 * intl/dngettext.c: Likewise.
1611 * intl/plural-eval.c: Renamed to...
1612 * intl/eval-plural.h: ...this.
1613 * intl/explodename.c: Switch to gettext copyright.
1614 Use ANSI definitions and prototypes.
1615 (_nl_explode_name): Use strchr instead of __rawmemchr.
1616 * intl/finddomain.c: Switch to gettext copyright.
1617 Use ANSI definitions and prototypes.
1618 Use gl_* locking primitives rather than __libc_* ones.
1619 (_nl_find_domain): Use malloc rather than alloca for
1620 allocation of temporary locale name.
1621 * intl/gettext.c: Switch to gettext copyright.
1622 Use ANSI definitions and prototypes.
1623 * intl/gettextP.h: Switch to gettext copyright.
1624 Use ANSI definitions and prototypes.
1625 Use gl_* locking primitives rather than __libc_* ones.
1626 * intl/gmo.h: Switch to gettext copyright.
1627 (struct sysdep_string): Move struct segment_pair outside of
1628 struct definition.
1629 * intl/hash-string.c: Use ANSI definitions and prototypes.
1630 * intl/hash-string.h: Switch to gettext copyright.
1631 Use ANSI definitions and prototypes.
1632 * intl/l10nflist.c: Switch to gettext copyright.
1633 Use ANSI definitions and prototypes.
1634 (_nl_normalize_codeset): Avoid integer overflow.
1635 * intl/loadinfo.h: Switch to gettext copyright.
1636 Use ANSI definitions and prototypes.
1637 (LIBINTL_DLL_EXPORTED): New define.
1638 (PATH_SEPARATOR): New define.
1639 * intl/loadmsgcat.c: Switch to gettext copyright.
1640 * intl/localealias.c: Switch to gettext copyright.
1641 Use ANSI definitions and prototypes.
1642 (_nl_expand_alias): Use PATH_SEPARATOR.
1643 * intl/ngettext.c: Switch to gettext copyright.
1644 Use ANSI definitions and prototypes.
1645 * intl/plural-exp.c: Likewise.
1646 * intl/plural-exp.h: Switch to gettext copyright.
1647 Use ANSI definitions and prototypes.
1648 (struct expression): Move definition of enum operator outside
1649 of struct definition.
1650 * intl/plural.c: Regenerate.
1651 * intl/plural.y: Switch to gettext copyright.
1652 Use ANSI definitions and prototypes.
1653 Port to bison 3.0.
1654 * intl/textdomain.c: Switch to gettext copyright.
1655 Use ANSI definitions and prototypes.
1656 Use gl_* locking primitives rather than __libc_* ones.
1657
48c43298
SE
16582014-12-10 Steve Ellcey <sellcey@imgtec.com>
1659
1660 * debug/warning-nop.c: Add used atrribute.
1661
2b89bce9
JM
16622014-12-10 Joseph Myers <joseph@codesourcery.com>
1663
c153ac9f
JM
1664 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1665
2b89bce9
JM
1666 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1667 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1668 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1669
2cfbdb9a
JM
16702014-12-10 Joseph Myers <joseph@codesourcery.com>
1671 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1672
1673 [BZ #17634]
1674 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1675 Undefine after defining function. Define as weak alias of
1676 __wcschr. Use libc_hidden_weak.
1677 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1678 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1679 (libc_hidden_def): Also define __GI___wcschr alias.
1680 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1681 __wcschr and define as weak alias of __wcschr.
1682 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1683 __wcschr.
1684 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1685 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1686 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1687 libc_hidden_weak. Do not use libc_hidden_def.
1688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1689 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1690 __GI___wcschr alias.
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1692 [IS_IN (libc)] (wcschr): Define as macro expanding to
1693 __redirect_wcschr.
1694 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1695 [IS_IN (libc)] (__wcschr_power6): Likewise.
1696 [IS_IN (libc)] (__wcschr_power7): Likewise.
1697 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1698 instead of wcschr.
1699 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1700 __libc_wcschr.
1701 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1702 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1703 __wcschr and define as weak alias of __wcschr. Use
1704 libc_hidden_builtin_def.
1705 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1706 as weak alias of __wcschr. Use libc_hidden_weak.
1707 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1708 wcschr.
1709 * time/era.c (_nl_init_era_entries): Likewise.
1710 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1711 variable.
1712 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1713 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1714
1b8bf351
JM
17152014-12-10 Joseph Myers <joseph@codesourcery.com>
1716
1717 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1718 format for long int variable.
1719
f5f46d51
AK
17202014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1721
1722 [BZ #10672]
07008f7d 1723 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
1724 qsort stable.
1725
217a74a8
AS
17262014-12-10 Andreas Schwab <schwab@suse.de>
1727
1728 [BZ #12847]
1729 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1730 user-controlled locks.
1731
aa76a5c7
RE
17322014-12-10 Richard Earnshaw <rearnsha@arm.com>
1733
1734 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1735 register.
1736
2084e7ca
JM
17372014-12-10 Joseph Myers <joseph@codesourcery.com>
1738
a4ecc9eb
JM
1739 * configure.ac (--disable-werror): New configure option.
1740 (enable_werror): New AC_SUBST.
1741 * configure: Regenerated.
1742 * config.make.in (enable-werror): New variable.
1743 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1744 -Wno-error=undef.
1745 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1746 * manual/install.texi (Configuring and compiling): Document
1747 --disable-werror.
1748 * INSTALL: Regenerated.
1749 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1750 (CFLAGS-tst-chk2.c): Likewise.
1751 (CFLAGS-tst-chk3.c): Likewise.
1752 (CFLAGS-tst-chk4.cc): Likewise.
1753 (CFLAGS-tst-chk5.cc): Likewise.
1754 (CFLAGS-tst-chk6.cc): Likewise.
1755 (CFLAGS-tst-lfschk1.c): Likewise.
1756 (CFLAGS-tst-lfschk2.c): Likewise.
1757 (CFLAGS-tst-lfschk3.c): Likewise.
1758 (CFLAGS-tst-lfschk4.cc): Likewise.
1759 (CFLAGS-tst-lfschk5.cc): Likewise.
1760 (CFLAGS-tst-lfschk6.cc): Likewise.
1761
0f88636c
JM
1762 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1763 (main): Disable -Wdeprecated-declarations around calls to
1764 register_printf_function.
1765
c81e9deb
JM
1766 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1767 (do_test): Disable -Wdiv-by-zero around some calls to
1768 fwrite_unlocked and fread_unlocked.
1769
2084e7ca
JM
1770 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1771 (DIAG_POP_NEEDS_COMMENT): Likewise.
1772 (_DIAG_STR1): Likewise.
1773 (_DIAG_STR): Likewise.
1774 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1775 * stdio-common/bug21.c: Include <libc-internal.h>.
1776 (do_test): Disable -Wformat around call to sscanf.
1777 * stdio-common/scanf14.c: Include <libc-internal.h>.
1778 (main): Disable -Wformat around some calls to scanf functions.
1779
df7ecc6b
TR
17802014-12-09 Torvald Riegel <triegel@redhat.com>
1781
1782 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1783
2aa3862e
AZ
17842014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1785
1786 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1787 stack variable alignment.
1788
c5c2b7c3
JM
17892014-12-06 Joseph Myers <joseph@codesourcery.com>
1790
1791 [BZ #17682]
1792 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1793 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1794 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1795 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1796 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1797 __getrlimit instead of getrlimit.
1798 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1799 __gettimeofday instead of gettimeofday.
1800 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1801 Likewise.
1802 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1803 Likewise.
1804 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1805 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1806 Remove variable.
1807 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1808 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1809
9752c3cd
AZ
18102014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1811
1812 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1813 for wide-character tests.
1814
4bee4cd9
RM
18152014-12-04 Roland McGrath <roland@hack.frob.com>
1816
1817 * io/openat64.c: #include <libc-internal.h>
1818 (__openat64): Prototypify. Use ignore_value on MODE.
1819 * io/openat.c: Likewise.
1820 * misc/reboot.c: #include <libc-internal.h>
1821 (reboot): Prototypify. Use ignore_value on HOWTO.
1822 * misc/ptrace.c: #include <libc-internal.h>
1823 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1824
84dbedb6
JM
18252014-12-04 Joseph Myers <joseph@codesourcery.com>
1826
1827 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1828 XPG4, UNIX98 and XOPEN2K.
1829 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1830 Remove variable.
1831 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1832
b7a3e1c4 18332014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 1834
af50dfc1 1835 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
1836 * libio/iofopen.c: Likewise.
1837 * libio/wfileops.c: Likewise.
1838
fe8b4d98
SP
1839 [BZ #17653]
1840 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1841 offset on EOF.
1842 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1843 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1844 (fgets_func): Function pointer to fgets and fgetws.
1845 (do_ftell_test): Add test to verify ftell value after read
1846 EOF.
1847 (do_test): Set fgets_func.
1848
61b4f792
SP
1849 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1850 O_TRUNC flag for w and w+ modes.
1851 (do_rewind_test): Likewise.
1852 (do_ftell_test): Likewise.
1853 (do_write_test): Likewise.
1854
be349d70
SP
1855 [BZ #17647]
1856 * libio/fileops.c (do_ftell): Seek only when there are
1857 unflushed writes.
1858 * libio/wfileops.c (do_ftell_wide): Likewise.
1859 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1860 test case.
1861 (do_one_test): Call it.
1862
e3d6dba5
JM
18632014-12-03 Joseph Myers <joseph@codesourcery.com>
1864
1865 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1866 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1867 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1868 Remove variable.
1869 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1870 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1871 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1872
7f994279
JM
18732014-12-02 Joseph Myers <joseph@codesourcery.com>
1874
28a91e8f
JM
1875 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1876 Remove variable.
1877 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1878
7f994279
JM
1879 [BZ #17668]
1880 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1881 as weak alias of __getifaddrs. Use libc_hidden_weak.
1882 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1883 __freeifaddrs. Use libc_hidden_weak.
1884 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1885 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1886 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1887 __freeifaddrs. Use libc_hidden_weak.
1888 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1889 __getifaddrs and define as weak alias of __getifaddrs. Use
1890 libc_hidden_weak.
1891 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1892 __freeifaddrs. Use libc_hidden_weak.
1893 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1894 Remove variable.
1895 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1896 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1897
bbe4c142
PJ
18982014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1899
1900 [BZ #17601]
1901 * sysdeps/mips/start.S (__start): Use indirect jump to call
1902 __libc_start_main.
1903
66cadc05
JM
19042014-12-02 Joseph Myers <joseph@codesourcery.com>
1905
909e16d9
JM
1906 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1907
4e0b9016
JM
1908 * nptl/tst-mutex1.c: Include <stdbool.h>.
1909 [!ATTR] (ATTR_NULL): New macro.
1910 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1911 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1912 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1913
b1aff6a4
JM
1914 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1915 to char *.
1916
266865c0
JM
1917 [BZ #17665]
1918 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1919 Change conditional to [__USE_MISC].
1920
84e5e756
JM
1921 [BZ #17664]
1922 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1923 fgets_unlocked.
1924 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1925 __fgets_unlocked.
1926 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1927 fgets_unlocked.
1928 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1929 Remove variable.
1930 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1931 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1932 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1933 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1934 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1935 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1936 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1937 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1938 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1939
66cadc05
JM
1940 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1941
2e8a2de2 19422014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
1943
1944 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1945 Remove strpbrk objects.
1946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1947 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1948 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1949 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1950 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1951 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1952
bb2542e0
AZ
1953 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1954 Remove strcspn objects.
1955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1956 (__libc_ifunc_impl_list): Remove strcspn implementation.
1957 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1958 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1959 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1960 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
1961
1962 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1963 Remove strspn objetcs.
1964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1965 (__libc_ifunc_impl_list): Remove strspn implementation.
1966 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1967 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1968 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1969 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1970
08f1e1d2
JL
19712014-12-01 James Lemke <jwlemke@codesourcery.com>
1972
1973 [BZ #17581]
1974 * malloc/hooks.c
1975 (mem2mem_check): Add a terminator to the chain of checking blocks.
1976 (malloc_check_get_size): Use it here.
1977 (mem2chunk_check): Ditto.
1978
a8a7d7d2
RS
19792014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1980
1981 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1982 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1983
97114a38
CD
19842014-11-29 Carlos O'Donell <carlos@redhat.com>
1985
c8dc1727
CD
1986 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1987
6d03458e
CD
1988 * nptl/nptl-init.c: Include libc-internal.h.
1989 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1990
97114a38
CD
1991 * elf/ldconfig.c (search_dir): Expand comment.
1992
0e7e69ba
JM
19932014-11-29 Joseph Myers <joseph@codesourcery.com>
1994
1995 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1996 variable.
1997 (linknamespace-symlist-stdlibs-tests): Likewise.
1998 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1999 instead of $(objpfx)symlist-stdlibs.
2000 (linknamespace-libs-isoc): New variable.
2001 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2002 (linknamespace-libs-ISO): New variable.
2003 (linknamespace-libs-ISO99): Likewise.
2004 (linknamespace-libs-ISO11): Likewise.
2005 (linknamespace-libs-XPG3): Likewise.
2006 (linknamespace-libs-XPG4): Likewise.
2007 (linknamespace-libs-POSIX): Likewise.
2008 (linknamespace-libs-UNIX98): Likewise.
2009 (linknamespace-libs-XOPEN2K): Likewise.
2010 (linknamespace-libs-POSIX2008): Likewise.
2011 (linknamespace-libs-XOPEN2K8): Likewise.
2012 ($(objpfx)symlist-stdlibs): Replace by
2013 $(linknamespace-symlist-stdlibs-tests). Use
2014 $(linknamespace-libs-$*) as set of libraries.
2015 ($(linknamespace-header-tests)): Update dependencies. Use
2016 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2017 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2018 * conform/linknamespace.pl: Remove comment about considering
2019 definitions of symbols from irrelevant libraries.
2020
d8dd0080
L
20212014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 [BZ #13862]
2024 * elf/dl-tls.c: Include <atomic.h>.
2025 (oom): Remove #ifdef SHARED/#endif.
2026 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2027 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2028 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2029 big enough.
2030 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2031 * nptl/Makefile (tests): Add tst-stack4.
2032 (modules-names): Add tst-stack4mod.
2033 ($(objpfx)tst-stack4): New.
2034 (tst-stack4mod.sos): Likewise.
2035 ($(objpfx)tst-stack4.out): Likewise.
2036 ($(tst-stack4mod.sos)): Likewise.
2037 (clean): Likewise.
2038 * nptl/tst-stack4.c: New file.
2039 * nptl/tst-stack4mod.c: Likewise.
2040
167da422
B
20412014-11-27 J. Brown <jb999@gmx.de>
2042
2043 * sysdeps/x86/bits/string.h: Add recent CPUs.
2044
9114625b
JM
20452014-11-27 Joseph Myers <joseph@codesourcery.com>
2046
6b5189eb
JM
2047 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2048 sigblock.
2049
49051f8e
JM
2050 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2051 feof.
2052
9114625b
JM
2053 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2054 variable.
2055
e7300fef
SL
20562014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2057
2058 * nscd/connections.c: Include libc-internal.h because of macro
2059 usage ignore_value.
2060
1721f0a4
SP
20612014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2062
2063 * string/bits/string3.h (__warn_memset_zero_len): Don't
2064 declare for gcc newer than 5.0.
2065 (memset): Don't test for zero-length __LEN for gcc newer than
2066 5.0.
2067
be970916
JM
20682014-11-27 Joseph Myers <joseph@codesourcery.com>
2069
d88548f4
JM
2070 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2071 size_t for %zu format.
2072
be970916
JM
2073 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2074 difference, not %ju.
2075
3b20fd5c
JM
20762014-11-26 Joseph Myers <joseph@codesourcery.com>
2077
8915eace
JM
2078 * include/libc-internal.h (ignore_value): New macro.
2079 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2080 with ignore_value.
2081
f1a5a0e3
JM
2082 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2083 definition.
2084
59ef1715
JM
2085 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2086 pthread_cleanup_push to void *.
2087
a6f3079b
JM
2088 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2089 Undefine.
2090
706688aa
JM
2091 [BZ #16619]
2092 [BZ #16740]
2093 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2094 instead of 1L << 52.
2095
12da14a5
JM
2096 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2097 * libio/bug-rewind2.c (do_test): Likewise.
2098
bd5dadac
JM
2099 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2100 * debug/test-strcpy_chk-ifunc.c: Likewise.
2101 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2102 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2103 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2104 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2105 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2106 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2107 * Rules [$(multi-arch) = no] (tests): Do not filter out
2108 $(tests-ifunc).
2109 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2110 * debug/Makefile (tests-ifunc): Remove variable.
2111 (tests): Do not add $(tests-ifunc).
2112 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2113 (tests): Do not add $(tests-ifunc).
2114 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2115 [TEST_IFUNC]: Remove conditionals.
2116 * string/test-string.h (TEST_IFUNC): Remove macro.
2117 [TEST_IFUNC]: Remove conditionals.
2118
3b20fd5c
JM
2119 * string/test-strchr.c [!WIDE] (L): New macro.
2120 [WIDE] (L): Likewise.
2121 (check1): Use CHAR instead of char. Use L on string and character
2122 constants.
2123
704f7947
AZ
21242014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2125
2126 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2127 tests.
2128 * sysdeps/powerpc/bits/atomic.h
2129 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2130 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2131 (atomic_exchange_and_add_acq): Likewise.
2132 (atomic_exchange_and_add_rel): Likewise.
2133 * sysdeps/powerpc/powerpc32/bits/atomic.h
2134 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2135 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2136 * sysdeps/powerpc/powerpc64/bits/atomic.h
2137 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2138 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2139
cdcb42d7
TR
21402014-11-26 Torvald Riegel <triegel@redhat.com>
2141
2142 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2143 Change synchronization of __sched_fifo_min_prio and
2144 __sched_fifo_max_prio.
2145 * nptl/pthread_mutexattr_getprioceiling.c
2146 (pthread_mutexattr_getprioceiling): Likewise.
2147 * nptl/pthread_mutexattr_setprioceiling.c
2148 (pthread_mutexattr_setprioceiling): Likewise.
2149 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2150 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2151 Likewise.
2152
c82f5c0c
JM
21532014-11-26 Joseph Myers <joseph@codesourcery.com>
2154
2155 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2156 void.
2157
439e1ad6
JM
21582014-11-25 Joseph Myers <joseph@codesourcery.com>
2159
2160 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2161 third argument const.
2162
b1eda10e
PE
21632014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2164
2165 fnmatch: work around GCC compiler warning bug with uninit var
2166 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2167 This works around a bug with x86-64 GCC 4.9.2 and earlier
2168 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2169 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2170 used uninitialized in this function [-Wmaybe-uninitialized]".
2171
bde2667a
JM
21722014-11-25 Joseph Myers <joseph@codesourcery.com>
2173
2174 * posix/bug-regex31.c (main): Return RES not 0.
2175
5fbb5691
AB
21762014-11-25 Anton Blanchard <anton@samba.org>
2177
2178 * sysdeps/powerpc/bits/atomic.h
2179 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2180
467fec0b
BM
21812014-11-24 Sterling Augustine <saugustine@google.com>
2182
2183 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2184
e9ff8efb
RC
21852014-11-24 Ryan Cumming <etaoins@gmail.com>
2186
2187 [BZ #17608]
2188 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2189
9744496f
JM
21902014-11-24 Joseph Myers <joseph@codesourcery.com>
2191
2192 [BZ #17633]
2193 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2194 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2195 variable.
2196 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2197 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2198
6423d475
WD
21992014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2200
2201 * string/strncpy.c (strncpy): Improve performance by using memset.
2202
22032014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2204
2205 * string/strcpy.c (strcpy):
2206 Improve performance by using strlen and memcpy.
2207
5d178c37
LH
22082014-11-24 Leonhard Holz <leonhard.holz@web.de>
2209
2210 * string/strcoll_l.c (get_next_seq): __always_inline.
2211 * string/strcoll_l.c (do_compare): __always_inline.
2212
279bc5b3
SP
22132014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2214
7a9ebfa1
SP
2215 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2216 defined.
2217 * include/mqueue.h: Likewise.
2218 * include/stdlib.h: Likewise.
2219
4f41c682
SP
2220 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2221 (get_null_defines): Adjust.
2222 * sunrpc/Makefile: Adjust comment.
2223 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2224 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2225 (CFLAGS-interp.c): Likewise.
2226 (CFLAGS-ldconfig.c): Likewise.
2227 (CPPFLAGS-.os): Likewise.
2228 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2229 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2230 * extra-modules.mk (extra-modules.mk): Likewise.
2231 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2232 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2233 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2234 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2235 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2236 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2237 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2238 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2239 * iconvdata/Makefile (CPPFLAGS): Likewise.
2240 (cpp-srcs-left): Add libof for all iconvdata routines.
2241 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2242 * include/assert.h: Likewise.
2243 * include/ctype.h: Likewise.
2244 * include/errno.h: Likewise.
2245 * include/libc-symbols.h: Likewise.
2246 * include/math.h: Likewise.
2247 * include/netdb.h: Likewise.
2248 * include/resolv.h: Likewise.
2249 * include/stdio.h: Likewise.
2250 * include/stdlib.h: Likewise.
2251 * include/string.h: Likewise.
2252 * include/sys/stat.h: Likewise.
2253 * include/wctype.h: Likewise.
2254 * intl/l10nflist.c: Likewise.
2255 * libidn/idn-stub.c: Likewise.
2256 * libio/libioP.h: Likewise.
2257 * nptl/libc_multiple_threads.c: Likewise.
2258 * nptl/pthreadP.h: Likewise.
2259 * posix/regex_internal.h: Likewise.
2260 * resolv/res_hconf.c: Likewise.
2261 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2262 * sysdeps/arm/memmove.S: Likewise.
2263 * sysdeps/arm/sysdep.h: Likewise.
2264 * sysdeps/generic/_itoa.h: Likewise.
2265 * sysdeps/generic/symbol-hacks.h: Likewise.
2266 * sysdeps/gnu/errlist.awk: Likewise.
2267 * sysdeps/gnu/errlist.c: Likewise.
2268 * sysdeps/i386/i586/memcpy.S: Likewise.
2269 * sysdeps/i386/i586/memset.S: Likewise.
2270 * sysdeps/i386/i686/memcpy.S: Likewise.
2271 * sysdeps/i386/i686/memmove.S: Likewise.
2272 * sysdeps/i386/i686/mempcpy.S: Likewise.
2273 * sysdeps/i386/i686/memset.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2275 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2276 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2277 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2278 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2279 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2280 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2281 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2282 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2283 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2284 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2285 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2286 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2287 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2288 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2289 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2290 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2291 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2292 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2293 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2294 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2295 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2296 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2297 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2298 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2299 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2300 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2301 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2302 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2303 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2304 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2305 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2307 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2308 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2309 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2310 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2311 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2312 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2313 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2314 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2315 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2316 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2317 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2318 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2320 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2321 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2322 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2323 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2324 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2325 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2326 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2327 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2328 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2329 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2331 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2332 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2333 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2334 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2335 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2336 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2337 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2338 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2339 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2340 * sysdeps/posix/closedir.c: Likewise.
2341 * sysdeps/posix/opendir.c: Likewise.
2342 * sysdeps/posix/readdir.c: Likewise.
2343 * sysdeps/posix/rewinddir.c: Likewise.
2344 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2345 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2346 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2347 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2348 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2352 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2356 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2358 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2360 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2362 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2363 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2365 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2367 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2369 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2371 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2374 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2379 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2380 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2381 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2382 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2384 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2385 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2386 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2388 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2389 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2390 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2391 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2392 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2393 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2395 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2396 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2397 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2398 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2399 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2400 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2401 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2402 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2403 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2404 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2405 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2406 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2407 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2408 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2409 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2410 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2411 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2412 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2413 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2414 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2415 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2416 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2417 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2418 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2419 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2420 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2421 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2422 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2423 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2424 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2425 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2426 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2427 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2428 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2430 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2431 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2432 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2433 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2434 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2435 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2436 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2440 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2442 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2443 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2444 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2445 * sysdeps/unix/alpha/sysdep.S: Likewise.
2446 * sysdeps/unix/alpha/sysdep.h: Likewise.
2447 * sysdeps/unix/make-syscalls.sh: Likewise.
2448 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2450 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2451 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2452 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2453 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2454 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2455 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2456 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2457 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2458 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2459 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2460 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2461 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2462 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2463 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2464 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2465 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2466 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2467 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2468 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2469 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2470 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2471 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2472 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2473 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2474 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2477 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2478 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2479 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2482 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2485 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2486 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2487 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2488 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2489 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2490 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2491 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2492 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2493 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2494 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2495 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2496 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2498 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2499 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2500 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2501 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2502 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2503 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2504 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2506 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2507 * sysdeps/x86_64/memcpy.S: Likewise.
2508 * sysdeps/x86_64/memmove.c: Likewise.
2509 * sysdeps/x86_64/memset.S: Likewise.
2510 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2511 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2512 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2513 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2514 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2517 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2518 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2519 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2520 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2522 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2523 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2524 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2525 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2527 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2528 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2529 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2530 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2531 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2533 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2534 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2535 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2536 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2537 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2538 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2539 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2540 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2541 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2542 * sysdeps/x86_64/strcmp.S: Likewise.
2543
76ca86a5
SP
2544 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2545
a3848485
SP
2546 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2547 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2548 * elf/rtld-Rules: Likewise.
2549 * elf/setup-vdso.h: Likewise.
2550 * include/assert.h: Likewise.
2551 * include/bits/stdlib-float.h: Likewise.
2552 * include/errno.h: Likewise.
2553 * include/sys/stat.h: Likewise.
2554 * include/unistd.h: Likewise.
2555 * sysdeps/aarch64/setjmp.S: Likewise.
2556 * sysdeps/alpha/setjmp.S: Likewise.
2557 * sysdeps/arm/__longjmp.S: Likewise.
2558 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2559 * sysdeps/arm/setjmp.S: Likewise.
2560 * sysdeps/arm/sysdep.h: Likewise.
2561 * sysdeps/generic/_itoa.h: Likewise.
2562 * sysdeps/generic/dl-sysdep.h: Likewise.
2563 * sysdeps/generic/ldsodefs.h: Likewise.
2564 * sysdeps/i386/dl-tls.h: Likewise.
2565 * sysdeps/i386/setjmp.S: Likewise.
2566 * sysdeps/m68k/setjmp.c: Likewise.
2567 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2568 * sysdeps/mach/hurd/opendir.c: Likewise.
2569 * sysdeps/posix/getcwd.c: Likewise.
2570 * sysdeps/posix/opendir.c: Likewise.
2571 * sysdeps/posix/profil.c: Likewise.
2572 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2573 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2574 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2575 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2576 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2577 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2578 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2579 * sysdeps/s390/dl-tls.h: Likewise.
2580 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2581 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2582 * sysdeps/sh/sh3/setjmp.S: Likewise.
2583 * sysdeps/sh/sh4/setjmp.S: Likewise.
2584 * sysdeps/unix/alpha/sysdep.h: Likewise.
2585 * sysdeps/unix/arm/sysdep.S: Likewise.
2586 * sysdeps/unix/i386/sysdep.S: Likewise.
2587 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2588 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2589 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2590 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2591 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2592 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2593 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2594 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2595 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2596 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2597 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2598 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2599 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2602 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2603 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2604 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2605 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2606 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2607 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2610 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2611 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2612 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2613 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2614 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2615 * sysdeps/x86_64/setjmp.S: Likewise.
2616
a109996e
SP
2617 * include/math.h: Use IS_IN instead of IS_IN_libm.
2618 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2619 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2620 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2621 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2622 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2623 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2624 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2626 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2627 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2628 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2629 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2630 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2631 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2632 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2633 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2634 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2635 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2636 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2637 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2638 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2639 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2640 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2641 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2642 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2643 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2644 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2645 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2646 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2647 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2648 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2649 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2650 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2652 Likewise.
2653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2654 Likewise.
2655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2656 Likewise.
2657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2658 Likewise.
2659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2660 Likewise.
2661 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2663 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2664 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2665 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2666 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2672 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2673 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2674 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2675 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2676 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2677 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2680 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2681 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2682 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2683 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2684 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2685 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2687 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2688
ce9f10f7
SP
2689 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2690 * nptl/pthreadP.h: Likewise.
2691 * nptl_db/structs.def: Likewise.
2692 * sysdeps/arm/sysdep.h: Likewise.
2693 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2694 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2695 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2696 * sysdeps/unix/alpha/sysdep.h: Likewise.
2697 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2698 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2699 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2700 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2701 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2702 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2703 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2704 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2705 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2706 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2707 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2708 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2709 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2710 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2715 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2718 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2719 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2720 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2721 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2722 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2723
016afc75
SP
2724 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2725 * nptl/pthreadP.h: Likewise.
2726 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2727 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2728 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2729 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2730 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2731 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2732 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2733 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2734 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2735 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2736 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2737 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2739 Likewise.
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2741 Likewise.
2742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2744 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2746 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2747 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2748 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2749 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2750
9b42a0b3
SP
2751 * dlfcn/dladdr.c: Use IS_IN.
2752 * dlfcn/dladdr1.c: Likewise.
2753 * dlfcn/dlclose.c: Likewise.
2754 * dlfcn/dlerror.c: Likewise.
2755 * dlfcn/dlinfo.c: Likewise.
2756 * dlfcn/dlmopen.c: Likewise.
2757 * dlfcn/dlopen.c: Likewise.
2758 * dlfcn/dlsym.c: Likewise.
2759 * dlfcn/dlvsym.c: Likewise.
2760
85f36372
SP
2761 * include/ifaddrs.h: Use IS_IN.
2762 * inet/check_pf.c: Likewise.
2763 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2764 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2765
fb6784e3
SP
2766 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2767 IS_IN_ldconfig.
2768 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2769 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2770
2886d2d1
SP
2771 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2772 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2773 IS_IN (libc).
2774
9a484857
SP
2775 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2776
a10178bd
SP
2777 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2778 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2779 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2780 * include/libc-symbols.h (IS_IN_LIB): New macro.
2781 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2782 * include/netdb.h: Likewise.
2783 * include/stap-probe.h: Remove all uses of IN_LIB.
2784
279bc5b3
SP
2785 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2786 instead of IN_MODULE.
2787 * include/libc-symbols.h (IN_MODULE): Define using
2788 MODULE_NAME.
2789 (PASTE_NAME, PASTE_NAME1): New macros.
2790 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2791 of IN_LIB.
2792 (STAP_PROBE_ASM): Likewise.
2793
e0cfa510
ST
27942014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2795
2796 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2797 __mach_init in dlopened libc.
2798
34d97d87
MF
27992014-11-22 Mike Frysinger <vapier@gentoo.org>
2800
2801 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2802 * sysdeps/arm/preconfigure: Regenerate.
2803
33cd1f74
RM
28042014-11-21 Roland McGrath <roland@hack.frob.com>
2805
2806 * nptl/pthread_create.c (__pthread_create_2_1): Set
2807 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2808 when copying values from IATTR into PD.
2809
8c230039
WN
28102014-11-21 Will Newton <will.newton@linaro.org>
2811 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2812
6d3db89b
AP
2813 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2814 Refactor inline-asm. Also add comment.
2815
01194ba1
WN
2816 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2817 ElfW macro instead of hardcoded Elf64 types.
2818 (la_aarch64_gnu_pltenter): Likewise.
2819 * sysdeps/aarch64/dl-machine.h
2820 (elf_machine_runtime_setup): Use ElfW(Addr).
2821
8c230039
WN
2822 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2823 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2824 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2825 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2826 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2827 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2828 (R_AARCH64_TLS_DTPMOD): This.
2829 (R_AARCH64_TLS_DTPREL64): Rename to ...
2830 (R_AARCH64_TLS_DTPREL): This.
2831 (R_AARCH64_TLS_TPREL64): Rename to ...
2832 (R_AARCH64_TLS_TPREL): This.
2833 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2834 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2835 R_AARCH64_TLS_TPREL64.
2836 (elf_machine_rela): Likewise.
2837
0d79fa53
TR
28382014-11-21 Torvald Riegel <triegel@redhat.com>
2839
2840 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2841 by setting it to 0. 64b atomics are not supported currently.
2842
b59d114b
AO
28432014-11-21 Alexandre Oliva <aoliva@redhat.com>
2844
2845 [BZ #16469]
2846 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2847 search domain names.
2848
f3d945d5
AO
28492014-11-21 Alexandre Oliva <aoliva@redhat.com>
2850
2851 [BZ #16469]
2852 * NEWS: Update.
2853 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2854 trailing dot.
2855 * posix/tst-getaddrinfo5.c: New.
2856 * posix/Makefile (tests): Add it.
2857
49698902
AO
28582014-11-21 Alexandre Oliva <aoliva@redhat.com>
2859
2860 [BZ #14498]
2861 * NEWS: Fixed.
2862 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2863 after parsing line but before break_if_match.
2864 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2865 if there is a protocol mismatch.
2866
81959214
MS
28672014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2868
2869 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2870 because the potential race is on the user-supplied stream.
2871
7729e0e9
AO
28722014-11-21 Alexandre Oliva <aoliva@redhat.com>
2873
2874 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2875 string literal if not passed a buffer.
2876 * manual/job.texi (ctermid): Update reasoning, note deviation
2877 from posix, suggest mtasurace when not passed a buffer, for
2878 future non-preliminary safety notes.
2879
a4ea5e28
AO
28802014-11-21 Alexandre Oliva <aoliva@redhat.com>
2881
2882 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2883 of not passing it a buffer.
2884 Reported by Peng Haitao.
2885
a2b581cb
AO
28862014-11-21 Alexandre Oliva <aoliva@redhat.com>
2887
2888 * manual/Makefile ($(objpfx)stamp-summary): Require
2889 check-safety.sh to pass.
2890 * manual/check-safety.sh: Wish for verification that every
2891 @deftypefn and @deftypefun is followed by a @safety remark.
2892
f214ff74
RM
28932014-11-20 Roland McGrath <roland@hack.frob.com>
2894
7f0dfae0
RM
2895 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2896
2f531bbb
RM
2897 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2898 PTHREAD_CANCEL_ASYNCHRONOUS.
2899 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2900 send SIGCANCEL.
2901
f214ff74
RM
2902 * nptl/default-sched.h: New file.
2903 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2904 * nptl/pthread_create.c: Include it.
2905 (__pthread_create_2_1): Use collect_default_sched instead of making
2906 Linux syscalls here directly.
2907
e37c91d4
TR
29082014-11-20 Torvald Riegel <triegel@redhat.com>
2909
2910 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2911 __pthread_once): Use C11 atomics.
2912
1eccfecd
TR
29132014-11-20 Torvald Riegel <triegel@redhat.com>
2914
2915 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2916
ff871426
TR
29172014-11-20 Torvald Riegel <triegel@redhat.com>
2918
2919 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2920 atomic_thread_fence_acquire, atomic_thread_fence_release,
2921 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2922 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2923 atomic_compare_exchange_weak_relaxed,
2924 atomic_compare_exchange_weak_acquire,
2925 atomic_compare_exchange_weak_release,
2926 atomic_exchange_acquire, atomic_exchange_release,
2927 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2928 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2929 atomic_fetch_and_acquire,
2930 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2931
1ea339b6
TR
29322014-11-20 Torvald Riegel <triegel@redhat.com>
2933
2934 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2935 USE_ATOMIC_COMPILER_BUILTINS): Define.
2936 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2937 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2938 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2939 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2940 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2941 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2942 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2943 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2944 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2945 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2946 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2947 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2948 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2949 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2950 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2951 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2952 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2953 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2954 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2955 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2956 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2957 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2958 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2959 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2960 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2961 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2962 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2963 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2964 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2965 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2966 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2967 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2968 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2969 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2970 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2971 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2972 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2973 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2974 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2975 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2976
cbd463e2
RM
29772014-11-19 Roland McGrath <roland@hack.frob.com>
2978
d960211f
RM
2979 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2980 the sched_priority value here. It was already checked when the user
2981 called pthread_attr_setschedparam.
2982
cbd463e2
RM
2983 * nptl/tst-bad-schedattr.c: New file.
2984 * nptl/Makefile (tests): Add it.
2985
a39208bd
CD
29862014-11-19 Carlos O'Donell <carlos@redhat.com>
2987 Florian Weimer <fweimer@redhat.com>
2988 Joseph Myers <joseph@codesourcery.com>
2989 Adam Conrad <adconrad@0c3.net>
2990 Andreas Schwab <schwab@suse.de>
2991 Brooks <bmoses@google.com>
2992
2993 [BZ #17625]
2994 * wordexp-test.c (__dso_handle): Add prototype.
2995 (__register_atfork): Likewise.
2996 (__app_register_atfork): New function.
2997 (registered_forks): New global.
2998 (register_fork): New function.
2999 (test_case): Add 3 new tests for WRDE_CMDSUB.
3000 (main): Call __app_register_atfork.
3001 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3002 fork count is non-zero fail the test.
3003 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3004 is set.
3005 (parse_dollars): Remove check for WRDE_NOCMD.
3006 (parse_dquote): Likewise.
3007
9cd47470
SP
30082014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3009
130ac68c
SP
3010 * Makeconfig (built-modules): List non-library modules to be
3011 built.
3012 (module-cppflags): Include libc-modules.h for
3013 everything except shlib-versions.v.i.
3014 (CPPFLAGS): Use it.
3015 (before-compile): Add libc-modules.h.
3016 ($(common-objpfx)libc-modules.h,
3017 $(common-objpfx)libc-modules.stmp): New targets.
3018 (common-generated): Add libc-modules.h and libc-modules.stmp.
3019 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3020 * include/libc-symbols.h: Don't include libc-modules.h.
3021 * include/libc-modules.h: Remove file.
3022 * scripts/gen-libc-modules.awk: New script to generate
3023 libc-modules.h.
3024 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3025 Depend on libc-modules.stmp.
3026
286663c3
SP
3027 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3028
9cd47470
SP
3029 * Makeconfig (in-module): Get value of libof set for the
3030 translation unit.
3031 (CPPFLAGS): Use $(in-module).
3032 * Makerules: Don't suffix routine names for nonlib.
3033 * include/libc-modules.h: New file.
3034 * include/libc-symbols.h: Include libc-modules.h
3035 (IS_IN): New macro to replace IS_IN_* macros.
3036 * elf/Makefile: Set libof-* for each routine.
3037 * elf/rtld-Rules: Likewise.
3038 * extra-modules.mk: Likewise.
3039 * iconv/Makefile: Likewise.
3040 * iconvdata/Makefile: Likewise.
3041 * locale/Makefile: Likewise.
3042 * malloc/Makefile: Likewise.
3043 * nss/Makefile: Likewise.
3044 * sysdeps/gnu/Makefile: Likewise.
3045 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3046 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3047 * sysdeps/s390/s390-64/Makefile: Likewise.
3048 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3049 CPPFLAGS for nscd instead of nonlib.
3050
32fed10f
RM
30512014-11-18 Roland McGrath <roland@hack.frob.com>
3052
d71035bd
RM
3053 * nptl/createthread.c: New file.
3054
6540b991
RM
3055 * nptl/createthread.c: Moved ...
3056 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3057
32fed10f
RM
3058 * nptl/createthread.c: Add proper top-line comment.
3059 (do_clone): Folded into ...
3060 (create_thread): ... here. Take new arguments STOPPED_START and
3061 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3062 increment __nptl_threads, do event-reporting logic, do
3063 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3064 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3065 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3066 just send SIGCANCEL.
3067 * nptl/pthread_create.c: Forward-declare create_thread before
3068 including createthread.c.
3069 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3070 declaration, and new macro START_THREAD_SELF to replace argument.
3071 Remove return statement.
3072 (report_thread_creation): New function.
3073 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3074 synchronization logic, and __nptl_nthreads increment here, around
3075 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3076 PD->parent_cancelhandling here, before create_thread. When
3077 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3078 __deallocate_stack, and ENOMEM translation here.
3079
107a5bf0
JM
30802014-11-18 Joseph Myers <joseph@codesourcery.com>
3081
3082 [BZ #17616]
3083 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3084 (mptwo): Rename to __mptwo.
3085 (__inv): Use __mptwo instead of mptwo.
3086 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3087 (mptwo): Rename to __mptwo.
3088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3089 of mpone and __mptwo instead of mptwo.
3090 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3091 instead of mpone.
3092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3093 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3094 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3095 of mpone and __mptwo instead of mptwo.
3096 (__mpranred): Use __mpone instead of mpone.
3097 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3098 variable.
3099 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3100 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3101 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3102 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3103 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3104 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3105 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3106 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3107 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3108 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3109 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3110 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3111 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3112 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3113 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3114 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3115 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3116 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3117 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3118
3b679ab3
TV
31192014-11-18 Tom de Vries <tom@codesoucery.com>
3120
3121 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3122 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3123
31242014-11-17 Richard Henderson <rth@redhat.com>
3125
3126 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3127 (_FP_PACK_RAW_2): Remove.
3128 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3129 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3130 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3131 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3132 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3133 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3134 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3135 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3136 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3137 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3138 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3139 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3140 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3141 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3142 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3143 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3144
0781a777
RM
31452014-11-14 Roland McGrath <roland@hack.frob.com>
3146
3147 * signal/signal.h [__USE_MISC]
3148 (struct sigvec): Remove type.
3149 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3150 (sigvec): Remove declaration.
3151 * sysdeps/posix/sigvec.c: Moved ...
3152 * signal/sigvec.c: ... here, replacing old file.
3153 (struct sigvec): New type, copied from old signal.h definition.
3154 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3155 (__sigvec): Convert definition to prototype.
3156 (sigvec): Replace weak_alias with compat_symbol.
3157 * signal/Versions (libc: GLIBC_2.21): New version set.
3158 * include/signal.h: Remove __sigvec declaration.
3159 * sysdeps/unix/bsd/sigvec.c: Remove file.
3160 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3161 * manual/signal.texi (BSD Handler): Remove subsection.
3162 Move siginterrupt up to ...
3163 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3164 (Blocking in BSD): Fold subsection into its parent.
3165 * NEWS: Mention sigvec removal.
3166
a4733812
JM
31672014-11-14 Joseph Myers <joseph@codesourcery.com>
3168
5ae4fe60
JM
3169 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3170 (DLA_FMS): Make definition conditional only on [__FMA4__].
3171 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3172 definition.
3173
6a0dd472
JM
3174 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3175 Make definition conditional only on [PROF].
3176 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3177 definition.
3178 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3179 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3180
a4733812
JM
3181 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3182 !__GNUC__].
3183 * include/signal.h (__sigpause): Move declaration above call to
3184 libc_hidden_proto.
3185 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3186 variable.
3187 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3188 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3189
cf7246dd
DM
31902014-11-14 David S. Miller <davem@davemloft.net>
3191
3192 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3193 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3194
c1b0aadc
JM
31952014-11-14 Joseph Myers <joseph@codesourcery.com>
3196
4863355a
JM
3197 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3198 * configure: Regenerated.
3199 * manual/install.texi (Tools for Compilation): Document a
3200 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3201 compiler verified to work.
3202 * INSTALL: Regenerated.
3203
c1b0aadc
JM
3204 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3205 redeclare with asm name.
3206 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3207 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3208 including <string.h>.
3209 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3210 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3211 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3212 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3213 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3214 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3215 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3216
2a1cfd94
JM
32172014-11-13 Joseph Myers <joseph@codesourcery.com>
3218
bf438382
JM
3219 * stdlib/strtol.c (__strtol): Use prototype definition.
3220
2a1cfd94
JM
3221 [BZ #17594]
3222 * stdlib/strtol.c (SYM__): New macro.
3223 (SYM__1): Likewise.
3224 (__strtol): Likewise.
3225 (strtol): Rename to __strtol and define as weak alias of
3226 __strtol. Use libc_hidden_weak.
3227
20ed0d26
SL
32282014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3229
3230 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3231 Use numbered labels in inline assembly.
3232
53244a4e
SL
32332014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3234
3235 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3236 Add setjmp LIBC_PROBE.
3237 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3238 Likewise.
3239 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3240 Add longjmp, longjmp_target LIBC_PROBE.
3241 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3242 Likewise.
3243
47df8251
SL
32442014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3245
3246 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3247 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3248 to get rid of unused variable warning.
3249
618cebef
SL
32502014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3251
3252 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3253 Check for unwind_backtrace == NULL only in SHARED case.
3254 (__backchain_backtrace): Compile only in SHARED case.
3255 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3256 Likewise.
3257 (__backchain_backtrace): Declare as static.
3258
c6aab2cb
RM
32592014-11-12 Roland McGrath <roland@hack.frob.com>
3260
3261 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3262 (__libc_multiple_threads_ptr): Variable moved ...
3263 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3264
5a6fa4d7
JM
32652014-11-12 Joseph Myers <joseph@codesourcery.com>
3266
24f4f825
JM
3267 * conform/GlibcConform.pm: New file.
3268 * conform/conformtest.pl: Use GlibcConform module.
3269 * conform/linknamespace.pl: New file.
3270 * conform/list-header-symbols.pl: Likewise.
3271 * conform/Makefile (linknamespace-symlists-base): New variable.
3272 (linknamespace-symlists-tests): Likewise.
3273 (linknamespace-header-base): Likewise.
3274 (linknamespace-header-tests): Likewise.
3275 (tests-special): Add new tests.
3276 ($(linknamespace-symlists-tests)): New rule.
3277 (linknamespace-libs): New variable.
3278 ($(objpfx)symlist-stdlibs): New rule.
3279 ($(linknamespace-header-tests)): Likewise.
3280 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3281 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3282 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3283 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3284 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3285 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3286 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3287 (test-xfail-ISO/math.h/linknamespace): Likewise.
3288 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3289 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3290 (test-xfail-ISO/time.h/linknamespace): Likewise.
3291 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3292 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3293 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3294 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3295 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3296 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3297 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3298 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3299 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3300 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3301 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3302 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3303 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3304 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3305 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3306 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3307 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3308 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3309 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3310 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3311 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3312 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3313 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3314 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3315 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3316 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3317 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3318 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3319 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3320 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3321 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3322 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3323 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3324 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3325 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3326 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3327 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3328 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3329 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3330 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3331 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3332 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3333 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3334 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3335 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3336 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3337 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3338 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3339 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3340 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3341 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3342 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3343 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3344 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3345 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3346 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3347 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3348 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3349 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3350 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3351 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3352 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3353 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3354 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3355 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3356 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3357 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3358 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3359 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3360 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3361 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3362 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3363 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3364 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3365 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3366 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3367 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3368 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3369 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3370 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3371 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3372 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3373 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3374 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3375 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3376 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3377 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3378 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3379 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3380 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3381 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3382 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3383 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3384 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3385 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3386 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3387 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3388 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3389 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3390 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3391 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3392 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3393 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3394 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3395 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3396 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3397 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3398 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3399 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3400 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3401 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3402 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3403 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3404 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3405 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3406 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3407 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3408 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3409 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3410 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3411 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3412 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3413 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3414 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3415 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3416 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3417 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3418 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3419 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3420 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3421 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3422 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3423 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3424 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3425 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3426 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3427 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3428 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3429 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3430 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3431 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3432 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3433 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3434 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3435 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3436 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3437 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3438 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3439 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3440 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3441
cc67478e
JM
3442 [BZ #17589]
3443 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3444 of fgets_unlocked.
3445
9975e3d3
JM
3446 [BZ #17585]
3447 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3448 (memmem): Rename to __memmem and define as weak alias of
3449 __memmem. Use libc_hidden_weak.
3450 (__memmem): Use libc_hidden_def.
3451 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3452 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3453 memmem.
3454
c4eae752
JM
3455 [BZ #17582]
3456 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3457 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3458 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3459 and define as weak alias of __fgets_unlocked. Use
3460 libc_hidden_weak.
3461 (__fgets_unlocked): Use libc_hidden_def.
3462 * include/stdio.h (__fgets_unlocked): Declare. Use
3463 libc_hidden_proto.
3464 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3465 __fgets_unlocked instead of fgets_unlocked.
3466 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3467 (GET_NPROCS_CONF_PARSER): Likewise.
3468 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3469 (GET_NPROCS_CONF_PARSER): Likewise.
3470
01cad84e
JM
3471 [BZ #17574]
3472 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3473 weak alias of __wmemset. Use libc_hidden_weak.
3474 (__wmemset): Use libc_hidden_def.
3475 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3476 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3477 of wmemset.
3478
939da411
JM
3479 [BZ #17573]
3480 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3481 with asm name __mempcpy.
3482 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3483
293d9a41
JM
3484 [BZ #17572]
3485 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3486 and define as weak alias of __rawmemchr.
3487 (__rawmemchr): Do not define as strong alias of rawmemchr.
3488
bef8fd60
JM
3489 [BZ #17571]
3490 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3491 alias of __qsort_r.
3492 (qsort): Call __qsort_r instead of qsort_r.
3493 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3494 (__qsort_r): Declare. Call libc_hidden_proto.
3495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3496 instead of qsort_r.
3497 * nscd/gai.c (__qsort_r): Define to qsort_r.
3498 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3499 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3500 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3501
c52ff39e
JM
3502 [BZ #17570]
3503 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3504 define as weak alias of __malloc_info.
3505
2f5c1b00
JM
3506 [BZ #17584]
3507 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3508 as weak alias of __rewinddir. Don't use libc_hidden_def.
3509 (__rewinddir): Use libc_hidden_def.
3510 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3511 as weak alias of __rewinddir. Don't use libc_hidden_def.
3512 (__rewinddir): Use libc_hidden_def.
3513 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3514 weak alias of __rewinddir. Don't use libc_hidden_def.
3515 (__rewinddir): Use libc_hidden_def.
3516 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3517 (__rewinddir): Use libc_hidden_proto.
3518 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3519 rewinddir.
3520 (__getcwd): Use __rewinddir instead of rewinddir.
3521
5a6fa4d7
JM
3522 [BZ #17583]
3523 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3524 alias of __fileno. Use libc_hidden_weak.
3525 (__fileno): Use libc_hidden_def.
3526 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3527 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3528 alias of __ftello.
3529 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3530 __ftello.
3531 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3532 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3533 libc_hidden_def.
3534 (fread_unlocked): Don't use libc_hidden_ver.
3535 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3536 and define as weak alias of __fread_unlocked. Don't use
3537 libc_hidden_def.
3538 (__fread_unlocked): Use libc_hidden_def.
3539 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3540 (ftello): Don't use libc_hidden_proto.
3541 (__ftello): Declare. Use libc_hidden_proto.
3542 (fread_unlocked): Don't use libc_hidden_proto.
3543 (__fread_unlocked): Declare. Use libc_hidden_proto.
3544 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3545 and __ftello instead of fileno, fread_unlocked and ftello.
3546
2581b98e
SP
35472012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3548
3549 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3550 GOT12.
3551 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3552 Likewise.
3553 (_dl_start_user): Likewise.
3554 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3555
533bb7c2
SP
35562014-11-12 Carlos O'Donell <carlos@redhat.com>
3557 Siddhesh Poyarekar <siddhesh@redhat.com>
3558
3559 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3560 Move argv and envp down instead of moving argc up.
3561 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3562
fffa1cf8
LH
35632014-11-12 Leonhard Holz <leonhard.holz@web.de>
3564
3565 [BZ #17506]
3566 * test-skeleton.c (main): Return successful if one of
3567 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3568 * string/tst-strcoll-overflow.c: Define expected status.
3569
fb89b46d
TU
35702014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3571
3572 [BZ #17475]
3573 * locale/iso-639.def: Define Bhili and Tulu language codes.
3574
5c40c3ba
AH
35752014-11-11 Alan Hayward <alan.hayward@arm.com>
3576
3577 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3578
b17fe01b 35792014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
3580
3581 [BZ #17555]
3582 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3583
bd805071
AS
35842014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3585
3586 * configure.ac: Updated check of minimal required version to
3587 2.22.
3588 * manual/install.texi (Tools for Compilation): Updated version
3589 number.
3590 * configure: Regenerated.
3591 * INSTALL: Likewise.
3592
1400983e
AS
35932014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3594
3595 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3596 __tls_get_addr.
3597
2c46a66a
JM
35982014-11-07 Joseph Myers <joseph@codesourcery.com>
3599
3600 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3601 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3602 (__waitpid): Don't define as alias. Use libc_hidden_def not
3603 libc_hidden_weak.
3604 (waitpid): Define as alias of __waitpid.
3605 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3606 __waitpid.
3607 (__waitpid): Don't define as alias. Use libc_hidden_def not
3608 libc_hidden_weak.
3609 (waitpid): Define as alias of __waitpid.
3610 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3611 __libc_waitpid alias.
3612 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3613 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3614 Likewise.
3615 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3616 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3617 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3618 alias.
3619 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3620 __waitpid.
3621 (__waitpid): Don't define as alias. Use libc_hidden_def not
3622 libc_hidden_weak.
3623 (waitpid): Define as alias of __waitpid.
3624
da53d6db
CD
36252014-11-06 Carlos O'Donell <carlos@redhat.com>
3626
a2887bdb
CD
3627 * manual/llio.texi: Add comment that write safety has been
3628 fixed in Linux.
3629
da53d6db
CD
3630 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3631 (localplt-build-dso): Add elf/ld.so.
3632 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3633 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3634 and free for ld.so.
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3636 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3638 Likewise.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3640 Likewise.
3641 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3642 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3643 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3644 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3645 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3646 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3647 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3648 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3649 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3650 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3651 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3652
9cf27b8d
JM
36532014-11-05 Joseph Myers <joseph@codesourcery.com>
3654
3655 [BZ #14132]
3656 * include/libc-symbols.h (INTUSE): Remove macro.
3657 (INTDEF): Likewise.
3658 (INTVARDEF): Likewise.
3659 (_INTVARDEF): Likewise.
3660 (INTDEF2): Likewise.
3661 (INTVARDEF2): Likewise.
3662 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3663 rtld_hidden_def instead of INTVARDEF.
3664 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3665 (_dl_starting_up_internal): Remove declaration.
3666 (_dl_starting_up): Use rtld_hidden_proto.
3667 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3668 declaration.
3669 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3670 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3671 _dl_starting_up.
3672 * elf/dl-writev.h (_dl_writev): Likewise.
3673 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3674 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3675 _dl_starting_up_internal.
3676
af83568d
AZ
36772014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3678
3679 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3680 test-skeleton.c.
3681
b01ee67c
WN
36822014-11-05 Will Newton <will.newton@linaro.org>
3683
3684 * benchtests/Makefile: (bench-malloc): Add malloc thread
3685 scalability benchmark.
3686 * benchtests/bench-malloc-threads.c: New file.
3687
be9d4ccc
RE
36882014-11-05 Richard Earnshaw <rearnsha@arm.com>
3689
3690 * sysdeps/aarch64/strchrnul.S: New file.
3691
7110166d
AZ
36922014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3693
3694 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3695 definition.
3696 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3697 Likwise.
3698 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3699 Likewise.
3700 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3701 Likewise.
3702 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3703 Likewise.
3704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3705 Likewise.
3706
37072014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
3708
3709 * catgets/test-gencat.c: Use test-skeleton.c.
3710 * catgets/tst-catgets.c: Likewise.
3711 * csu/tst-empty.c: Likewise.
3712 * elf/tst-audit2.c: Likewise.
3713 * elf/tst-global1.c: Likewise.
3714 * elf/tst-pathopt.c: Likewise.
3715 * elf/tst-piemod1.c: Likewise.
3716 * elf/tst-tls10.c: Likewise.
3717 * elf/tst-tls11.c: Likewise.
3718 * elf/tst-tls12.c: Likewise.
3719 * gnulib/tst-gcc.c: Likewise.
3720 * iconvdata/tst-e2big.c: Likewise.
3721 * iconvdata/tst-loading.c: Likewise.
3722 * iconv/tst-iconv1.c: Likewise.
3723 * iconv/tst-iconv2.c: Likewise.
3724 * inet/test-inet6_opt.c: Likewise.
3725 * inet/tst-gethnm.c: Likewise.
3726 * inet/tst-network.c: Likewise.
3727 * inet/tst-ntoa.c: Likewise.
3728 * intl/tst-codeset.c: Likewise.
3729 * intl/tst-gettext2.c: Likewise.
3730 * intl/tst-gettext3.c: Likewise.
3731 * intl/tst-ngettext.c: Likewise.
3732 * intl/tst-translit.c: Likewise.
3733 * io/test-stat.c: Likewise.
3734 * libio/test-fmemopen.c: Likewise.
3735 * libio/tst-freopen.c: Likewise.
3736 * libio/tst-sscanf.c: Likewise.
3737 * libio/tst-ungetwc1.c: Likewise.
3738 * libio/tst-ungetwc2.c: Likewise.
3739 * libio/tst-widetext.c: Likewise.
3740 * localedata/tst-ctype.c: Likewise.
3741 * localedata/tst-digits.c: Likewise.
3742 * localedata/tst-leaks.c: Likewise.
3743 * localedata/tst-mbswcs1.c: Likewise.
3744 * localedata/tst-mbswcs2.c: Likewise.
3745 * localedata/tst-mbswcs3.c: Likewise.
3746 * localedata/tst-mbswcs4.c: Likewise.
3747 * localedata/tst-mbswcs5.c: Likewise.
3748 * localedata/tst-setlocale.c: Likewise.
3749 * localedata/tst-trans.c: Likewise.
3750 * localedata/tst-wctype.c: Likewise.
3751 * localedata/tst-xlocale1.c: Likewise.
3752 * login/tst-grantpt.c: Likewise.
3753 * malloc/tst-calloc.c: Likewise.
3754 * malloc/tst-malloc.c: Likewise.
3755 * malloc/tst-mallocstate.c: Likewise.
3756 * malloc/tst-mcheck.c: Likewise.
3757 * malloc/tst-mtrace.c: Likewise.
3758 * malloc/tst-obstack.c: Likewise.
3759 * math/atest-exp2.c: Likewise.
3760 * math/atest-exp.c: Likewise.
3761 * math/atest-sincos.c: Likewise.
3762 * math/test-matherr.c: Likewise.
3763 * math/test-misc.c: Likewise.
3764 * math/test-powl.c: Likewise.
3765 * math/tst-definitions.c: Likewise.
3766 * misc/tst-dirname.c: Likewise.
3767 * misc/tst-efgcvt.c: Likewise.
3768 * misc/tst-fdset.c: Likewise.
3769 * misc/tst-hsearch.c: Likewise.
3770 * misc/tst-mntent2.c: Likewise.
3771 * nptl/tst-sem7.c: Likewise.
3772 * nptl/tst-sem8.c: Likewise.
3773 * nptl/tst-sem9.c: Likewise.
3774 * nss/test-netdb.c: Likewise.
3775 * posix/tst-fnmatch.c: Likewise.
3776 * posix/tst-getlogin.c: Likewise.
3777 * posix/tst-gnuglob.c: Likewise.
3778 * posix/tst-mmap.c: Likewise.
3779 * pwd/tst-getpw.c: Likewise.
3780 * resolv/tst-inet_ntop.c: Likewise.
3781 * rt/tst-timer.c: Likewise.
3782 * stdio-common/test-fseek.c: Likewise.
3783 * stdio-common/test-popen.c: Likewise.
3784 * stdio-common/test-vfprintf.c: Likewise.
3785 * stdio-common/tst-cookie.c: Likewise.
3786 * stdio-common/tst-fileno.c: Likewise.
3787 * stdio-common/tst-gets.c: Likewise.
3788 * stdio-common/tst-obprintf.c: Likewise.
3789 * stdio-common/tst-perror.c: Likewise.
3790 * stdio-common/tst-sprintf2.c: Likewise.
3791 * stdio-common/tst-sprintf3.c: Likewise.
3792 * stdio-common/tst-sprintf.c: Likewise.
3793 * stdio-common/tst-swprintf.c: Likewise.
3794 * stdio-common/tst-tmpnam.c: Likewise.
3795 * stdio-common/tst-unbputc.c: Likewise.
3796 * stdio-common/tst-wc-printf.c: Likewise.
3797 * stdlib/tst-environ.c: Likewise.
3798 * stdlib/tst-fmtmsg.c: Likewise.
3799 * stdlib/tst-limits.c: Likewise.
3800 * stdlib/tst-rand48-2.c: Likewise.
3801 * stdlib/tst-rand48.c: Likewise.
3802 * stdlib/tst-random2.c: Likewise.
3803 * stdlib/tst-random.c: Likewise.
3804 * stdlib/tst-strtol.c: Likewise.
3805 * stdlib/tst-strtoll.c: Likewise.
3806 * stdlib/tst-tls-atexit.c: Likewise.
3807 * stdlib/tst-xpg-basename.c: Likewise.
3808 * string/test-ffs.c: Likewise.
3809 * string/tst-bswap.c: Likewise.
3810 * string/tst-inlcall.c: Likewise.
3811 * string/tst-strtok.c: Likewise.
3812 * string/tst-strxfrm.c: Likewise.
3813 * sysdeps/x86_64/tst-audit10.c: Likewise.
3814 * sysdeps/x86_64/tst-audit3.c: Likewise.
3815 * sysdeps/x86_64/tst-audit4.c: Likewise.
3816 * sysdeps/x86_64/tst-audit5.c: Likewise.
3817 * time/tst-ftime_l.c: Likewise.
3818 * time/tst-getdate.c: Likewise.
3819 * time/tst-mktime3.c: Likewise.
3820 * time/tst-mktime.c: Likewise.
3821 * time/tst-posixtz.c: Likewise.
3822 * time/tst-strptime2.c: Likewise.
3823 * time/tst-strptime3.c: Likewise.
3824 * wcsmbs/tst-btowc.c: Likewise.
3825 * wcsmbs/tst-mbrtowc.c: Likewise.
3826 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3827 * wcsmbs/tst-wchar-h.c: Likewise.
3828 * wcsmbs/tst-wcpncpy.c: Likewise.
3829 * wcsmbs/tst-wcrtomb.c: Likewise.
3830 * wcsmbs/tst-wcsnlen.c: Likewise.
3831 * wcsmbs/tst-wcstof.c: Likewise.
3832
2004e7fb
JM
38332014-11-04 Joseph Myers <joseph@codesourcery.com>
3834
ab97ee8f
JM
3835 [BZ #14132]
3836 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3837 INTDEF.
3838 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3839 declaration.
3840 (_dl_mcount): Use rtld_hidden_proto.
3841 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3842 _dl_mcount.
3843 * elf/rtld.c (_rtld_global_ro): Likewise.
3844
c5684fdb
JM
3845 [BZ #14132]
3846 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3847 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3848 of _dl_init_internal.
3849 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3850 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3851 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3852 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3853 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3854 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3855 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3856 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3857 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3858 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3859 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3860 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3861 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3862 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3863 * sysdeps/tile/dl-start.S (_start): Likewise.
3864 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3865 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3866
4243cbea
JM
3867 [BZ #14132]
3868 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3869 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3870 (rtld_progname): Make macro definition unconditional.
3871 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3872 INTDEF.
3873 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3874 (dl_main): Likewise.
3875 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3876 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3877 instead of _dl_argv_internal.
3878 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3879 __GI__dl_argv instead of INTUSE(_dl_argv).
3880 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3881 __GI__dl_argv instead of _dl_argv_internal.
3882
2004e7fb
JM
3883 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3884 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3885 macro.
3886 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3887 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3888 New macro.
3889 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3890 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3891 macro.
3892 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3893 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3894
97827bfc
AS
38952014-11-04 Andreas Schwab <schwab@suse.de>
3896
3897 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3898
5e4df284
AZ
38992014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3900
3901 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3902 mtvsrd instruction in binary form.
3903
04b76b5a
AS
39042014-11-03 Andreas Schwab <schwab@suse.de>
3905
3906 [BZ #17522]
3907 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3908 for less than MB_LEN_MAX use a local buffer of that size.
3909 * libio/tst-fputws.c: New file.
3910 * libio/Makefile (tests): Add tst-fputws.
3911
4c6da7da
JM
39122014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3913
3914 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3915 the size of the fpu_fr.fpu_dregs[] array.
3916
1679ba8e
JM
39172014-11-01 Joseph Myers <joseph@codesourcery.com>
3918
3919 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3920 (__nanosleep): Do not define as alias.
3921 (nanosleep): Define as alias of __nanosleep.
3922 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3923 __libc_nanosleep name.
3924
2626c183
JM
39252014-10-31 Joseph Myers <joseph@codesourcery.com>
3926
3927 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3928 install.texi in comment.
3929
7f981fc2
TR
39302014-10-31 Torvald Riegel <triegel@redhat.com>
3931
3932 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3933 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3934 ... add here and use lwsync or sync ...
3935 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3936 ... and add here using lwsync.
3937
d6f373d2
MF
39382014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3939
3940 * elf/dl-machine-reject-phdr.h: New file.
3941 * elf/dl-load.c: #include that.
3942 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3943 if that returned true.
3944
67c37987
RM
39452014-10-31 Roland McGrath <roland@hack.frob.com>
3946
3947 [BZ #17496]
3948 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3949 gen-as-const-headers chunk. Add a big scare comment after the last
3950 safe place to touch before-compile.
3951
94a42455 39522014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 3953
f3f5d895
JM
3954 * manual/install.texi (Tools for Compilation): Update autoconf
3955 version requirements.
3956 * INSTALL: Regenerated.
3957
f62ff286
JM
3958 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3959 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3960 (__libc_pselect): Likewise.
94a42455
JM
3961
3962 [BZ #14138]
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3967
ff9dbdc0
TR
39682014-10-31 Torvald Riegel <triegel@redhat.com>
3969
3970 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3971 correct barrier instruction.
3972 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3973 Likewise.
3974 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3975 Likewise.
3976
b4f66884
RM
39772014-10-30 Roland McGrath <roland@hack.frob.com>
3978
3979 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3980 after defining inlines. Instead, just use parens to defeat macro
3981 expansion of __isctype in its declaration.
3982
e19c95fd
JM
39832014-10-30 Joseph Myers <joseph@codesourcery.com>
3984
3985 * include/sys/uio.h (__libc_readv): Remove declaration.
3986 (__libc_writev): Likewise.
3987 * misc/readv.c (__libc_readv): Rename to __readv.
3988 (__readv): Do not define as alias.
3989 (readv): Define as alias of __readv.
3990 * misc/writev.c (__libc_writev): Rename to __writev.
3991 (__writev): Do not define as alias.
3992 (writev): Define as alias of __writev.
3993 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3994 (__readv): Do not define as alias.
3995 (readv): Define unconditionally as alias of __readv.
3996 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3997 (__writev): Do not define as alias.
3998 (writev): Define unconditionally as alias of __writev.
3999 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4000 name.
4001 (writev): Do not define __libc_writev name.
4002
65b00b6c
RM
40032014-10-30 Roland McGrath <roland@hack.frob.com>
4004
4005 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4006 (convert_charseq): New function, broken out of ...
4007 (use_from_charmap): ... here. Call it.
4008 (use_to_charmap): Use convert_charseq and free instead of duplicating
4009 its code with a variable-length stack struct.
4010
d4e157aa
JM
40112014-10-30 Joseph Myers <joseph@codesourcery.com>
4012
4013 * include/fcntl.h (__libc_creat): Remove declaration.
4014 * io/creat.c (__libc_creat): Rename to creat.
4015 (creat): Do not define as alias.
4016 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4017 of creat instead of __libc_creat.
4018 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4019 to creat.
4020 (creat): Do not define as alias.
4021 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4022 __libc_creat.
4023 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4024 __libc_creat name.
4025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4026 Likewise.
4027
0c6891a0
CD
40282014-10-29 Carlos O'Donell <carlos@redhat.com>
4029
4030 * manual/llio.texi: Add comments discussing why write() may be
4031 considered MT-unsafe on Linux.
4032
cc00cece
CD
40332014-10-28 Carlos O'Donell <carlos@redhat.com>
4034
4035 * dl-load.c (local_strdup): Remove.
4036 (expand_dynamic_string_token): Use __strdup.
4037 (decompose_rpath): Likewise.
4038 (_dl_map_object): Likewise.
4039
51e623f2
JM
40402014-10-28 Joseph Myers <joseph@codesourcery.com>
4041
4042 [BZ #14132]
4043 * sysdeps/generic/unwind-dw2-fde.c
4044 (__register_frame_info_bases_internal): Do not declare.
4045 (__register_frame_info_table_bases_internal): Likewise.
4046 (__deregister_frame_info_bases_internal): Likewise.
4047 (__register_frame_info_bases): Declare and use hidden_proto before
4048 definition. Use hidden_def instead of INTDEF.
4049 (__register_frame_info_table_bases): Likewise.
4050 (__deregister_frame_info_bases): Likewise.
4051 (__register_frame_info): Do not use INTUSE.
4052 (__register_frame): Likewise.
4053 (__register_frame_info_table): Likewise.
4054 (__register_frame_table): Likewise.
4055 (__deregister_frame_info): Likewise.
4056 (__deregister_frame): Likewise.
4057
03d41216
GC
40582014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4059
4060 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4061 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4062 not undefine.
4063 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4064 Likewise.
4065 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4066 Likewise.
4067
a4b3624d
JM
40682014-10-27 Joseph Myers <joseph@codesourcery.com>
4069
4070 [BZ #14138]
4071 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4072 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4073 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4074 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4075 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4076 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4077 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4078 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4079 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4080 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4081 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4082 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4083 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4084 syscall.
4085 (setfsuid): Likewise.
4086 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4087 (setfsuid): Likewise.
4088 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4089 (setfsuid): Likewise.
4090 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4091 Likewise.
4092 (setfsuid): Likewise.
4093 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4094 (setfsuid): Likewise.
4095 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4096 Likewise.
4097 (setfsuid): Likewise.
4098
3574f2fd
AS
40992014-10-27 Andreas Schwab <schwab@suse.de>
4100
4101 [BZ #17501]
4102 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4103 check for Slow_SSE4_2 feature bit.
4104 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4105 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4106 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4107 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4108
70996a37
RM
41092014-10-24 Roland McGrath <roland@hack.frob.com>
4110
461a7b1e
RM
4111 * configure.ac: Validate compiler version with a empirical test of
4112 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4113 $CC -v output.
4114 * configure: Regenerated.
4115
70996a37
RM
4116 * inet/htons.c (htons): Prototypify.
4117 * inet/htonl.c (htonl): Likewise.
4118
e80514b5
WD
41192014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4120
4121 * string/strncat.c (strncat): Improve performance by using strlen.
4122
6e46de42
WD
41232014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4124
4125 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4126
6a9ad2fa
WD
41272014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4128
4129 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4130 Call libc_fetestexcept_aarch64.
4131
1c8810ed
WD
41322014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4133
4134 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4135 Call libc_feholdexcept_aarch64.
4136
8b1af712
WD
41372014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4138
4139 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4140 Call get_rounding_mode.
4141
a7b00c11
WD
41422014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4143
4144 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4145 Simplify logic.
4146
3a84f1a6
WD
41472014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4148
4149 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4150 Simplify logic.
4151
48eb7a94
JM
41522014-10-24 Joseph Myers <joseph@codesourcery.com>
4153
c8bc4038
JM
4154 [BZ #14138]
4155 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4156 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4157 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4158 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4159 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4160 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4161 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4162 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4163 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4164 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4165 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4167 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4168 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4169 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4170 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4171 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4172 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4173 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4174 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4175 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4176 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4177 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4178 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4179 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4180 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4181 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4182 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4183 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4184 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4185 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4186 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4187 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4188 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4189 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4190 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4191 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4192 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4193 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4194 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4195 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4196 syscall.
4197 (geteuid): Likewise.
4198 (getgid): Likewise.
4199 (getuid): Likewise.
4200 (getresgid): Likewise.
4201 (getresuid): Likewise.
4202 (getgroups): Likewise.
4203 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4204 (geteuid): Likewise.
4205 (getgid): Likewise.
4206 (getuid): Likewise.
4207 (getresgid): Likewise.
4208 (getresuid): Likewise.
4209 (getgroups): Likewise.
4210 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4211 (geteuid): Likewise.
4212 (getgid): Likewise.
4213 (getuid): Likewise.
4214 (getresgid): Likewise.
4215 (getresuid): Likewise.
4216 (getgroups): Likewise.
4217 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4218 Likewise.
4219 (geteuid): Likewise.
4220 (getgid): Likewise.
4221 (getuid): Likewise.
4222 (getresgid): Likewise.
4223 (getresuid): Likewise.
4224 (getgroups): Likewise.
4225 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4226 (geteuid): Likewise.
4227 (getgid): Likewise.
4228 (getuid): Likewise.
4229 (getresgid): Likewise.
4230 (getresuid): Likewise.
4231 (getgroups): Likewise.
4232 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4233 Likewise.
4234 (geteuid): Likewise.
4235 (getgid): Likewise.
4236 (getuid): Likewise.
4237 (getgroups): Likewise.
4238
48eb7a94
JM
4239 [BZ #14138]
4240 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4241 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4242 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4243 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4244 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4245 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4246 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4247 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4248 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4249 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4250 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4251 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4252 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4253 __chown.
4254 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4255 (lchown): Likewise.
4256 (fchown): Likewise.
4257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4258 Likewise.
4259 (lchown): Likewise.
4260 (fchown): Likewise.
4261 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4262 (lchown): Likewise.
4263 (fchown): Likewise.
4264 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4265 Likewise.
4266 (lchown): Likewise.
4267 (fchown): Likewise.
4268
ea9a7c8b
WD
42692014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4270
4271 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4272 Simplify logic.
4273
e226de33
WD
42742014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4275
4276 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4277 Cleanup logic.
4278
6e3d8ed3
WD
42792014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4280
4281 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4282 Remove unused include.
4283
eb04247d
WD
42842014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4285
4286 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4287 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4288 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4289 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4290
13d84554
CD
42912014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4292 Helge Deller <deller@gmx.de>
4293
4294 [BZ #17508]
4295 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4296 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4297 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4298
15f9c5df
JM
42992014-10-23 Joseph Myers <joseph@codesourcery.com>
4300
4301 [BZ #14132]
4302 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4303 Remove macro definition.
4304 (__ashrdi3_v_glibc20): Likewise.
4305 (__lshrdi3_v_glibc20): Likewise.
4306 (__cmpdi2_v_glibc20): Likewise.
4307 (__ucmpdi2_v_glibc20): Likewise.
4308 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4309 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4310 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4311 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4312 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4313 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4314
c6dfed24
RM
43152014-10-22 Roland McGrath <roland@hack.frob.com>
4316
4317 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4318 old GNU extension [0] syntax.
4319 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4320 alloca rather than an array member with variable length.
4321 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4322 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4323 (parse_opt): ... here. Likewise use alloca there.
4324 Validate the -i argument before checking for rootness.
4325 (send_shutdown): New function, broken out of ...
4326 (parse_opt): ... here.
4327
8c2b1ed8
RM
43282014-10-22 Roland McGrath <roland@hack.frob.com>
4329
4330 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4331 macro to get at the _rt_local_ro field.
4332 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4333 ([PIC] case) or _dl_hwcap ([!PIC] case).
4334 * sysdeps/arm/setjmp.S: Likewise.
4335
4336 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4337 * sysdeps/arm/configure.ac: New check to define it.
4338 * sysdeps/arm/configure: Regenerated.
4339 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4340 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4341 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4342 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4343 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4344 Use move/movt pair instead of a load.
4345 (LDST_GLOBAL): Macro removed.
4346 (LDR_GLOBAL): New macro replaces it.
4347 (LDR_HIDDEN): New macro.
4348 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4349 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4350
4351 * setjmp/tst-setjmp-static.c: New file.
4352 * setjmp/Makefile (tests): Add it.
4353 (tests-static): New variable.
4354
b5af9297
MR
43552014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4356
4357 [BZ #17485]
4358 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4359
a13d0d74
JM
43602014-10-21 Joseph Myers <joseph@codesourcery.com>
4361
4362 [BZ #14132]
4363 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4364
f05e73f6
RM
43652014-10-21 Roland McGrath <roland@hack.frob.com>
4366
4367 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4368
6ab1d1ea
RM
43692014-10-20 Roland McGrath <roland@hack.frob.com>
4370
4371 * io/fts.c (dirent_not_directory): New function.
4372 (fts_build): Call it.
4373
ab49e763
RM
43742014-10-20 Roland McGrath <roland@hack.frob.com>
4375
e436eb79
RM
4376 * nptl/version.c (__nptl_main): Use normal __write rather than
4377 INTERNAL_SYSCALL.
4378 (banner): Update copyright years.
4379
6af246cf
RM
4380 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4381 gettimeofday.
4382 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4383 * nptl/pthread_cond_timedwait.c: Likewise.
4384 * nptl/pthread_mutex_timedlock.c: Likewise.
4385 * nptl/sem_timedwait.c: Likewise.
4386
ab49e763
RM
4387 * sysdeps/nptl/bits/libc-lock.h
4388 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4389 (__libc_lock_init_recursive): Return void, not 0.
4390 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4391 (__libc_rwlock_init): Likewise.
4392 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4393
f50277c1
TR
43942014-10-20 Torvald Riegel <triegel@redhat.com>
4395
4396 [BZ #15215]
4397 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4398 (__pthread_once_slow): ... here.
4399 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4400 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4401
63668b70
TR
44022014-10-20 Torvald Riegel <triegel@redhat.com>
4403
4404 [BZ #15215]
4405 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4406 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4407 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4408 * nptl/pthread_once.c (__pthread_once): Likewise.
4409 Update comments.
4410
42b7f5d4
JM
44112014-10-20 Joseph Myers <joseph@codesourcery.com>
4412
4413 [BZ #14138]
4414 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4415 name.
4416 (writev): Use __libc_writev as strong name.
4417 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4418 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4419
b0643088
RM
44202014-10-17 Roland McGrath <roland@hack.frob.com>
4421
114c4e09
RM
4422 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4423
674b8978
RM
4424 * sysdeps/i386/nptl/tls.h
4425 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4426 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4427 New macros.
4428 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4429 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4430 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4431 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4432 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4433 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4434
184ee940
RM
4435 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4436 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4437 on [__NR_futex].
4438 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4439 broken out of ...
4440 (__pthread_mutex_init): ... here. Call it.
4441 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4442 Conditionalize PI cases on [__NR_futex].
4443 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4444 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4445 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4446
327ae257
RM
4447 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4448 conditional on [SIGSETXID].
4449 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4450 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4451 is defined. Likewise for SIGSETXID.
4452 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4453 Conditionalize definitions on [SIGSETXID].
4454 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4455 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4456 unblocking on [SIGCANCEL].
4457
b0643088
RM
4458 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4459 [__NR_set_robust_list].
4460
33cc770b
SP
44612014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4462
4463 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4464 (do_compare): Likewise.
4465
0742aef6
LH
44662014-10-17 Leonhard Holz <leonhard.holz@web.de>
4467
4468 [BZ #15884]
4469 * string/strcoll_l.c: Don't include stdio.h.
4470 (coll_seq): Remove members idxarr and rulearr.
4471 (get_next_seq_cached): Remove function.
4472 (get_next_seq): Likewise.
4473 (get_next_seq_nocache): Rename to get_next_seq.
4474 (do_compare): Remove function.
4475 (do_compare_nocache): Rename to do_compare.
4476 (STRCOLL): Remove weight and rules cache.
4477
ee54ce44
RM
44782014-10-16 Roland McGrath <roland@hack.frob.com>
4479
4480 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4481 * sysdeps/arm/sfp-machine.h: ... to here.
4482 * sysdeps/arm/Implies: Remove arm/soft-fp.
4483
a75d3b02
JM
44842014-10-14 Joseph Myers <joseph@codesourcery.com>
4485
4486 * conform/data/sys/utsname.h-data (*_t): Allow.
4487 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4488 [POSIX] (WEXITED): Do not expect constant.
4489 [POSIX] (WSTOPPED): Likewise.
4490 [POSIX] (WNOHANG): Likewise.
4491 [POSIX] (WNOWAIT): Likewise.
4492 [POSIX] (siginfo_t): Do not expect type or elements.
4493 [POSIX] (pid_t): Do not expect type.
4494 [POSIX] (signal.h): Do not allow header.
4495 [POSIX] (sys/resource.h): Likewise.
4496 [POSIX] (si_*): Do not allow pattern.
4497 [POSIX] (W*): Likewise.
4498 [POSIX] (P_*): Likewise.
4499 [POSIX] (BUS_*): Likewise.
4500 [POSIX] (CLD_*): Likewise.
4501 [POSIX] (FPE_*): Likewise.
4502 [POSIX] (ILL_*): Likewise.
4503 [POSIX] (POLL_*): Likewise.
4504 [POSIX] (SEGV_*): Likewise.
4505 [POSIX] (SI_*): Likewise.
4506 [POSIX] (TRAP_*): Likewise.
4507 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4508 variable.
4509
fda389c8
SP
45102014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4511
4512 [BZ #12926]
4513 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4514 infinite loop when __recvmsg returns 0.
4515
6bc6bd3b
JM
45162014-10-10 Joseph Myers <joseph@codesourcery.com>
4517
fcb32af1
JM
4518 * CANCEL-FCT-WAIVE: Remove file.
4519 * CANCEL-FILE-WAIVE: Likewise.
4520
6bc6bd3b
JM
4521 [BZ #14132]
4522 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4523 instead of INTVARDEF.
4524 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4525 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4526 rtld_hidden_data_def instead of INTVARDEF.
4527 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4528 * elf/dl-deps.c (expand_dst): Likewise.
4529 * elf/dl-load.c (_dl_dst_count): Likewise.
4530 (_dl_dst_substitute): Likewise.
4531 (decompose_rpath): Likewise.
4532 (_dl_init_paths): Likewise.
4533 (open_path): Likewise.
4534 (_dl_map_object): Likewise.
4535 * elf/rtld.c (dl_main): Likewise.
4536 (process_dl_audit): Likewise.
4537 (process_envvars): Likewise.
4538 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4539 Remove declaration.
4540 (__libc_enable_secure): Use rtld_hidden_proto.
4541
b8c80a7e
KS
45422014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4543
4544 * elf/dl-load.c
4545 (add_path): New function broken out of _dl_rtld_di_serinfo.
4546 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4547
ff12c11f
JM
45482014-10-09 Joseph Myers <joseph@codesourcery.com>
4549
5c0508a3
JM
4550 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4551 parentheses around macro arguments.
4552 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4553 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4554 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4555 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4556 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4557 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4558 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4559 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4560 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4561 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4562 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4563 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4564 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4565 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4566 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4567 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4568 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4569 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4570 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4571 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4572 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4573 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4574 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4575 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4576 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4577 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4578 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4579 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4580 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4581 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4582 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4583 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4584 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4585 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4586 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4587 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4588 Likewise.
4589 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4590 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4591 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4592 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4593 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4594 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4595 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4596 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4597 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4598 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4599 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4600 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4601 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4602 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4603 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4604 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4605 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4606 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4607 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4608 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4609 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4610 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4611 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4612 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4613 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4614 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4615 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4616 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4617 (_FP_FRAC_SRS_1): Likewise.
4618 (_FP_FRAC_CLZ_1): Likewise.
4619 (_FP_MUL_MEAT_1_imm): Likewise.
4620 (_FP_MUL_MEAT_1_wide): Likewise.
4621 (_FP_MUL_MEAT_1_hard): Likewise.
4622 (_FP_SQRT_MEAT_1): Likewise.
4623 (_FP_FRAC_ASSEMBLE_1): Likewise.
4624 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4625 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4626 (__FP_CLZ_2): Likewise.
4627 (_FP_MUL_MEAT_2_wide): Likewise.
4628 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4629 (_FP_MUL_MEAT_2_gmp): Likewise.
4630 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4631 (_FP_SQRT_MEAT_2): Likewise.
4632 (_FP_FRAC_ASSEMBLE_2): Likewise.
4633 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4634 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4635 (_FP_FRAC_CLZ_4): Likewise.
4636 (_FP_MUL_MEAT_4_wide): Likewise.
4637 (_FP_MUL_MEAT_4_gmp): Likewise.
4638 (_FP_SQRT_MEAT_4): Likewise.
4639 (_FP_FRAC_ASSEMBLE_4): Likewise.
4640 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4641 * soft-fp/op-common.h (_FP_CMP): Likewise.
4642 (_FP_CMP_EQ): Likewise.
4643 (_FP_CMP_UNORD): Likewise.
4644 (_FP_TO_INT): Likewise.
4645 (_FP_FROM_INT): Likewise.
4646 [!__FP_CLZ] (__FP_CLZ): Likewise.
4647 (_FP_DIV_HELP_imm): Likewise.
4648 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4649 Likewise.
4650 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4651 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4652 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4653 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4654 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4655 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4656 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4657 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4658 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4659 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4660 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4661 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4662 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4663 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4664 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4665 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4666 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4667 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4668 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4669 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4670 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4672 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4673 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4674 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4675 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4676 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4677 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4679 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4680 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4681 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4682 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4683 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4684 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4685 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4686 (FP_UNPACK_RAW_SP): Likewise.
4687 (FP_PACK_RAW_S): Likewise.
4688 (FP_PACK_RAW_SP): Likewise.
4689 (FP_UNPACK_S): Likewise.
4690 (FP_UNPACK_SP): Likewise.
4691 (FP_UNPACK_SEMIRAW_S): Likewise.
4692 (FP_UNPACK_SEMIRAW_SP): Likewise.
4693 (FP_PACK_S): Likewise.
4694 (FP_PACK_SP): Likewise.
4695 (FP_PACK_SEMIRAW_S): Likewise.
4696 (FP_PACK_SEMIRAW_SP): Likewise.
4697 (_FP_SQRT_MEAT_S): Likewise.
4698 (FP_CMP_S): Likewise.
4699 (FP_CMP_EQ_S): Likewise.
4700 (FP_CMP_UNORD_S): Likewise.
4701 (FP_TO_INT_S): Likewise.
4702 (FP_FROM_INT_S): Likewise.
4703
a736ec37
JM
4704 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4705
ff12c11f
JM
4706 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4707 (FP_EX_INVALID_IMZ): Likewise.
4708 (FP_EX_INVALID_IMZ_FMA): Likewise.
4709 (FP_EX_INVALID_ISI): Likewise.
4710 (FP_EX_INVALID_ZDZ): Likewise.
4711 (FP_EX_INVALID_IDI): Likewise.
4712 (FP_EX_INVALID_SQRT): Likewise.
4713 (FP_EX_INVALID_CVI): Likewise.
4714 (FP_EX_INVALID_VC): Likewise.
4715 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4716 "invalid" exceptions.
4717 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4718 (_FP_ADD_INTERNAL): Likewise.
4719 (_FP_MUL): Likewise.
4720 (_FP_FMA): Likewise.
4721 (_FP_DIV): Likewise.
4722 (_FP_CMP_CHECK_NAN): Likewise.
4723 (_FP_SQRT): Likewise.
4724 (_FP_TO_INT): Likewise.
4725 (FP_EXTEND): Likewise.
4726
b6dcfe8c
AM
47272014-10-09 Allan McRae <allan@archlinux.org>
4728
4729 * po/fr.po: Update French translation from translation project.
4730
2d6a47ba
JM
47312014-10-09 Joseph Myers <joseph@codesourcery.com>
4732
cb831245
JM
4733 [BZ #14132]
4734 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4735 of INTDEF.
4736 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4737 (__cxa_atexit): Use libc_hidden_proto.
4738 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4739
5deeb190
JM
4740 [BZ #14132]
4741 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4742 declaration.
4743 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4744 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4745 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4746 [!_ISOMAC] (__iswctype_internal): Likewise.
4747 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4748 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4749 alias.
4750 (fcntl): Remove __fcntl_internal alias.
4751 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4752 __connect_internal alias.
4753 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4754 Likewise.
4755
454ac701
JM
4756 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4757 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4758 FP_DENORM_ZERO.
4759 (_FP_CHECK_FLUSH_ZERO): New macro.
4760 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4761 (_FP_CMP): Likewise.
4762 (_FP_CMP_EQ): Likewise.
4763 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4764 FP_DENORM_ZERO.
4765 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4766 (FP_TRUNC): Likewise.
4767
0022e688
JM
4768 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4769 treated as invalid conversion, not as normal exponent.
4770
73e28d9c
JM
4771 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4772 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4773 (_FP_CMP_EQ): Likewise.
4774 (_FP_CMP_UNORD): Likewise.
4775 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4776 (FP_CMP_EQ_D): Likewise.
4777 (FP_CMP_UNORD_D): Likewise.
4778 * soft-fp/extended.h (FP_CMP_E): Likewise.
4779 (FP_CMP_EQ_E): Likewise.
4780 (FP_CMP_UNORD_E): Likewise.
4781 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4782 (FP_CMP_EQ_Q): Likewise.
4783 (FP_CMP_UNORD_Q): Likewise.
4784 * soft-fp/single.h (FP_CMP_S): Likewise.
4785 (FP_CMP_EQ_S): Likewise.
4786 (FP_CMP_UNORD_S): Likewise.
4787 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4788 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4789 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4790 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4791 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4792 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4793 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4794 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4795 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4796 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4797 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4798 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4799 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4800 to FP_CMP_Q.
4801 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4802 FP_CMP_Q.
4803 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4804 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4805 FP_CMP_EQ_Q.
4806 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4807 FP_CMP_Q.
4808 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4809 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4810 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4811 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4812 FP_CMP_EQ_Q.
4813 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4814 FP_CMP_Q.
4815 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4816 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4817 FP_CMP_EQ_Q.
4818 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4819 FP_CMP_Q.
4820 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4821 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4822 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4823 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4824 FP_CMP_EQ_Q.
4825
43059f42
JM
4826 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4827 a subnormal result, set the underflow exception if trapping on
4828 underflow is enabled.
4829 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4830 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4831 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4832 redefine to 0.
4833 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4834 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4835 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4836 * soft-fp/extendxftf2.c (__extendxftf2): Use
4837 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4838
2d6a47ba
JM
4839 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4840 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4841 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4842 FP_HANDLE_EXCEPTIONS.
4843 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4844 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4845 FP_HANDLE_EXCEPTIONS.
4846 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4847 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4848 FP_HANDLE_EXCEPTIONS.
4849 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4850 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4851 FP_HANDLE_EXCEPTIONS.
4852
620f462e
JM
48532014-10-08 Joseph Myers <joseph@codesourcery.com>
4854
4855 [BZ #14132]
4856 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4857 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4858 use INTUSE.
4859 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4860 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4861 Remove alias.
4862 (__adjtimex): Define using libc_hidden_ver.
4863 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4864 Remove declaration.
4865 (ntp_gettime): Call __adjtimex directly.
4866 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4867 Remove declaration.
4868 (ntp_gettimex): Call __adjtimex directly.
4869 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4870 __adjtimex_internal alias.
4871
c763c5d2
RM
48722014-10-08 Roland McGrath <roland@hack.frob.com>
4873
4874 [BZ #17460]
4875 * nscd/nscd.c (more_help): Rewrite list of tables collection
4876 using xstrdup and asprintf.
4877
4878 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4879
7b8fb2b8
RM
48802014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4881 Roland McGrath <roland@hack.frob.com>
4882
4883 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4884 (do_lookup_unique): ... local function 'enter' here; update callers.
4885
abb280f7
JM
48862014-10-06 Joseph Myers <joseph@codesourcery.com>
4887
f7b42517
JM
4888 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4889 compat_symbol calls on [SHARED].
4890 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4891 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4892 Remove.
4893 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4894 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4895 (oldsetrlimit): Remove.
4896 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4898 (lchown): New syscall entry.
4899 (oldsetrlimit): Remove.
4900 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4901 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4902 (oldsetrlimit): Remove.
4903 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4904
abb280f7
JM
4905 [BZ #14138]
4906 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4907 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4908 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4909 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4910 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4911 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4912 (fchown): Likewise.
4913 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4914 (fchown): Likewise.
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4916 Likewise.
4917
47d46237
AZ
49182014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4919
4920 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4921 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4922 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4923 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4924 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4925 Likewise.
4926 (__old_sem_post): Likewise.
4927
49282014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 4929
845a7343
CM
4930 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4931 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4932 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4933 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4934 Use INLINE_VSYSCALL macro.
4935 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4936 __vdso_clock_gettime.
4937 * sysdeps/unix/sysv/linux/tile/init-first.c
4938 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4939 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4940 __vdso_clock_gettime.
4941
83d641ef
CM
4942 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4943 to set up frame more cleanly.
4944
d9cd52e6
CM
4945 * sysdeps/tile/memcmp.c: New file.
4946
4b68ea11
CM
4947 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4948
c86f7b80
CM
4949 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4950 * sysdeps/tile/tilegx/strcasestr.c: New file.
4951 * sysdeps/tile/tilegx/strnlen.c: New file.
4952 * sysdeps/tile/tilegx/strstr.c: New file.
4953
1c4c1a6f
CM
4954 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4955
99d86ea3
AS
49562014-10-06 Arjun Shankar <arjun.is@lostca.se>
4957
4958 * nptl/tst-setuid3.c: Write errors to stdout.
4959
06210a44
KS
49602014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4961
4962 * elf/dl-deps.c
4963 (preload): New functions broken out of _dl_map_object_deps.
4964 (_dl_map_object_deps): Remove a nested function. Update call sites.
4965
6268f532
JM
49662014-10-01 Joseph Myers <joseph@codesourcery.com>
4967
4968 [BZ #14138]
4969 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4970 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4971
b925285f
SE
49722014-10-01 Steve Ellcey <sellcey@mips.com>
4973
4974 * sysdeps/mips/strcmp.S: New.
4975
754a15c6
JM
49762014-09-30 Joseph Myers <joseph@codesourcery.com>
4977
4978 [BZ #14138]
4979 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4980 (linkat): Likewise.
4981 (mkdirat): Likewise.
4982 (readlinkat): Likewise.
4983 (renameat): Likewise.
4984 (symlinkat): Likewise.
4985 (unlinkat): Likewise.
4986 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4987 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4988 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4989 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4990 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4991 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4992 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4993
85bb81c9
WN
49942014-09-30 Will Newton <will.newton@linaro.org>
4995
dc6fe23b
WN
4996 * math/math.h: Define long double math functions if
4997 _LIBC_TEST is defined.
4998 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4999
85bb81c9
WN
5000 * localedata/Makefile: Move assignment to tests-special
5001 into an ifdef testing run-built-tests.
5002 * timezone/Makefile: Likewise.
5003
b7e02da4
JM
50042014-09-29 Joseph Myers <joseph@codesourcery.com>
5005
5006 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5007 with $(BASH) not $(SHELL).
5008
62058ce6
CD
50092014-09-29 Carlos O'Donell <carlos@redhat.com>
5010 Matthew LeGendre <legendre1@llnl.gov>
5011
5012 [BZ #17411]
5013 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5014 l_reloc_result.
5015
8e257a29
KS
50162014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5017
5018 * stdio-common/printf_fp.c
5019 (hack_digit): New function, broken out of ...
5020 (__printf_fp): ... local function here. Update call sites.
5021 hack_digit now takes an additional parameter that is a pointer
5022 to a struct of the referenced locals. Those locals moved inside
5023 the struct and references updated.
5024
f4a58f0d
L
50252014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5026
5027 * aclocal.m4: Require autoconf 2.69.
5028 * configure: Regenerated.
5029 * sysdeps/aarch64/configure: Likewise.
5030 * sysdeps/alpha/configure: Likewise.
5031 * sysdeps/arm/armv7/configure: Likewise.
5032 * sysdeps/arm/configure: Likewise.
5033 * sysdeps/ia64/configure: Likewise.
5034 * sysdeps/mach/configure: Likewise.
5035 * sysdeps/mips/configure: Likewise.
5036 * sysdeps/s390/configure: Likewise.
5037 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5039
5040 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5041 file.
5042 * sysdeps/ia64/configure.ac: Likewise.
5043
93ae1eba
JM
50442014-09-26 Joseph Myers <joseph@codesourcery.com>
5045
1810d3ab
JM
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5047 specify symbol version for ld.so. Do not include entry for
5048 libpthread.
5049 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5050 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5051 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5052
93ae1eba
JM
5053 [BZ #14171]
5054 * Makeconfig [$(build-shared) = yes]
5055 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5056 makefiles.
5057 [$(build-shared) = yes && $(soversions.mk-done) = t]
5058 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5059 [$(build-shared) = yes && $(soversions.mk-done) = t]
5060 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5061 to Makerules.
5062 [$(build-shared) = yes && $(soversions.mk-done) = t]
5063 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5064 here.
5065 [$(build-shared) = yes && $(soversions.mk-done) = t]
5066 (common-generated): Don't append gnu/lib-names.h and
5067 gnu/lib-names.stmp here.
5068 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5069 (lib-names-h-abi): New variable.
5070 [$(build-shared) = yes && $(soversions.mk-done) = t]
5071 (lib-names-stmp-abi): Likewise.
5072 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5073 abi-variants] (before-compile): Append
5074 $(common-objpfx)$(lib-names-h-abi).
5075 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5076 abi-variants] (common-generated): Append gnu/lib-names.h.
5077 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5078 abi-variants] (install-others-nosubdir): Depend on
5079 $(inst_includedir)/$(lib-names-h-abi).
5080 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5081 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5082 [$(build-shared) = yes && $(soversions.mk-done) = t]
5083 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5084 [$(build-shared) = yes && $(soversions.mk-done) = t]
5085 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5086 [$(build-shared) = yes && $(soversions.mk-done) = t]
5087 (common-generated): Append $(lib-names-h-abi) and
5088 $(lib-names-stmp-abi).
5089 * scripts/lib-names.awk: Do not handle multi being set.
5090 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5091 Remove variable.
5092 (abi-lp64_be-ld-soname): Likewise.
5093 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5094 Likewise.
5095 (abi-hard-ld-soname): Likewise.
5096 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5097 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5098 Remove variable.
5099 (abi-o32_hard-ld-soname): Likewise.
5100 (abi-o32_soft_2008-ld-soname): Likewise.
5101 (abi-o32_hard_2008-ld-soname): Likewise.
5102 (abi-n32_soft-ld-soname): Likewise.
5103 (abi-n32_hard-ld-soname): Likewise.
5104 (abi-n32_soft_2008-ld-soname): Likewise.
5105 (abi-n32_hard_2008-ld-soname): Likewise.
5106 (abi-n64_soft-ld-soname): Likewise.
5107 (abi-n64_hard-ld-soname): Likewise.
5108 (abi-n64_soft_2008-ld-soname): Likewise.
5109 (abi-n64_hard_2008-ld-soname): Likewise.
5110 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5111 Likewise.
5112 (abi-64-v2-ld-soname): Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5114 ld.so entries.
5115 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5116 variable.
5117 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5118 entry.
5119 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5120 variable.
5121 (abi-64-ld-soname): Likewise.
5122 (abi-x32-ld-soname): Likewise.
5123 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5124 entry.
5125 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5126
68870f12
JM
51272014-09-23 Joseph Myers <joseph@codesourcery.com>
5128
5129 [BZ #14138]
5130 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5131 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5132 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5133 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5134 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5135 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5136 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5137 syscall entry for GLIBC_2.2 symbol version.
5138 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5139 Likewise.
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5141 (setrlimit): Likewise.
5142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5143 Likewise.
5144
ea58f202
WN
51452014-09-23 Will Newton <will.newton@linaro.org>
5146
5147 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5148 _LINUX_ARM_SYSDEP_H include guard too.
5149 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5150 define.
5151
69eb9a18
RV
51522014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5153
5154 * sysdeps/unix/sysv/linux/eventfd.c:
5155 Make first argument unsigned.
5156 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5157 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5158
20e5a5f7
OB
51592014-09-20 Ondřej Bílka <neleai@seznam.cz>
5160
5161 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5162 * socket/sys/socket.h: Likewise
5163 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5164
d3c827e7
AK
51652014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5166
5167 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5168
fe1cc35a
AS
51692014-09-17 Arjun Shankar <arjun.is@lostca.se>
5170
5171 * time/tst-ftime.c: New test.
5172 * time/Makefile (tests): Add tst-ftime.
5173
4e8afe69
JM
51742014-09-17 Joseph Myers <joseph@codesourcery.com>
5175
c4fe3ea7
JM
5176 * soft-fp/extended.h: Fix comment formatting.
5177 * soft-fp/op-1.h: Likewise.
5178 * soft-fp/op-2.h: Likewise.
5179 * soft-fp/op-4.h: Likewise.
5180 * soft-fp/op-8.h: Likewise.
5181 * soft-fp/op-common.h: Likewise.
5182 * soft-fp/soft-fp.h: Likewise.
5183
4e8afe69
JM
5184 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5185
af296fcd
JM
51862014-09-16 Joseph Myers <joseph@codesourcery.com>
5187
5188 [BZ #6652]
5189 * Makeconfig (soversions-default-setname): Remove variable.
5190 ($(common-objpfx)soversions.i): Don't pass default_setname to
5191 soversions.awk.
5192 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5193 oldest_abi to abi-versions.awk.
5194 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5195 * config.make.in (oldest-abi): Remove variable.
5196 * configure.ac (--enable-oldest-abi): Remove configure option.
5197 * configure: Regenerated.
5198 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5199 text.
5200 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5201 * scripts/soversions.awk: Do not handle default_setname variable.
5202 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5203 variable.
5204 * sysdeps/mach/hurd/configure: Regenerated.
5205 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5206 variable.
5207 * sysdeps/unix/sysv/linux/configure: Regenerated.
5208
545583d6
SP
52092014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5210
d330b980
SP
5211 * elf/Makefile (CFLAGS-interp.c): Remove.
5212 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5213 path string.
5214 * elf/interp.c: Include generated runtime-linker.h
5215
02657da2
SP
5216 * Makerules (lib%.so): Don't include $(+interp) in
5217 prerequisites.
5218 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5219 * dlfcn/eval.c: Remove file.
5220
653b1080
SP
5221 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5222 macros.
5223
602f80ec
SP
5224 [BZ #17266]
5225 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5226 4.2 and newer.
5227
545583d6
SP
5228 [BZ #17370]
5229 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5230
884ddc50
SP
52312014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5232 Jakub Jelinek <jakub@redhat.com>
5233
5234 [BZ #17266]
5235 * libio/stdio.h: Check definition of __fortify_function
5236 instead of __extern_always_inline to include bits/stdio2.h.
5237 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5238 check if __extern_always_inline is defined.
5239 [__USE_MISC || __USE_XOPEN]: Likewise.
5240 [__USE_ISOC99] Likewise.
5241 * misc/sys/cdefs.h (__fortify_function): Define only if
5242 __extern_always_inline is defined.
5243 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5244 __extern_always_inline and __extern_inline only for g++-4.3
5245 and newer or a compatible gcc.
5246
a7b87268
AS
52472014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5248
5249 [BZ #17371]
5250 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5251 last change to handle zero prefix length.
5252
3f41521d
SP
52532014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5254
61fe374a
SP
5255 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5256 _SC_REGEX_VERSION.
5257
3f41521d
SP
5258 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5259 _POSIX_RAW_SOCKETS.
5260
d8f879ee
AM
52612014-09-13 Allan McRae <allan@archlinux.org>
5262
5263 * po/ru.po: Update Russian translation from translation project.
5264
c079afb7
RM
52652014-09-12 Roland McGrath <roland@hack.frob.com>
5266
a62b3c15
RM
5267 * locale/programs/locale.c (show_locale_vars): Inline local function
5268 into its sole call site. Clean up some style nits.
5269 (print_item): New function, broken out of ...
5270 (show_info): ... local function here. Clean up style nits.
5271
d7e49b19
RM
5272 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5273 out of ...
5274 (set_class_defaults): ... local function set_default here.
5275 Define set_default as a macro locally to pass constant parameters.
5276 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5277 rather than a shared local.
5278
c079afb7
RM
5279 * stdlib/rpmatch.c (try): New function, broken out of ...
5280 (rpmatch): ... local function here. Also, prototypify definition.
5281
0bd72468
JM
52822014-09-12 Joseph Myers <joseph@codesourcery.com>
5283
ba90e050
JM
5284 * scripts/soversions.awk: Do not handle configuration names.
5285 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5286 vendor and os variables to soversions.awk.
5287 * configure.ac: Do not modify gnu-* host_os.
5288 * configure: Regenerated
5289 * shlib-versions: Remove first column with configuration names.
5290 * nptl/shlib-versions: Likewise.
5291 * nptl_db/shlib-versions: Likewise.
5292 * sysdeps/hppa/shlib-versions: Likewise.
5293 * sysdeps/m68k/shlib-versions: Likewise.
5294 * sysdeps/mach/hurd/shlib-versions: Likewise.
5295 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5296 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5297 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5298 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5299 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5300 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5301 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5302 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5304 Likewise.
5305 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5306 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5307 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5308 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5309 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5310 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5311 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5312 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5313
73a39112
JM
5314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5315 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5317 Regenerated.
5318 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5320 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5321
c729e7c1
JM
5322 * shlib-versions: Remove OS-specific entries. Moved to files in
5323 sysdeps.
5324 * sysdeps/mach/hurd/shlib-versions: New file.
5325 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5326
dc932a24
JM
5327 * nptl/shlib-versions: Remove architecture-specific entries.
5328 Moved to files in sysdeps.
5329 * shlib-versions: Likewise.
5330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5331 file.
5332 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5333 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5334 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5335 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5336
0bd72468
JM
5337 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5338 (UDP_NO_CHECK6_RX): Likewise.
5339
920238e0
SP
53402014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5341
5342 * sysdeps/posix/sysconf.c (__sysconf): Spell
5343 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5344
ba7b4d29
FW
53452014-08-12 Florian Weimer <fweimer@redhat.com>
5346
5347 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5348 loading.
5349 * iconv/Versions (__gconv_transliterate): Export for use from
5350 gconv modules.
5351 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5352 (struct __gconv_trans_data, __gconv_trans_fct,
5353 __gconv_trans_context_fct, __gconv_trans_query_fct,
5354 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5355 definitions.
5356 (struct __gconv_step_data): Remove __trans member.
5357 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5358 longer hidden. Remove unused trans_data argument.
5359 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5360 (__gconv_translit_find): Remove declaration.
5361 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5362 prototype.
5363 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5364 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5365 trans_data argument. Add hidden definition.
5366 (__gconv_translit_find): Remove.
5367 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5368 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5369 * iconv/skeleton.c: Remove transliteration initialization.
5370 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5371 __gconv_step_data initialization.
5372 * libio/iofwide.c (__libio_translit_): Remove.
5373 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5374 * wcsmbs/btowc.c (__btowc): Likewise.
5375 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5376 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5377 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5378 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5379 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5380 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5381 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5382 * wcsmbs/wctob.c (wctob): Likewise.
5383
5379aebd
SP
53842014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5385
5386 [BZ #16194]
5387 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5388 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5389 register usage.
5390 * sysdeps/x86/Makefile: Adjust.
5391
8c0ab919
RM
53922014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5393 Roland McGrath <roland@hack.frob.com>
5394
5395 * locale/weight.h: Add include guard.
5396 (findidx): Make static rather than auto; take new parameters
5397 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5398 * locale/weightwc.h: Likewise.
5399 * posix/fnmatch_loop.c
5400 (FCT): Change type of EXTRA from int32_t to wint_t.
5401 Don't include either header inside the function.
5402 Call FINDIDX rather than findidx, and pass new arguments.
5403 #undef FINDIDX at the end of the file.
5404 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5405 FINDIDX before including fnmatch_loop.c for the non-wide version.
5406 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5407 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5408 for the wide version.
5409 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5410 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5411 Pass new arguments to findidx.
5412 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5413 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5414 Don't #include it inside the function. Pass new arguments to findidx.
5415 * posix/regex_internal.h
5416 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5417 (re_string_elem_size_at): Don't #include it inside the function.
5418 Pass new arguments to findidx.
5419 * string/strcoll_l.c: #include WEIGHT_H at top level.
5420 (get_next_seq): Don't #include it inside the function.
5421 Pass new arguments to findidx.
5422 (get_next_seq_nocache): Likewise.
5423 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5424 (STRXFRM): Don't #include it inside the function.
5425 Pass new arguments to findidx.
5426
52ffbdf2
FW
54272014-09-11 Florian Weimer <fweimer@redhat.com>
5428
5429 [BZ #17344]
5430 * malloc/malloc.c (unlink): Turn asserts into a call to
5431 malloc_printerr.
5432
984c0ea9
TL
54332014-09-11 Tim Lammens <tim.lammens@gmail.com>
5434
5435 [BZ #17370]
5436 * libio/wfileops (do_ftell_wide): Free OUT.
5437
3daee107
CM
54382014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5439
5440 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5441
58b930ae
SP
54422014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5443
5444 [BZ #17363]
5445 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5446 group if the current group is empty.
5447
3b473fec
AZ
54482014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5449
71ae8647
AZ
5450 * benchtests/bench-memset.c (test_main): Add more test from size
5451 from 32 to 512 bytes.
5452 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5453 Add POWER8 memset object.
5454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5455 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5456 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5457 implementation.
5458 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5459 Likewise.
5460 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5461 multiarch POWER8 memset optimization.
5462 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5463 POWER8 memset optimization.
5464
3b473fec
AZ
5465 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5466 Remove bzero multiarch objects.
5467 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5468 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5469 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5470 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5471 Remove define.
5472 [__bzero]: Redefine to specific name.
5473 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5474 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5475 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5476 define.
5477 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5478 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5479
e6fb9587
FW
54802014-09-10 Florian Weimer <fweimer@redhat.com>
5481
5482 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5483 warnings into errors.
5484
5485 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5486 __cxa_thread_atexit_impl prototype.
5487
9d3a350b
SE
54882014-09-09 Steve Ellcey <sellcey@mips.com>
5489
5490 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5491 Fix capitalization of error message.
5492
0febba23
SE
54932014-09-09 Steve Ellcey <sellcey@mips.com>
5494
5495 * sysdeps/mips/preconfigure: Modify ABI tests.
5496
645a0e9c
CD
54972014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5498
5499 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5500
d83f0734
CD
55012014-09-07 Roland McGrath <roland@hack.frob.com>
5502 Carlos O'Donell <carlos@systemhalted.org>
5503
5504 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5505 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5506 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5507 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5508 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5509 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5510 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5511 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5512 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5513 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5514 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5515 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5516 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5517 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5518 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5519 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5520 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5521 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5522 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5523 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5524 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5525 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5526 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5527 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5528 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5529 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5530 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5531 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5532 Deconditionalize the code that was previously under [RESET_PID].
5533 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5534 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5535 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5536 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5537 include sysdep.h.
5538
21c83793
AM
55392014-09-08 Allan McRae <allan@archlinux.org>
5540
5541 * version.h (RELEASE): Set to "development".
5542 (VERSION): Set to "2.20.90"
5543
1cd9b65c
AM
55442014-09-07 Allan McRae <allan@archlinux.org
5545
b8079dd0
AM
5546 * version.h (RELEASE): Set to "stable".
5547 (VERSION): Set to "2.20"
5548 * include/features.h (__GLIBC_MINOR__): Set to 20.
5549
c46303ef
AM
5550 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5551 Liebler.
5552
1cd9b65c
AM
5553 * po/ko.po: Update Korean translation from translation project.
5554
8622092d
CM
55552014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5556
5557 [BZ #17354]
5558 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5559 macro for handling signed relocations.
5560
41488498
FW
55612014-09-03 Florian Weimer <fweimer@redhat.com>
5562
5563 [BZ #17325]
5564 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5565 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5566 assert.
5567 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5568 * iconvdata/ibm935.c (BODY): Likewise.
5569 * iconvdata/ibm937.c (BODY): Likewise.
5570 * iconvdata/ibm939.c (BODY): Likewise.
5571 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5572 assert.
5573 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5574 script.
5575 * iconvdata/run-iconv-test.sh: New test loop for checking for
5576 decoder crashers.
5577
a78b712d
KR
55782014-09-02 Khem Raj <raj.khem@gmail.com>
5579
5580 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5581 libm_hidden_ver.
5582
cb08abc6
AM
55832014-09-01 Allan McRae <allan@archlinux.org>
5584
2c31e102
AM
5585 * po/eo.po: Update Esperanto translation from translation project.
5586
cb08abc6
AM
5587 * po/ca.po: Update Catalan translation from translation project.
5588
17a62de1
ST
55892014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5590
5591 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5592 __proc_dostop call.
5593
9570bc53
MW
55942014-08-27 Mark Wielaard <mjw@redhat.com>
5595
5596 [BZ #17319]
5597 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5598 to call set_thread_area instead of hand written asm.
5599 (__NR_set_thread_area): Removed define.
5600 (TLS_FLAG_WRITABLE): Likewise.
5601 (__ASSUME_SET_THREAD_AREA): Remove check.
5602 (TLS_EBX_ARG): Remove define.
5603 (TLS_LOAD_EBX): Likewise.
5604
b0f955c9
ST
56052014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5606
5607 Simplify atomicity of socket creation in bind.
5608
5609 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5610 looking up the name after linking the file.
5611
529bf515
AM
56122014-08-27 Allan McRae <allan@archlinux.org>
5613
5614 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5615
a1a6a401
FW
56162014-08-26 Florian Weimer <fweimer@redhat.com>
5617
5618 [BZ #17187]
5619 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5620 trans_compare, open_translit, __gconv_translit_find):
5621 Remove module loading code.
5622
686ab290
AM
56232014-08-26 Allan McRae <allan@archlinux.org>
5624
e4e7cfd2
AM
5625 * po/vi.po: Update Vietnamese translation from translation project.
5626
6aa09f71
AM
5627 * po/uk.po: Update Ukrainian translation from translation project.
5628
edc0660e
AM
5629 * po/fr.po: Update French translation from translation project.
5630
7eea72ac
AM
5631 * po/ru.po: Update Russian translation from translation project.
5632
93c49eff
AM
5633 * po/pl.po: Update Polish translation from translation project.
5634
46acaf63
AM
5635 * po/cs.po: Update Czech translation from translation project.
5636
a9f5ce98
AM
5637 * po/de.po: Update German translation from translation project.
5638
373f2b78
AM
5639 * po/bg.po: Update Bulgarian translation from translation project.
5640
e7548bd8
AM
5641 * po/sv.po: Update Sweedish translation from translation project.
5642
c526bf4d
AM
5643 * po/nl.po: Update Dutch translation from translation project.
5644
686ab290
AM
5645 * po/es.po: Update Spanish translation from translation project.
5646
eb72478a
SP
56472014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5648
dd763fdb
SP
5649 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5650
318c7a58
SP
5651 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5652 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5653 (CPPFLAGS-iconvconfig): Likewise.
5654 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5655
eb72478a
SP
5656 * include/libc-symbols.h: Remove unnecessary check for
5657 NOT_IN_libc.
5658 * nptl/pthreadP.h: Likewise.
5659 * sysdeps/aarch64/setjmp.S: Likewise.
5660 * sysdeps/alpha/setjmp.S: Likewise.
5661 * sysdeps/arm/sysdep.h: Likewise.
5662 * sysdeps/i386/setjmp.S: Likewise.
5663 * sysdeps/m68k/setjmp.c: Likewise.
5664 * sysdeps/posix/getcwd.c: Likewise.
5665 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5666 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5667 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5668 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5669 * sysdeps/sh/sh3/setjmp.S: Likewise.
5670 * sysdeps/sh/sh4/setjmp.S: Likewise.
5671 * sysdeps/unix/alpha/sysdep.h: Likewise.
5672 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5673 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5674 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5675 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5680 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5683 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5685 * sysdeps/x86_64/setjmp.S: Likewise.
5686
d44a052c
JM
56872014-08-13 Joseph Myers <joseph@codesourcery.com>
5688
5689 [BZ #17263]
5690 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5691 <stdint.h>.
5692 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5693 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5694
508ce3ac
SP
56952014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5696
e44c8b0e
SP
5697 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5698
508ce3ac
SP
5699 [BZ #17262]
5700 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5701 and __x86_64__ when disabling x87 inline functions.
5702
b4acef1f
L
57032014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5704
5705 [BZ #17259]
5706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5707 asm statement with __cpuid_count.
5708
61b1ef6e
MF
57092014-08-12 Mike Frysinger <vapier@gentoo.org>
5710
5711 * configure.ac: Change __ehdr_start code to dereference the struct.
5712 Run readelf on the output to look for relocations.
5713 * configure: Regenerated.
5714
898c62f4
JM
57152014-08-12 Joseph Myers <joseph@codesourcery.com>
5716
5717 [BZ #17261]
5718 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5719 value to 0.
5720 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5721
9a8a5720
RM
57222014-08-12 Roland McGrath <roland@hack.frob.com>
5723
5724 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5725
4e75751c
BO
57262014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5727
5728 [BZ #16892]
5729 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5730 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5731
bb2ce416
SA
57322014-08-12 Sean Anderson <seanga2@gmail.com>
5733
5734 * malloc/malloc.c: Fix typo in comment.
5735
7950a4ee
AM
57362014-08-09 Allan McRae <allan@archlinux.org>
5737
5738 * Regenerate libc.po.
5739
f469c49f
MF
57402014-08-08 Mike Frysinger <vapier@gentoo.org>
5741
5742 * intl/tst-gettext2.sh: Check every lang file for creation.
5743
656b84c2
WD
57442014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5745
5746 * sysdeps/aarch64/fpu/math_private.h
5747 (libc_feholdsetround_noex_aarch64_ctx): New function.
5748
538e9e45
W
57492014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5750
5751 * sysdeps/arm/armv6/strcpy.S (strcpy):
5752 Fix performance issue in misaligned cases.
5753
d4795e4a
AZ
57542014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5755
5756 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5757 Move definition from termios.h.
5758 (struct termio): Likewise.
5759 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5760 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5761 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5762 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5763 Likewise.
5764 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5765 Move definition to ioctl-types.h
5766 (struct termio): Likewise.
5767 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5768 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5769 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5770 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5771 Likewise.
5772
64accb62
RH
57732014-08-05 Richard Henderson <rth@redhat.com>
5774
27bb6dc0
RH
5775 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5776 exceptions.
5777 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5778 Add fraiseexcpt.
5779 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5780 Use __feraiseexcept.
5781 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5782 Protect libm symbols with IS_IN_libm.
5783
64accb62
RH
5784 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5785
e5292691
BO
57862014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5787
5788 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5789
5b4bd2d4
WN
57902014-08-04 Will Newton <will.newton@linaro.org>
5791
5792 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5793 file.
5794
fcadaeef
MF
57952014-08-04 Mike Frysinger <vapier@gentoo.org>
5796
5797 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5798 variants for each function.
5799
43a94c64
RM
58002014-08-04 Roland McGrath <roland@hack.frob.com>
5801
5802 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5803 appended ...
5804 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5805 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5806 appended ...
5807 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5808 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5809 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5810 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5811 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5812 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5813 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5814 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5815 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5816 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5817 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5818 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5819 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5820 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5821 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5825 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5826 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5827 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5828 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5829 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5830 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5831 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5832 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5833 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5834 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5835 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5836 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5837 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5838 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5839 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5840 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5841 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5842 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5843 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5844 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5845 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5846 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5847 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5848 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5849 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5850 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5851 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5852 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5853 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5854 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5855 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5856 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5857 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5858 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5859 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5860 Update #include.
5861 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5862 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5863
8f3c1fa4
RM
58642014-08-04 Roland McGrath <roland@hack.frob.com>
5865
5866 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5867 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5868 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5869 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5870 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5871 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5872
ca08746f
RM
58732014-08-04 Roland McGrath <roland@hack.frob.com>
5874
5875 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5876 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5877 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5878 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5879
9c925ff9
RM
58802014-08-04 Roland McGrath <roland@hack.frob.com>
5881
5882 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5883 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5884 (__libc_vfork): Define function under this name.
5885 (__vfork): Define as an alias.
5886 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5887 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5888
e641054c
RM
58892014-08-04 Roland McGrath <roland@hack.frob.com>
5890
5891 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5892 that was previously under [RESET_PID].
5893 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5894
dacdc867
AS
58952014-08-04 Andreas Schwab <schwab@suse.de>
5896
5897 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5898
41f725ff
MF
58992014-08-03 Mike Frysinger <vapier@gentoo.org>
5900
5901 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5902 (main): Likewise.
5903
277cfb31
RM
59042014-08-01 Roland McGrath <roland@hack.frob.com>
5905
5906 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5907
4896f049
RH
59082014-08-01 Richard Henderon <rth@redhat.com>
5909
5910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5911 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5912 typo in exact zero test.
5913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5914 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5915 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5916
6f64e7d7
RM
59172014-08-01 Roland McGrath <roland@hack.frob.com>
5918
5919 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5920 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5921 * sysdeps/arm/sysdep.h: ... here.
5922 [!__ASSEMBLER__]: Include <stdint.h>.
5923
3f3dd810
SP
59242014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5925
a476ac4b
SP
5926 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5927 (HAVE_WCTYPE_H): Likewise.
5928 (HAVE_ISWCTYPE): Likewise.
5929 (ENABLE_NLS): Likewise.
5930 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5931 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5932
78dd658a
SP
5933 * posix/regex_internal.c: Check if DEBUG is defined and is
5934 set.
5935
3f3dd810
SP
5936 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5937 (HAVE_MBSRTOWCS): Likewise.
5938 * posix/fnmatch.c: Include string.h unconditionally.
5939
95ee7fb1
SL
59402014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5941
5942 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5943 reversal.
5944
23fe486b
RM
59452014-07-31 Roland McGrath <roland@hack.frob.com>
5946
f61a113f
RM
5947 * sysdeps/generic/safe-fatal.h: New file.
5948 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5949 * nptl/forward.c: Include it.
5950 (__pthread_unwind): Use __safe_fatal as default action, rather
5951 than a bogus use of INTERNAL_SYSCALL that could never work.
5952
9fe7e787
RM
5953 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5954 * configure.ac (libc_cv_builtin_trap): New test.
5955 * configure: Regenerated.
5956 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5957 (ABORT_INSTRUCTION): Define using __builtin_trap.
5958
23fe486b
RM
5959 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5960 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5961 * sysdeps/nptl/nptl-signals.h: New file.
5962 * nptl/pthreadP.h: Include <nptl-signals.h>.
5963
f349489e
SL
59642014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5965
5966 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5967 (ONE_DIRECTION): Define.
5968 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5969 (ONE_DIRECTION): Define.
5970 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5971 (ONE_DIRECTION): Define.
5972
2f438e20
SL
59732014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5974
5975 * sysdeps/s390/Makefile: Delete file.
5976 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5977 * sysdeps/s390/__longjmp.c: Delete file.
5978 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5979 Remove fields __flags and __reserved.
5980 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5981 and add versioning.
5982 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5983 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5984 * sysdeps/s390/rtld-setjmp.S: Likewise.
5985 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5986 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5987 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5988 * sysdeps/s390/s390-32/setjmp.S: ... here.
5989 Add versioning.
5990 (__sigsetjmp): Remove setting __flags field.
5991 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5992 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5993 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5994 * sysdeps/s390/s390-64/setjmp.S: ... here.
5995 Add versioning.
5996 (__sigsetjmp): Remove setting __flags field.
5997 * sysdeps/s390/setjmp.S: Delete file.
5998 * sysdeps/s390/sigjmp.c: Likewise.
5999 * sysdeps/s390/v1-longjmp.c: Likewise.
6000 * sysdeps/s390/v1-setjmp.h: Likewise.
6001 * sysdeps/s390/v1-sigjmp.c: Likewise.
6002 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6003 Remove v1-longjmp_chk.
6004 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6005 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6006 Include debug/longjmp_chk.c and add versioning.
6007 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6008 Include nptl/pt-longjmp.c and add versioning.
6009 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6010 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6011 Include __longjmp.c.
6012 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6013 Move to ...
6014 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6015 (__getcontext): Remove setting __flags field.
6016 Add versioning.
6017 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6018 Don't restore upper high grps.
6019 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6020 Likewise.
6021 (__swapcontext): Remove setting uc_flags field.
6022 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6023 Delete file.
6024 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6025 Include __longjmp.c.
6026 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6027 Move to ...
6028 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6029 (__getcontext): Remove setting __flags field.
6030 Add versioning.
6031 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6032 (__swapcontext): Remove setting uc_flags field.
6033 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6034 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6035 Remove fields uc_high_gprs and __reserved.
6036 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6037 New file with reverted content.
6038 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6039 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6040 Regenerated.
6041 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6042 Regenerated.
6043
6c9578a2
AS
60442014-07-31 Andreas Schwab <schwab@suse.de>
6045
6046 * config.h.in (HAVE_IFUNC): Define to 0.
6047 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6048 definedness.
6049
05f3633d
LM
60502014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6051
6052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6053 memmove-avx-unaligned, memcpy-avx-unaligned and
6054 mempcpy-avx-unaligned.
6055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6056 Add tests for AVX memcpy functions.
6057 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6058 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6059 memcpy_chk.
6060 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6061 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6062 memmove_chk.
6063 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6064 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6065 mempcpy_chk.
6066 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6067 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6068 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6069
a53fbd8e
AZ
60702013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6071
6072 [BZ #17213]
6073 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6074 powerpc64le.
6075
0961f7e1
JL
60762014-07-29 Jeff Layton <jlayton@poochiereds.net>
6077
6078 [BZ #16839]
6079 * manual/llio.texi: Add section about open file description locks.
6080 * manual/examples/ofdlocks.c: Example of open file description
6081 lock usage.
6082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6083 F_OFD_SETLK, and F_OFD_SETLKW.
6084
cc5fb300
AM
60852014-07-23 Allan McRae <allan@archlinux.org>
6086
6087 * po/es.po: Update Spanish translation from translation project.
6088
23329dca
AS
60892014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6090
6091 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6092
9c82da17
MR
60932014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6094
6095 [BZ #17078]
6096 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6097 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6098 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6099
29c4f53e
JM
61002014-07-17 Joseph Myers <joseph@codesourcery.com>
6101
831b9896
JM
6102 [BZ #17088]
6103 * math/fesetenv.c (__fesetenv)
6104 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6105 * math/feupdateenv.c (__feupdateenv)
6106 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6107
b21c2d50
JM
6108 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6109 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6110 (__ASSUME_SOCKETCALL): Do not define.
6111
067764ef
JM
6112 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6113 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6114 (__ASSUME_SOCKETCALL): Do not define.
6115 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6116 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6117 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6118 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6119 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6120 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6121 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6122 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6123
642530c1
JM
6124 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6125 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6126 (__ASSUME_SOCKETCALL): Do not define.
6127 (__ASSUME_IPC64): Define unconditionally.
6128 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6129 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6130 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6131 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6132 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6133 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6134 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6135 Likewise.
6136
03f77315
JM
6137 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6138 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6139 (__ASSUME_SOCKETCALL): Do not define.
6140 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6141 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6142 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6143 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6144 (__ASSUME_REQUEUE_PI): Define unconditionally.
6145 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6146 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6147 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6148 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6149 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6150 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6151
083b1f7c
JM
6152 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6153 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6154 (__ASSUME_SOCKETCALL): Do not define.
6155 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6156 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6157 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6158 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6159 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6160 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6161
5be44ea6
JM
6162 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6163 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6164 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6165 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6166 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6167 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6168 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6169 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6170 (__ASSUME_GETCPU_SYSCALL): Likewise.
6171
d95ffd4c
JM
6172 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6173 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6174 cases for individual architectures.
6175 * sysdeps/gnu/configure: Regenerated.
6176 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6177 LIBC_SLIBDIR_RTLDDIR.
6178 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6179 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6180 LIBC_SLIBDIR_RTLDDIR.
6181 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6183 LIBC_SLIBDIR_RTLDDIR.
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6185 Regenerated.
6186 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6187 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6188 file.
6189 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6190 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6191 file.
6192 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6193 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6194 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6195 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6196
29c4f53e
JM
6197 * sysdeps/aarch64/shlib-versions: Move to ...
6198 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6199 * sysdeps/alpha/shlib-versions: Move to ...
6200 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6201 * sysdeps/arm/shlib-versions: Move to ...
6202 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6203 * sysdeps/hppa/shlib-versions: Move all contents except for
6204 libgcc_s entry to ...
6205 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6206 entry from ...
6207 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6208 * sysdeps/ia64/shlib-versions: Move to ...
6209 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6210 entry from ...
6211 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6212 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6213 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6214 * sysdeps/microblaze/shlib-versions: Move to ...
6215 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6216 * sysdeps/mips/shlib-versions: Move to ...
6217 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6218 entry from ...
6219 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6220 * sysdeps/tile/shlib-versions: Move to ...
6221 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6222 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6223 from ...
6224 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6225 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6226 entry from ...
6227 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6228
32bead5b
WN
62292014-07-17 Will Newton <will.newton@linaro.org>
6230
57977c4b
WN
6231 * sysdeps/arm/bits/atomic.h
6232 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6233 (__arch_compare_and_exchange_bool_16_int): Likewise.
6234 (__arch_compare_and_exchange_bool_64_int): Likewise.
6235
32bead5b
WN
6236 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6237 into an #else block.
6238
37fccd41
RM
62392014-07-16 Roland McGrath <roland@hack.frob.com>
6240
6241 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6242 just Linux configurations. Test empirically that the compiler sets
6243 __ARM_EABI__, rather than using the tuple to decide.
6244 * sysdeps/arm/preconfigure: Regenerated.
6245 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6246 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6247 contents appended ...
6248 * sysdeps/arm/configure.ac: ... here.
6249 * sysdeps/arm/configure: Regenerated.
6250
b365f3ec
RM
62512014-07-15 Roland McGrath <roland@hack.frob.com>
6252
8badf496
RM
6253 * nptl/pthread_kill.c: New file.
6254 * nptl/pthread_sigmask.c: New file.
6255 * nptl/pthread_sigqueue.c: New file.
6256
3df6f22e
RM
6257 * sysdeps/nptl/lowlevellock.h: New file.
6258 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6259 * sysdeps/nptl/lowlevellock-futex.h: New file.
6260
b365f3ec
RM
6261 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6262 Remove dead declarations.
6263
f2fef657
L
62642014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6265
6266 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6267 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6268 config-cflags-avx2.
6269 * sysdeps/x86_64/configure.ac: Likewise.
6270 * sysdeps/i386/configure: Regenerated.
6271 * sysdeps/x86_64/configure: Likewise.
6272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6273 memset-avx2 only if config-cflags-avx2 is yes.
6274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6275 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6276 defined.
6277 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6278 only if HAVE_AVX2_SUPPORT is defined.
6279 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6280
f6c44d47
AM
62812014-07-14 Alan Modra <amodra@gmail.com>
6282
6283 [BZ #17153]
6284 * elf/elf.h (DT_PPC64_NUM): Correct value.
6285 * NEWS: Add to fixed bug list.
6286
7ee03f00
JM
62872014-07-13 Jim Meyering <meyering@fb.com>
6288
6289 [BZ 17150]
6290 regex: don't deref NULL upon heap allocation failure
6291 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6292 failure in one more place.
6293 To trigger the segfault, configure grep -with-included-regex,
6294 build it, and run these commands:
6295 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6296
9d39d517
AS
62972014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6298
6299 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6300
a75b89b7
RH
63012014-07-11 Richard Henderson <rth@redhat.com>
6302
6303 * sysdeps/aarch64/libm-test-ulps: Update.
6304
771eb141
FW
63052014-07-10 Florian Weimer <fweimer@redhat.com>
6306
6307 [BZ #17135]
6308 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6309 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6310 (__nptl_setxid): Initialize error member. Call
6311 __nptl_setxid_error.
6312 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6313 * nptl/descr.h (struct xid_command): Add error member.
6314 * nptl/tst-setuid3.c: New file.
6315 * nptl/Makefile (tests): Add it.
6316
bc1da176
AZ
63172014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6318
6319 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6320 New define.
6321 (__lll_trylock): Use __lll_base_trylock.
6322 (__lll_cond_trylock): Likewise.
6323
887865fc
RM
63242014-07-10 Roland McGrath <roland@hack.frob.com>
6325
c0c6bac9
RM
6326 * nptl/pthread_create.c (start_thread): Use atomic_or and
6327 lll_futex_wake directly rather than lll_robust_dead.
6328 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6329 (lll_robust_dead): Macro removed.
6a42be57 6330 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6331 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6332 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6333 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6334 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6335 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6336 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6337 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6338 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6339 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6340 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6341 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6342 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6343 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6344 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6345
887865fc
RM
6346 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6347 Use atomic_compare_and_exchange_val_acq directly rather than
6348 lll_robust_trylock.
6349 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6350 (__lll_robust_trylock, lll_robust_trylock): Removed.
6351 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6352 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6353 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6354 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6355 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6356 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6357 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6358 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6359 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6360 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6361 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6362 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6363 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6364 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6365
58536726
FW
63662014-07-02 Florian Weimer <fweimer@redhat.com>
6367
6368 * manual/locale.texi (Locale Names): New section documenting
6369 locale name syntax. Adjust menu and node chaining accordingly.
6370 (Choosing Locale): Reference Locale Names, Locale Categories.
6371 Mention setting LC_ALL=C. Reflect that name syntax is now
6372 documented.
6373 (Locale Categories): New section title. Reference Locale Names.
6374 LC_ALL is an environment variable, but not a category.
6375 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6376 description, now in Locale Name. Reference that section. Locale
6377 name syntax is now documented.
6378
4e8f95a0
FW
63792014-07-02 Florian Weimer <fweimer@redhat.com>
6380
6381 [BZ #17137]
6382 * locale/findlocale.c (name_present, valid_locale_name): New
6383 functions.
6384 (_nl_find_locale): Use the loc_name variable to store name
6385 candidates. Call name_present and valid_locale_name to check and
6386 validate locale names. Return an error if the locale is invalid.
6387
d1836456
FW
63882014-07-02 Florian Weimer <fweimer@redhat.com>
6389
6390 * locale/setlocale.c (setlocale): Use strdup for allocating
6391 composite name copy.
6392
d69b7f5a
SP
63932014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6394
888c679b
SP
6395 Sync up with gnulib.
6396 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6397 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6398 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6399 and _GL_ARG_NONNULL.
6400 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6401 [!_LIBC]: Include code for Windows and Cygwin.
6402 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6403 Include prototype for int strerror_r.
6404 [!_LIBC] (is_open): New function.
6405 (flush_stdout): New function.
6406 (print_errno_message): Use it.
6407 (error): Likewise.
6408 (error_at_line): Likewise.
6409 (error_tail) Add function attribute macros. Use
6410 __builtin_expect.
6411
180e0e4b
SP
6412 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6413
d22f1fe2
SP
6414 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6415
12f2254b
SP
6416 * io/ftw.c: Include sys/param.h unconditionally.
6417
c3c7c360
SP
6418 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6419
d62aa75a
SP
6420 [BZ #17125]
6421 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6422 libc_freeres_ptr.
6423 (freecache): New function to free CACHE on exit.
6424
d69b7f5a
SP
6425 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6426 initialization.
6427
5efe06a1
DM
64282014-07-09 David S. Miller <davem@davemloft.net>
6429
6430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6431
7000d82e
DM
6432 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6433 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6434 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6435 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6436 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6437 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6438 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6439 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6440 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6441 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6442 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6443 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6444 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6445
c213442d
AS
64462014-07-09 Andreas Schwab <schwab@suse.de>
6447
4a2552c3
AS
6448 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6449 output.
6450 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6451 (do_test): Likewise.
6452
c213442d
AS
6453 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6454
82374e65
WN
64552014-07-09 Will Newton <will.newton@linaro.org>
6456
6457 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6458 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6459 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6460 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6461 * sysdeps/hppa/start.S (_start): Likewise.
6462
6680738a
SP
64632014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6464
6ee3eab4
SP
6465 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6466
6680738a
SP
6467 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6468 defined.
6469
80b5c505
SP
64702014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6471
e35c53e3
SP
6472 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6473 after checking that it is non-NULL.
6474
80b5c505
SP
6475 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6476
91f4b564
AZ
64772014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6478
27b75f56
AZ
6479 * sysdeps/powerpc/memmove.c: Remove file.
6480 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6481 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6482 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6483 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6484 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6485 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6486 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6487 string memmove instead of removed powerpc one.
6488
e7f95bb5
AZ
6489 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6490 [weak_alias]: Fix compiler warning due trailing data.
6491 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6492 [weak_alias]: Likewise.
6493 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6494 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6495
91f4b564
AZ
6496 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6497 (__libc_ifunc_impl_list): Add memmove functions.
6498
7c33f1e5
SP
64992014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6500
6501 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6502 Remove code.
6503 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6504 Likewise
6505 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6506 Likewise
6507 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6508 Likewise
6509 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6510 Likewise
6511 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6512 Likewise
6513 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6514 Likewise
6515 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6516 Likewise
6517 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6518 Likewise
6519 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6520 Likewise
6521 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6522 Likewise
6523 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6524 Likewise
6525 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6526 Likewise
6527 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6528 Likewise
6529 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6530 Likewise
6531 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6532 Likewise
6533 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6534 Likewise
6535
3f17b03b
AZ
65362014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6537
87868c24
AZ
6538 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6539 to avoid alignment traps in non-cacheable memory.
6540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6541
07aedd78
AZ
6542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6543 multiarch objects.
6544 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6545 file: multiarch power7 memmove.
6546 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6547 multiarch default memmove.
6548 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6549 multiarch memove for powerpc32/power4.
6550
17762f66
AZ
6551 * string/bcopy.c: Use full path to include memmove.c.
6552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6553 multiarch objects.
6554 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6555 bcopy for powerpc64.
6556 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6557 bcopy for powerpc64.
6558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6559 and memmove implementations.
6560 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6561 optimized multiarch memmove for POWER7/powerpc64.
6562 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6563 default multiarch memmove for powerpc64.
6564 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6565 multiarch for powerpc64.
6566 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6567 for POWER7/powerpc64.
6568 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6569 memmove for POWER7/powerpc64.
6570
d6f68bbe
AZ
6571 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6572 glibc default one.
6573
3f17b03b
AZ
6574 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6575 __ELF_NATIVE_CLASS equal to 64.
6576
08192659
RM
65772014-07-07 Roland McGrath <roland@hack.frob.com>
6578
f4c4021b
RM
6579 * sysdeps/nptl/lowlevellock.h: File removed.
6580
f083450f
RM
6581 * NEWS: NPTL is no longer an add-on!
6582 * nptl/internaltypes.h: Moved ...
6583 * sysdeps/nptl/internaltypes.h: ... here.
6584 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6585 * sysdeps/nptl/fork.c: Likewise.
6586 * sysdeps/nptl/gai_misc.h: Likewise.
6587 * sysdeps/nptl/librt-cancellation.c: Likewise.
6588 * sysdeps/nptl/jmp-unwind.c: Likewise.
6589 * sysdeps/nptl/setxid.h: Likewise.
6590 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6591 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6592 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6593 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6594 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6595 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6596 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6597 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6598 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6599 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6600 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6601 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6602 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6603 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6604 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6605 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6606 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6607 * nptl/Makeconfig: Moved ...
6608 * sysdeps/nptl/Makeconfig: ... here.
6609 * nptl/configure: File removed.
6610 * nptl/ANNOUNCE: File removed.
6611 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6612 * sysdeps/unix/sysv/linux/configure: Regenerated.
6613
08192659
RM
6614 * nptl/Makefile (routines): Add libc_pthread_init,
6615 libc_multiple_threads, register-atfork and unregister-atfork.
6616 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6617 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6618 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6619 pthread-pi-defines.sym, structsem.sym.
6620 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6621 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6622 [$(subdir) = nptl] (tests): Add tst-setgetname.
6623 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6624 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6625 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6626 [!LIBC_SIGACTION]: Remove aliases.
6627 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6628 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6629 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6630 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6631 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6632 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6633 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6634 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6635 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6636 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6637 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6638 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6639 __libc_allocate_rtsig_private.
6640 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6641 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6642 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6643 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6644 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6645 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6646 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6647 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6648 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6649 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6650 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6651 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6652 * nptl/internaltypes.h: ... here.
6653 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6654 * sysdeps/nptl/jmp-unwind.c: ... here.
6655 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6656 * nptl/libc-lowlevellock.c: ... here.
6657 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6658 * nptl/libc_multiple_threads.c: ... here.
6659 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6660 * nptl/libc_pthread_init.c: ... here.
6661 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6662 * nptl/lowlevelbarrier.sym: ... here.
6663 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6664 * nptl/lowlevelcond.sym: ... here.
6665 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6666 * nptl/lowlevellock.c: ... here.
6667 * nptl/lowlevellock.h: Moved ...
6668 * sysdeps/nptl/lowlevellock.h: ... here.
6669 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6670 * nptl/lowlevelrobustlock.c: ... here.
6671 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6672 * nptl/lowlevelrobustlock.sym: ... here.
6673 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6674 * nptl/lowlevelrwlock.sym: ... here.
6675 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6676 * nptl/pt-fork.c: ... here.
6677 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6678 * nptl/pthread-pi-defines.sym: ... here.
6679 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6680 * nptl/pthread_attr_getaffinity.c: ... here.
6681 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6682 * nptl/pthread_attr_setaffinity.c: ... here.
6683 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6684 * nptl/pthread_mutex_cond_lock.c: ... here.
6685 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6686 Update #include.
6687 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6688 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6689 * nptl/pthread_once.c: ... here, replacing old file.
6690 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6691 * nptl/pthread_yield.c: ... here.
6692 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6693 * nptl/register-atfork.c: ... here.
6694 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6695 * nptl/sem_post.c: ... here.
6696 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6697 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6698 * nptl/sem_timedwait.c: ... here.
6699 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6700 * nptl/sem_trywait.c: ... here.
6701 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6702 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6703 * nptl/sem_wait.c: ... here.
6704 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6705 * nptl/structsem.sym: ... here.
6706 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6707 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6708 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6709 * nptl/unregister-atfork.c: ... here.
6710 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6711 * nptl/unwindbuf.sym: ... here.
6712 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6713 * sysdeps/nptl/fork.c: ... here.
6714 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6715 * sysdeps/nptl/fork.h: ... here.
6716 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6717 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6718 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6719 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6720 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6721 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6722 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6723 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6724 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6725 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6726 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6727 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6728 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6729 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6730 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6731 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6732 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6733 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6734 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6735 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6736 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6737 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6738 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6739 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6740 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6741 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6742 * sysdeps/unix/sysv/linux/raise.c: ... here.
6743 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6744 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6745 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6746 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6747 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6748 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6749 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6750 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6751 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6752 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6753 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6754 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6755 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6756 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6757 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6758
96baf6ff
SP
67592014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6760
6761 * sysdeps/generic/memcopy.h: Add comment for
6762 MEMCPY_OK_FOR_FWD_MEMMOVE.
6763
6b7b14b2
WN
67642014-07-04 Will Newton <will.newton@linaro.org>
6765
1570a72b
WN
6766 * string/memchr.c: Merge from gnulib.
6767 [_LIBC]: Remove conditionals.
6768 (__ptr_t): Remove define.
6769 (LONG_MAX_32_BITS): Likewise.
6770 (LONG_MAX): Likewise.
6771 (MEMCHR): Use ANSI prototype and optimize algorithm.
6772
6b7b14b2
WN
6773 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6774
38851324
SP
67752014-07-03 Roland McGrath <roland@hack.frob.com>
6776
3d9eb57c
RM
6777 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6778 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6779
78b984ae
RM
6780 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6781 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6782 in a bare environment with no <stdlib.h> installed.
6783 * sysdeps/nptl/configure: Regenerated.
6784
2d5976a5
RM
6785 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6786
c1f5acd4
RM
6787 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6788 AC_EGREP_CPP for kernel header checks, so they only succeed if
6789 including <linux/version.h> actually works right.
6790 * sysdeps/unix/sysv/linux/configure: Regenerated.
6791
4d614fe5
RM
6792 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6793 value so it's not diagnosed as unused.
6794
38851324
SP
6795 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6796 thing) with "ifeq ($(subdir),rt)".
6797
b3ec00e5
RH
67982014-07-03 Richard Henderson <rth@redhat.com>
6799
69862e25
RH
6800 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6801 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6802 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6803
d5e16ade
RH
6804 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6805 (math_force_eval): New.
6806
ca7b945c
RH
6807 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6808 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6809
cd1175a3
RH
6810 * sysdeps/alpha/fpu/s_round.c: Remove file.
6811 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6812
b3ec00e5
RH
6813 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6814 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6815 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6816 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6817 (_dl_start, print_statistics): Likewise.
6818 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6819 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6820
6821 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6822 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6823 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6824 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6825 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6826 (HP_SMALL_TIMING_AVAIL): Define.
6827 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6828 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6829 (HP_SMALL_TIMING_AVAIL): Define.
6830 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6831 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6832
6833 * sysdeps/aarch64/hp-timing.h: New file.
6834
6835 * sysdeps/generic/hp-timing.h: Remove dead comment.
6836 * sysdeps/generic/hp-timing-common.h: New file.
6837 * sysdeps/alpha/hp-timing.h: Include it.
6838 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6839 * sysdeps/i386/i686/hp-timing.h: Likewise.
6840 * sysdeps/ia64/hp-timing.h: Likewise.
6841 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6842 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6843 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6844 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6845 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6846 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6847 (hp_timing_t): New.
6848
6849 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6850 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6851 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6852 * elf/rtld.c (_dl_start_final): Likewise.
6853 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6854 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6855 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6856 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6857 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6858 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6859 (HP_TIMING_DIFF_INIT): Remove.
6860 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6861 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6862 (HP_TIMING_DIFF_INIT): Remove.
6863 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6864 * sysdeps/i386/i686/hp-timing.c: Remove file.
6865 * sysdeps/x86_64/hp-timing.c: Remove file.
6866 * sysdeps/ia64/hp-timing.c: Remove file.
6867 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6868 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6869 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6870 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6871
6872 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6873 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6874 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6875 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6876 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6877 (HP_TIMING_ACCUM): Remove.
6878 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6879 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6880 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6881
6882 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6883 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6884 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6885 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6886 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6887 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6888 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6889 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6890
6891 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6892
225f410f
MR
68932014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6894
6895 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6896
3247f285
SP
68972014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6898
6899 Sync up with gettext.
6900 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6901 [_MSC_VER]: Include malloc.h
6902 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6903 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6904 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6905 TEMP_FAILURE_RETRY. Cast return of alloca.
6906 [!_LIBC] Call gl_rwlock_init.
6907 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6908
d12704c7
SP
69092014-07-02 Roland McGrath <roland@hack.frob.com>
6910
6911 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6912 before checking its value.
6913
99f8dc92
SP
69142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6915
05fdac77
SP
6916 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6917
99f8dc92
SP
6918 * debug/memcpy_chk.c: Don't include pagecopy.h.
6919 * debug/mempcpy_chk.c: Likewise.
6920 * string/memcpy.c: Likewise.
6921 * string/memmove.c: Likewise.
6922 * sysdeps/powerpc/memmove.c: Likewise.
6923 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6924 definition of PAGE_COPY_FWD_MAYBE here...
6925 * sysdeps/generic/pagecopy.h: ... from here.
6926 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6927
bc8ea385
VR
69282014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6929 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6930
6931 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6933 optimizations.
6934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6935 (__libc_ifunc_impl_list): Likewise.
6936 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6937 multiarch strcat for PPC64.
6938 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6939 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6940
fe5f34e4
RM
69412014-07-02 Roland McGrath <roland@hack.frob.com>
6942
6943 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6944
256aa665
SP
69452014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6946
d4eb8195
SP
6947 * intl/loadmsgcat.c: Remove declaration of
6948 get_sysdep_segment_value.
6949 (get_sysdep_segment_value): Use ISO C style.
6950 (_nl_load_domain): Use ISO C style. Get rid of redundant
6951 semicolon. Fix typo and formatting in comment.
6952 (_nl_unload_domain): Use ISO C style.
6953
256aa665
SP
6954 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6955
b100f9aa
WN
69562014-07-02 Will Newton <will.newton@linaro.org>
6957
6958 * malloc/obstack.c: Merge from gnulib master.
6959 [HAVE_CONFIG_H]: Remove conditional code.
6960 [!_LIBC]: Include config.h.
6961 [!ELIDE_CODE]: Don't include inttypes.h, include
6962 stdint.h unconditionally.
6963 (print_and_abort): Mark as _Noreturn.
6964 (_obstack_allocated_p): Mark as __attribute_pure__.
6965 (obstack_free): Rename to __obstack_free.
6966 [!__attribute__]: Remove conditional code.
6967 * malloc/obstack.h: Merge from gnulib master.
6968 [__cplusplus]: Move conditional down.
6969 [!__attribute_pure__]: Define __attribute_pure__ here
6970 if it is not already defined.
6971 (_obstack_memory_used): Mark as __attribute_pure__.
6972 [!__obstack_free]: Define as obstack_free.
6973 [__GNUC__]: Remove check for ancient NeXT gcc.
6974
c4c41244
PE
69752014-07-02 Will Newton <will.newton@linaro.org>
6976 Paul Eggert <eggert@cs.ucla.edu>
6977
6978 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6979
e1e041c4
SP
69802014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6981
6982 * resolv/gethnamaddr.c: Add comment warning that the file is
6983 not maintained.
6984
ccf431ff
CD
69852014-07-01 Carlos O'Donell <carlos@redhat.com>
6986
d34570a6
CD
6987 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6988 entries.
6989
ccf431ff
CD
6990 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6991 entry for aio_cancel and aio_cancel64.
6992 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6993 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6994 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6995 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6996 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6997 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6998 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6999 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7000 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7001 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7002 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7003 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7004 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7005
ca06321d
RM
70062014-07-01 Roland McGrath <roland@hack.frob.com>
7007
7008 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7009 * nptl/pthread_mutex_lock.c: Likewise.
7010 * nptl/pthread_mutex_timedlock.c: Likewise.
7011 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7012
a1ac3184
RH
70132014-07-01 Richard henderson <rth@redhat.com>
7014
631021e0
RH
7015 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7016 (__isnan, __isnanl): Remove.
7017 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7018
a1ac3184
RH
7019 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7020
0c1d731f
SL
70212014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7022
7023 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7024
76985d3e
SP
70252014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7026
7027 * resolv/nss_dns/dns-host.c (getanswer_r)
7028 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7029
b0cb3096
JM
70302014-07-01 Joseph Myers <joseph@codesourcery.com>
7031
7032 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7033 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7034 undefine.
7035 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7036 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7037
4d76cb39
RM
70382014-07-01 Roland McGrath <roland@hack.frob.com>
7039
7040 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7041 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7042
7043 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7044 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7045
7046 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7047 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7048 ... here.
7049 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7050 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7051
7052 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7053 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7054 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7055 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7056
7057 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7058 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7059 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7060 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7061 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7062 Moved ...
7063 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7064 ... here.
7065 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7066 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7067 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7068 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7069 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7070 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7072 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7075 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7076 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7080 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7081 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7082 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7083 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7084 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7085 ... here.
7086 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7087 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7088 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7089 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7090 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7091 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7092 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7093 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7094
0cdcad17
DH
70952014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7096
7097 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7098 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7099 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7100 Add sysdep.
7101
9b71d0e3
AZ
71022014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7103
7104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7105
665390c2
JM
71062014-06-30 Joseph Myers <joseph@codesourcery.com>
7107
ae05a9d7
JM
7108 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7109 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7110
a7672a2f
JM
7111 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7112
665390c2
JM
7113 * sysdeps/arm/libm-test-ulps: Regenerated.
7114
d7a05d07
MR
71152014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7116 Roland McGrath <roland@hack.frob.com>
7117
7118 * test-skeleton.c (signal_handler): Kill the whole process group
7119 before killing the child individually.
7120 (main): Report any failure on `setpgid'.
7121
46f1d8a6
RM
71222014-06-30 Roland McGrath <roland@hack.frob.com>
7123
7124 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7125 from _TLS_H to _ARM_NPTL_TLS_H.
7126 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7127 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7128
9c37ec0b
JM
71292014-06-30 Joseph Myers <joseph@codesourcery.com>
7130
ce9c5b3e
JM
7131 [BZ #16539]
7132 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7133 (__expm1l): Return argument unchanged when small but not
7134 subnormal.
7135
3a6e9887
JM
7136 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7137 include macro name.
7138 (_FP_UNPACK_RAW_1_P): Likewise.
7139 (_FP_PACK_RAW_1): Likewise.
7140 (_FP_PACK_RAW_1_P): Likewise.
7141 (_FP_MUL_MEAT_1_wide): Likewise.
7142 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7143 (_FP_MUL_MEAT_1_hard): Likewise.
7144 (_FP_DIV_MEAT_1_imm): Likewise.
7145 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7146 (_FP_DIV_MEAT_1_udiv): Likewise.
7147 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7148 (_FP_UNPACK_RAW_2): Likewise.
7149 (_FP_UNPACK_RAW_2_P): Likewise.
7150 (_FP_PACK_RAW_2): Likewise.
7151 (_FP_PACK_RAW_2_P): Likewise.
7152 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7153 (_FP_MUL_MEAT_2_wide): Likewise.
7154 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7155 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7156 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7157 (_FP_MUL_MEAT_2_gmp): Likewise.
7158 (_FP_DIV_MEAT_2_udiv): Likewise.
7159 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7160 (_FP_FRAC_SRL_4): Likewise.
7161 (_FP_FRAC_SRST_4): Likewise.
7162 (_FP_FRAC_SRS_4): Likewise.
7163 (_FP_UNPACK_RAW_4): Likewise.
7164 (_FP_UNPACK_RAW_4_P): Likewise.
7165 (_FP_PACK_RAW_4): Likewise.
7166 (_FP_PACK_RAW_4_P): Likewise.
7167 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7168 (_FP_MUL_MEAT_4_wide): Likewise.
7169 (_FP_MUL_MEAT_4_gmp): Likewise.
7170 (umul_ppppmnnn): Likewise.
7171 (_FP_DIV_MEAT_4_udiv): Likewise.
7172 (__FP_FRAC_ADD_4): Likewise.
7173 (__FP_FRAC_SUB_3): Likewise.
7174 (__FP_FRAC_SUB_4): Likewise.
7175 (__FP_FRAC_DEC_3): Likewise.
7176 (__FP_FRAC_DEC_4): Likewise.
7177 (__FP_FRAC_ADDI_4): Likewise.
7178 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7179 (_FP_FRAC_SRL_8): Likewise.
7180 (_FP_FRAC_SRS_8): Likewise.
7181
9c37ec0b
JM
7182 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7183 include macro name.
7184 (FP_UNPACK_RAW_EP): Likewise.
7185 (FP_PACK_RAW_E): Likewise.
7186 (FP_PACK_RAW_EP): Likewise.
7187 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7188 (_FP_ISSIGNAN): Likewise.
7189 (_FP_ADD_INTERNAL): Likewise.
7190 (_FP_FMA): Likewise.
7191 (_FP_CMP): Likewise.
7192 (_FP_SQRT): Likewise.
7193 (_FP_TO_INT): Likewise.
7194 (_FP_FROM_INT): Likewise.
7195 (FP_EXTEND): Likewise.
7196 (_FP_DIV_MEAT_N_loop): Likewise.
7197
2125f674
MR
71982014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7199
7200 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7201 throughout.
7202
edea4028
JM
72032014-06-29 Joseph Myers <joseph@codesourcery.com>
7204
7205 [BZ #17097]
7206 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7207 result with correct sign in case of exponents that produce
7208 overflow except for X very close to 1.
7209
dd0ba018
PE
72102014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7211
7212 mktime: merge #if/#ifdef usage from glibc
7213 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7214 as that works with both Glibc's and Gnulib's style.
7215 See thread starting at Siddhesh Poyarekar's bug report at:
7216 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7217
64df73c2
SP
72182014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7219
7220 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7221 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7222 * sysdeps/tile/tilegx/memmove.c: Remove file.
7223
f1eafb41
JM
72242014-06-27 Joseph Myers <joseph@codesourcery.com>
7225
7226 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7227 abi-name definition.
7228 * scripts/soversions.awk: Do not handle or generate ABI lines.
7229 * shlib-versions: Remove ABI entries.
7230 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7231 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7232
58eb0862
RM
72332014-06-27 Roland McGrath <roland@hack.frob.com>
7234
37caf178
RM
7235 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7236 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7237 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7238 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7240 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7242 Moved ...
7243 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7244 ... here.
7245 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7246 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7247 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7248 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7250 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7252 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7253 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7254 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7255 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7256 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7258 Moved ...
7259 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7260 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7261 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7263 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7265 Moved ...
7266 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7268 Moved ...
7269 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7270 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7271 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7273 Moved ...
7274 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7276 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7278 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7280 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7281 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7282 Moved ...
7283 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7284 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7285 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7286 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7287 Moved ...
7288 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7289 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7290 Moved ...
7291 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7292 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7293 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7294 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7295 Moved ...
7296 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7297 ... here.
7298 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7299 Identical file removed.
7300 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7301 Moved ...
7302 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7303 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7304 Identical file removed.
7305 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7306 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7307 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7308 Moved ...
7309 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7310 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7311 Identical file removed.
7312 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7313 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7314 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7315 Identical file removed.
7316 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7317 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7319 Identical file removed.
7320 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7321 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7322 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7323 Identical file removed.
7324 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7325 Moved ...
7326 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7327 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7328 Identical file removed.
7329 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7330 Moved ...
7331 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7332 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7333 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7334 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7335 Identical file removed.
7336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7337 Moved ...
7338 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7339 ... here.
7340 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7341 Identical file removed.
7342 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7343 Moved ...
7344 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7345 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7346 Identical file removed.
7347 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7348 Moved ...
7349 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7350 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7351 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7352 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7353 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7354 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7355 Moved ...
7356 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7357 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7358 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7359
58eb0862
RM
7360 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7361 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7362 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7363 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7364 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7365
6f12d062
AS
73662014-06-27 Arjun Shankar <arjun.is@lostca.se>
7367
7368 [BZ #17092]
7369 * nscd/nscd.c (monitor_child): Return exit status of child
7370 instead of return value from wait syscall.
7371
be254932
JM
73722014-06-27 Joseph Myers <joseph@codesourcery.com>
7373
cb403c34
JM
7374 * configure.ac (libc_commonpagesize): Remove variable.
7375 (libc_relro_required): Likewise.
7376 (libc_cv_z_relro): Remove configure test.
7377 * configure: Regenerated.
7378 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7379 variable.
7380 (libc_relro_required): Likewise.
7381 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7382 (libc_relro_required): Likewise.
7383 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7384 (libc_relro_required): Likewise.
7385 * sysdeps/arm/preconfigure: Regenerated.
7386 * sysdeps/ia64/preconfigure: Remove file.
7387 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7388 variable.
7389 (libc_relro_required): Likewise.
7390
be254932
JM
7391 [BZ #16561]
7392 [BZ #16562]
7393 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7394 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7395 recompute overflowing results in original rounding mode.
7396 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7397 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7398 recompute overflowing results in original rounding mode.
7399 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7400 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7401 recompute overflowing results in original rounding mode.
7402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7403 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7404 recompute overflowing results in original rounding mode.
7405 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7406 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7407 recompute overflowing results in original rounding mode.
7408 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7409 (libc_feholdsetround_ctx): New macro.
7410 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7411 * sysdeps/i386/fpu/libm-test-ulps: Update.
7412 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7413
b351d85a
JM
74142014-06-26 Joseph Myers <joseph@codesourcery.com>
7415
7416 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7417 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7418 corresponding .cpsetup call.
7419
3cb4de47
RM
74202014-06-26 Roland McGrath <roland@hack.frob.com>
7421
7422 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7423 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7424 * sysdeps/arm/Makefile [$(subdir) = csu]
7425 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7426 (static-only-routines): Add aeabi_read_tp here.
7427 (shared-only-routines): Add libc-aeabi_read_tp here.
7428 (CFLAGS-libc-start.c): Add -fexceptions here.
7429 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7430 (sysdep_routines, static-only-routines, shared-only-routines):
7431 Don't add to these here.
7432 (CFLAGS-libc-start.c): Likewise.
7433
7434 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7435 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7436 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7437 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7438 * sysdeps/arm/Makefile [$(subdir) = rt]
7439 (librt-sysdep_routines, librt-shared-only-routines):
7440 Append rt-aeabi_unwind_cpp_pr1 here.
7441 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7442 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7443 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7444 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7445 Append nptl-aeabi_unwind_cpp_pr1 here.
7446 (tests): Filter out tst-cleanupx4 here.
7447 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7448 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7449 Don't do those here.
7450
354426bb
JM
74512014-06-26 Joseph Myers <joseph@codesourcery.com>
7452
7453 * scripts/list-sources.sh: Do not handle ports specially.
7454
28b0a8c9
RM
74552014-06-26 Roland McGrath <roland@hack.frob.com>
7456
a3dd035d
RM
7457 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7458 * sysdeps/arm/feupdateenv.c: Likewise.
7459
28b0a8c9
RM
7460 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7461
e66a8203
JM
74622014-06-26 Joseph Myers <joseph@codesourcery.com>
7463
7464 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7465 trailing whitespace removed.
7466 * scripts/config.guess: Update to version 2014-03-23.
7467 * scripts/config.sub: Update to version 2014-05-01
7468 * scripts/install-sh: Update to version 2013-12-25.23.
7469 * scripts/move-if-change: Update from gnulib.
7470
74171115
SP
74712014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7472
b97c9ce5
SP
7473 * debug/memmove_chk.c: Remove pagecopy.h include.
7474
4000f892
SP
74752014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7476
74171115
SP
7477 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7478 identical to gnulib mktime.
7479
a8779c28
JM
74802014-06-26 Joseph Myers <joseph@codesourcery.com>
7481
e64708de
JM
7482 * configure.ac: Do not test for machine being rs6000. Do not test
7483 for powerpc*-*soft.
7484 * configure: Regenerated.
7485
a8779c28
JM
7486 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7487 test.
7488 * configure: Regenerated.
7489 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7490 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7491 Remove configure test.
7492 * sysdeps/arm/configure: Regenerated.
7493 * sysdeps/nptl/configure.ac: Do not check
7494 libc_cv_asm_cfi_directives.
7495 * sysdeps/nptl/configure: Regenerated.
7496 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7497 * sysdeps/x86_64/nptl/configure: Remove generated file.
7498 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7499 unconditional.
7500 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7501
2aac0a86
SP
75022014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7503
059bf913
SP
7504 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7505 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7506 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7507 it is defined.
7508
4cf5b6d0
SP
7509 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7510 instead of whether it is defined.
7511 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7512 * sysdeps/hppa/dl-machine.h: Likewise.
7513 * sysdeps/ia64/dl-machine.h: Likewise.
7514 * sysdeps/m68k/dl-machine.h: Likewise.
7515 * sysdeps/microblaze/dl-machine.h: Likewise.
7516 * sysdeps/mips/dl-machine.: Likewise.
7517 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7518 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7519 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7520 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7521 * sysdeps/sh/dl-machine.h: Likewise.
7522 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7523 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7524 * sysdeps/tile/dl-machine.h: Likewise.
7525 * sysdeps/x86_64/dl-machine.h: Likewise.
7526
2aac0a86
SP
7527 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7528 code.
7529 (verify_persistent_db): Likewise.
7530
6ad2df0b
RM
75312014-06-26 Roland McGrath <roland@hack.frob.com>
7532
d8a483f3
RM
7533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7534 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7536 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7538 Moved ...
7539 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7540 ... here.
7541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7542 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7544 Identical file removed.
7545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7546 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7548 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7550 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7552 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7554 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7556 Moved ...
7557 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7559 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7561 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7563 Moved ...
7564 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7566 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7568 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7570 Identical file removed.
7571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7572 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7574 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7576 Moved ...
7577 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7578 ... here.
7579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7580 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7582 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7584 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7586 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7588 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7590 Moved ...
7591 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7593 Moved ...
7594 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7596 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7598 Moved ...
7599 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7601 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7602
52ae23b4
RM
7603 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7604 folded into ...
7605 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7606 * sysdeps/unix/sysv/linux/s390/Versions
7607 (libpthread: GLIBC_2.19): New version set.
7608 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7609 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7610 (librt: GLIBC_2.3.3): New version set.
7611 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7612 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7613 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7614 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7615 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7616 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7617 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7618 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7619 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7620 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7621 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7622 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7623 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7624 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7625 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7626 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7627 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7628 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7629 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7630 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7631 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7632 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7633 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7634 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7635 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7636 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7637 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7639 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7640 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7641 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7642 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7644 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7647 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7649 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7651 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7652 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7653 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7654 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7655 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7656
39507e4a
RM
7657 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7658 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7659 (__libc_vfork): Define the function under this name.
7660 [!NOT_IN_libc] (__vfork): Make this an alias.
7661 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7662 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7663 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7664 (__libc_vfork): Define the function under this name.
7665 [!NOT_IN_libc] (__vfork): Make this an alias.
7666 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7667 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7668 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7670 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7671 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7672
e549ee56
RM
7673 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7674 code that was previously under [RESET_PID].
7675 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7676 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7677 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7678
6ad2df0b
RM
7679 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7680 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7681 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7682 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7683 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7684 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7685 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7686 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7687 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7688 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7689 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7690 Moved ...
7691 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7692 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7693 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7694 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7695 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7696 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7697 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7698 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7699 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7700 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7701 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7702 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7703 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7704 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7705 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7706 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7707 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7708 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7709 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7710 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7711 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7712 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7713 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7714 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7715 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7716 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7717 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7718 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7719 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7720
7c1c1d8e
RM
77212014-06-25 Roland McGrath <roland@hack.frob.com>
7722
7723 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7724 that was previously under [RESET_PID].
7725 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7726
3e239be6
JM
77272014-06-25 Joseph Myers <joseph@codesourcery.com>
7728
74385da5
JM
7729 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7730 not undefine and redefine.
7731 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7732 [O_CLOEXEC]: Make code unconditional.
7733 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7734 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7735 <kernel-features.h>.
7736 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7737 conditional variable definition.
7738 (shm_open) [O_CLOEXEC]: Make code unconditional.
7739 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7740 code.
7741
c2570a0b
JM
7742 * configure.ac (USE_REGPARMS): Don't define here.
7743 * configure: Regenerated.
7744 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7745 * sysdeps/i386/configure: Regenerated.
7746
11b076bb
JM
7747 * nptl/createthread.c: Don't include kernel-features.h.
7748 * nptl/pthread_cancel.c: Likewise.
7749 * nptl/pthread_condattr_setclock.c: Likewise.
7750 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7751 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7752 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7753 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7754 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7755 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7756 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7759 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7760 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7761 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7762 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7763 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7764 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7765 * nscd/gai.c: Likewise.
7766 * nss/nss_db/db-open.c: Likewise.
7767 * sysdeps/generic/ldsodefs.h: Likewise.
7768 * sysdeps/sh/nptl/tls.h: Likewise.
7769 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7770 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7771 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7772 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7773 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7774 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7775 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7776 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7778 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7779 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7780 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7781 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7782 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7783 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7784 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7785 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7786 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7787 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7788 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7789 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7790 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7791 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7792 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7793 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7794 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7795 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7796 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7797 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7798 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7799 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7800 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7801 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7802 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7803 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7804 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7805 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7806 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7807 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7808 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7809 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7810 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7811 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7812 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7813 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7814 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7815 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7816 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7817 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7818 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7819 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7820 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7821 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7822 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7823 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7824 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7825 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7826 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7849 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7850 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7851 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7852 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7853 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7854 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7855 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7856 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7857 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7858 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7859 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7860 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7861 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7862 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7863 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7864 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7865 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7866 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7867 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7868 * sysdeps/unix/sysv/linux/system.c: Likewise.
7869 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7870 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7871 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7872 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7873 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7874 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7875 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7876
92072d57
JM
7877 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7878 * configure: Regenerated.
7879 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7880
3e239be6
JM
7881 * configure.ac (base_machine): Do not set specially for particular
7882 machines here.
7883 * configure: Regenerated.
7884 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7885 settings from configure.ac.
7886 * sysdeps/i386/preconfigure: New file.
7887 * sysdeps/s390/preconfigure: Likewise.
7888 * sysdeps/sh/preconfigure: Likewise.
7889 * sysdeps/sparc/preconfigure: Likewise.
7890
06d50baa
RM
78912014-06-25 Roland McGrath <roland@hack.frob.com>
7892
74836003
RM
7893 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7894 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7895 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7896 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7897 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7898 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7899 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7900 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7901 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7902 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7903 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7904 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7905 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7906 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7907 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7908 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7909 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7910 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7911 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7912
7913 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7914 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7915 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7916 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7917 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7918 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7919 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7920 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7921 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7922 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7923 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7924 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7925 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7926 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7927 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7928 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7929 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7930 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7931 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7932 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7933 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7934 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7935 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7936 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7937 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7938 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7939 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7940 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7941 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7942 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7943 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7944 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7945 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7946 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7947 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7948 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7949 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7950 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7951
06d50baa
RM
7952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7953 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7955 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7957 Moved ...
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7959 ... here.
7960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7961 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7963 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7965 Moved ...
7966 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7968 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7970 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7972 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7974 Moved ...
7975 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7977 Moved ...
7978 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7980 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7982 Moved ...
7983 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7985 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7987 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7989 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7991 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7993 Moved ...
7994 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7995 ... here.
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7997 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7999 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8001 Moved ...
8002 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8004 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8006 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8010 Moved ...
8011 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8013 Moved ...
8014 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8016 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8018 Moved ...
8019 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8021 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8023 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8024
a4ccbc9b
JM
80252014-06-25 Joseph Myers <joseph@codesourcery.com>
8026
0828edbf
JM
8027 * timezone/checktab.awk: Update from tzcode 2014e.
8028 * timezone/private.h: Likewise.
8029 * timezone/tzfile.h: Likewise.
8030 * timezone/zdump.c: Likewise.
8031 * timezone/zic.c: Likewise.
8032
a4ccbc9b
JM
8033 * sysdeps/unix/sysv/linux/kernel-features.h
8034 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8035 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8036 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8037 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8038 Remove conditional code.
8039
9aea0cb8
WN
80402014-06-25 Will Newton <will.newton@linaro.org>
8041
8042 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8043 (_dl_arm_cap_flags): Add HWCAP2 values.
8044 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8045 (_DL_HWCAP_COUNT): Increase to 37.
8046 (_DL_HWCAP_LAST): New define.
8047 (_DL_HWCAP2_LAST): New define.
8048 (_dl_procinfo): Add support for printing
8049 AT_HWCAP2 entries.
8050 (_dl_string_hwcap): Use _dl_hwcap_string.
8051
6eaa65ce
AZ
80522014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8053
8054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8055
0f5b7185
JM
80562014-06-25 Joseph Myers <joseph@codesourcery.com>
8057
cfd2ea50
JM
8058 * README: Do not mention ports directory.
8059
cecf2ed4
JM
8060 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8061 Remove macro.
8062 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8063 <kernel-features.h>.
8064 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8065 conditional variable definition.
8066 (__futimes): Update comment.
8067 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8068 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8069
a638de82
JM
8070 [BZ #16560]
8071 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8072 arguments close to 0.
8073 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8074 Likewise.
8075 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8076 Likewise.
8077 * math/auto-libm-test-in: Add more tests of exp10.
8078 * math/auto-libm-test-out: Regenerated.
8079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8080
0f5b7185
JM
8081 * sysdeps/unix/sysv/linux/kernel-features.h
8082 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8083 * sysdeps/unix/sysv/linux/readv.c: Do not include
8084 <kernel-features.h>.
8085 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8086 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8087 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8088 unconditional.
8089 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8090 conditional code.
8091 * sysdeps/unix/sysv/linux/writev.c: Do not include
8092 <kernel-features.h>.
8093 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8094 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8095 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8096 unconditional.
8097 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8098 conditional code.
8099
c7aec4be
WN
81002014-06-25 Will Newton <will.newton@linaro.org>
8101
8102 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8103 comment changes throughout the file. Remove checks
8104 for HAVE_*_H definitions that are not required.
8105 (__gen_tempname): Call abort if an unknown kind value is
8106 passed.
8107
c5241f95
AS
81082014-06-25 Andreas Schwab <schwab@suse.de>
8109
8110 [BZ #17086]
8111 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8112 scalbln, scalblnf, scalblnl in libc.
8113
911422da
SP
81142014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8115
8116 [BZ #17086]
8117 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8118 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8119 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8120
0d749bbe
RM
81212014-06-24 Roland McGrath <roland@hack.frob.com>
8122
8123 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8124 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8125 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8126 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8127 Update #include.
8128 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8129 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8130 Update #include.
8131 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8132 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8133 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8134 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8135 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8136 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8137 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8138 * sysdeps/x86/bits/semaphore.h: ... here.
8139 * sysdeps/x86/nptl/elide.h: Moved ...
8140 * sysdeps/x86/elide.h: ... here.
8141 * sysdeps/x86_64/nptl/Implies: File removed.
8142 * sysdeps/i386/nptl/Implies: File removed.
8143
0ea5d373
JM
81442014-06-24 Joseph Myers <joseph@codesourcery.com>
8145
4060283d
JM
8146 [BZ #16539]
8147 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8148 return the argument for normal arguments with exponent below -64.
8149 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8150 Likewise.
8151 * math/auto-libm-test-in: Add another test of expm1.
8152 * math/auto-libm-test-out: Regenerated.
8153
e7dd3c8c
JM
8154 [BZ #16287]
8155 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8156 calling __erfcl for arguments at least 16.
8157 * math/auto-libm-test-in: Add more tests of erf.
8158 * math/auto-libm-test-out: Regenerated.
8159
0ea5d373
JM
8160 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8161 individual architectures.
8162 * sysdeps/unix/sysv/linux/configure: Regenerated.
8163 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8164 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8165 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8166 (ldd_rewrite_script): Define variable.
8167 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8169 file.
8170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8171 generated file.
8172 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8173 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8174 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8175 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8176 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8177 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8178 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8179 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8180
2307e126
SP
81812014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8182
8183 [BZ #17084]
8184 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8185 Rename member __data.d to __data.__elision_data.
8186
c0a4ed77
W
81872014-06-24 Wilco <wdijkstr@arm.com>
8188
8189 * NEWS: Add 16918 to fixed bug list.
8190
b8c00573
W
81912014-06-24 Wilco <wdijkstr@arm.com>
8192
8193 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8194
b5570d92
W
81952014-06-24 Wilco <wdijkstr@arm.com>
8196
8197 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8198 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8199 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8200 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8201 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8202 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8203 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8204 Use _FPU_MASK_RM.
8205
947bdca2
W
82062014-06-24 Wilco <wdijkstr@arm.com>
8207
8208 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8209
00f669ed
W
82102014-06-24 Wilco <wdijkstr@arm.com>
8211
8212 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8213 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8214 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8215 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8216
db59bad3
W
82172014-06-24 Wilco <wdijkstr@arm.com>
8218
8219 [BZ #16918]
8220 * sysdeps/arm/feupdateenv.c (feupdateenv):
8221 Rewrite to reduce FPSCR accesses and fix return value.
8222
001f7b77
W
82232014-06-24 Wilco <wdijkstr@arm.com>
8224
8225 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8226 Optimize to avoid unnecessary FPSCR writes.
8227 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8228 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8229 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8230 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8231
4841e6a6
W
82322014-06-24 Wilco <wdijkstr@arm.com>
8233
8234 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8235 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8236 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8237 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8238 Call libc_fetestexcept_vfp.
8239 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8240 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8241 __SOFTFP__ ifdef so that they can be built for softfp.
8242
0813022c
SP
82432014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8244
08e5862f
SP
8245 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8246 argument type signed char.
8247
0813022c
SP
8248 * Makerules (check-abi): Dump diff of symlist if the test
8249 fails.
8250
3fc7236a
RM
82512014-06-23 Roland McGrath <roland@hack.frob.com>
8252
aba8ef95
RM
8253 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8254 using abort.
8255
3fc7236a
RM
8256 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8257 Remove unused variable ST.
8258
4da6db51
JM
82592014-06-23 Joseph Myers <joseph@codesourcery.com>
8260
4648909d
JM
8261 [BZ #16354]
8262 [BZ #17061]
8263 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8264 small arguments before calling __expm1.
8265 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8266 small arguments before calling __expm1f.
8267 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8268 small arguments before calling __expm1l.
8269 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8270 Likewise.
8271 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8272 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8273 spurious underflow for some cosh tests.
8274 * math/auto-libm-test-out: Regenerated.
8275 * sysdeps/i386/fpu/libm-test-ulps: Update.
8276
46a3d3c7
JM
8277 [BZ #17050]
8278 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8279 (__ieee754_y1): Set errno if return value overflows.
8280 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8281 (__ieee754_y1f): Set errno if return value overflows.
8282 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8283 (__ieee754_y1l): Set errno if return value overflows.
8284 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8285 (__ieee754_y1l): Set errno if return value overflows.
8286 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8287 * math/auto-libm-test-out: Regenerated.
8288
863893ec
JM
8289 * math/gen-auto-libm-tests.c: Document use of
8290 ignore-zero-inf-sign.
8291 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8292 (input_flags): Add ignore-zero-inf-sign.
8293 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8294 * math/gen-libm-test.pl (generate_testfile): Handle
8295 ignore-zero-inf-sign.
8296 * math/auto-libm-test-in: Mark some cpow tests with
8297 ignore-zero-inf-sign and some with xfail-rounding.
8298 * math/auto-libm-test-out: Regenerated.
8299 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8300 * sysdeps/i386/fpu/libm-test-ulps: Update.
8301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8302
4da6db51
JM
8303 [BZ #16315]
8304 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8305 overflowing or underflowing operations take place with sign of
8306 result.
8307 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8308 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8309 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8310 (__ieee754_pow): Recompute overflowing and underflowing results in
8311 original rounding mode.
8312 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8313 (__powl_helper): Allow negative argument X and scale negated value
8314 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8315 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8316 overflowing or underflowing operations take place with sign of
8317 result.
8318 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8319 Include <math.h>.
8320 * math/auto-libm-test-in: Add more tests of pow.
8321 * math/auto-libm-test-out: Regenerated.
8322 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8323 (pow_tonearest_test_data): Remove.
8324 (pow_test_tonearest): Likewise.
8325 (pow_towardzero_test_data): Likewise.
8326 (pow_test_towardzero): Likewise.
8327 (pow_downward_test_data): Likewise.
8328 (pow_test_downward): Likewise.
8329 (pow_upward_test_data): Likewise.
8330 (pow_test_upward): Likewise.
8331 (main): Don't call removed functions.
8332 * sysdeps/i386/fpu/libm-test-ulps: Update.
8333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8334
5686b236
RM
83352014-06-23 Roland McGrath <roland@hack.frob.com>
8336
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8338 Moved ...
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8341 Moved ...
8342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8344 Moved ...
8345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8347 Moved ...
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8350 File removed.
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8352 File removed.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8354 File removed.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8356 File removed.
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8358 File removed.
8359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8360 File removed.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8362 File removed.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8364 File removed.
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8366 File removed.
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8368 File removed.
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8370 File removed.
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8372 File removed.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8374 Moved ...
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8377 Moved ...
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8379 ... here.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8381 Moved ...
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8384 Moved ...
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8387 Moved ...
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8390 Moved ...
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8393 Moved ...
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8396 Moved ...
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8399 Moved ...
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8403 ... here.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8405 Moved ...
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8408 Moved ...
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8410 ... here.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8412 Moved ...
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8414 ... here.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8416 Moved ...
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8418 ... here.
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8420 Moved ...
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8423 Moved ...
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8428 Moved ...
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8430 ... here.
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8432 Moved ...
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8434 ... here.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8436 Moved ...
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8439 Moved ...
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8442 Moved ...
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8445 Moved ...
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8448 Moved ...
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8450 ... here.
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8452 Moved ...
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8455 Moved ...
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8458 Moved ...
8459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8461 Moved ...
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8466 Moved ...
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8469 Moved ...
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8472 Moved ...
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8474 ... here.
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8476 Moved ...
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8478 ... here.
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8480 Moved ...
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8482 ... here.
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8484 Moved ...
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8487 Moved ...
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8490 Moved ...
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8493 Moved ...
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8495 ... here.
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8497 Moved ...
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8499 ... here.
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8501 Moved ...
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8503 ... here.
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8505 Moved ...
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8508 Moved ...
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8510
e6d90d67
WD
85112014-06-23 Will Newton <will.newton@linaro.org>
8512 Wilco <wdijkstr@arm.com>
8513
8514 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8515 implementation. Include get-rounding-mode.h.
8516 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8517 [!libc_feholdsetround_noex_ctx]: Define
8518 libc_feholdsetround_noex_ctx.
8519 [!libc_feholdsetround_noexf_ctx]: Define
8520 libc_feholdsetround_noexf_ctx.
8521 [!libc_feholdsetround_noexl_ctx]: Define
8522 libc_feholdsetround_noexl_ctx.
8523 (libc_feholdsetround_ctx): New function.
8524 (libc_feresetround_ctx): New function.
8525 (libc_feholdsetround_noex_ctx): New function.
8526 (libc_feresetround_noex_ctx): New function.
8527
d42df555
RM
85282014-06-23 Roland McGrath <roland@hack.frob.com>
8529
88a46474
RM
8530 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8531 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8532 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8533 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8534 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8535 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8536
15bed472
RM
8537 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8538 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8539 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8540 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8541 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8542 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8543 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8544 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8545 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8546 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8547 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8548 Moved ...
8549 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8550 ... here.
8551 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8552 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8553 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8554 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8556 Moved ...
8557 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8558 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8559 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8560 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8561 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8562 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8563 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8565 Moved ...
8566 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8568 Moved ...
8569 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8570 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8571 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8572 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8573 Moved ...
8574 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8576 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8577 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8578 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8579 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8580 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8581 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8582 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8583 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8584 Moved ...
8585 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8586 ... here.
8587 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8588 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8589 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8590 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8592 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8594 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8596 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8597 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8598 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8599 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8600 Moved ...
8601 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8602 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8603 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8604 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8605 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8606 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8607 Moved ...
8608 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8609 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8612 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8613
d42df555
RM
8614 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8615 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8616 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8617 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8619 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8620 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8621 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8622 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8623 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8624 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8625 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8626 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8627 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8628 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8629 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8630 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8631 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8632 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8633 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8634 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8635 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8636 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8637 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8638 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8639 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8640 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8641 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8642
76e5216e
JM
86432014-06-23 Joseph Myers <joseph@codesourcery.com>
8644
8645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8646 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8647 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8648 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8649 (IPV6_PMTUDISC_INTERFACE): Likewise.
8650 (IPV6_PMTUDISC_OMIT): Likewise.
8651
7a81cbcc
AS
86522014-06-23 Andreas Schwab <schwab@suse.de>
8653
8654 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8655 Remove unused errout label.
8656
db224009
AZ
86572014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8658
8659 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8660 macro: hardware supports Vector Crypto instructions.
8661
f393b4aa
WN
86622014-06-23 Will Newton <will.newton@linaro.org>
8663
cc7d0447
WN
8664 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8665 rather than __builtin_expect.
8666
d6d06225
WN
8667 * elf/dl-lookup.c (undefined_msg): Remove variable.
8668 (_dl_lookup_symbol_x): Replace undefined_msg with string
8669 literal.
8670
f393b4aa
WN
8671 * elf/dl-lookup.c (do_lookup_unique): New function.
8672 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8673 to a separate function.
8674
ac60763e
AS
86752014-06-23 Andreas Schwab <schwab@suse.de>
8676
8677 [BZ #17079]
8678 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8679 before reading the next line.
8680
c5c13355
WN
86812014-06-23 Will Newton <will.newton@linaro.org>
8682
8683 * test-skeleton.c (signal_handler): Use printf and %m
8684 rather than perror. Use printf rather than fprintf to
8685 stderr. Use puts rather than fputs to stderr.
8686 (main): Likewise.
8687
bd3675f9
LC
86882014-06-22 Ludovic Courtès <ludo@gnu.org>
8689
8690 * nscd/nscd.c (thread_info_t): Remove typedef.
8691 (thread_info): Remove variable.
8692
d03efb2f
AM
86932014-06-21 Allan McRae <allan@archlinux.org>
8694
8695 * NEWS: Mention CVE-2014-4043.
8696
bc4a86fa
RM
86972014-06-20 Roland McGrath <roland@hack.frob.com>
8698
dc9a54f8
RM
8699 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8700 * nptl/smp.h: ... here.
8701
bd7022c4
RM
8702 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8703
26ffd5e6
RM
8704 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8705 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8706 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8707 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8708
93a6d082
RM
8709 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8710 * nptl/stack-aliasing.h: New file.
8711 * sysdeps/i386/i686/stack-aliasing.h: New file.
8712 * sysdeps/i386/i686/nptl/Makefile: File removed.
8713 * sysdeps/x86_64/stack-aliasing.h: New file.
8714 * sysdeps/x86_64/nptl/Makefile
8715 (CFLAGS-pthread_create.c): Variable removed.
8716
bc4a86fa
RM
8717 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8718 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8719 old file.
8720 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8721 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8722 old file.
8723
2272ffc1
JM
87242014-06-21 Joseph Myers <joseph@codesourcery.com>
8725
8726 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8727 (__ASSUME_SIGFRAME_V2): Remove macro.
8728 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8729 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8730 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8731 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8732 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8733 Declare as function. Remove conditional macro definitions.
8734 (__default_rt_sa_restorer): Likewise.
8735 (__default_sa_restorer_v1): Remove declaration.
8736 (__default_sa_restorer_v2): Likewise.
8737 (__default_rt_sa_restorer_v1): Likewise.
8738 (__default_rt_sa_restorer_v2): Likewise.
8739 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8740 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8741 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8742
4b88139b
RM
87432014-06-20 Roland McGrath <roland@hack.frob.com>
8744
8745 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8746 (libpthread-routines): Add sysdep.
8747 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8748 * sysdeps/unix/sysv/linux/sparc/Versions
8749 (libpthread: GLIBC_2.3.3): New version set.
8750 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8751 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8752 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8753 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8754 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8755 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8756 Moved ...
8757 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8758 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8759 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8760 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8761 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8762 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8763 * sysdeps/sparc/nptl/sem_init.c: ... here.
8764 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8765 * sysdeps/sparc/nptl/sem_post.c: ... here.
8766 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8767 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8768 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8769 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8770 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8771 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8772 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8773 (libpthread-routines): Add cpu_relax.
8774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8775 File removed.
8776 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8777 (librt: GLIBC_2.3.3): New version set.
8778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8779 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8780 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8781 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8782 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8784 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8786 Moved ...
8787 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8789 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8791 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8793 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8795 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8797 Moved ...
8798 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8799 Update #include.
8800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8801 Moved ...
8802 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8803 Update #include.
8804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8805 Moved ...
8806 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8807 Update #include.
8808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8809 Moved ...
8810 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8811 Update #include.
8812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8813 Moved ...
8814 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8815 Update #include.
8816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8817 Moved ...
8818 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8819 Update #include.
8820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8821 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8827 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8829 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8831 Moved ...
8832 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8834 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8836 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8837
d7109027
JM
88382014-06-20 Joseph Myers <joseph@codesourcery.com>
8839
9bc6103d
JM
8840 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8841 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8842 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8843 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8844 * nscd/nscd.c: Likewise.
8845 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8846 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8847 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8848 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8849
d7109027
JM
8850 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8851 <kernel-features.h>.
8852 (init_mq_netlink): Remove conditional have_sock_cloexec
8853 definitions. Remove code conditional on have_sock_cloexec < 0.
8854 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8855 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8856 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8857 <kernel-features.h>.
8858 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8859 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8860
d92d8f8a
L
88612014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8864 Add tests for memset_chk and memset.
8865
8866 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8867 with AVX2_Usable.
8868
4e6d2347
MR
88692014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8870
257ce712
MR
8871 [BZ #16046]
8872 * elf/tst-dl-iter-static.c: New file.
8873 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8874
4e6d2347
MR
8875 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8876 error.
8877
a2a76afe
JM
88782014-06-20 Joseph Myers <joseph@codesourcery.com>
8879
7fd00f99
JM
8880 * sysdeps/unix/sysv/linux/kernel-features.h
8881 (__ASSUME_F_GETOWN_EX): Remove macro.
8882 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8883 <kernel-features.h>.
8884 (miss_F_GETOWN_EX): Remove variable or macro.
8885 (do_fcntl): Do not check miss_F_GETOWN_EX.
8886 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8887
4a103975
JM
8888 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8889 Remove macro.
8890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8891 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8892 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8893
a2a76afe
JM
8894 * sysdeps/unix/sysv/linux/kernel-features.h
8895 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8896 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8897 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8898 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8899
90e5dd48
MR
89002014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8901
8902 [BZ #17075]
8903 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8904 Fix calculation of the symbol's value.
8905 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8906 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8907 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8908 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8909 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8910 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8911 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8912 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8913 (modules-names): Add `tst-armtlsdescmod',
8914 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8915 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8916 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8917 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8918 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8919 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8920 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8921 ($(objpfx)tst-armtlsdescloc): New dependency.
8922 ($(objpfx)tst-armtlsdescextnow): Likewise.
8923 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8924 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8925 TLS scheme support.
8926 * sysdeps/arm/configure: Regenerate.
8927
809fdf0d
JM
89282014-06-20 Joseph Myers <joseph@codesourcery.com>
8929
8930 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8931 (__atfct_seterrno_2): Likewise.
8932 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8933 <kernel-features.h>.
8934 (__ASSUME_ATFCTS): Do not undefine and redefine.
8935 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8936 (__have_atfcts): Remove conditional definition.
8937 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8938 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8939 unreachable if [__ASSUME_ATFCTS].
8940 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8941 not undefine and redefine.
8942 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8943 <kernel-features.h>.
8944 (faccessat) [__NR_faccessat]: Make code unconditional.
8945 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8946 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8947 <kernel-features.h>.
8948 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8949 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8950 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8951 <kernel-features.h>.
8952 (fchownat) [__NR_fchownat]: Make code unconditional.
8953 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8954 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8955 <kernel-features.h>.
8956 (futimesat) [__NR_futimesat]: Make code unconditional.
8957 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8958 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8959 <kernel-features.h>.
8960 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8961 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8962 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8963 <kernel-features.h>.
8964 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8965 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8966 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8967 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8968 <kernel-features.h>.
8969 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8970 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8971 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8972 <kernel-features.h>.
8973 (linkat) [__NR_linkat]: Make code unconditional.
8974 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8975 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8976 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8977 <kernel-features.h>.
8978 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8979 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8980 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8981 <kernel-features.h>.
8982 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8983 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8984 * sysdeps/unix/sysv/linux/openat.c: Do not include
8985 <kernel-features.h>.
8986 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8987 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8988 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8989 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8990 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8991 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8992 <kernel-features.h>.
8993 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8994 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8995 result of INLINE_SYSCALL directly, not via int variable.
8996 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8997 <kernel-features.h>.
8998 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8999 (renameat) [__NR_renameat]: Make code unconditional.
9000 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9001 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9002 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9003 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9004 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9005 (__ASSUME_ATFCTS): Do not undefine and redefine.
9006 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9007 <kernel-features.h>.
9008 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9009 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9010 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9011 <kernel-features.h>.
9012 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9013 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9014 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9015 (__ASSUME_ATFCTS): Do not undefine and redefine.
9016 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9017 <kernel-features.h>.
9018 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9019 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9020 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9021 <kernel-features.h>.
9022 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9023 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9024
224c6c51
L
90252014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9028
aa6ec754
AS
90292014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9030
9031 [BZ #17069]
9032 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9033 constructed tree before returning error.
9034 * posix/bug-regexp36.c: Expand test case.
9035
d8c2869d
SL
90362014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9037
3ef6b850
SL
9038 [BZ #6803]
9039 * math/libm-test.inc (scalbln_test_date):
9040 Add errno expectations.
9041 * math/w_scalblnf.c: New File.
9042 Add wrapper which checks for setting errno to ERANGE.
9043 Add weak_alias for corresponding scalbln function.
9044 * math/w_scalbln.c: Likewise.
9045 * math/w_scalblnl.c: Likewise.
9046 * math/Makefile (libm-calls): Add w_scalbln.
9047 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9048 Remove weak_alias for corresponding scalbln function.
9049 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9051 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9053 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9054 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9055 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9056 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9057 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9058 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9059 Remove long_double_symbol for scalblnl function in libm, libc.
9060 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9061 Add wrapper which checks for setting errno to ERANGE.
9062 Add long_double_symbol for scalblnl function in libm, libc.
9063 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9064 Remove long_double_symbol for scalblnl in libm.
9065 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9066 Add wrapper which checks for setting errno to ERANGE.
9067 Add long_double_symbol for scalblnl function in libm.
9068 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9069 Do not use wrapper because of own implementation.
9070
c8daec5c
L
90712014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9072
9073 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9074 3 bytes for __pad1 for x32.
9075 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9076
5c74e47c
LM
90772014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9078 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9081 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9082 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9083 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9084 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9085
4d43ef1e
AS
90862014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9087
9088 [BZ #17069]
9089 * posix/regcomp.c (parse_expression): Deallocate partially
9090 constructed tree before returning error.
9091 * posix/Makefile.c (tests): Add bug-regex36.
9092 (generated): Add bug-regex36.mtrace.
9093 (tests-special): Add $(objpfx)bug-regex36-mem.out
9094 (bug-regex36-ENV): New variable.
9095 ($(objpfx)bug-regex36-mem.out): New rule.
9096 * posix/bug-regex36.c: New file.
9097
51a7380b
WN
90982014-06-19 Will Newton <will.newton@linaro.org>
9099
9100 * malloc/malloc.c (systrim): If extra is zero then return
9101 early.
9102
91b84fe5
SP
91032014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9104
9105 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9106
f940b965
RE
91072014-06-19 Richard Earnshaw <rearnsha@arm.com>
9108
9109 * sysdeps/aarch64/strchr.S: New file.
9110
4ba7a00f
JM
91112014-06-18 Joseph Myers <joseph@codesourcery.com>
9112
9113 [BZ #17022]
9114 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9115 from arguments -2 or below.
9116 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9117 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9118
b3a9f56b
AS
91192014-06-18 Andreas Schwab <schwab@suse.de>
9120
9121 [BZ #17062]
9122 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9123 of a bracket expr not to run off the end of the string.
9124 * posix/Makefile (tests): Add tst-fnmatch3.
9125 * posix/tst-fnmatch3.c: New file.
9126
85d89278
JM
91272014-06-18 Joseph Myers <joseph@codesourcery.com>
9128
9129 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9130 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9131 [$(cross-compiling) = no]: Likewise.
9132 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9133 [$(cross-compiling) = no]: Likewise.
9134
754c5a08
RS
91352014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9136
9137 [BZ #17031]
9138 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9139 double, adjusted for any remainder from the high double.
9140 * math/libm-test.inc (nearbyint): Add tests.
9141 (rint): Likewise.
9142
556f529d
AZ
91432014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9144
9145 * nptl/sysdeps/powerpc/Makefile: Moved ...
9146 * sysdeps/powerpc/nptl/Makefile: ... here.
9147 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9148 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9149 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9150 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9151 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9152 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9153 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9154 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9155 * nptl/sysdeps/powerpc/tls.h: Moved ...
9156 * sysdeps/powerpc/nptl/tls.h: ... here.
9157
91c03c53
JM
91582014-06-16 Joseph Myers <joseph@codesourcery.com>
9159
9160 [BZ #16681]
9161 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9162 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9163 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9164 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9165 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9166 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9167 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9168 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9169 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9170
a76e63c5
AS
91712014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9172
9173 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9174
f2f6d82f
AS
91752014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9176
ea8a15f6
AS
9177 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9178 defined operator.
9179
f2f6d82f
AS
9180 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9181 $TIMEOUTFACTOR.
9182
a7291117
FW
91832014-06-16 Florian Weimer <fweimer@redhat.com>
9184
9185 [BZ #17058]
9186 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9187 non-executed part of the test.
9188
3d7c00e3
AS
91892014-06-16 Andreas Schwab <schwab@suse.de>
9190
9191 * string/bits/string2.h (strdup, strndup): Update feature guard.
9192
6957fb31
DM
91932014-06-14 David S. Miller <davem@davemloft.net>
9194
9195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9196
11b9e55b
AS
91972014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9198
1d2a0492
AS
9199 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9200 that was previously under [RESET_PID].
9201 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9202
11b9e55b
AS
9203 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9204 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9205 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9206 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9207 (__libc_vfork): New strong alias.
9208 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9209
0f6901d0
AK
92102014-06-14 Andi Kleen <ak@linux.intel.com>
9211
9212 * sysdeps/generic/elide.h: New file.
9213
38bbbb9f
SL
92142014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9215
9216 * Makefile (installed-headers): Adjust path of pthread.h header.
9217
45193bb8
RM
92182014-06-13 Roland McGrath <roland@hack.frob.com>
9219
9a25fd1e
RM
9220 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9221 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9222 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9223 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9224
4004f7e4
RM
9225 * nptl/sysdeps/s390/Makefile: Moved ...
9226 * sysdeps/s390/nptl/Makefile: ... here.
9227 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9228 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9229 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9230 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9231 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9232 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9233 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9234 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9235 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9236 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9237 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9238 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9239 * nptl/sysdeps/s390/tls.h: Moved ...
9240 * sysdeps/s390/nptl/tls.h: ... here.
9241
45193bb8
RM
9242 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9243 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9244
f6fdf533
DM
92452014-06-13 David S. Miller <davem@davemloft.net>
9246
9247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9250 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9254 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9255 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9256 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9257 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9258 Remove RESET_PID cpp guards.
9259 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9260 Remove RESET_PID cpp guards.
9261 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9262
f5d71e14
AS
92632014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9264
9265 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9266 __sp to uintptr_t.
9267
b7aa8caa
AK
92682014-06-13 Andi Kleen <ak@linux.intel.com>
9269
4b266200
AZ
9270 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9271 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9272 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9273 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9275 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9276 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9277 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9278 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9279 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9280 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9282 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9283 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9284 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9285 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9286 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9287 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9288 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9289 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9290
9291 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9292 (pthread_rwlock_rdlock): Add elision.
9293 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9294 (pthread_rwlock_wrlock): Add elision.
9295 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9296 (pthread_rwlock_trywrlock): Add elision.
9297 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9298 (pthread_rwlock_tryrdlock): Add elision.
9299 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9300 (pthread_rwlock_tryrdlock): Add elision unlock.
9301 * nptl/sysdeps/pthread/pthread.h:
9302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9303 (PTHREAD_RWLOCK_INITIALIZER,
9304 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9305 Handle new elision field.
9306 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9307 * sysdeps/arm/nptl/bits/pthreadtypes.h
9308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9309 * sysdeps/sh/nptl/bits/pthreadtypes.h
9310 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9311 * sysdeps/tile/nptl/bits/pthreadtypes.h
9312 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9313 * sysdeps/a/nptl/bits/pthreadtypes.h
9314 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9315 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9316 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9317 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9318 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9319 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9321 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9322 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9323 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9324 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9325 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9326 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9327 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9328 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9329 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9330 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9331 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9332 (elision_init): Set try_xbegin to zero when no RTM.
9333 * sysdeps/x86/nptl/bits/pthreadtypes.h
9334 (pthread_rwlock_t): Change __pad1 to __rwelision.
9335 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9336
a832bdd3
AK
93372014-06-13 Andi Kleen <ak@linux.intel.com>
9338
9339 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9340 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9341 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9342 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9343
995a46bb
MI
93442014-06-13 Meador Inge <meadori@codesourcery.com>
9345
9346 [BZ #16996]
03ed7738 9347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
9348 that the cached result has been set before returning it.
9349
45262aee
RM
93502014-06-12 Roland McGrath <roland@hack.frob.com>
9351
febf6cc5
RM
9352 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9353 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9354 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9355 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9356 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9357 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9358
e2682246
RM
9359 * nptl/sysdeps/sparc/Makefile: Moved ...
9360 * sysdeps/sparc/nptl/Makefile: ... here.
9361 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9362 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9363 * nptl/sysdeps/sparc/tls.h: Moved ...
9364 * sysdeps/sparc/nptl/tls.h: ... here.
9365 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9366 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9367 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9368 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9369 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9370 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9371 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9372 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9373 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9374 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9375 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9376 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9377 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9378 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9379 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9380 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9381 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9382 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9383 Update #include.
9384 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9385 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9386 Update #include.
9387 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9388 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9389 Update #include.
9390 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9391 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9392 Update #include.
9393
b0725f43
RM
9394 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9395
b14368b8
RM
9396 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9397 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9398
c5620eb3
RM
9399 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9400 (struct list_links): Type removed.
9401 (struct thread_node, struct timer_node): Replace struct list_links
9402 with struct list_head.
9403 (list_unlink_ip): Likewise.
9404 * sysdeps/pthread/timer_routines.c
9405 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9406 (list_append, list_insbefore): Likewise.
9407 (list_init): Function removed.
9408 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
9409 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9410 * sysdeps/pthread/Makefile: ... here, new file.
9411
9412 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9413 * sysdeps/nptl/Implies: ... here.
9414 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9415 * nptl/sysdeps/pthread/list.h: Moved ...
9416 * include/list.h: ... here.
9417 * nptl/sysdeps/pthread/createthread.c: Moved ...
9418 * nptl/createthread.c: ... here.
9419 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9420 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9421 * nptl/pt-longjmp.c: ... here.
9422 * nptl/sysdeps/pthread/Makefile: Moved ...
9423 * sysdeps/nptl/Makefile: ... here.
9424 * nptl/sysdeps/pthread/Subdirs: Moved ...
9425 * sysdeps/nptl/Subdirs: ... here.
9426 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9427 * sysdeps/nptl/aio_misc.h: ... here.
9428 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9429 * sysdeps/nptl/bits/libc-lock.h: ... here.
9430 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9431 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9432 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9433 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9434 * nptl/sysdeps/pthread/configure: Moved ...
9435 * sysdeps/nptl/configure: ... here.
9436 * nptl/sysdeps/pthread/configure.ac: Moved ...
9437 * sysdeps/nptl/configure.ac: ... here.
9438 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9439 * sysdeps/nptl/gai_misc.h: ... here.
9440 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9441 * sysdeps/nptl/librt-cancellation.c: ... here.
9442 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9443 * sysdeps/nptl/malloc-machine.h: ... here.
9444 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9445 * sysdeps/nptl/pthread-functions.h: ... here.
9446 * nptl/sysdeps/pthread/pthread.h: Moved ...
9447 * sysdeps/nptl/pthread.h: ... here.
9448 * nptl/sysdeps/pthread/setxid.h: Moved ...
9449 * sysdeps/nptl/setxid.h: ... here.
9450 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9451 * sysdeps/nptl/sigfillset.c: ... here.
9452 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9453 * sysdeps/nptl/tcb-offsets.h: ... here.
9454 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9455 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9456 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9457 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9458 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9459 * sysdeps/pthread/allocalim.h: ... here.
9460 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9461 * sysdeps/pthread/bits/sigthread.h: ... here.
9462 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9463 * sysdeps/pthread/flockfile.c: ... here.
9464 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9465 * sysdeps/pthread/ftrylockfile.c: ... here.
9466 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9467 * sysdeps/pthread/funlockfile.c: ... here.
9468 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9469 * sysdeps/pthread/posix-timer.h: ... here.
9470 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9471 * sysdeps/pthread/timer_create.c: ... here.
9472 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9473 * sysdeps/pthread/timer_delete.c: ... here.
9474 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9475 * sysdeps/pthread/timer_getoverr.c: ... here.
9476 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9477 * sysdeps/pthread/timer_gettime.c: ... here.
9478 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9479 * sysdeps/pthread/timer_routines.c: ... here.
9480 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9481 * sysdeps/pthread/timer_settime.c: ... here.
9482 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9483 * sysdeps/pthread/tst-timer.c: ... here.
9484 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9485 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9486
e876b090
RM
9487 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9488 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9489
f6b07b3d
RM
9490 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9491 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9492 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9493 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9494 Update #include target.
9495 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9496 * sysdeps/i386/i686/nptl/Makefile: ... here.
9497 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9498 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9499 Update #include target.
9500 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9501 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9502 * nptl/sysdeps/i386/Makefile: Moved ...
9503 * sysdeps/i386/nptl/Makefile: ... here.
9504 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9505 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9506 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9507 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9508 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9509 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9510 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9511 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9512 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9513 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9514 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9515 * nptl/sysdeps/i386/tls.h: Moved ...
9516 * sysdeps/i386/nptl/tls.h: ... here.
9517
45262aee
RM
9518 * sysdeps/sh/Makefile [$(subdir) = csu]
9519 (gen-as-const-headers): Add tcb-offsets.sym.
9520 * nptl/sysdeps/sh/Makefile: File removed.
9521 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9522 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9523 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9524 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9525 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9526 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9527 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9528 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9529 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9530 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9531 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9532 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9533 * nptl/sysdeps/sh/tls.h: Moved ...
9534 * sysdeps/sh/nptl/tls.h: ... here.
9535 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9536 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9537 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9538 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9539 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9540 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9541 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9542 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9543 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9544 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9545 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9546 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9547 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9548 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9549 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9550 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9551 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9552 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9553 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9554 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9555 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9556 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9557 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9558 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9559 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9560 Moved ...
9561 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9563 Moved ...
9564 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9565 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9566 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9567 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9568 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9569 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9570 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9571 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9572 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9573 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9574 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9575 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9576 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9577 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9578 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9579 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9580 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9581 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9582 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9583
35a5e3e3
SL
95842014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9585
9586 * posix/spawn_faction_addopen.c: Include string.h.
9587
14642b85
RM
95882014-06-11 Roland McGrath <roland@hack.frob.com>
9589
9590 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9591 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9592 * nptl/sysdeps/x86_64/Makefile: Moved ...
9593 * sysdeps/x86_64/nptl/Makefile: ... here.
9594 * nptl/sysdeps/x86_64/configure: Moved ...
9595 * sysdeps/x86_64/nptl/configure: ... here.
9596 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9597 * sysdeps/x86_64/nptl/configure.ac: ... here.
9598 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9599 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9600 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9601 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9602 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9603 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9604 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9605 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9606 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9607 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9608 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9609 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9610 * nptl/sysdeps/x86_64/tls.h: Moved ...
9611 * sysdeps/x86_64/nptl/tls.h: ... here.
9612 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9613 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9614 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9615 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9616
9617 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9618
31c44fea
AZ
96192014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9620
9621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9622
e81a4f9a
JM
96232014-06-11 Joseph Myers <joseph@codesourcery.com>
9624
9625 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9626 type.
9627 [POSIX] (off_t): Likewise.
9628 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9629 [POSIX] (S_ISBLK): Require macro.
9630 [POSIX] (S_ISCHR): Likewise.
9631 [POSIX] (S_ISDIR): Likewise.
9632 [POSIX] (S_ISFIFO): Likewise.
9633 [POSIX] (S_ISREG): Likewise.
9634 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9635 optional-macro.
9636 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9637 type.
9638 [POSIX] (time_t): Likewise.
9639 [POSIX] (timer_t): Likewise.
9640
89e435f3
FW
96412014-06-11 Florian Weimer <fweimer@redhat.com>
9642
9643 [BZ #17048]
9644 * posix/spawn_int.h (struct __spawn_action): Make the path string
9645 non-const to support deallocation.
9646 * posix/spawn_faction_addopen.c
9647 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9648 * posix/spawn_faction_destroy.c
9649 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9650 path in all spawn_do_open actions.
9651 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9652 posix_spawn_file_actions_addopen.
9653
c3a2ebe1
CM
96542014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9655
9656 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9657 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9658 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9659 conditional code always true.
9660 (__libc_vfork): New alias.
9661
9503784a
RM
96622014-06-11 Roland McGrath <roland@hack.frob.com>
9663
c9cab3d2
RM
9664 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9665 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9666
d3996c79
RM
9667 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9668
ba5ec611
RM
9669 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9670 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9671
f12b4814
RM
9672 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9673 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9674
9503784a
RM
9675 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9676 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9677
e23d3d26
VR
96782014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9679
9680 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9681 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9682 multiarch strcmp for PPC64.
9683 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9684 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9686 multiarch optimizations.
9687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9688 (__libc_ifunc_impl_list): Likewise.
9689
42b1161e
SP
96902014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9691
9692 * benchtests/scripts/validate_benchout.py: New script.
9693 * benchtests/Makefile (bench-func): Call it.
9694 * benchtests/scripts/benchout.schema.json: New file.
9695
2d0fc4dc
CM
96962014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9697
4a594c34
AZ
9698 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9699 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9700 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9701 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9702 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9703 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9704 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9705 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9706 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9707 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9708 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9709 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9710 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9711 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9712 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9713 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 9715 Moved ...
4a594c34 9716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 9717 ... here.
4a594c34 9718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 9719 Moved ...
4a594c34
AZ
9720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 9722 Moved ...
4a594c34 9723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 9724 ... here.
4a594c34 9725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 9726 Moved ...
4a594c34 9727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 9728 ... here.
4a594c34 9729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 9730 Moved ...
4a594c34
AZ
9731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 9733 Moved ...
4a594c34 9734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 9735 ... here.
4a594c34 9736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 9737 Moved ...
4a594c34 9738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 9739 ... here.
4a594c34 9740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 9741 Moved ...
4a594c34
AZ
9742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 9744 Moved ...
4a594c34 9745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 9746 ... here.
4a594c34 9747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 9748 Moved ...
4a594c34 9749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 9750 ... here.
4a594c34 9751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 9752 Moved ...
4a594c34 9753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 9754 ... here.
4a594c34 9755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 9756 Moved ...
4a594c34
AZ
9757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 9759 Moved ...
4a594c34 9760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 9761 ... here.
4a594c34 9762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 9763 Moved ...
4a594c34 9764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 9765 ... here.
4a594c34 9766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 9767 Moved ...
4a594c34 9768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 9769 ... here.
4a594c34 9770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 9771 Moved ...
4a594c34
AZ
9772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 9774 Moved ...
4a594c34 9775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 9776 ... here.
4a594c34 9777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 9778 Moved ...
4a594c34 9779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 9780 ... here.
4a594c34 9781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 9782 Moved ...
4a594c34
AZ
9783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 9785 Moved ...
4a594c34 9786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 9787 ... here.
4a594c34 9788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 9789 Moved ...
4a594c34
AZ
9790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 9792 Moved ...
4a594c34
AZ
9793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 9795 Moved ...
4a594c34 9796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 9797 ... here.
4a594c34 9798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 9799 Moved ...
4a594c34 9800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 9801 ... here.
4a594c34 9802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 9803 Moved ...
4a594c34 9804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 9805 ... here.
4a594c34 9806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 9807 Moved ...
4a594c34
AZ
9808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 9810 Moved ...
4a594c34 9811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 9812 ... here.
4a594c34 9813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 9814 Moved ...
4a594c34 9815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 9816 ... here.
4a594c34
AZ
9817 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9818 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9819 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9820 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9821 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 9822 Moved ...
4a594c34 9823 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 9824 ... here.
4a594c34
AZ
9825 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9826 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9828 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9830 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9831 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9832 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9833 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9834 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9835 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9836 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 9838 Moved ...
4a594c34
AZ
9839 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 9841 Moved ...
4a594c34
AZ
9842 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9843 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9844 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 9846 Moved ...
4a594c34
AZ
9847 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9851 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9852 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9853 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 9854
0570cfed
W
98552014-06-10 Wilco <wdijkstr@arm.com>
9856
9857 * math/test-fenv-return.c: New file.
9858 * math/Makefile: Add new test test-fenv-return.
9859
f8ba1b56
JM
98602014-06-10 Joseph Myers <joseph@codesourcery.com>
9861
9862 [BZ #17042]
9863 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9864 when x - 1 is zero.
9865 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9866 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9867 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9868 0.0L for an argument of 1.0L.
9869 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9870 Likewise.
9871 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9872 value when x - 1 is zero.
9873 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9874 * sysdeps/i386/fpu/libm-test-ulps: Update.
9875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9876
2c3520d9
BO
98772014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9878
9879 [BZ #15119]
9880 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9881
acaa4d24
RM
98822014-06-09 Roland McGrath <roland@hack.frob.com>
9883
9884 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9885 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9886
962b744d
RM
98872014-06-09 Roland McGrath <roland@hack.frob.com>
9888
d752f0cc
RM
9889 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9890 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9891
34eda6d1
RM
9892 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9893 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9894
50f0a637
RM
9895 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9896 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9897
08f41f04
RM
9898 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9899 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9900
962b744d
RM
9901 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9902 if not already defined.
9903 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9904 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9905 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9906 (TLS_INIT_TP): Use it.
9907 (TLS_DEFINE_INIT_TP): New macro.
9908 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9909
09f19b05
JM
99102014-06-09 Joseph Myers <joseph@codesourcery.com>
9911
9912 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9913 constant.
9914 [POSIX] (IXANY): Likewise.
9915 [POSIX] (OLCUC): Likewise.
9916 [POSIX || POSIX2008] (CBAUD): Do not allow.
9917 [POSIX || POSIX2008] (DEFECHO): Likewise.
9918 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9919 [POSIX || POSIX2008] (ECHOKE): Likewise.
9920 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9921 [POSIX || POSIX2008] (EXTA): Likewise.
9922 [POSIX || POSIX2008] (EXTB): Likewise.
9923 [POSIX || POSIX2008] (FLUSHO): Likewise.
9924 [POSIX || POSIX2008] (LOBLK): Likewise.
9925 [POSIX || POSIX2008] (PENDIN): Likewise.
9926 [POSIX || POSIX2008] (SWTCH): Likewise.
9927 [POSIX || POSIX2008] (VDISCARD): Likewise.
9928 [POSIX || POSIX2008] (VDSUSP): Likewise.
9929 [POSIX || POSIX2008] (VLNEXT): Likewise.
9930 [POSIX || POSIX2008] (VREPRINT): Likewise.
9931 [POSIX || POSIX2008] (VSTATUS): Likewise.
9932 [POSIX || POSIX2008] (VWERASE): Likewise.
9933 (B*): Change to B[0123456789]*.
9934 * conform/data/time.h-data [POSIX || UNIX98]
9935 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9936 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9937 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9938 [POSIX] (tm_*): Do not allow.
9939
686554bf
JM
99402014-06-07 Joseph Myers <joseph@codesourcery.com>
9941
9942 * Makefile (install): Don't set LANGUAGE.
9943 * Makefile.in (install): Likewise.
9944 * assert/Makefile (test-assert-ENV): Remove variable.
9945 (test-assert-perr-ENV): Likewise.
9946 * elf/Makefile (neededtest4-ENV): Likewise.
9947 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9948 [$(cross-compiling) = no]: Don't set LANGUAGE.
9949 * io/ftwtest-sh (LANG): Remove variable.
9950 * libio/Makefile (tst-widetext-ENV): Likewise.
9951 * manual/install.texi (Running make install): Don't refer to
9952 environment settings for make install.
9953 * INSTALL: Regenerated.
9954 * nptl/tst-tls6.sh: Don't set LANG.
9955 * posix/globtest.sh (LANG): Remove variable.
9956 * string/Makefile (tester-ENV): Likewise.
9957 (inl-tester-ENV): Likewise.
9958 (noinl-tester-ENV): Likewise.
9959 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9960 [$(cross-compiling) = no]: Don't set LANGUAGE.
9961 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9962 without explicit environment settings.
9963
68e6b6b1
RM
99642014-06-06 Roland McGrath <roland@hack.frob.com>
9965
9966 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9967 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9968 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9969 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9970
4d3ae034
CM
99712014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9972
9973 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9974 other files in the crypt directory.
9975 * crypt/crypt.c: Remove duplicate includes.
9976 * crypt/crypt-entry.c: Likewise.
9977 * crypt/crypt_util.c: Likewise.
9978
8540f6d2
JM
99792014-06-06 Joseph Myers <joseph@codesourcery.com>
9980
9981 * Makeconfig (run-program-env): New variable.
9982 (run-program-prefix-before-env): Likewise.
9983 (run-program-prefix-after-env): Likewise.
9984 (run-program-prefix): Define in terms of new variables.
9985 (built-program-cmd-before-env): New variable.
9986 (built-program-cmd-after-env): Likewise.
9987 (built-program-cmd): Define in terms of new variables.
9988 (test-program-prefix-before-env): New variable.
9989 (test-program-prefix-after-env): Likewise.
9990 (test-program-prefix): Define in terms of new variables.
9991 (test-program-cmd-before-env): New variable.
9992 (test-program-cmd-after-env): Likewise.
9993 (test-program-cmd): Define in terms of new variables.
9994 * Rules (make-test-out): Use $(run-program-env).
9995 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9996 (help): Do not mention environment variables. Mention
9997 --timeoutfactor option.
9998 (timeoutfactor): New variable.
9999 (blacklist_exports): Remove function.
10000 (exports): Remove variable.
10001 (command): Do not include ${exports}.
10002 * manual/install.texi (Configuring and compiling): Do not mention
10003 test wrappers preserving environment variables. Mention that last
10004 assignment to a variable must take precedence.
10005 * INSTALL: Regenerated.
10006 * benchtests/Makefile (run-bench): Use $(run-program-env).
10007 * catgets/Makefile ($(objpfx)test1.cat): Use
10008 $(built-program-cmd-before-env), $(run-program-env) and
10009 $(built-program-cmd-after-env).
10010 ($(objpfx)test2.cat): Do not specify environment variables
10011 explicitly.
10012 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10013 $(run-program-env) and $(built-program-cmd-after-env).
10014 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10015 $(run-program-env) and $(test-program-cmd-after-env).
10016 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10017 explicitly.
10018 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10019 run_program_env and test_program_cmd_after_env arguments.
10020 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10021 * elf/tst-pathopt.sh: Use run_program_env argument.
10022 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10023 $(test-wrapper-env) and $(run-program-env).
10024 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10025 run_program_env arguments.
10026 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10027 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10028 $(test-program-prefix-before-env), $(run-program-env) and
10029 $(test-program-prefix-after-env).
10030 ($(objpfx)tst-gettext2.out): Likewise.
10031 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10032 run_program_env and test_program_prefix_after_env arguments.
10033 * intl/tst-gettext2.sh: Likewise.
10034 * intl/tst-gettext4.sh: Do not set environment variables
10035 explicitly.
10036 * intl/tst-gettext6.sh: Likewise.
10037 * intl/tst-translit.sh: Likewise.
10038 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10039 $(test-program-prefix-before-env), $(run-program-env) and
10040 $(test-program-prefix-after-env).
10041 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10042 run_program_env and test_program_prefix_after_env arguments.
10043 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10044 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10045 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10046 explicitly with each use of ${test_wrapper_env}.
10047 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10048 $(test-program-prefix-before-env), $(run-program-env) and
10049 $(test-program-prefix-after-env).
10050 * posix/tst-getconf.sh: Do not set environment variables
10051 explicitly.
10052 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10053 run_program_env and test_program_prefix_after_env arguments.
10054 * stdio-common/tst-printf.sh: Do not set environment variables
10055 explicitly.
10056 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10057 $(test-program-prefix-before-env), $(run-program-env) and
10058 $(test-program-prefix-after-env).
10059 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10060 run_program_env and test_program_prefix_after_env arguments.
10061 Split $test calls into $test_pre and $test.
10062 * timezone/Makefile (build-testdata): Use
10063 $(built-program-cmd-before-env), $(run-program-env) and
10064 $(built-program-cmd-after-env).
10065
ed36bfa1
AZ
100662014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10067
10068 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10069 strlen for non SHARED builds.
10070
fc75bf46
SP
100712014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10072
10073 * nptl/allocatestack.c (check_list): Inlined function...
10074 (__reclaim_stacks): ... here.
10075
d89b3d80
OB
100762014-06-05 Ondřej Bílka <neleai@seznam.cz>
10077
10078 [BZ #15698]
10079 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10080 memory overrun.
10081
2bf18041
JM
100822014-06-05 Joseph Myers <joseph@codesourcery.com>
10083
10084 * Rules (make-test-out): Include
10085 LOCPATH=$(common-objpfx)localedata in default environment.
10086 * debug/Makefile (tst-chk1-ENV): Remove variable.
10087 (tst-chk2-ENV): Likewise.
10088 (tst-chk3-ENV): Likewise.
10089 (tst-chk4-ENV): Likewise.
10090 (tst-chk5-ENV): Likewise.
10091 (tst-chk6-ENV): Likewise.
10092 (tst-lfschk1-ENV): Likewise.
10093 (tst-lfschk2-ENV): Likewise.
10094 (tst-lfschk3-ENV): Likewise.
10095 (tst-lfschk4-ENV): Likewise.
10096 (tst-lfschk5-ENV): Likewise.
10097 (tst-lfschk6-ENV): Likewise.
10098 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10099 (tst-iconv7-ENV): Likewise.
10100 * intl/Makefile (LOCPATH-ENV): Likewise.
10101 (tst-codeset-ENV): Likewise.
10102 (tst-gettext3-ENV): Likewise.
10103 (tst-gettext5-ENV): Likewise.
10104 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10105 (tst-fopenloc-ENV): Likewise.
10106 (tst-fgetws-ENV): Remove variable.
10107 (tst-ungetwc1-ENV): Likewise.
10108 (tst-ungetwc2-ENV): Likewise.
10109 (bug-ungetwc2-ENV): Likewise.
10110 (tst-swscanf-ENV): Likewise.
10111 (bug-ftell-ENV): Likewise.
10112 (tst-fgetwc-ENV): Likewise.
10113 (tst-fseek-ENV): Likewise.
10114 (tst-ftell-partial-wide-ENV): Likewise.
10115 (tst-ftell-active-handler-ENV): Likewise.
10116 (tst-ftell-append-ENV): Likewise.
10117 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10118 (tst-regexloc-ENV): Likewise.
10119 (bug-regex1-ENV): Likewise.
10120 (tst-regex-ENV): Likewise.
10121 (tst-regex2-ENV): Likewise.
10122 (bug-regex5-ENV): Likewise.
10123 (bug-regex6-ENV): Likewise.
10124 (bug-regex17-ENV): Likewise.
10125 (bug-regex18-ENV): Likewise.
10126 (bug-regex19-ENV): Likewise.
10127 (bug-regex20-ENV): Likewise.
10128 (bug-regex22-ENV): Likewise.
10129 (bug-regex23-ENV): Likewise.
10130 (bug-regex25-ENV): Likewise.
10131 (bug-regex26-ENV): Likewise.
10132 (bug-regex30-ENV): Likewise.
10133 (bug-regex32-ENV): Likewise.
10134 (bug-regex33-ENV): Likewise.
10135 (bug-regex34-ENV): Likewise.
10136 (bug-regex35-ENV): Likewise.
10137 (tst-rxspencer-ENV): Likewise.
10138 (tst-rxspencer-no-utf8-ENV): Likewise.
10139 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10140 (tst-sscanf-ENV): Likewise.
10141 (tst-swprintf-ENV): Likewise.
10142 (tst-swscanf-ENV): Likewise.
10143 (test-vfprintf-ENV): Likewise.
10144 (scanf13-ENV): Likewise.
10145 (bug14-ENV): Likewise.
10146 (tst-grouping-ENV): Likewise.
10147 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10148 (tst-strtod3-ENV): Likewise.
10149 (tst-strtod4-ENV): Likewise.
10150 (tst-strtod5-ENV): Likewise.
10151 (testmb2-ENV): Likewise./
10152 * string/Makefile (tst-strxfrm-ENV): Likewise.
10153 (tst-strxfrm2-ENV): Likewise.
10154 (bug-strcoll1-ENV): Likewise.
10155 (test-strcasecmp-ENV): Likewise.
10156 (test-strncasecmp-ENV): Likewise.
10157 * time/Makefile (tst-strptime-ENV): Likewise.
10158 (tst-ftime_l-ENV): Likewise.
10159 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10160 (tst-mbrtowc-ENV): Likewise.
10161 (tst-wcrtomb-ENV): Likewise.
10162 (tst-mbrtowc2-ENV): Likewise.
10163 (tst-c16c32-1-ENV): Likewise.
10164 (tst-mbsnrtowcs-ENV): Likewise.
10165
cd1fb604
OB
101662014-06-05 Ondřej Bílka <neleai@seznam.cz>
10167
10168 * manual/resource.texi (How to get information about the memory
10169 subsystem?): Fix typo.
10170 Reported by Peon de la Parra Ivan <peon@keba.com>
10171
b42eca7d
GY
101722014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10173
10174 [BZ #16882]
10175 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10176 (pthread_spin_lock): Branch out of spin loop to proper location.
10177 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10178 (pthread_spin_lock): Likewise.
10179
902b71f9
DM
10180 * nptl/tst-spin4.c: New test.
10181 * nptl/Makefile (tests): Add tst-spin4.
10182
f9d2d032
AS
101832014-06-03 Andreas Schwab <schwab@suse.de>
10184
10185 [BZ #15946]
10186 * resolv/res_send.c (send_dg): Reload file descriptor after
10187 calling reopen.
10188
cf7bfd28
SL
101892014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10190
10191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10192
111cc714
RH
101932014-06-03 Richard Henderson <rth@redhat.com>
10194
89b4bd6b
RH
10195 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10196 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10197 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10198 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10199 in the SAVE_PID block.
10200 (__libc_vfork): New alias.
71840409 10201 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10202
111cc714
RH
10203 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10204 child in registers, not on the stack. Remove RESET_PID conditionals.
10205 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10206
ccc39911
MS
102072014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10208
10209 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10210
693096cc
W
102112014-06-03 Wilco <wdijkstr@arm.com>
10212
10213 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10214 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10215 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10216 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10217 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10218 Likewise.
10219
0b4366bc
W
102202014-06-03 Wilco <wdijkstr@arm.com>
10221
10222 * sysdeps/aarch64/fpu/math_private.h
10223 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10224 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10225 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10226 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10227 Fix declarations.
10228
8747cd03
KS
102292014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10230
10231 * crypt/crypt-private.h: Include ufc-crypt.h.
10232 (__b64_from_24bit): Declare extern.
10233 * crypt/crypt_util.c(__b64_from_24bit): New function.
10234 (b64t): New static const variable.
10235 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10236 (b64t): Remove variable.
10237 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10238 * crypt/sha256-crypt.c: Include crypt-private.h.
10239 (b64t): Remove variable.
10240 (__sha256_crypt_r): Remove b64_from_24bit and replace
10241 with __b64_from_24bit.
10242 * crypt/sha512-crypt.c: Likewise.
10243
d936d379
RM
102442014-06-02 Roland McGrath <roland@hack.frob.com>
10245
10246 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10247 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10248 Label the code __libc_vfork rather than __vfork.
10249 [!NOT_IN_libc] (vfork): Define as weak alias.
10250 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10251 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10252 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10253
9fa76613
SP
102542014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10255
10256 * malloc/malloc.c (malloc_info): Fix format specifier for
10257 n_mmaps.
10258
a88dadbe
W
102592014-06-02 Wilco <wdijkstr@arm.com>
10260
10261 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10262 FPCR write.
10263
c95b3011
W
102642014-06-02 Wilco <wdijkstr@arm.com>
10265
10266 [BZ #17009]
10267 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10268 Rewrite to reduce FPCR/FPSR accesses.
10269
6b4d7a90
DM
102702014-06-01 David S. Miller <davem@davemloft.net>
10271
10272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10273
30f3d07c
DM
102742014-05-31 David S. Miller <davem@davemloft.net>
10275
10276 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10277 to occur in round to nearest mode when |x| >= 2.0
10278
74f31c18
RH
102792014-05-30 Richard Henderson <rth@twiddle.net>
10280
f0712b54
RH
10281 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10282 (PSEUDO_RET_NOERRNO): Remove.
10283 (ret): Don't redefine.
10284 (ret_NOERRNO): Define in terms of ret.
10285 (ret_ERRVAL): Likewise.
10286
74f31c18
RH
10287 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10288 use of PSEUDO_RET; perform the error check directly.
10289
30477995
MM
102902014-05-30 Marko Myllynen <myllynen@redhat.com>
10291
10292 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10293 with __int128_t.
10294
62a58816
SP
102952014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10296
10297 * malloc/malloc (malloc_info): Fix formatting.
10298
4d653a59
SP
102992014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10300 Roland McGrath <roland@hack.frob.com>
10301
10302 * malloc/malloc (malloc_info): Also print mmapped statistics.
10303
5190c17f
RM
103042014-05-30 Roland McGrath <roland@hack.frob.com>
10305
10306 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10307 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10308
987c0269
OB
103092014-05-30 Ondřej Bílka <neleai@seznam.cz>
10310
10311 * malloc/malloc.c (malloc_info): Inline mi_arena.
10312
af4e8ef9
RH
103132014-05-29 Richard Henderson <rth@twiddle.net>
10314
1670e207
RH
10315 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10316 Remove comma before expanding ASM_ARGS_##nr.
10317 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10318 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10319 of ASM_ARGS_##nr.
10320 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10321 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10322 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10323 (ASM_ARGS_1): Add leading comma.
10324
11a28aee
RH
10325 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10326 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10327 to __errno_location.
10328 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10329 Remove the expected plt for __errno_location.
10330
a17e5ffb 10331 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10332 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10333 call to __read_tp.
10334
b5be4597
RH
10335 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10336 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10337 it and break it down.
10338 (DOCARGS_0, DOCARGS_1): Do nothing.
10339 (DOCARGS_2): Update to store into the new stack frame.
10340 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10341 (UNDOCARGS_1): Update to restore from the new stack frame.
10342 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10343 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10344
645d44ab
RH
10345 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10346 (SINGLE_THREAD_P): New parameter for result regno.
10347 (PSEUDO): Update to match; use cbz instead of beq.
10348
a8b4f04a
RH
10349 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10350 Use ENTRY to define the _nocancel entry point. Share the syscall
10351 and syscall error check paths with the cancel path.
10352 (PSEUDO_END): New.
10353
af4e8ef9
RH
10354 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10355 whitespace; tabs before and after asm mnemonics.
10356
26b0d2e1
EW
103572014-05-29 Eric Wong <normalperson@yhbt.net>
10358
10359 [BZ #15132]
10360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10361 Call fstat64 or stat64 internally, depending on arguments passed.
10362 Replace stat buffer argument with file descriptor argument.
10363 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10364 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10365 Pass fd to __internal_statvfs instead of calling fstat64.
10366 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10367 Pass fd to __internal_statvfs64 instead of calling fstat64.
10368 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10369 Pass -1 to __internal_statvfs instead of calling stat64.
10370 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10371 Pass -1 to __internal_statvfs64 instead of calling stat64.
10372
1efe2bd9
RM
103732014-05-28 Roland McGrath <roland@hack.frob.com>
10374
0d3b7a19
RM
10375 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10376 that was previously under [RESET_PID].
10377 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10378
1efe2bd9
RM
10379 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10380 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10381
a6bea3ca
RM
103822014-05-27 Roland McGrath <roland@hack.frob.com>
10383
30b6629e
RM
10384 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10385
a6bea3ca
RM
10386 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10387 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10388
3dfb9a5c
OB
103892014-05-27 Ondřej Bílka <neleai@seznam.cz>
10390
10391 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10392
774f9285
AS
103932014-05-27 Andreas Schwab <schwab@suse.de>
10394
10395 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10396 TLS_INIT_TP macro.
10397 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10398 * elf/rtld.c (init_tls, dl_main): Likewise.
10399 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10400 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10401 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10402 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10403 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10404 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10405 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10406 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10407 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10408 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10409 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10410 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10411 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10412 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10413 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10414 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10415 * sysdeps/generic/tls.h: Update description.
10416
36ffe739
WN
104172014-05-27 Will Newton <will.newton@linaro.org>
10418
10419 [BZ #16990]
10420 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10421 and restore r2 rather than just restoring.
10422
2482ae43
SP
104232014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10424
10425 [BZ #16724]
10426 * libio/tst-ftell-append.c: New test case.
10427 * libio/Makefile (tests): Add test case.
10428 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10429 append mode.
10430 * libio/wfileops.c (do_ftell_wide): Likewise.
10431
3d1024e8
AZ
104322014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10433
bab90016
AZ
10434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10435
c7a8d667
AZ
10436 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10437 ...
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10440 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10441 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10442 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10443 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10444 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10445 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10446 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10447 Moved ...
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10449 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10450 Moved ...
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10452 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10453 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10454 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10455 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10456 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10457 ...
10458 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10459 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10460 Moved ...
10461 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10462 here.
10463 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10464 ...
10465 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10466 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10467 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10468
daee7851
AZ
10469 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10470 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10471 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10472 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10473
50a40819
AZ
10474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10475 merge into ...
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10477 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10478 ...
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10480 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10481 ...
10482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10483 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10484 Moved ...
10485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10486 here.
10487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10488 Moved ...
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10491 Moved ...
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10493
8464c2a1
AZ
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10495 conditional [RESET_PID].
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10497 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10498 removed.
10499 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10500 removed.
10501
3d1024e8
AZ
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10503 <tcb-offsets.h>.
10504 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10505 (__libc_vfork): New strong alias.
10506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10507 removed.
10508 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10509 Removed.
10510
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10512 <tcb-offsets.h>.
10513 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10514 (__libc_vfork): New strong alias.
10515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10516 removed.
10517 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10518 removed.
10519
fdfd175d
CD
105202014-05-26 Carlos O'Donell <carlos@redhat.com>
10521
10522 * malloc/malloc.c (mi_arena): New function.
10523 (malloc_info): Remove nested function mi_arena. Call non-nosted
10524 function mi_arena.
10525
d298c416
AZ
105262014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10527
10528 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10529 by insrwi.
10530 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10531 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10532 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10533 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10534 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10535 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10536 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10537
b60ea6ff
AS
105382014-05-26 Andreas Schwab <schwab@suse.de>
10539
10540 [BZ #16984]
10541 * locale/programs/repertoire.c (repertoire_read): Add slash
10542 between I18NPATH element and file name.
10543 * locale/programs/locfile.c (locfile_read): Likewise.
10544
67365926
SL
105452014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10546
10547 * nptl/pthread_mutexattr_settype.c
10548 (__pthread_mutexattr_settype):
10549 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10550
f8bdf1f0
SL
105512014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10552
10553 * nptl/tst-mutex5 (do_test):
10554 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10555
15eaf6ff
SP
105562014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10557
10558 * benchtests/README: Document 'init' directive.
10559 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10560 BENCH_INIT.
10561 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10562 (parse_file): Recognize 'init' directive.
10563
75f11331
KM
105642014-05-26 Kyle McMartin <kyle@redhat.com>
10565
10566 [BZ #16796]
10567 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10568 alignment of struct pthread.
10569
c3ec475c
SP
105702014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10571
10572 [BZ #16878]
10573 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10574 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10575 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10576 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10577
82aab97c
RH
105782014-05-25 Richard Henderson <rth@twiddle.net>
10579
aa2f176d
RH
10580 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10581 (SINGLE_THREAD_P_PIC): Remove.
10582 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10583 (SINGLE_THREAD_P_PIC): Remove.
10584
ca3cfa40
RH
10585 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10586 branch to syscall error ...
10587 (PSEUDO): ... here.
10588 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10589 from __local_syscall_error to .Lsyscall_error.
10590 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10591 (SYSCALL_ERROR): Update label name.
10592
6e6c2d01
RH
10593 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10594 Do not use DOARGS/UNDOARGS.
10595 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10596 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10597 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10598 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10599 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10600
c69abcee
RH
10601 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10602 block comment.
10603
82aab97c
RH
10604 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10605 define if !NOT_IN_libc.
10606 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10607 define with non-default symbol versions.
10608
8820e3ac
RH
106092014-05-23 Richard Henderson <rth@twiddle.net>
10610
900e445f
RH
10611 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10612 (vfork, __vfork): Define via compat_symbol.
10613
8820e3ac
RH
10614 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10615 [!HAVE_IFUNC] (vfork_compat): Remove.
10616 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10617
e59252a5
JM
106182014-05-23 Joseph Myers <joseph@codesourcery.com>
10619
10620 [BZ #16978]
10621 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10622 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10623 variable.
10624
132c7f5f
RH
106252014-05-23 Richard Henderson <rth@twiddle.net>
10626
bc89e962
RH
10627 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10628 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10629 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10630 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10631
10632 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10633 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10634 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10635 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10636 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10637 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10638 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10639 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10640 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10641 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10642 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10643 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10644 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10645 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10646 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10647 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10648 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10649 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10651 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10653 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10654 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10655 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10656 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10657 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10658 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10659 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10660 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10661 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10662 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10663 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10664 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10665 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10666 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10667 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10668 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10669 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10670 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10671 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10672 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10673 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10674 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10675 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10676 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10677 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10678 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10679 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10680 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10681 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10682 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10683 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10684 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10685 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10686 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10687 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10688
e2fa4bc2
RH
10689 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10690 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10691 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10692 before exiting on error.
10693 (__libc_vfork): New strong alias.
10694 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10695 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10696
279b24e2
RH
10697 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10698 that was previously under [RESET_PID].
10699 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10700
132c7f5f
RH
10701 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10702
b72592e7
JM
107032014-05-23 Joseph Myers <joseph@codesourcery.com>
10704
10705 [BZ #16977]
10706 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10707 value when x - 1 is zero.
10708 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10709 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10710 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10711 0.0L for an argument of 1.0L.
10712 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10713 Likewise.
10714 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10715 value when x - 1 is zero.
10716 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10717 * sysdeps/i386/fpu/libm-test-ulps: Update.
10718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10719
2302d679
RV
107202014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10721
10722 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10723 alphasort and versionsort.
10724
32999d63
AZ
107252014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10726
10727 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10728 macro.
10729 [copysignf]: Likewise.
10730
019324d0
SP
107312014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10732
10733 * crypt/md5-crypt.c: Fix formatting.
10734
34fff5c2
KS
107352014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10736
10737 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10738 (b64_from_24bit): New function.
10739
3d2badac
AZ
107402014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10741
10742 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10743 libc_hidden_builtin_def to ifunc.
10744 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10745 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10746
f7bb179f 107472014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
10748
10749 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10750 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10751
4134b50d
JM
107522014-05-21 Joseph Myers <joseph@codesourcery.com>
10753
bb7d0337
JM
10754 * nscd/Depend (linuxthreads): Remove.
10755 (nptl): Add.
10756 * resolv/Depend (linuxthreads): Remove.
10757 * rt/Depend (linuxthreads): Remove.
10758
4134b50d
JM
10759 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10760 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10761 $(common-objpfx)elf/.
10762 (link-libc-before-gnulib): Likewise.
10763 (elfobjdir): Remove variable.
10764 * Makefile (install): Use $(elf-objpfx) instead of
10765 $(common-objpfx)elf/.
10766 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10767 $(elfobjdir)/.
10768 (link-libc-deps): Likewise.
10769 ($(common-objpfx)libc.so): Likewise.
10770 ($(common-objpfx)linkobj/libc.so): Likewise.
10771 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10772 instead of $(common-objpfx)elf/.
10773 (symbolic-link-list): Likewise.
10774 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10775 [$(cross-compiling) = no]: Likewise.
10776 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10777 $(elfobjdir)/.
10778 (static-gnulib-arch): Likewise.
10779 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10780 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10781 $(common-objpfx)elf/.
10782
3612eb8f
RH
107832014-05-21 Richard Henderson <rth@redhat.com>
10784
a6b3657b
RH
10785 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10786 (SINGLE_THREAD_P): Use the correct width load. Fold
10787 into the ldr offset.
10788
3612eb8f
RH
10789 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10790 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10791
175cef41
JM
107922014-05-20 Joseph Myers <joseph@codesourcery.com>
10793
10794 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10795 (libgcc_s_resume): Use __attribute_used__.
10796 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10797 Likewise.
10798
e13bccd3
AZ
107992014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10800
10801 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10802 optimization when used with float constants.
10803
7c112a38
AZ
10804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10805
ae75a883
AJ
108062014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10807
10808 [BZ #16915]
10809 * locale/nl_langinfo_l.c: Make direct reference to every
10810 _nl_current_CATEGORY symbol.
10811 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10812 (tests-static): Add tst-langinfo-static.
10813 (tests-special): Add tst-langinfo-static.out.
10814 ($(objpfx)tst-langinfo.out): Redirect output.
10815 ($(objpfx)tst-langinfo-static.out): New.
10816 * localedata/tst-langinfo.sh: Send output to stdout.
10817 * localedata/tst-langinfo-static.c: New file.
10818
4406c41c
AJ
10819 [BZ #16965]
10820 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10821 when the shift amount is modulo the limb size.
10822
4c0a1e63
RH
108232014-05-20 Richard Henderson <rth@redhat.com>
10824
de9d8f20
RH
10825 [BZ #16967]
10826 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10827 Change type of sa_flags from unsigned int to int.
10828
4c0a1e63
RH
10829 [BZ #16966]
10830 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
10831
10832 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10833
a60339aa
WN
108342014-05-20 Will Newton <will.newton@linaro.org>
10835
10836 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10837 Test the return value of the system call in the nocancel case.
10838
7d05a816
YR
108392014-05-20 Will Newton <will.newton@linaro.org>
10840 Yvan Roux <yvan.roux@linaro.org>
10841
10842 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10843 #include of asm/ptrace.h.
10844 (PTRACE_GET_THREAD_AREA): Remove #undef.
10845 (PTRACE_GETHBPREGS): Likewise.
10846 (PTRACE_SETHBPREGS): Likewise.
10847 (struct user_regs_struct): New structure.
10848 (struct user_fpsimd_struct): New structure.
10849 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10850 #include of asm/ptrace.h and second #include of sys/user.h.
10851 (PTRACE_GET_THREAD_AREA): Remove #undef.
10852 (PTRACE_GETHBPREGS): Likewise.
10853 (PTRACE_SETHBPREGS): Likewise.
10854 (ELF_NGREG): Use new struct user_regs_struct.
10855 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10856
af121e37
AZ
108572014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10858
10859 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10860 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10861
834caf06
JM
108622014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10863
10864 [BZ #16958]
10865 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10866 membar to avoid block loads/stores to overlap previous stores.
10867
e184a918
RH
108682014-05-17 Richard Henderson <rth@redhat.com>
10869
10870 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10871 Create the __##syscall_name##_nocancel entry point.
10872 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10873 Remove; let the sysdep-cancel.h code create it.
10874
f56c7a6a
DM
108752014-05-17 David S. Miller <davem@davemloft.net>
10876
10877 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10878 Protect with __USE_GNU.
10879 (TIOCSET_TEMPT): Likewise.
10880 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10881 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10882 these are already provided in bits/ioctl-types.h
10883
f75616b2
RM
108842014-05-16 Roland McGrath <roland@hack.frob.com>
10885
3edeca86
RM
10886 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10887 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10888
f75616b2
RM
10889 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10890 Use wait4 regardless of [__NR_waitpid].
10891
deb0f7f6
MR
108922014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10893
10894 PR libgcc/60166
10895 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10896 (_FP_NANSIGN_Q): Set the quiet bit.
10897
79520f4b
JM
108982014-05-16 Joseph Myers <joseph@codesourcery.com>
10899
10900 * benchtests/Makefile
10901 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10902 not $(common-objpfx)math/libm.so.
10903 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10904 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10905 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10906 $(common-objpfx)dlfcn/libdl.so.
10907 ($(objpfx)tst-audit8): Depend on $(libm), not
10908 $(common-objpfx)math/libm.so.
10909 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10910 not $(common-objpfx)dlfcn/libdl.so.
10911 * math/Makefile
10912 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10913 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10914 [$(build-shared) = yes].
10915 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10916 $(common-objpfx)nptl/libpthread.so.
10917 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10918 $(common-objpfx)math/libm.so$(libm.so-version) or
10919 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10920 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10921 $(common-objpfx)dlfcn/libdl.so.
10922 * setjmp/Makefile (link-libm): Remove variable.
10923 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10924 * stdio-common/Makefile (link-libm): Remove variable.
10925 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10926 * stdlib/Makefile (link-libm): Remove variable.
10927 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10928 ($(objpfx)tst-strtod-round): Likewise.
10929 ($(objpfx)tst-tininess): Likewise.
10930 ($(objpfx)tst-strtod-underflow): Likewise.
10931 ($(objpfx)tst-strtod6): Likewise.
10932 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10933 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10934 $(common-objpfx)dlfcn/libdl.so.
10935
026b0fe4
AZ
109362014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10937
10938 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10939 BSD terminal modes definitions.
10940
def4bcb2
RM
109412014-05-16 Roland McGrath <roland@hack.frob.com>
10942
fe39b021
RM
10943 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10944 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10945
1d1fc46e 10946 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
10947 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10948 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10949 Don't do #include_next.
10950 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10951 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10952 Don't do #include_next.
10953 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10954 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10955 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10956 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10957
c72399fb
AM
109582014-05-16 Allan McRae <allan@archlinux.org>
10959
d51d659d
AM
10960 * po/sv.po: Update Swedish translation from translation project.
10961
c72399fb
AM
10962 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10963 in sed expression.
10964
d0583c40
AJ
109652014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10966
10967 [BZ #16917]
10968 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10969 errno if the TIOCGPTN ioctl fails with an error different than
10970 EINVAL.
10971 * login/tst-ptsname.c: New file.
10972 * login/Makefile (tests): Add tst-ptsname.
10973
d16e6ec7
AJ
10974 [BZ #16943]
10975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10976 and prlimit64.
10977
cf26a0cb
SP
109782014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10979
10980 [BZ #16849]
10981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10982 herrno to return EAI_AGAIN.
10983
5675da1e
RM
109842014-05-14 Roland McGrath <roland@hack.frob.com>
10985
a5d87b3d
RM
10986 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10987 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10988 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10989 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10990 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10991 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10992 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10993 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10995 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10996 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10997 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10998 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10999 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11000 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11001 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11002 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11003 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11004 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11005 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11006 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11007 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11008 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11009 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11011 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11012 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11013 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11014 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11015 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11017 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11019 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11021 Moved ...
11022 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11024 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11026 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11028 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11030 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11032 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11034 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11036 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11038 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11040 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11044 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11046 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11048 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11050 Moved ...
11051 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11053 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11055 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11057 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11059 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11061 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11063 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11065 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11067 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11069 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11071 Moved ...
11072 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11074 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11075
039890a6
RM
11076 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11077 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11078 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11079 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11080 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11081 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11082 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11083 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11084 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11085 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11086 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11087 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11088 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11089 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11090 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11091 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11092 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11093 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11094 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11095 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11096 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11097 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11098 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11099 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11100 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11101 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11102 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11103 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11104 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11105 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11106 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11107
65c89320
RM
11108 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11109 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11110
348f8e8c
RM
11111 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11112 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11113 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11114 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11115 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11116 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11117 Moved ...
11118 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11119 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11120 Moved ...
11121 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11122 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11123 Moved ...
11124 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11125 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11126 Moved ...
11127 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11128 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11129 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11131 Moved ...
11132 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11133 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11134 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11135 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11136 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11137 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11138 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11140 Moved ...
11141 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11142 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11143 Moved ...
11144 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11145 ... here.
11146 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11147 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11148 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11149 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11150 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11151 Moved ...
11152 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11153 ... here.
11154 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11155 Moved ...
11156 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11157 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11158 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11159 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11160 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11161 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11162 Moved ...
11163 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11164 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11165 Moved ...
11166 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11167 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11168 Moved ...
11169 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11170 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11171 Moved ...
11172 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11173 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11174 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11175 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11176 Moved ...
11177 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11178 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11179 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11180 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11181 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11182 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11183 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11184 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11185 Moved ...
11186 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11187 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11188 Moved ...
11189 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11190 ... here.
11191 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11192 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11193 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11194 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11195 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11196 Moved ...
11197 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11198 ... here.
11199 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11200 Moved ...
11201 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11202 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11203 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11204 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11205 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11206 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11207 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11208 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11209 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11211 Moved ...
11212 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11213 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11214 Moved ...
11215 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11217 Moved ...
11218 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11219 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11220 Moved ...
11221 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11222 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11223 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11224 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11225 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11226 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11227 Moved ...
11228 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11229 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11230 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11231 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11232 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11233 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11234 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11235 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11236 Moved ...
11237 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11239 Moved ...
11240 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11241 ... here.
11242 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11243 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11244 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11245 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11246 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11247 Moved ...
11248 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11249 ... here.
11250 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11251 Moved ...
11252 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11253 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11254 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11255 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11256 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11257 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11258 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11259 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11260 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11261 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11262 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11263
5085af05
RM
11264 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11265 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11266
708f0813
RM
11267 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11268 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11269
c96067bc
RM
11270 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11271 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11272 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11273 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11274 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11275 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11276 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11277 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11278 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11279 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11280 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11281 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11282 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11283 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11284 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11285 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11286 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11288 Moved ...
11289 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11290 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11291 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11292 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11293 Moved ...
11294 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11295 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11296 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11298 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11299 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11300 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11301 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11302 Moved ...
11303 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11304 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11305 Moved ...
11306 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11307 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11308 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11309 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11310 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11312 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11313 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11314 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11316 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11317 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11318 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11319 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11320 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11321 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11322 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11323
ec136444
RM
11324 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11325 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11326 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11327 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11328 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11329
2fbdf533
RM
11330 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11331 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11333 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11334 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11335 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11336 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11337 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11338 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11339 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11340
4c68138b
RM
11341 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11342 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11343
4eaae765
RM
11344 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11345 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
11346 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11347 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11349 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11350 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11351 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11352 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11353 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11354 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11355 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11356 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11357 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11359 Update #include.
11360 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11361 Likewise.
11362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11363 Likewise.
11364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11365 Likewise.
11366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11367 Likewise.
11368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11369 Likewise.
11370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11371 Likewise.
11372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11373 Likewise.
11374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11375 Likewise.
11376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11377 Likewise.
4ef6befa
RM
11378 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11379 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11380 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11381 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11382 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
11383 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11384 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11385 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11386 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11387 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11388 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11389 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11390 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11391 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11392 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 11393
941d7dfd
RM
11394 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11395 that was previously under [RESET_PID].
11396 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11397 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11398 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11399
1b731c35
RM
11400 * sysdeps/i386/nptl/Implies: New file.
11401 * sysdeps/x86_64/nptl/Implies: New file.
11402 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11403 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11404 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11405 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11406
e2787137
RM
11407 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11408 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11409 (__libc_vfork): New strong alias.
11410 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11411 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11412
11413 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11414 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11415 (__libc_vfork): New strong alias.
11416 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11417 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11418
5675da1e
RM
11419 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11420 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11421 (__libc_vfork): New strong alias.
11422 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11423 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11424 * nptl/pt-vfork.c: New file.
11425 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11426 (libpthread: GLIBC_2.20): New version set (empty).
11427
4f02e2b8
WN
114282014-05-14 Will Newton <will.newton@linaro.org>
11429
11430 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11431 rather than #if.
11432
0bf061d3
JM
114332014-05-14 Joseph Myers <joseph@codesourcery.com>
11434
1a84c3d6
JM
11435 [BZ #16564]
11436 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11437 arguments with exponent 65 or above.
11438 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11439 arguments 0x1p113L or above.
11440 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11441 to arguments 0x1p107L or above.
11442 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11443 positive arguments with exponent 65 or above.
11444 * math/auto-libm-test-in: Add more tests of log1p.
11445 * math/auto-libm-test-out: Regenerated.
11446
01dbacd2
JM
11447 [BZ #16928]
11448 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11449 non-finite arguments is +0.
11450 * math/s_cacosf.c (__cacosf): Likewise.
11451 * math/s_cacosl.c (__cacosl): Likewise.
11452 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11453 * sysdeps/i386/fpu/libm-test-ulps: Update.
11454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11455
913d03c8
JM
11456 [BZ #16927]
11457 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11458 value.
11459 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11460 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11461 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11462 for explicit high bit of mantissa when testing for argument equal
11463 to 1.
11464 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11465 * sysdeps/i386/fpu/libm-test-ulps: Update.
11466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11467
0bf061d3
JM
11468 [BZ #16516]
11469 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11470 (__erf): Scale by 16 instead of 8 in potentially underflowing
11471 case. Ensure exception if result actually underflows.
11472 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11473 (__erff): Scale by 16 instead of 8 in potentially underflowing
11474 case. Ensure exception if result actually underflows.
11475 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11476 (efx8): Remove variable.
11477 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11478 case. Ensure exception if result actually underflows.
11479 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11480 (efx8): Remove variable.
11481 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11482 case. Ensure exception if result actually underflows.
11483 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11484 (efx8): Remove variable.
11485 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11486 case. Ensure exception if result actually underflows.
11487 * math/auto-libm-test-in: Add more tests of erf.
11488 * math/auto-libm-test-out: Regenerated.
11489
73ba67cb
AS
114902014-05-14 Andreas Schwab <schwab@suse.de>
11491
3d8c8bff
AS
11492 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11493 Remove code conditionalized on USE___THREAD.
11494
73ba67cb
AS
11495 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11496 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11497 not definedness.
11498
5c521ecd
JM
114992014-05-14 Joseph Myers <joseph@codesourcery.com>
11500
5e7698c6
JM
11501 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11502 Define unconditionally.
11503 (__ASSUME_O_CLOEXEC): Likewise.
11504 (__ASSUME_SOCK_CLOEXEC): Likewise.
11505 (__ASSUME_IN_NONBLOCK): Likewise.
11506 (__ASSUME_PIPE2): Likewise.
11507 (__ASSUME_EVENTFD2): Likewise.
11508 (__ASSUME_SIGNALFD4): Likewise.
11509 (__ASSUME_DUP3): Likewise.
11510 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11511 (__ASSUME_DUP3): Do not define.
11512 (__ASSUME_EVENTFD2): Likewise.
11513 (__ASSUME_IN_NONBLOCK): Likewise.
11514 (__ASSUME_O_CLOEXEC): Likewise.
11515 (__ASSUME_PIPE2): Likewise.
11516 (__ASSUME_SIGNALFD4): Likewise.
11517 (__ASSUME_SOCK_CLOEXEC): Likewise.
11518 (__ASSUME_UTIMES): Undefine.
11519 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11520 (__ASSUME_UTIMES): Do not define.
11521 (__ASSUME_O_CLOEXEC): Likewise.
11522 (__ASSUME_SOCK_CLOEXEC): Likewise.
11523 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11524 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11525 0x020621].
11526 (__ASSUME_PIPE2): Likewise.
11527 (__ASSUME_EVENTFD2): Likewise.
11528 (__ASSUME_SIGNALFD4): Likewise.
11529 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11530 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11531 Do not define.
11532 (__ASSUME_EVENTFD2): Likewise.
11533 (__ASSUME_SIGNALFD4): Likewise.
11534 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11535 (__ASSUME_32BITUIDS): Likewise.
11536 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11537 (__ASSUME_IPC64): Likewise.
11538 (__ASSUME_ST_INO_64_BIT): Likewise.
11539 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11540 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11542 (__ASSUME_UTIMES): Do not define.
11543 (__ASSUME_PSELECT): Likewise.
11544 (__ASSUME_PPOLL): Likewise.
11545 (__ASSUME_O_CLOEXEC): Likewise.
11546 (__ASSUME_SOCK_CLOEXEC): Likewise.
11547 (__ASSUME_IN_NONBLOCK): Likewise.
11548 (__ASSUME_PIPE2): Likewise.
11549 (__ASSUME_EVENTFD2): Likewise.
11550 (__ASSUME_SIGNALFD4): Likewise.
11551 (__ASSUME_DUP3): Likewise.
11552 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11553 (__ASSUME_UTIMES): Likewise.
11554 (__ASSUME_O_CLOEXEC): Likewise.
11555 (__ASSUME_SOCK_CLOEXEC): Likewise.
11556 (__ASSUME_IN_NONBLOCK): Likewise.
11557 (__ASSUME_PIPE2): Likewise.
11558 (__ASSUME_EVENTFD2): Likewise.
11559 (__ASSUME_SIGNALFD4): Likewise.
11560 (__ASSUME_DUP3): Likewise.
11561 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11562 (__ASSUME_UTIMES): Likewise.
11563 (__ASSUME_O_CLOEXEC): Likewise.
11564 (__ASSUME_SOCK_CLOEXEC): Likewise.
11565 (__ASSUME_IN_NONBLOCK): Likewise.
11566 (__ASSUME_PIPE2): Likewise.
11567 (__ASSUME_EVENTFD2): Likewise.
11568 (__ASSUME_SIGNALFD4): Likewise.
11569 (__ASSUME_DUP3): Likewise.
11570 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11571 Likewise.
11572 (__ASSUME_UTIMES): Likewise.
11573 (__ASSUME_EVENTFD2): Likewise.
11574 (__ASSUME_SIGNALFD4): Likewise.
11575 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11576 (__ASSUME_O_CLOEXEC): Likewise.
11577 (__ASSUME_SOCK_CLOEXEC): Likewise.
11578 (__ASSUME_IN_NONBLOCK): Likewise.
11579 (__ASSUME_PIPE2): Likewise.
11580 (__ASSUME_EVENTFD2): Likewise.
11581 (__ASSUME_SIGNALFD4): Likewise.
11582 (__ASSUME_DUP3): Likewise.
11583 (__ASSUME_UTIMES): Undefine.
11584
5c521ecd
JM
11585 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11586 feclearexcept. Remove symbol versioning code.
11587 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11588 symbol versioning code.
11589 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11590 symbol versioning code.
11591 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11592 feupdateenv. Remove symbol versioning code.
11593 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11594 fegetexceptflag. Remove symbol versioning code.
11595 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11596 fesetexceptflag. Remove symbol versioning code.
11597 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11598 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11599 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11600 (__posix_fadvise64_l32): Remove prototype.
11601 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11602 code.
11603
5da9dfad
RM
116042014-05-13 Roland McGrath <roland@hack.frob.com>
11605
11606 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11607 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11608 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11609 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11610
893b4f37
SK
116112014-05-13 Sami Kerola <kerolasa@iki.fi>
11612
11613 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11614 current working directory
11615
e0db6517
RM
116162014-05-13 Roland McGrath <roland@hack.frob.com>
11617
58aa195d
RM
11618 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11619 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11620 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11621 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11622 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11623 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11624 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11625 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11626 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11627 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11628 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11629 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11630 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11631 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11632 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11633 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11634 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11635 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11636 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11637 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11638 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11639 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11640 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11641 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11642 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11643 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11644 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11645 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11646 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11647 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11648 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11649 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11650 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11651 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11652 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11653 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11654 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11655 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11656 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11657 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11658 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11659 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11660
8c6d01f0
RM
11661 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11662 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11663
11664 * sysdeps/unix/sysv/linux/arm/Makefile
11665 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11666 Add rt-aeabi_unwind_cpp_pr1.
11667 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11668 Add nptl-aeabi_unwind_cpp_pr1.
11669 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11670 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11671 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11672 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11673 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11674 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11675
11676 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11677 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11678 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11679 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11680
bba6da4e
RM
11681 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11682 Deconditionalize the code that was previously under [RESET_PID].
11683 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11684
e0db6517
RM
11685 * sysdeps/generic/exit-thread.h: New file.
11686 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11687 * include/unistd.h (__exit_thread): Remove declaration.
11688 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11689 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11690 * csu/libc-start.c: Include <exit-thread.h>.
11691 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11692 * nptl/pthread_create.c: Include <exit-thread.h>.
11693 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11694 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11695 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11696 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11697 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11698 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11699 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11700 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11701 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11702 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11703 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11704 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11705 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11706 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11707 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11708 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11709 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11710
01eb16fd
AS
117112014-05-13 Andreas Schwab <schwab@suse.de>
11712
11713 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11714
637461d9
JM
117152014-05-12 Joseph Myers <joseph@codesourcery.com>
11716
11717 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11718 (__ASSUME_UTIMES): Do not condition on kernel version.
11719 (__ASSUME_PSELECT): Define unconditionally.
11720 (__ASSUME_PPOLL): Likewise.
11721 (__ASSUME_ATFCTS): Likewise.
11722 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11723 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11724 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11725 (__ASSUME_UTIMENSAT): Define unconditionally.
11726 (__ASSUME_PRIVATE_FUTEX): Likewise.
11727 (__ASSUME_FALLOCATE): Likewise.
11728 (__ASSUME_O_CLOEXEC): Likewise.
11729 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11730 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11731 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11732 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11733 (__ASSUME_IN_NONBLOCK): Likewise.
11734 (__ASSUME_PIPE2): Likewise.
11735 (__ASSUME_EVENTFD2): Likewise.
11736 (__ASSUME_SIGNALFD4): Likewise.
11737 (__ASSUME_DUP3): Likewise.
11738 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11739 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11740 (__ASSUME_AT_RANDOM): Likewise.
11741 (__ASSUME_PREADV): Likewise.
11742 (__ASSUME_PWRITEV): Likewise.
11743 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11744 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11745 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11746 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11747 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11748 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11749 (__ASSUME_O_CLOEXEC): Define unconditionally.
11750 (__ASSUME_PSELECT): Do not undefine conditionally.
11751 (__ASSUME_PPOLL): Likewise.
11752 (__ASSUME_ATFCTS): Likewise.
11753 (__ASSUME_SET_ROBUST_LIST): Likewise.
11754 (__ASSUME_UTIMENSAT): Likewise.
11755 (__ASSUME_FDATASYNC): Define unconditionally.
11756 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11757 (__ASSUME_SIGFRAME_V2): Likewise.
11758 )__ASSUME_EVENTFD2): Likewise.
11759 (__ASSUME_SIGNALFD4): Likewise.
11760 (__ASSUME_PSELECT): Do not undefine conditionally.
11761 (__ASSUME_PPOLL): Likewise.
11762 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11763 (__ASSUME_PSELECT): Define unconditionally.
11764 (__ASSUME_PPOLL): Likewise.
11765 (__ASSUME_O_CLOEXEC): Likewise.
11766 (__ASSUME_SOCK_CLOEXEC): Likewise.
11767 (__ASSUME_IN_NONBLOCK): Likewise.
11768 (__ASSUME_PIPE2): Likewise.
11769 (__ASSUME_EVENTFD2): Likewise.
11770 (__ASSUME_SIGNALFD4): Likewise.
11771 (__ASSUME_DUP3): Likewise.
11772 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11773 (__ASSUME_O_CLOEXEC): Likewise.
11774 (__ASSUME_SOCK_CLOEXEC): Likewise.
11775 (__ASSUME_IN_NONBLOCK): Likewise.
11776 (__ASSUME_PIPE2): Likewise.
11777 (__ASSUME_EVENTFD2): Likewise.
11778 (__ASSUME_SIGNALFD4): Likewise.
11779 (__ASSUME_DUP3): Likewise.
11780 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11781 (__ASSUME_EVENTFD2): Likewise.
11782 (__ASSUME_SIGNALFD4): Likewise.
11783 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11784
315eb1d8
AS
117852014-05-12 Andreas Schwab <schwab@suse.de>
11786
11787 [BZ #16932]
11788 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11789 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11790 than maximum RPC packet size.
11791 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11792 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11793 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11794 (_nss_nis_getservbyport_r): Likewise.
11795
91df99f7
WN
117962014-05-12 Will Newton <will.newton@linaro.org>
11797
11798 * malloc/Makefile (tests): Add tst-mallopt.
11799 * malloc/tst-mallopt.c: New file.
11800
0a982a29
RM
118012014-05-09 Roland McGrath <roland@hack.frob.com>
11802
11803 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11804 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11805
0ded08a5
AZ
118062014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11807
11808 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11809 (tst-tlsmod6.so): Likewise.
11810
55d4d550
RM
118112014-05-09 Roland McGrath <roland@hack.frob.com>
11812
11813 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11814
77d08aca
JM
118152014-05-09 Joseph Myers <joseph@codesourcery.com>
11816
11817 [BZ #16064]
11818 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11819 and <dl-procinfo.h>.
11820 (__fegetenv): Save SSE state in envp->__eip if supported.
11821 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11822 envp->__eip if supported.
11823 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11824 and <dl-procinfo.h>.
11825 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11826 __data_offset and __data_selector in environment to 0. Set SSE
11827 state if supported.
11828 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11829 test-fenv-sse.
11830 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11831 -mfpmath=sse.
11832 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11833
28162f4d
WN
118342014-05-09 Will Newton <will.newton@linaro.org>
11835
11836 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11837 and libc_relro_required for ARM.
11838 * sysdeps/arm/preconfigure: Regenerate.
11839
5a414ff7
DV
118402014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11841 Stefan Liebler <stli@linux.vnet.ibm.com>
11842
11843 * config.make.in (enable-lock-elision): New Makefile variable.
11844 * configure.ac: Likewise.
11845 * configure: Regenerate.
11846 * sysdeps/s390/configure.ac:
11847 Add check for gcc transactions support.
11848 * sysdeps/s390/configure: Regenerate.
11849 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11850 Build elision files if enabled.
11851 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11852 Add lock elision support for s390.
11853 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11854 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11855 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11856 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11857 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11858 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11859 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11860 Likewise.
11861 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11862 Likewise.
11863 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11864 Likewise.
11865 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11866 Likewise.
11867 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11868 (__lll_timedlock_elision, __lll_lock_elision)
11869 (__lll_unlock_elision, __lll_trylock_elision)
11870 (lll_timedlock_elision, lll_lock_elision)
11871 (lll_unlock_elision, lll_trylock_elision): Add.
11872 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11873 (pthread_mutex_t): Add lock elision support for s390.
11874
1a2f40e5
W
118752014-05-14 Wilco <wdijkstr@arm.com>
11876
11877 * sysdeps/arm/fclrexcpt.c: Cleanup.
11878 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11879 * sysdeps/arm/feenablxcpt.c: Cleanup.
11880 * sysdeps/arm/fegetenv.c: Cleanup.
11881 * sysdeps/arm/fegetexcept.c: Cleanup.
11882 * sysdeps/arm/fegetround.c: Cleanup.
11883 * sysdeps/arm/feholdexcpt.c: Cleanup.
11884 * sysdeps/arm/fesetenv.c: Cleanup.
11885 * sysdeps/arm/fesetround.c: Cleanup.
11886 * sysdeps/arm/feupdateenv.c: Cleanup.
11887 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11888 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11889 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11890 * sysdeps/arm/ftestexcept.c: Cleanup.
11891 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11892 * sysdeps/arm/setfpucw.c: Cleanup.
11893
f63c86fe
WN
118942014-05-09 Will Newton <will.newton@linaro.org>
11895
11896 * sysdeps/arm/armv7/strcmp.S: New file.
11897 * NEWS: Mention addition of ARMv7 optimized strcmp.
11898
7a1a51b5
RM
118992014-05-08 Roland McGrath <roland@hack.frob.com>
11900
95afbbe5
RM
11901 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11902 look for %.ac rather than %.in.
11903
11904 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11905 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11906 * sysdeps/mach/hurd/configure: Regenerated.
11907 * sysdeps/unix/sysv/linux/configure: Regenerated.
11908
7a1a51b5
RM
11909 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11910
5057ad3b
SE
119112014-05-07 Steve Ellcey <sellcey@mips.com>
11912
11913 [BZ# 16922]
11914 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11915 (LONG_SUB): Ditto.
11916 (PTR_SUB): Ditto.
11917
8dc97517
AS
119182014-05-07 Andreas Schwab <schwab@suse.de>
11919
11920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11921 when skipping over non-matching result from nscd.
11922
ce0c5b8f
OB
119232014-05-07 Ondřej Bílka <neleai@seznam.cz>
11924
11925 [BZ #16876]
11926 * nptl/sockperf.c (client): Check socket return value.
8dc97517 11927
a1189263
OB
11928 [BZ #16877]
11929 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11930 nscd security class.
ce0c5b8f 11931
0f58d252
RM
119322014-05-06 Roland McGrath <roland@hack.frob.com>
11933
11934 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11935 * sysdeps/arm/unwind.h: ... here.
11936
83df9ad0
AJ
119372014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11938
ce0c5b8f
OB
11939 [BZ# 16916]
11940 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11941 Define.
83df9ad0 11942
f360f94a
VR
119432014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11944
11945 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11946 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11947 multiarch strncpy for PPC64.
11948 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11949 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11951 multiarch optimizations.
11952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11953 (__libc_ifunc_impl_list): Likewise.
11954 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11955 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11956 multiarch stpncpy for PPC64.
11957 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11958 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11959
978a41c3
AS
119602014-05-06 Andreas Schwab <schwab@suse.de>
11961
11962 [BZ #16912]
11963 * gmon/mcount.c (_MCOUNT_DECL): Use
11964 atomic_compare_and_exchange_bool_acq instead of
11965 catomic_compare_and_exchange_bool_acq.
11966
eb1ed03d
RM
119672014-05-05 Roland McGrath <roland@hack.frob.com>
11968
fe658845
RM
11969 * elf/Makefile (others, install-bin): Remove pldd.
11970 (pldd-modules): Variable removed.
11971 ($(objpfx)pldd): Target removed.
11972 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11973 (others, install-bin): Append pldd here.
11974 ($(objpfx)pldd): New target.
11975
eb1ed03d
RM
11976 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11977 to 0, so the first #if test emitted later doesn't see it undefined.
11978 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11979 * sysdeps/gnu/errlist.c: Regenerated.
11980
19c4bec0
AZ
119812014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11982
11983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11984 [libc_hidden_builtin_def]: Define to empty value.
11985 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11986 [libc_hidden_builtin_def]: Likewise.
11987 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11988 [libc_hidden_builtin_def]: Likewise.
11989 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11990 [libc_hidden_builtin_def]: Likewise.
11991 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11992 __redirect_memcpy and define ifunc as default hidden symbol.
11993 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11994 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11995
7776e669
AC
119962014-05-04 Adam Conrad <adconrad@0c3.net>
11997
11998 * locale/iso-4217.def: Reintroduce XDR currency.
11999
d69aeb12
AM
120002014-05-04 Allan McRae <allan@archlinux.org>
12001
12002 * po/eo.po: Update Esperanto translation from translation project.
12003
8f1df5cf
CD
120042014-05-02 Carlos O'Donell <carlos@redhat.com>
12005
12006 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12007 and FEATURE_INDEX_MAX to 1.
12008 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12009
13e402e7
SE
120102014-05-01 Steve Ellcey <sellcey@mips.com>
12011
12012 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12013 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12014 * iconvdata/big5.c (ONE_DIRECTION): Define.
12015 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12016 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12017 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12018 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12019 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12020 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12021 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12022 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12023 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12024 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12025 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12026 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12027 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12028 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12029 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12030 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12031 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12032 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12033 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12034 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12035 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12036 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12037 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12038 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12039 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12040 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12041 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12042 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12043 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12044 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12045 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12046 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12047 * iconvdata/johab.c (ONE_DIRECTION): Define.
12048 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12049 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12050 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12051 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12052 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12053 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12054 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12055 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12056 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12057 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12058
c727f032
RM
120592014-05-01 Roland McGrath <roland@hack.frob.com>
12060
8f2f08d0
RM
12061 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12062 (_IO_JUMPS_OFFSET): Define to 0.
12063
c727f032
RM
12064 * nptl/sysdeps/pthread/bits/libc-lock.h
12065 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12066 (__libc_lock_define_initialized_recursive): Always define using
12067 initializer. Modern compilers treat uninitialized (implicit zero) and
12068 explicit zero initializers the same (i.e. put the datum in bss).
12069
a849e800
AS
120702014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12071
12072 * nscd/nscd-client.h: Include <string.h>.
12073
5331255b
DM
120742014-05-01 David S. Miller <davem@davemloft.net>
12075
12076 [BZ #16885]
12077 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12078 multiple zero bytes exist at the end of a string.
12079 Reported by Aurelien Jarno <aurelien@aurel32.net>
12080
12081 * string/test-strcmp.c (check): Add explicit test for situations where
12082 there are multiple zero bytes after the first.
12083
4fdfe821
AS
120842014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12085
12086 [BZ #16890]
12087 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12088 when compiling wprintf.
12089 * stdio-common/tstdiomisc.c (t3): New function.
12090 (main): Call it.
12091
0cdddc25
SE
120922014-05-01 Steve Ellcey <sellcey@mips.com>
12093
12094 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12095 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12096 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12097 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12098
6426d77e
SE
120992014-05-01 Steve Ellcey <sellcey@mips.com>
12100
12101 * stdlib/longlong.h: Updated from GCC.
12102
6d96f5e4
WN
121032014-05-01 Will Newton <will.newton@linaro.org>
12104 Bernard Ogden <bernie.ogden@linaro.org>
12105
7470db0c
WN
12106 * NEWS: Update fixed bug list.
12107
6d96f5e4
WN
12108 [BZ #15119]
12109 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12110
211d653c
DM
121112014-04-30 David S. Miller <davem@davemloft.net>
12112
4fa262fa
DM
12113 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12114 (libc_feholdexcept_setround_sparc_ctx): New function.
12115 (libc_fesetenv_sparc_ctx): Likewise.
12116 (libc_feupdateenv_sparc_ctx): Likewise.
12117 (libc_feholdsetround_sparc_ctx): Likewise.
12118 (libc_feholdexcept_setround_ctx): Define.
12119 (libc_feholdexcept_setroundf_ctx): Likewise.
12120 (libc_feholdexcept_setroundl_ctx): Likewise.
12121 (libc_fesetenv_ctx): Likewise.
12122 (libc_fesetenvf_ctx): Likewise.
12123 (libc_fesetenvl_ctx): Likewise.
12124 (libc_feupdateenv_ctx): Likewise.
12125 (libc_feupdateenvf_ctx): Likewise.
12126 (libc_feupdateenvl_ctx): Likewise.
12127 (libc_feresetround_ctx): Likewise.
12128 (libc_feresetroundf_ctx): Likewise.
12129 (libc_feresetroundl_ctx): Likewise.
12130 (libc_feholdsetround_ctx): Likewise.
12131 (libc_feholdsetroundf_ctx): Likewise.
12132 (libc_feholdsetroundl_ctx): Likewise.
12133
1d3d93ef
DM
12134 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12135 with __USE_GNU instead of XOPEN cpp guards.
12136
8aa583c3
DM
12137 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12138 0.
12139
211d653c
DM
12140 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12141 with XOPEN cpp guards.
12142
60c8f1f6
JB
121432014-04-30 Julian Brown <julian@codesourcery.com>
12144
12145 [BZ #16888]
12146 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12147 handling.
12148
9a461d46
JM
121492014-04-30 Joseph Myers <joseph@codesourcery.com>
12150
d0f5b3f8
JM
12151 [BZ #9894]
12152 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12153 Change to 2.6.32.
12154 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12155 * sysdeps/unix/sysv/linux/configure: Regenerated.
12156 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12157 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12158 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12159 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12160 * README: Update reference to required Linux kernel version.
12161 * manual/install.texi (Linux): Update reference to required Linux
12162 kernel headers version.
12163 * INSTALL: Regenerated.
12164
9a461d46
JM
12165 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12166 header inclusion.
12167 [POSIX] (limits.h): Likewise.
12168 [POSIX] (math.h): Likewise.
12169 [POSIX] (sys/wait.h): Likewise.
12170 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12171 function.
12172 [POSIX] (stddef.h): Do not allow header inclusion.
12173
1775babf
AZ
121742014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12175
57f41c40 12176 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12177
8f630cca
YY
121782014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12179
12180 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12181 Return immediately after lll_futex_wake.
12182
1cdeb237
SP
121832014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12184
bc8f194c
SP
12185 [BZ #16791]
12186 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12187 structure.
12188 (datahead_init_pos): Call datahead_init_common early.
12189 (datahead_init_neg): Likewise.
12190
1cdeb237
SP
12191 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12192 datahead_init_neg): New functions.
12193 * nscd/aicache.c (addhstaiX): Use them.
12194 * nscd/grpcache.c (cache_addgr): Likewise.
12195 * nscd/hstcache.c (cache_addhst): Likewise.
12196 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12197 * nscd/netgroupcache.c (do_notfound): Likewise.
12198 (addgetnetgrentX): Likewise.
12199 (addinnetgrX): Likewise.
12200 * nscd/pwdcache.c (cache_addpw): Likewise.
12201 * nscd/servicescache.c (cache_addserv): Likewise.
12202
16b293a7
SP
122032014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12204 Atsushi Onoe <atsushi@onoe.org>
12205
12206 [BZ #14308]
12207 [BZ #12994]
12208 [BZ #13651]
12209 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12210 one response is valid.
12211 * resolv/res_send.c (send_dg): Check for validity of other
12212 response if the current response is a referral.
12213
a28a9b94
SE
122142014-04-29 Steve Ellcey <sellcey@mips.com>
12215
12216 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12217
2ca180e9
SL
122182014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12219
12220 [BZ #16823]
12221 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12222 Always divide by positive zero when computing -Inf result.
12223 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12224 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12225
18f2945a
AZ
122262014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12227
12228 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12229 FPSCR if value do not change.
12230 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12231 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12232 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12233 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12234 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12235 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12236 function.
12237
5abebba4
CD
122382014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12239
12240 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12241 * sysdeps/unix/sysv/linux/hppa: Move directory from
12242 ports/systeps/unix/sysv/linux/hppa.
12243 * README: Update listing for hppa-*-linux-gnu.
12244
f7ed60c2
OB
122452014-04-28 Ondřej Bílka <neleai@seznam.cz>
12246
fff763a5
OB
12247 [BZ #16754]
12248 * manual/stdio.texi (Hook functions): Fix types of stream hook
12249 functions.
f7ed60c2
OB
12250 [BZ #16854]
12251 * socket/sys/socket.h: Fix typo in comment.
12252
df639d73
WD
122532014-04-28 Wilco <wdijkstr@arm.com>
12254
f7ed60c2 12255 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12256 * sysdeps/arm/math_private.h: New file.
12257 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12258
48332d82
L
122592014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12260
12261 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12262 with __int128_t.
12263 (La_x86_64_retval): Likewise.
12264
e5e0d9a4
IB
122652014-04-24 Ian Bolton <ian.bolton@arm.com>
12266
12267 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12268 fpsr if value didn't change.
12269 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12270 to fpcr if value didn't change.
12271 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12272 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12273 fpsr or fpcr if value didn't change.
12274 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12275 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12276 fpcr if value didn't change.
12277 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12278 to fpsr if value didn't change.
12279
bacc75f7
SP
122802014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12281
12282 * nptl/tst-sem3.c: Use test-skeleton.c
12283 (main): Rename to do_test. Use return instead of
12284 exit.
12285 * nptl/tst-sem4.c: Use test-skeleton.c
12286 (main): Rename to do_test.
12287
a059d359
DM
122882014-04-22 David S. Miller <davem@davemloft.net>
12289
12290 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12291 (struct sigaction): New struct member __glibc_reserved0, change
12292 type of sa_flags to int.
12293
ea6c92f3
YZ
122942014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12295
12296 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12297 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12298
766c4a36
SP
122992014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12300
12301 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12302 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12303
140cc7ab
VK
123042014-04-22 Will Newton <will.newton@linaro.org>
12305 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12306
12307 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12308 (__longjmp): Add longjmp and longjmp_target SystemTap
12309 probes.
12310 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12311 (__sigsetjmp): Add setjmp SystemTap probe.
12312
c54e5cf7
CD
123132014-04-17 Carlos O'Donell <carlos@redhat.com>
12314
12315 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12316 match manual order.
12317
75ffb047
AZ
123182014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12319
12320 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12321
2cd925f7
AZ
12322 * sysdeps/powerpc/fpu/fenv_private.h
12323 (libc_feholdexcept_setroundl_ctx): Define to
12324 libc_feholdexcept_setround_ppc_ctx.
12325 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12326 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12327 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12328 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12329
39e6cd8d
IB
123302014-04-17 Ian Bolton <ian.bolton@arm.com>
12331
12332 * sysdeps/aarch64/math-tests.h: New file.
12333
f9281df9
SY
123342014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12335
12336 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12337 New.
12338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12339 Check and set bit_AVX2_Usable.
12340 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12341 macro.
12342 (bit_AVX2): Likewise.
12343 (index_AVX2_Usable): Likewise.
12344 (CPUID_AVX2): Likewise.
12345 (HAS_AVX2): Likewise.
12346
37d35007
WN
123472014-04-17 Will Newton <will.newton@linaro.org>
12348
7c677662
WN
12349 * manual/setjmp.texi (System V contexts): Add note that
12350 calling setcontext on a context created by a call to a
12351 signal handler is undefined. Update text to note that
12352 setcontext from a signal handler is possible but not
12353 recommended.
12354
37d35007 12355 [BZ #16629]
e04a4e9d
WN
12356 * stdlib/tst-setcontext.c: Include signal.h.
12357 (main): Check that the signal stack before and
12358 after swapcontext is the same.
12359
37d35007
WN
12360 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12361 Re-implement to restore registers in user code and avoid
12362 rt_sigreturn system call.
12363
423a7160
W
123642014-04-17 Wilco <wdijkstr@arm.com>
12365
12366 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12367 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12368 * math/test-fenv.c: Skip exception trap tests on targets which only
12369 support non-stop mode.
12370
bc93ab29
IB
123712014-04-17 Ian Bolton <ian.bolton@arm.com>
12372 Wilco Dijkstra <wilco.dijkstra@arm.com>
12373
12374 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12375 (libc_feholdsetround_aarch64_ctx)
12376 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12377 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12378 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12379 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12380 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12381 (libc_feresetround_noexl_ctx): Define.
12382
95fc5fa3
RH
123832014-04-16 Richard Henderson <rth@redhat.com>
12384
ddb04724
RH
12385 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12386
d77c0899
RH
12387 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12388 unwind tables.
12389
a3df56fc
RH
12390 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12391 const from the non-libc, non-ldso copy.
12392
95fc5fa3
RH
12393 * sysdeps/alpha/libm-test-ulps: Regenerate.
12394
7e0b6763
IB
123952014-04-16 Ian Bolton <ian.bolton@arm.com>
12396 Wilco Dijkstra <wilco.dijkstra@arm.com>
12397
12398 * sysdeps/aarch64/fpu/math_private.h: New file.
12399
a9ea2e0c
MS
124002014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12401
12402 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12403
ea8ba7cd
IZ
124042014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12405
7e54fd04 12406 [BZ #16275]
ea8ba7cd
IZ
12407 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12408 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12410 Intel MPX bound registers before _dl_profile_fixup.
12411 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12412 registers after _dl_profile_fixup. Save and restore bound
12413 registers bnd0/bnd1 when calling _dl_call_pltexit.
12414 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12415 (LR_BND_OFFSET): Likewise.
12416 (LRV_BND0_OFFSET): Likewise.
12417 (LRV_BND1_OFFSET): Likewise.
12418
9f2a4fbc
ST
124192014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12420
12421 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12422 to...
12423 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
12424 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12425 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12426 fields.
9f2a4fbc 12427
fd15a59b
ST
124282014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12429
12430 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12431
f19dfa0a
SL
124322014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12433
12434 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12435
4fa8bc3b
SL
124362014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12437
12438 [BZ #14770]
12439 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12440 * sysdeps/s390/configure: Regenerate.
12441
8ea587db
SL
12442 [BZ #16824]
12443 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12444 Set round-to-nearest internally to reduce error accumulation.
12445
aa5f0ff1
AM
124462014-04-16 Alan Modra <amodra@gmail.com>
12447
12448 [BZ #16740]
12449 [BZ #16619]
12450 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12451 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 12452 * NEWS: Update fixed bug list.
aa5f0ff1 12453
bb9c256f
SP
124542014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12455
12456 * benchtests/Makefile: Depend on libraries in build directory.
12457 (bench-math): Separate out math tests.
12458 (bench-pthread): Separate out pthread tests.
12459 (bench): Include math and pthread tests.
12460
f737dfd0
CD
124612014-04-14 Carlos O'Donell <carlos@redhat.com>
12462
12463 [BZ #16831]
12464 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12465 _dl_debug_initialize.
12466
0699f766
CD
12467 * configure.ac: Remove SELinux header check.
12468 * configure: Regenerate.
12469 * nscd/selinux.c (perms): Array of const char* to permission names.
12470 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12471 default policy. Call string_to_security_class and string_to_av_perm to
12472 translate strings. Enforce default policy and call avs_has_perm with
12473 results of translated strings.
12474
809bd45f
DM
124752014-04-13 David S. Miller <davem@davemloft.net>
12476
12477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12478
89e691f2
AM
124792014-04-12 Allan McRae <allan@archlinux.org>
12480
12481 [BZ #16838]
12482 * manual/string.texi (Collation Functions): Fix qsort argument
12483 order in example.
12484 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12485
9c9daaeb
CM
124862014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12487
12488 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12489 Make the test a no-op if there are no exceptions defined.
12490
95561fb9
PP
124912014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12492
fe8d072c 12493 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
12494 enable-hardcoded-path-in-tests
12495
970c602a
WN
124962014-04-11 Will Newton <will.newton@linaro.org>
12497
12498 * benchtests/Makefile (extra-objs): Add json-lib.o.
12499 (bench-func): Tidy up JSON output.
12500 * benchtests/bench-skeleton.c: Include json-lib.h.
12501 (main): Use JSON library functions to do output of
12502 benchmark results.
12503 * benchtests/bench-timing-type.c (main): Output the
12504 timing type simply, leaving formatting to the user.
12505 * benchtests/json-lib.c: New file.
12506 * benchtests/json-lib.h: Likewise.
12507
36875b06
TR
125082014-04-11 Torvald Riegel <triegel@redhat.com>
12509
12510 [BZ #15215]
12511 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12512 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12513 memory barriers. Add comments.
12514 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12515 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12516 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12517 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12518 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12519 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12520
579db35a
SL
125212014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12522
12523 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12524 * sysdeps/s390/s390-64/configure.ac: ... this ...
12525 * sysdeps/s390/configure.ac: ... to here.
12526 * sysdeps/s390/s390-32/configure: Delete file.
12527 * sysdeps/s390/s390-64/configure: Delete file.
12528 * sysdeps/s390/configure: Regenerate.
12529
c12e9f37
JAPH
125302014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12531
12532 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12533
439bda32
WN
125342014-04-11 Will Newton <will.newton@linaro.org>
12535
12536 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12537 to zero if it is not defined elsewhere. (mtrim): Test
12538 the value of MALLOC_DEBUG with #if rather than #ifdef.
12539
6a5d6ea1
TR
125402014-04-10 Torvald Riegel <triegel@redhat.com>
12541
12542 * benchtests/pthread_once-inputs: New file.
12543 * benchtests/pthread_once-source.c: New file.
12544 * benchtests/README: Update documentation.
12545
a4c75cfd
IZ
125462014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12547 H.J. Lu <hongjiu.lu@intel.com>
12548
7e54fd04 12549 [BZ #16275]
a4c75cfd
IZ
12550 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12551 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12552 * sysdeps/x86_64/configure: Regenerated.
12553 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12554 macro.
12555 (REGISTER_SAVE_RAX): Likewise.
12556 (REGISTER_SAVE_RCX): Likewise.
12557 (REGISTER_SAVE_RDX): Likewise.
12558 (REGISTER_SAVE_RSI): Likewise.
12559 (REGISTER_SAVE_RDI): Likewise.
12560 (REGISTER_SAVE_R8): Likewise.
12561 (REGISTER_SAVE_R9): Likewise.
12562 (REGISTER_SAVE_BND0): Likewise.
12563 (REGISTER_SAVE_BND1): Likewise.
12564 (REGISTER_SAVE_BND2): Likewise.
12565 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12566 bound registers when calling _dl_fixup.
12567
27822ce6
AZ
125682014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12569
12570 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
12571 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12572 of its definition.
27822ce6
AZ
12573 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12574 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12575 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12576 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12577 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12578 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12579 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12580
a88ddc90
PTB
125812014-04-09 Peter Brett <peter@peter-b.co.uk>
12582
12583 [BZ #15514]
12584 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12585 pathconf(_PC_NAME_MAX).
12586
01f8eac2
AZ
125872014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12588
12589 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12590 Remove macro usage.
12591 (__PTHREAD_SPINS): Move definition to ...
12592 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12593 (__PTHREAD_SPINS): ... here.
12594 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12595 (__PTHREAD_SPIN): Likewise.
12596 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12597 (__PTHREAD_SPIN): Likewise.
12598 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12599 (__PTHREAD_SPIN): Likewise.
12600 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12601 (__PTHREAD_SPIN): Likewise.
12602 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12603 (__PTHREAD_SPIN): Likewise.
12604 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12605 (__PTHREAD_SPIN): Likewise.
12606 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12607 (__PTHREAD_SPIN): Likewise.
12608 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12609 (__PTHREAD_SPIN): Likewise.
12610 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12611 (__PTHREAD_SPIN): Likewise.
12612 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12613 (__PTHREAD_SPIN): Likewise.
12614 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12615 (__PTHREAD_SPIN): Likewise.
12616 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12617 (__PTHREAD_SPIN): Likewise.
12618
de21c33c
AZ
12619 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12620 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12621 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12622 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12623 imply folder.
12624 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12625 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12626 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12627 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12628 correct imply path.
12629 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12630 strlen symbol for non multi-arch builds.
12631 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12632 missing hidden_def and weak_alias.
12633
862c472e
CD
126342014-04-08 Carlos O'Donell <carlos@redhat.com>
12635
12636 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12637
8667f90e
WN
126382014-04-07 Will Newton <will.newton@linaro.org>
12639
12640 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12641 and contents. [!_LIBC] Remove #ifndef and contents.
12642 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12643 * string/memccpy.c (__memccpy): Use ANSI prototype.
12644 * string/memfrob.c (memfrob): Likewise.
12645 * string/strcoll.c (STRCOLL): Likewise.
12646 * string/strlen.c (strlen): Likewise.
12647 * string/strtok.c (STRTOK): Likewise.
12648 * string/strcat.c: Remove unused #include of memcopy.h.
12649 (strcat): Use ANSI prototype.
12650 * string/strchr.c: Remove unused #include of memcopy.h.
12651 (strchr): Use ANSI prototype.
12652 * string/strcmp.c: Remove unused #include of memcopy.h.
12653 (strcmp): Use ANSI prototype.
12654 * string/strcpy.c: Remove unused #include of memcopy.h.
12655 (strcpy): Use ANSI prototype.
12656
7ffa9423
AZ
126572014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12658
12659 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12660 * config.make.in (config-extra-cppflags): Set it from
12661 libc_extra_cppflags.
12662 * configure.ac (libc_extra_cflags): Make it accumulate over
12663 configure fragments.
12664 (libc_extra_cppflags): New flag.
12665 * configure. Regenerate.
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
12667 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12668 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12670
8bd70862
AZ
12671 [BZ #16815]
12672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12673 result for FE_DOWNWARD rounding mode.
12674 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12675 Likewise.
12676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12677
d42f3448
CM
126782014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12679
12680 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12681 in function argument name.
12682
1c21d115
DS
126832014-04-03 David Svoboda <svoboda@cert.org>
12684
12685 [BZ #5666]
12686 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12687 explicitly.
12688
fcccd512
RM
126892014-04-03 Roland McGrath <roland@hack.frob.com>
12690
12691 * elf/dl-unmap-segments.h: New file.
12692 * sysdeps/generic/ldsodefs.h
12693 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12694 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12695 * elf/dl-fptr.c: Likewise.
12696 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12697 * sysdeps/aarch64/tlsdesc.c: Likewise.
12698 * sysdeps/arm/tlsdesc.c: Likewise.
12699 * sysdeps/i386/tlsdesc.c: Likewise.
12700 * sysdeps/tile/dl-runtime.c: Likewise.
12701 * sysdeps/x86_64/tlsdesc.c: Likewise.
12702 * elf/dl-load.h: New file.
12703 * elf/dl-load.c: Include it.
12704 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12705 Macros moved to dl-load.h.
12706 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12707 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12708 Use _dl_unmap_segments in place of __munmap.
12709 Break out segment-mapping loop into ...
12710 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12711
f6488e2b
WN
127122014-04-03 Will Newton <will.newton@linaro.org>
12713
12714 * elf/dl-lookup.c (do_lookup_x): Remove comment
12715 referring to nested function and move variable
12716 declarations down to before first use.
12717
6f05bafe
JM
127182014-04-02 Joseph Myers <joseph@codesourcery.com>
12719
a84e78c8
JM
12720 [BZ #16799]
12721 [BZ #16800]
12722 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12723 with 0 numerator.
12724 * math/s_catanf.c (__catanf): Likewise.
12725 * math/s_catanh.c (__catanh): Likewise.
12726 * math/s_catanhf.c (__catanhf): Likewise.
12727 * math/s_catanhl.c (__catanhl): Likewise.
12728 * math/s_catanl.c (__catanl): Likewise.
12729 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12730 by positive zero when computing -Inf result.
12731 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12732 (catanh_test): Likewise.
12733 * sysdeps/i386/fpu/libm-test-ulps: Update.
12734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12735
6f05bafe
JM
12736 [BZ #16789]
12737 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12738 instead of using underflowing value in computing result.
12739 * math/s_clog10.c (__clog10): Likewise.
12740 * math/s_clog10f.c (__clog10f): Likewise.
12741 * math/s_clog10l.c (__clog10l): Likewise.
12742 * math/s_clogf.c (__clogf): Likewise.
12743 * math/s_clogl.c (__clogl): Likewise.
12744 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12745 (clog10_test): Likewise.
12746 * sysdeps/i386/fpu/libm-test-ulps: Update.
12747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12748
b0abbc21
AM
127492014-04-02 Alan Modra <amodra@gmail.com>
12750
12751 [BZ #16739]
12752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12753 output when value is near a power of two. Use int64_t for lx and
12754 remove casts. Use decimal rather than hex exponent constants.
12755 Don't use long double multiplication when double will suffice.
12756 * math/libm-test.inc (nextafter_test_data): Add tests.
12757 * NEWS: Add 16739 and 16786 to bug list.
12758
af6b1797
AM
12759 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12760
483818d7
AM
12761 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12762
f6c55796
WN
127632014-04-01 Will Newton <will.newton@linaro.org>
12764
12765 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12766 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12767
13f7fe35
FW
127682014-04-01 Florian Weimer <fweimer@redhat.com>
12769
12770 [BZ #13347]
12771 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12772 * nptl/tst-setuid2.c: New file.
12773 * nptl/Makefile (xtests): Add tst-setuid2.
12774
c859b32e
AM
127752014-04-01 Alan Modra <amodra@gmail.com>
12776
12777 [BZ #16786]
12778 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12779
54fa2475
JM
127802014-03-31 Joseph Myers <joseph@codesourcery.com>
12781
8795b4a4
JM
12782 [BZ #6803]
12783 [BZ #6804]
12784 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12785 set errno as appropriate.
12786 * math/w_scalbf.c (__scalbf): Likewise.
12787 * math/w_scalbl.c (__scalbl): Likewise.
12788 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12789 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12790 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12791 Add more NaN tests.
12792
54fa2475
JM
12793 [BZ #16349]
12794 * math/w_atan2.c: Include <errno.h>.
12795 (__atan2): Set errno for result underflowing to zero.
12796 * math/w_atan2f.c: Include <errno.h>.
12797 (__atan2f): Set errno for result underflowing to zero.
12798 * math/w_atan2l.c: Include <errno.h>.
12799 (__atan2l): Set errno for result underflowing to zero.
12800 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12801 tests.
12802 * math/auto-libm-test-out: Regenerated.
12803
757d9dd5
AZ
128042014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12805
12806 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12807 Encode instruction correctly in little endian.
12808 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12809 Likewise.
12810 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12811 Likewise.
12812 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12813 Likewise.
12814 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12815 Likewise.
12816
d7a68734
JM
128172014-03-31 Joseph Myers <joseph@codesourcery.com>
12818
47c5adeb
JM
12819 [BZ #9894]
12820 * sysdeps/unix/sysv/linux/kernel-features.h
12821 [__sparc__ && !__arch64__ && !__sparc_v9__]
12822 (__ASSUME_SET_ROBUST_LIST): Do not define.
12823 [__sparc__ && !__arch64__ && !__sparc_v9__]
12824 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12825 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12826 Likewise.
12827 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12828 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12829 (__ASSUME_REQUEUE_PI): Likewise.
12830 (__ASSUME_SET_ROBUST_LIST): Likewise.
12831 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12832 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12833 Undefine.
12834 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12835 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12836 Likewise.
12837 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12838 Likewise.
12839 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12840 Likewise.
12841 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12842 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12843 Undefine.
12844 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12845 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12846 Likewise.
12847
d7a68734
JM
12848 [BZ #16648]
12849 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12850 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12851 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12852
c760f5c2
WN
128532014-03-31 Will Newton <will.newton@linaro.org>
12854
12855 * benchtests/Makefile (bench): Add ffs and ffsll to list
12856 of tests.
12857 * benchtests/ffs-inputs: New file.
12858 * benchtests/ffsll-inputs: Likewise.
12859
ea6029b1
JM
128602014-03-29 Joseph Myers <joseph@codesourcery.com>
12861
12862 [BZ #16770]
12863 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12864 too large before casting to int.
12865 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12866 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12867 * math/libm-test.inc (scalb_test_data): Add more tests.
12868
cf806aff
SP
128692014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12870
56737508
SP
12871 * benchtests/Makefile (DETAILED_OPT): New make option.
12872 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12873 set.
12874 * benchtests/bench-skeleton.c: Include stdbool.h.
12875 (main): Store and print timings per input.
12876 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12877 member to each argument value.
12878 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12879 (_print_arg_data): Initialize per-input timing to 0.
12880
cb5e4aad
SP
12881 * benchtests/Makefile (timing-type): New binary.
12882 (bench-clean): Also remove bench-timing-type.
12883 (bench): New target for timing-type.
12884 (bench-func): Print output in JSON format.
12885 * benchtests/bench-skeleton.c (main): Print output in JSON
12886 format.
12887 * benchtests/bench-timing-type.c: New file.
12888 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12889 (TIMING_PRINT_STATS): Remove.
12890 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12891 name separately.
12892
cf806aff
SP
12893 * benchtests/bench-modf.c: Remove.
12894 * benchtests/modf-inputs: New inputs file.
12895
289e0779
JM
128962014-03-28 Joseph Myers <joseph@codesourcery.com>
12897
12898 [BZ #16362]
12899 * math/s_clog10.c (M_PI_LOG10E): New macro.
12900 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12901 imaginary parts are 0.
12902 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12903 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12904 imaginary parts are 0.
12905 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12906 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12907 imaginary parts are 0.
12908 * math/libm-test.inc (clog10_test_data): Update expected results
12909 for when real and imaginary parts are 0.
12910
277ae3f1
PP
129112014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12912
12913 * elf/dl-load.c: Finish conversion of __builtin_expect into
12914 __glibc_{un}likely.
12915
03a7091f
JM
129162014-03-27 Joseph Myers <joseph@codesourcery.com>
12917
12918 [BZ #16348]
12919 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12920 1+x for argument with exponent below -67.
12921 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12922 Likewise.
12923 * math/auto-libm-test-in: Add more tests of exp.
12924 * math/auto-libm-test-out: Regenerated.
12925
ea7d8b95
SP
129262014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12927
dd3022d7
SP
12928 [BZ #16759]
12929 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12930 (nscd_getnetgrent): Use it.
12931
ea7d8b95
SP
12932 [BZ #16760]
12933 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12934 of stpcpy.
12935
df5b85da
AK
129362014-03-27 Andi Kleen <ak@linux.intel.com>
12937
57f41c40
AS
12938 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12939 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12940 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12941 (lll_robust_unlock): Remove out of line section. Use cfi
12942 intrinsics.
df5b85da 12943 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
12944 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12945 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12946 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12947 (lll_robust_unlock): Remove out of line section. Use cfi
12948 intrinsics.
df5b85da
AK
12949 (LLL_STUB_UNWIND_INFO*): Remove.
12950
fbd6b5a4
SP
129512014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12952
12953 [BZ #16758]
12954 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12955 blank values.
12956
1b26b855
PP
129572014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12958
12959 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12960
9be36fb8
JM
129612014-03-26 Joseph Myers <joseph@codesourcery.com>
12962
12963 [BZ #16198]
12964 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12965 fnstenv.
12966 * math/test-fenv-preserve.c: New file.
12967 * math/Makefile (tests): Add test-fenv-preserve.
12968
60a2f3c1
WN
129692014-03-26 Will Newton <will.newton@linaro.org>
12970
12971 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12972
a5e5f1e2
RM
129732014-03-25 Roland McGrath <roland@hack.frob.com>
12974
12975 * scripts/versionlist.awk: Partition the version sets and emit all
12976 GLIBC_* (sorted) before all others (sorted).
12977
00f4012a
JM
129782014-03-25 Joseph Myers <joseph@codesourcery.com>
12979
12980 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12981 GLIBC_2.2.5 version.
12982
7bc5a741
AZ
129832014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12984
12985 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12986 calls.
12987
7578473b
AZ
12988 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12989 previous change.
12990
f3f1dab3
AZ
12991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12992
6da36183
AS
129932014-03-25 Andreas Schwab <schwab@suse.de>
12994
12995 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12996 label to be used after in6ailist is initialized.
12997
f3f1dab3 129982014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 12999
7578473b 13000 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13001 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13002
046651c1
JM
130032014-03-25 Joseph Myers <joseph@codesourcery.com>
13004
13005 [BZ #16357]
13006 [BZ #16599]
13007 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13008 min_plus_half.
13009 (fp_formats): Update initializers.
13010 (init_fp_formats): Initialize new field.
13011 (output_for_one_input_case): Allow underflow for results up to
13012 min_plus_half.
13013 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13014 * math/auto-libm-test-in: Don't mark some underflows from asin and
13015 atanh as spurious.
13016 * math/auto-libm-test-out: Regenerated.
13017 * sysdeps/i386/fpu/libm-test-ulps: Update.
13018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13019
003e49ed
AS
130202014-03-25 Andreas Schwab <schwab@suse.de>
13021
13022 * libio/Makefile (tst-ftell-partial-wide-ENV)
13023 (tst-ftell-active-handler-ENV): Define.
13024
de031874
SL
130252014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13026
13027 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13028
55a81e3b
PP
130292014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13030
13031 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13032
f3426898
JM
130332014-03-24 Joseph Myers <joseph@codesourcery.com>
13034
13035 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13036 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13037 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13038
a42faf59
PP
130392014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13040
13041 [BZ #16634]
a42faf59 13042 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13043 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13044 (open_path): Change from boolean 'secure' to complete flag 'mode'
13045 (_dl_map_object): Adjust.
a42faf59
PP
13046 * elf/Makefile (tests): Add tst-dlopen-aout.
13047 * elf/tst-dlopen-aout.c: New test.
13048
50936127
SL
130492014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13050
13051 [BZ #16714]
13052 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13053 (struct stat): Rename member pad0 to __glibc_reserved0.
13054
26011b5c
SL
13055 [BZ #16712]
13056 * sysdeps/s390/s390-32/bits/wordsize.h
13057 (__WORDSIZE32_SIZE_ULONG): New define.
13058 * sysdeps/s390/s390-64/bits/wordsize.h
13059 (__WORDSIZE32_SIZE_ULONG): Likewise.
13060 * sysdeps/generic/stdint.h (SIZE_MAX):
13061 Define as UL if __WORDSIZE32_SIZE_ULONG.
13062
a2d86bf1
SL
13063 [BZ #16713]
13064 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13065 (__glibc_reserved0): New variable.
13066 (sa_flags): Change type to int.
13067
78b6eebc
SL
13068 * posix/Makefile (before-compile): Use += before-compile instead
13069 of a :=.
13070
f1399b5a
SL
13071 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13072 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13073
a071766e
AS
130742014-03-20 Andreas Schwab <schwab@suse.de>
13075
13076 [BZ #16743]
13077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13078 non-matching result from nscd.
13079
27c673b8
SP
130802014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13081
13082 * scripts/bench.py: Moved to ...
13083 * benchtests/scripts/bench.py: ... here.
13084 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13085
44152e4b
AS
130862014-03-24 Andreas Schwab <schwab@suse.de>
13087
13088 [BZ #16002]
13089 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13090 alloca_account and account alloca use for struct in6ailist.
13091
b376a11a
JM
130922014-03-24 Joseph Myers <joseph@codesourcery.com>
13093
13094 [BZ #16284]
13095 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13096 rounding mode to recompute results that overflow to infinity or
13097 underflow to zero.
13098 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13099 bug 16284.
13100 * math/auto-libm-test-out: Regenerated.
13101 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13102 (ccosh_test): Likewise.
13103 (csin_test_data): Use plus_oflow.
13104 (csin_test): Use ALL_RM_TEST.
13105 (csinh_test_data): Use plus_oflow.
13106 (csinh_test): Use ALL_RM_TEST.
13107 * sysdeps/i386/fpu/libm-test-ulps: Update.
13108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13109
f7be7376
JM
131102014-03-21 Joseph Myers <joseph@codesourcery.com>
13111
1ca2d03e
JM
13112 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13113 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13114 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13115
f7be7376
JM
13116 [BZ #16731]
13117 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13118 when x - 1 is zero.
13119 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13120 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13121 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13122 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13123 argument is 1.
13124 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13125 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13126 zero.
13127 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13128 * sysdeps/i386/fpu/libm-test-ulps: Update.
13129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13130
fdf4534d
SP
131312014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13132
df26ea53
SP
13133 * scripts/bench.pl: Remove file.
13134 * scripts/bench.py: New benchmark script.
13135 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13136 * benchtests/README: Mention python dependency.
13137 * scripts/pylintrc: New file.
13138 * scripts/pylint: New file.
13139
fdf4534d
SP
13140 * bits/mathdef.h: Use #ifdef instead of #if.
13141 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13142 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13143 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13144 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13145 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13146 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13147
6f23d093
AZ
131482014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13149 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13150
13151 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13153 and strpbrk-ppc64 objects.
13154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13155 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13156 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13157 multiarch strpbrk for POWER7.
13158 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13159 multiarch strpbrk for PPC64.
13160 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13161 ifunc selector.
13162 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13163 strpbrk for POWER7.
13164
8c92dfff
JM
131652014-03-20 Joseph Myers <joseph@codesourcery.com>
13166
13167 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13168 (atan_test): Likewise.
13169 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13170 (atanh_test): Use ALL_RM_TEST.
13171 (atan2_test_data): Likewise.
13172 (cabs_test): Likewise.
13173 (cacosh_test): Likewise.
13174 (carg_test): Likewise.
13175 (casin_test): Likewise.
13176 (casinh_test): Likewise.
13177 (cbrt_test): Likewise.
13178 (csqrt_test): Likewise.
13179 (erf_test): Likewise.
13180 (erfc_test): Likewise.
13181 (pow10_test): Likewise.
13182 (exp2_test): Likewise.
13183 (hypot_test): Likewise.
13184 (j0_test): Likewise.
13185 (j1_test): Likewise.
13186 (lgamma_test): Likewise.
13187 (gamma_test): Likewise.
13188 (sincos_test): Likewise.
13189 (tanh_test): Likewise.
13190 (y0_test): Likewise.
13191 (y1_test): Likewise.
13192 * sysdeps/i386/fpu/libm-test-ulps: Update.
13193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13194
6eaf95cb
AZ
131952014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13196
a387428c
SP
13197 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13199 and strcspn-ppc64 objects.
13200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13201 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13202 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13203 multiarch strcspn for POWER7.
13204 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13205 multiarch strcspn for PPC64.
13206 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13207 ifunc selector.
13208 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13209 strcspn for POWER7.
13210
ae3a5dff
JM
132112014-03-20 Joseph Myers <joseph@codesourcery.com>
13212
13213 * math/gen-libm-test.pl (generate_testfile): Expect only function
13214 name as argument to AUTO_TESTS_* and pass results for all rounding
13215 modes to parse_args.
13216 (parse_auto_input): Separate inputs of automatic tests from
13217 outputs before storing in %auto_tests.
13218 * math/libm-test.inc (acos_test_data): Update call to
13219 AUTO_TESTS_f_f.
13220 (acos_test): Use ALL_RM_TEST.
13221 (acos_tonearest_test_data): Remove.
13222 (acos_test_tonearest): Likewise.
13223 (acos_towardzero_test_data): Likewise.
13224 (acos_test_towardzero): Likewise.
13225 (acos_downward_test_data): Likewise.
13226 (acos_test_downward): Likewise.
13227 (acos_upward_test_data): Likewise.
13228 (acos_test_upward): Likewise.
13229 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13230 (asin_test_data): Likewise.
13231 (asin_test): Use ALL_RM_TEST.
13232 (asin_tonearest_test_data): Remove.
13233 (asin_test_tonearest): Likewise.
13234 (asin_towardzero_test_data): Likewise.
13235 (asin_test_towardzero): Likewise.
13236 (asin_downward_test_data): Likewise.
13237 (asin_test_downward): Likewise.
13238 (asin_upward_test_data): Likewise.
13239 (asin_test_upward): Likewise.
13240 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13241 (atan_test_data): Likewise.
13242 (atanh_test_data): Likewise.
13243 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13244 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13245 (carg_test_data): Likewise.
13246 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13247 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13248 (ccosh_test_data): Likewise.
13249 (cexp_test_data): Likewise.
13250 (clog_test_data): Likewise.
13251 (clog10_test_data): Likewise.
13252 (cos_test_data): Update call to AUTO_TESTS_f_f.
13253 (cos_test): Use ALL_RM_TEST.
13254 (cos_tonearest_test_data): Remove.
13255 (cos_test_tonearest): Likewise.
13256 (cos_towardzero_test_data): Likewise.
13257 (cos_test_towardzero): Likewise.
13258 (cos_downward_test_data): Likewise.
13259 (cos_test_downward): Likewise.
13260 (cos_upward_test_data): Likewise.
13261 (cos_test_upward): Likewise.
13262 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13263 (cosh_test): Use ALL_RM_TEST.
13264 (cosh_tonearest_test_data): Remove.
13265 (cosh_test_tonearest): Likewise.
13266 (cosh_towardzero_test_data): Likewise.
13267 (cosh_test_towardzero): Likewise.
13268 (cosh_downward_test_data): Likewise.
13269 (cosh_test_downward): Likewise.
13270 (cosh_upward_test_data): Likewise.
13271 (cosh_test_upward): Likewise.
13272 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13273 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13274 (ctan_test_data): Likewise.
13275 (ctan_test): Use ALL_RM_TEST.
13276 (ctan_tonearest_test_data): Remove.
13277 (ctan_test_tonearest): Likewise.
13278 (ctan_towardzero_test_data): Likewise.
13279 (ctan_test_towardzero): Likewise.
13280 (ctan_downward_test_data): Likewise.
13281 (ctan_test_downward): Likewise.
13282 (ctan_upward_test_data): Likewise.
13283 (ctan_test_upward): Likewise.
13284 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13285 (ctanh_test): Use ALL_RM_TEST.
13286 (ctanh_tonearest_test_data): Remove.
13287 (ctanh_test_tonearest): Likewise.
13288 (ctanh_towardzero_test_data): Likewise.
13289 (ctanh_test_towardzero): Likewise.
13290 (ctanh_downward_test_data): Likewise.
13291 (ctanh_test_downward): Likewise.
13292 (ctanh_upward_test_data): Likewise.
13293 (ctanh_test_upward): Likewise.
13294 (erf_test_data): Update call to AUTO_TESTS_f_f.
13295 (erfc_test_data): Likewise.
13296 (exp_test_data): Likewise.
13297 (exp_test): Use ALL_RM_TEST.
13298 (exp_tonearest_test_data): Remove.
13299 (exp_test_tonearest): Likewise.
13300 (exp_towardzero_test_data): Likewise.
13301 (exp_test_towardzero): Likewise.
13302 (exp_downward_test_data): Likewise.
13303 (exp_test_downward): Likewise.
13304 (exp_upward_test_data): Likewise.
13305 (exp_test_upward): Likewise.
13306 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13307 (exp10_test): Use ALL_RM_TEST.
13308 (exp10_tonearest_test_data): Remove.
13309 (exp10_test_tonearest): Likewise.
13310 (exp10_towardzero_test_data): Likewise.
13311 (exp10_test_towardzero): Likewise.
13312 (exp10_downward_test_data): Likewise.
13313 (exp10_test_downward): Likewise.
13314 (exp10_upward_test_data): Likewise.
13315 (exp10_test_upward): Likewise.
13316 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13317 (expm1_test_data): Likewise.
13318 (expm1_test): Use ALL_RM_TEST.
13319 (expm1_tonearest_test_data): Remove.
13320 (expm1_test_tonearest): Likewise.
13321 (expm1_towardzero_test_data): Likewise.
13322 (expm1_test_towardzero): Likewise.
13323 (expm1_downward_test_data): Likewise.
13324 (expm1_test_downward): Likewise.
13325 (expm1_upward_test_data): Likewise.
13326 (expm1_test_upward): Likewise.
13327 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13328 (fma_test): Use ALL_RM_TEST.
13329 (fma_towardzero_test_data): Remove.
13330 (fma_test_towardzero): Likewise.
13331 (fma_downward_test_data): Likewise.
13332 (fma_test_downward): Likewise.
13333 (fma_upward_test_data): Likewise.
13334 (fma_test_upward): Likewise.
13335 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13336 (j0_test_data): Update call to AUTO_TESTS_f_f.
13337 (j1_test_data): Likewise.
13338 (jn_test_data): Update call to AUTO_TESTS_if_f.
13339 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13340 (log_test_data): Update call to AUTO_TESTS_f_f.
13341 (log10_test_data): Likewise.
13342 (log1p_test_data): Likewise.
13343 (log2_test_data): Likewise.
13344 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13345 (pow_tonearest_test_data): Likewise.
13346 (sin_test_data): Update call to AUTO_TESTS_f_f.
13347 (sin_test): Use ALL_RM_TEST.
13348 (sin_tonearest_test_data): Remove.
13349 (sin_test_tonearest): Likewise.
13350 (sin_towardzero_test_data): Likewise.
13351 (sin_test_towardzero): Likewise.
13352 (sin_downward_test_data): Likewise.
13353 (sin_test_downward): Likewise.
13354 (sin_upward_test_data): Likewise.
13355 (sin_test_upward): Likewise.
13356 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13357 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13358 (sinh_test): Use ALL_RM_TEST.
13359 (sinh_tonearest_test_data): Remove.
13360 (sinh_test_tonearest): Likewise.
13361 (sinh_towardzero_test_data): Likewise.
13362 (sinh_test_towardzero): Likewise.
13363 (sinh_downward_test_data): Likewise.
13364 (sinh_test_downward): Likewise.
13365 (sinh_upward_test_data): Likewise.
13366 (sinh_test_upward): Likewise.
13367 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13368 (sqrt_test): Use ALL_RM_TEST.
13369 (sqrt_tonearest_test_data): Remove.
13370 (sqrt_test_tonearest): Likewise.
13371 (sqrt_towardzero_test_data): Likewise.
13372 (sqrt_test_towardzero): Likewise.
13373 (sqrt_downward_test_data): Likewise.
13374 (sqrt_test_downward): Likewise.
13375 (sqrt_upward_test_data): Likewise.
13376 (sqrt_test_upward): Likewise.
13377 (tan_test_data): Update call to AUTO_TESTS_f_f.
13378 (tan_test): Use ALL_RM_TEST.
13379 (tan_tonearest_test_data): Remove.
13380 (tan_test_tonearest): Likewise.
13381 (tan_towardzero_test_data): Likewise.
13382 (tan_test_towardzero): Likewise.
13383 (tan_downward_test_data): Likewise.
13384 (tan_test_downward): Likewise.
13385 (tan_upward_test_data): Likewise.
13386 (tan_test_upward): Likewise.
13387 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13388 (tgamma_test_data): Likewise.
13389 (y0_test_data): Likewise.
13390 (y1_test_data): Likewise.
13391 (yn_test_data): Update call to AUTO_TESTS_if_f.
13392 (main): Do not call removed functions.
13393
d71aeee8
JM
133942014-03-19 Joseph Myers <joseph@codesourcery.com>
13395
13396 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13397 (ldexp_test_data): Remove.
13398 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13399 scalbn_test_data.
13400 (scalb_test): Use ALL_RM_TEST.
13401
baaf1ded
AS
134022014-03-19 Andreas Schwab <schwab@suse.de>
13403
13404 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13405
b1115e91
JM
134062014-03-19 Joseph Myers <joseph@codesourcery.com>
13407
13408 [BZ #16649]
13409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13410 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13411 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13413 (__ASSUME_PREADV): Undefine.
13414 (__ASSUME_PWRITEV): Likewise.
13415
0283ecca
RM
134162014-03-18 Roland McGrath <roland@hack.frob.com>
13417
7d375303
RM
13418 * bits/mman-linux.h: Add comment about non-Linux use.
13419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13420 bits/mman-linux.h resting place.
13421
0283ecca
RM
13422 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13423 * bits/mman-linux.h: ... here.
13424
aebe1003
AZ
134252014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426
13427 * conform/conformtest.pl: Add standard definition when calling C
13428 preprocessor on data files.
13429 (checknamespace): Remove unused variable.
13430
b29b6bb8
JM
134312014-03-18 Joseph Myers <joseph@codesourcery.com>
13432
13433 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13434 minus_oflow, plus_uflow and minus_uflow in expected results.
13435 * math/libm-test.inc (scalbn_test_data): Add more tests of
13436 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13437 minus_uflow.
13438 (scalbn_test): Use ALL_RM_TEST.
13439 (scalbln_test_data): Add more tests of negative arguments. Use
13440 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13441 (scalbln_test): Use ALL_RM_TEST.
13442
c8f8fa15
RM
134432014-03-18 Roland McGrath <roland@hack.frob.com>
13444
13445 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13446
fede7a5f
WN
134472014-03-18 Will Newton <will.newton@linaro.org>
13448
13449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13450 inaccurate comment.
13451
80cf0a58
JM
134522014-03-18 Joseph Myers <joseph@codesourcery.com>
13453
13454 * Makerules [!subdir] (check-abi): Exit with error status if a
13455 test failed.
13456
b3620862
JM
134572014-03-17 Joseph Myers <joseph@codesourcery.com>
13458
13459 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13460 for rint. Include results for all rounding modes.
13461 (nearbyint_test): Use ALL_RM_TEST.
13462 (rint_test_data): Include all tests used for nearbyint.
13463
788bba36
WN
134642014-03-17 Will Newton <will.newton@linaro.org>
13465
04ec140a
WN
13466 * nptl/sysdeps/pthread/pthread.h: Revert previous
13467 change.
13468
7579d8d5
WN
13469 * sysdeps/generic/ldsodefs.h: Revert previous
13470 change.
13471
c15cf13a
WN
13472 * libio/genops.c: Revert previous change.
13473 * libio/libioP.h: Likewise.
13474 * stdio-common/vfprintf.c: Likewise.
13475
d0ac1324
WN
13476 * sysdeps/generic/math_private.h: Revert previous
13477 change.
13478
9290130a
WN
13479 * sysdeps/generic/math_private.h: Check whether
13480 HAVE_RM_CTX is defined with #ifdef rather
13481 than #if.
13482
afb466fc
WN
13483 * argp/argp-fmtstream.h: Check whether
13484 __STRICT_ANSI__ is defined with #ifdef rather
13485 than #if.
13486 * argp/argp.h: Likewise.
13487
f7efd7c3
WN
13488 * libio/genops.c: Check whether
13489 _IO_JUMPS_OFFSET is defined with #ifdef rather
13490 than #if.
13491 * libio/libioP.h: Likewise.
13492 * stdio-common/vfprintf.c: Likewise.
13493
53f1bed3
WN
13494 * sysdeps/generic/ldsodefs.h: Check whether
13495 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13496 than #if.
13497
788bba36
WN
13498 * nptl/sysdeps/pthread/pthread.h: Check
13499 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13500 its value.
13501
fcd89ebe
SP
135022014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13503
ae42bbc5
SP
13504 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13505 setting O_APPEND.
13506 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13507 test case.
13508
ea33158c
SP
13509 [BZ #16680]
13510 * libio/fileops.c (_IO_file_open): Seek to end of file but
13511 don't cache the offset.
13512 (get_file_offset): Remove function.
13513 (do_ftell): Use cached offset when available.
13514 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13515 don't cache the offset.
13516 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13517 case.
13518 (do_one_test): Call it.
13519 (do_ftell_test): Fix up expected old offset for a+ mode.
13520 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13521 available.
13522
b1dbb426
SP
13523 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13524 up test status with function return status.
13525 (do_write_test): Likewise.
13526 (do_append_test): Likewise.
13527
fcd89ebe
SP
13528 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13529 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13530 Remove.
13531
9962a2d3
JM
135322014-03-17 Joseph Myers <joseph@codesourcery.com>
13533
13534 * math/gen-libm-test.pl (parse_args): Handle results specified for
13535 each rounding mode separately.
13536 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13537 tests and results from lrint_tonearest_test_data,
13538 lrint_towardzero_test_data, lrint_downward_test_data and
13539 lrint_upward_test_data.
13540 (lrint_test): Use ALL_RM_TEST.
13541 (lrint_tonearest_test_data): Remove.
13542 (lrint_test_tonearest): Likewise.
13543 (lrint_towardzero_test_data): Likewise.
13544 (lrint_test_towardzero): Likewise.
13545 (lrint_downward_test_data): Likewise.
13546 (lrint_test_downward): Likewise.
13547 (lrint_upward_test_data): Likewise.
13548 (lrint_test_upward): Likewise.
13549 (llrint_test_data): Merge in per-rounding-mode tests and results
13550 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13551 llrint_downward_test_data and llrint_upward_test_data.
13552 (llrint_test): Use ALL_RM_TEST.
13553 (llrint_tonearest_test_data): Remove.
13554 (llrint_test_tonearest): Likewise.
13555 (llrint_towardzero_test_data): Likewise.
13556 (llrint_test_towardzero): Likewise.
13557 (llrint_downward_test_data): Likewise.
13558 (llrint_test_downward): Likewise.
13559 (llrint_upward_test_data): Likewise.
13560 (llrint_test_upward): Likewise.
13561 (rint_test_data): Merge in per-rounding-mode tests and results
13562 from rint_tonearest_test_data, rint_towardzero_test_data,
13563 rint_downward_test_data and rint_upward_test_data. Add
13564 per-rounding-mode results for tests not in those arrays.
13565 (rint_test): Use ALL_RM_TEST.
13566 (rint_tonearest_test_data): Remove.
13567 (rint_test_tonearest): Likewise.
13568 (rint_towardzero_test_data): Likewise.
13569 (rint_test_towardzero): Likewise.
13570 (rint_downward_test_data): Likewise.
13571 (rint_test_downward): Likewise.
13572 (rint_upward_test_data): Likewise.
13573 (rint_test_upward): Likewise.
13574 (main): Don't call removed functions.
13575
5006148e
RM
135762014-03-14 Roland McGrath <roland@hack.frob.com>
13577
13578 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13579 "Compiled on ..." crapola. It is anti-useful.
13580
d6fe5e58
JM
135812014-03-14 Joseph Myers <joseph@codesourcery.com>
13582
13583 * scripts/evaluate-test.sh: Handle fourth argument to determine
13584 whether test run should stop on failure.
13585 * Makeconfig (stop-on-test-failure): New variable.
13586 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13587 $(stop-on-test-failure).
13588 * Makefile (tests): Give a summary of results from testing and
13589 exit with failure status if they include an ERROR or FAIL.
13590 (xtests): Likewise.
13591 * manual/install.texi (Configuring and compiling): Mention
13592 stop-on-test-failure=y.
13593 * INSTALL: Regenerated.
13594
498a2233
RM
135952014-03-14 Roland McGrath <roland@hack.frob.com>
13596
22dbc19d
RM
13597 * scripts/versionlist.awk: New file.
13598 * Makerules [$(build-shared) = yes]
13599 (postclean-generated): Add Versions.def, not Versions.def.v and
13600 Versions.def.v.i.
13601 ($(common-objpfx)Versions.def.v.i): Target removed.
13602 ($(common-objpfx)Versions.def): New target.
13603 ($(common-objpfx)Versions.all): Depend on that rather that
13604 $(common-objpfx)Versions.def.v.
13605 * Versions.def: File removed.
13606
498a2233
RM
13607 * Makeconfig (+gccwarn): Add -Wundef.
13608 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13609 a dl-sysdep.h breaking its contract.
13610 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13611 * include/stackinfo.h: New file.
13612 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13613 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13614 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13615 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13616 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13617 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13618 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13619 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13620 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13621 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13622 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13623 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13624 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13625 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13626 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13627
c7de5025
AZ
136282014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13629
13630 [BZ #16707]
13631 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13632 implementation.
13633 * math/libm-test.inc (round_test_data): Add more tests.
13634
98fb27a3
AZ
13635 [BZ #16706]
13636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13637 implementation.
13638 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13639
374f7f61
AZ
13640 [BZ #16701]
13641 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13642 implementation.
13643 * math/libm-test.inc (ceil_test_data): Add more tests.
13644
4655c291
AZ
13645 * math/libm-test.inc (trunc_test_data): Add more tests related to
13646 BZ#16414.
13647
d7329d4b
RM
136482014-03-14 Roland McGrath <roland@hack.frob.com>
13649
13650 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13651 with #if rather than #ifdef.
13652 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13653
aa4de9ce
L
136542014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13655
13656 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13657 first. Disable AVX-512 GCC support if assembler doesn't support
13658 it.
13659 * sysdeps/x86_64/configure: Regenerated.
13660
2e03fae7
CD
136612014-03-13 Carlos O'Donell <carlos@redhat.com>
13662
13663 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13664 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13665 (__old_pthread_attr_setstack): Likewise.
13666 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13667 [!_STACK_GROWS_DOWN]: Likewise.
13668
43ca83ec
MF
136692014-03-13 Mike Frysinger <vapier@gentoo.org>
13670
13671 * config.make.in (have-bash2): Delete.
13672 * configure.ac (libc_cv_have_bash2): Delete.
13673 * configure: Regenerate.
13674 * elf/Makefile (common-ldd-rewrite): Rename to ...
13675 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13676 (sh-ldd-rewrite): Delete.
13677 (bash-ldd-rewrite): Delete.
13678 (have-bash2): Delete checks.
57f41c40
AS
13679 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13680 ldd-rewrite.
c66e48b4
MF
13681
13682 * config.make.in (have-ksh): Delete.
13683 (KSH): Delete.
13684 * configure.ac (libc_cv_have_ksh): Delete.
13685 * configure: Regenerate.
13686
b93834ef
MF
13687 * elf/Makefile: Delete $(have-ksh) check.
13688 ($(objpfx)sotruss): Change KSH to BASH.
13689 * elf/sotruss.ksh: Rename to ...
13690 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13691 function style to match POSIX. Drop ksh vim mode setting.
13692
f3a4632a
MF
13693 * manual/time.texi (Specifying the Time Zone with TZ): Change
13694 Tuesday to Thursday.
13695
5896c8bd
MF
13696 * debug/tst-longjmp_chk2.c: Update header comment.
13697 (stackoverflow_handler): Add comment. Call assert on pass value.
13698
2d63a517
IZ
136992014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13700
7e54fd04 13701 [BZ #16194]
2d63a517
IZ
13702 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13703 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13704 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13705 (La_x86_64_vector): Add zmm.
13706 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13707 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13708 ($(objpfx)tst-audit10): New target.
13709 ($(objpfx)tst-audit10.out): Likewise.
13710 (tst-audit10-ENV): New.
13711 (AVX512-CFLAGS): Likewise.
13712 (CFLAGS-tst-audit10.c): Likewise.
13713 (CFLAGS-tst-auditmod10a.c): Likewise.
13714 (CFLAGS-tst-auditmod10b.c): Likewise.
13715 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13716 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13717 * sysdeps/x86_64/configure: Regenerated.
13718 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13719 AVX-512 zmm register support.
13720 (_dl_x86_64_save_sse): Likewise.
13721 (_dl_x86_64_restore_sse): Likewise.
13722 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13723 size vector registers.
13724 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13725 (ZMM_SIZE): Likewise.
13726 * sysdeps/x86_64/tst-audit10.c: New file.
13727 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13728 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13729
44c4e5d5
RM
137302014-03-13 Roland McGrath <roland@hack.frob.com>
13731
13732 * configure.ac (HAVE_EHDR_START): New check.
13733 * configure: Regenerated.
13734 * config.h.in (HAVE_EHDR_START): New #undef.
13735 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13736 assuming the lowest-addressed segment maps the start of the file.
13737
acd6e389
JM
137382014-03-13 Joseph Myers <joseph@codesourcery.com>
13739
13740 * INSTALL: Regenerated.
13741
6f918f36
WN
137422014-03-13 Will Newton <will.newton@linaro.org>
13743
13744 * manual/setjmp.texi (System V contexts): Improve
13745 clarity and grammar of documentation.
13746
798212a0
PP
137472014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13748
13749 [BZ #16381]
798212a0 13750 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 13751 (tests-pie): Add tst-pie2.
798212a0
PP
13752 * elf/tst-pie2.c: New file.
13753 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13754 for ET_EXEC.
13755 * elf/rtld.c (map_doit): Load executable as lt_executable.
13756 (dl_main): Likewise.
13757
abe6d90c
JM
137582014-03-12 Joseph Myers <joseph@codesourcery.com>
13759
13760 [BZ #16642]
13761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13762 (__ASSUME_PSELECT): Undefine.
13763
dd3946c6
AZ
137642014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13765
13766 [BZ #16689]
13767 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13768 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13769 static build.
13770 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13771 selector for static builds.
13772
c44496df
SP
137732014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13774
13775 [BZ #16695]
13776 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13777 key in the buffer.
13778
27c7220a
AZ
137792014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13780
57f41c40
AS
13781 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13782 IFUNC selector for static builds.
27c7220a 13783
600fa361
JM
137842014-03-11 Joseph Myers <joseph@codesourcery.com>
13785
76c96cf7
JM
13786 * sysdeps/mips/math_private.h [__mips_hard_float]
13787 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13788 libc_feresetround_mips_ctx.
13789 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13790 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13791 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13792
600fa361
JM
13793 [BZ #16677]
13794 * math/s_nextafter.c (__nextafter): Do not return value from
13795 overflowing computation.
13796 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13797 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13799 Likewise.
13800 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13801 Likewise.
13802 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13803 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13804
d7706c32
RM
138052014-03-11 Roland McGrath <roland@hack.frob.com>
13806
13807 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13808 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13809 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13810 the new mov targetting sp.
13811
4facea47
AZ
138122014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13813
13814 [BZ #16683]
13815 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13816 Define it for static builds as well.
13817 (NO_BZERO_IMPL): Likewise.
13818
e65caf1f
VR
138192014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13820
13821 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13822 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13823 multiarch strspn for PPC64.
13824 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13825 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13827 (__libc_ifunc_impl_list): Likewise.
13828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13829 multiarch optimizations
13830 * string/strspn.c (strspn): Using macro to redefine symbol name.
13831
ba9cc071
AZ
138322014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13833 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13834
13835 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13836 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13837 multiarch strncat for PPC64.
13838 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13839 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13841 (__libc_ifunc_impl_list): Likewise.
13842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13843 multiarch optimizations
13844
8b4ff974
SP
138452014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13846
13847 [BZ #16639]
13848 * nscd/nscd.service: Make service type forking.
13849
54b46a4b
AZ
138502014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13851
13852 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13853 sign in non default rounding modes.
13854 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13855
e9996ef7
JM
138562014-03-08 Joseph Myers <joseph@codesourcery.com>
13857
13858 * math/libm-test.inc (ALL_RM_TEST): New macro.
13859 (ceil_test): Use ALL_RM_TEST.
13860 (cimag_test): Likewise.
13861 (conj_test): Likewise.
13862 (copysign_test): Likewise.
13863 (cproj_test): Likewise.
13864 (creal_test): Likewise.
13865 (fabs_test): Likewise.
13866 (floor_test): Likewise.
13867 (fmax_test): Likewise.
13868 (fmin_test): Likewise.
13869 (fmod_test): Likewise.
13870 (fpclassify_test): Likewise.
13871 (frexp_test): Likewise.
13872 (ilogb_test): Likewise.
13873 (isfinite_test): Likewise.
13874 (finite_test): Likewise.
13875 (isgreater_test): Likewise.
13876 (isgreaterequal_test): Likewise.
13877 (isinf_test): Likewise.
13878 (isless_test): Likewise.
13879 (islessequal_test): Likewise.
13880 (islessgreater_test): Likewise.
13881 (isnan_test): Likewise.
13882 (isnormal_test): Likewise.
13883 (issignaling_test): Likewise.
13884 (isunordered_test): Likewise.
13885 (logb_test): Likewise.
13886 (logb_downward_test_data): Remove.
13887 (logb_test_downward): Likewise.
13888 (lround_test): Use ALL_RM_TEST.
13889 (llround_test): Likewise.
13890 (modf_test): Likewise.
13891 (nexttoward_test): Likewise.
13892 (remainder_test): Likewise.
13893 (drem_test): Likewise.
13894 (remainder_tonearest_test_data): Likewise.
13895 (remainder_test_tonearest): Likewise.
13896 (drem_test_tonearest): Likewise.
13897 (remainder_towardzero_test_data): Likewise.
13898 (remainder_test_towardzero): Likewise.
13899 (drem_test_towardzero): Likewise.
13900 (remainder_downward_test_data): Likewise.
13901 (remainder_test_downward): Likewise.
13902 (drem_test_downward): Likewise.
13903 (remainder_upward_test_data): Likewise.
13904 (remainder_test_upward): Likewise.
13905 (drem_test_upward): Likewise.
13906 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13907 (round_test): Use ALL_RM_TEST.
13908 (signbit_test): Likewise.
13909 (trunc_test): Likewise.
13910 (significand_test): Likewise.
13911 (main): Don't call removed functions.
13912
bc61d27c
JM
139132014-03-07 Joseph Myers <joseph@codesourcery.com>
13914
5c780849
JM
13915 [BZ #16674]
13916 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13917 || __USE_XOPEN2K8].
13918 (ILL_ILLOPN): Likewise.
13919 (ILL_ILLADR): Likewise.
13920 (ILL_ILLTRP): Likewise.
13921 (ILL_PRVOPC): Likewise.
13922 (ILL_PRVREG): Likewise.
13923 (ILL_COPROC): Likewise.
13924 (ILL_BADSTK): Likewise.
13925 (FPE_INTDIV): Likewise.
13926 (FPE_INTOVF): Likewise.
13927 (FPE_FLTDIV): Likewise.
13928 (FPE_FLTOVF): Likewise.
13929 (FPE_FLTUND): Likewise.
13930 (FPE_FLTRES): Likewise.
13931 (FPE_FLTINV): Likewise.
13932 (FPE_FLTSUB): Likewise.
13933 (SEGV_MAPERR): Likewise.
13934 (SEGV_ACCERR): Likewise.
13935 (BUS_ADRALN): Likewise.
13936 (BUS_ADRERR): Likewise.
13937 (BUS_OBJERR): Likewise.
13938 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13939 (TRAP_TRACE): Likewise.
13940 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13941 __USE_XOPEN2K8].
13942 (CLD_KILLED): Likewise.
13943 (CLD_DUMPED): Likewise.
13944 (CLD_TRAPPED): Likewise.
13945 (CLD_STOPPED): Likewise.
13946 (CLD_CONTINUED): Likewise.
13947 (POLL_IN): Likewise.
13948 (POLL_OUT): Likewise.
13949 (POLL_MSG): Likewise.
13950 (POLL_ERR): Likewise.
13951 (POLL_PRI): Likewise.
13952 (POLL_HUP): Likewise.
13953 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13954 Likewise.
13955 (ILL_ILLOPN): Likewise.
13956 (ILL_ILLADR): Likewise.
13957 (ILL_ILLTRP): Likewise.
13958 (ILL_PRVOPC): Likewise.
13959 (ILL_PRVREG): Likewise.
13960 (ILL_COPROC): Likewise.
13961 (ILL_BADSTK): Likewise.
13962 (FPE_INTDIV): Likewise.
13963 (FPE_INTOVF): Likewise.
13964 (FPE_FLTDIV): Likewise.
13965 (FPE_FLTOVF): Likewise.
13966 (FPE_FLTUND): Likewise.
13967 (FPE_FLTRES): Likewise.
13968 (FPE_FLTINV): Likewise.
13969 (FPE_FLTSUB): Likewise.
13970 (SEGV_MAPERR): Likewise.
13971 (SEGV_ACCERR): Likewise.
13972 (BUS_ADRALN): Likewise.
13973 (BUS_ADRERR): Likewise.
13974 (BUS_OBJERR): Likewise.
13975 (BUS_MCEERR_AR): Likewise.
13976 (BUS_MCEERR_AO): Likewise.
13977 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13978 (TRAP_TRACE): Likewise.
13979 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13980 __USE_XOPEN2K8].
13981 (CLD_KILLED): Likewise.
13982 (CLD_DUMPED): Likewise.
13983 (CLD_TRAPPED): Likewise.
13984 (CLD_STOPPED): Likewise.
13985 (CLD_CONTINUED): Likewise.
13986 (POLL_IN): Likewise.
13987 (POLL_OUT): Likewise.
13988 (POLL_MSG): Likewise.
13989 (POLL_ERR): Likewise.
13990 (POLL_PRI): Likewise.
13991 (POLL_HUP): Likewise.
13992 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13993 (ILL_ILLOPN): Likewise.
13994 (ILL_ILLADR): Likewise.
13995 (ILL_ILLTRP): Likewise.
13996 (ILL_PRVOPC): Likewise.
13997 (ILL_PRVREG): Likewise.
13998 (ILL_COPROC): Likewise.
13999 (ILL_BADSTK): Likewise.
14000 (FPE_INTDIV): Likewise.
14001 (FPE_INTOVF): Likewise.
14002 (FPE_FLTDIV): Likewise.
14003 (FPE_FLTOVF): Likewise.
14004 (FPE_FLTUND): Likewise.
14005 (FPE_FLTRES): Likewise.
14006 (FPE_FLTINV): Likewise.
14007 (FPE_FLTSUB): Likewise.
14008 (SEGV_MAPERR): Likewise.
14009 (SEGV_ACCERR): Likewise.
14010 (BUS_ADRALN): Likewise.
14011 (BUS_ADRERR): Likewise.
14012 (BUS_OBJERR): Likewise.
14013 (BUS_MCEERR_AR): Likewise.
14014 (BUS_MCEERR_AO): Likewise.
14015 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14016 (TRAP_TRACE): Likewise.
14017 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14018 __USE_XOPEN2K8].
14019 (CLD_KILLED): Likewise.
14020 (CLD_DUMPED): Likewise.
14021 (CLD_TRAPPED): Likewise.
14022 (CLD_STOPPED): Likewise.
14023 (CLD_CONTINUED): Likewise.
14024 (POLL_IN): Likewise.
14025 (POLL_OUT): Likewise.
14026 (POLL_MSG): Likewise.
14027 (POLL_ERR): Likewise.
14028 (POLL_PRI): Likewise.
14029 (POLL_HUP): Likewise.
14030 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14031 Likewise.
14032 (ILL_ILLOPN): Likewise.
14033 (ILL_ILLADR): Likewise.
14034 (ILL_ILLTRP): Likewise.
14035 (ILL_PRVOPC): Likewise.
14036 (ILL_PRVREG): Likewise.
14037 (ILL_COPROC): Likewise.
14038 (ILL_BADSTK): Likewise.
14039 (ILL_BADIADDR): Likewise.
14040 (ILL_BREAK): Likewise.
14041 (FPE_INTDIV): Likewise.
14042 (FPE_INTOVF): Likewise.
14043 (FPE_FLTDIV): Likewise.
14044 (FPE_FLTOVF): Likewise.
14045 (FPE_FLTUND): Likewise.
14046 (FPE_FLTRES): Likewise.
14047 (FPE_FLTINV): Likewise.
14048 (FPE_FLTSUB): Likewise.
14049 (FPE_DECOVF): Likewise.
14050 (FPE_DECDIV): Likewise.
14051 (FPE_DECERR): Likewise.
14052 (FPE_INVASC): Likewise.
14053 (FPE_INVDEC): Likewise.
14054 (SEGV_MAPERR): Likewise.
14055 (SEGV_ACCERR): Likewise.
14056 (SEGV_PSTKOVF): Likewise.
14057 (BUS_ADRALN): Likewise.
14058 (BUS_ADRERR): Likewise.
14059 (BUS_OBJERR): Likewise.
14060 (BUS_MCEERR_AR): Likewise.
14061 (BUS_MCEERR_AO): Likewise.
14062 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14063 (TRAP_TRACE): Likewise.
14064 (TRAP_BRANCH): Likewise.
14065 (TRAP_HWBKPT): Likewise.
14066 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14067 __USE_XOPEN2K8].
14068 (CLD_KILLED): Likewise.
14069 (CLD_DUMPED): Likewise.
14070 (CLD_TRAPPED): Likewise.
14071 (CLD_STOPPED): Likewise.
14072 (CLD_CONTINUED): Likewise.
14073 (POLL_IN): Likewise.
14074 (POLL_OUT): Likewise.
14075 (POLL_MSG): Likewise.
14076 (POLL_ERR): Likewise.
14077 (POLL_PRI): Likewise.
14078 (POLL_HUP): Likewise.
14079 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14080 (ILL_ILLOPN): Likewise.
14081 (ILL_ILLADR): Likewise.
14082 (ILL_ILLTRP): Likewise.
14083 (ILL_PRVOPC): Likewise.
14084 (ILL_PRVREG): Likewise.
14085 (ILL_COPROC): Likewise.
14086 (ILL_BADSTK): Likewise.
14087 (FPE_INTDIV): Likewise.
14088 (FPE_INTOVF): Likewise.
14089 (FPE_FLTDIV): Likewise.
14090 (FPE_FLTOVF): Likewise.
14091 (FPE_FLTUND): Likewise.
14092 (FPE_FLTRES): Likewise.
14093 (FPE_FLTINV): Likewise.
14094 (FPE_FLTSUB): Likewise.
14095 (SEGV_MAPERR): Likewise.
14096 (SEGV_ACCERR): Likewise.
14097 (BUS_ADRALN): Likewise.
14098 (BUS_ADRERR): Likewise.
14099 (BUS_OBJERR): Likewise.
14100 (BUS_MCEERR_AR): Likewise.
14101 (BUS_MCEERR_AO): Likewise.
14102 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14103 (TRAP_TRACE): Likewise.
14104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14105 __USE_XOPEN2K8].
14106 (CLD_KILLED): Likewise.
14107 (CLD_DUMPED): Likewise.
14108 (CLD_TRAPPED): Likewise.
14109 (CLD_STOPPED): Likewise.
14110 (CLD_CONTINUED): Likewise.
14111 (POLL_IN): Likewise.
14112 (POLL_OUT): Likewise.
14113 (POLL_MSG): Likewise.
14114 (POLL_ERR): Likewise.
14115 (POLL_PRI): Likewise.
14116 (POLL_HUP): Likewise.
14117 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14118 (ILL_ILLOPN): Likewise.
14119 (ILL_ILLADR): Likewise.
14120 (ILL_ILLTRP): Likewise.
14121 (ILL_PRVOPC): Likewise.
14122 (ILL_PRVREG): Likewise.
14123 (ILL_COPROC): Likewise.
14124 (ILL_BADSTK): Likewise.
14125 (FPE_INTDIV): Likewise.
14126 (FPE_INTOVF): Likewise.
14127 (FPE_FLTDIV): Likewise.
14128 (FPE_FLTOVF): Likewise.
14129 (FPE_FLTUND): Likewise.
14130 (FPE_FLTRES): Likewise.
14131 (FPE_FLTINV): Likewise.
14132 (FPE_FLTSUB): Likewise.
14133 (SEGV_MAPERR): Likewise.
14134 (SEGV_ACCERR): Likewise.
14135 (BUS_ADRALN): Likewise.
14136 (BUS_ADRERR): Likewise.
14137 (BUS_OBJERR): Likewise.
14138 (BUS_MCEERR_AR): Likewise.
14139 (BUS_MCEERR_AO): Likewise.
14140 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14141 (TRAP_TRACE): Likewise.
14142 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14143 __USE_XOPEN2K8].
14144 (CLD_KILLED): Likewise.
14145 (CLD_DUMPED): Likewise.
14146 (CLD_TRAPPED): Likewise.
14147 (CLD_STOPPED): Likewise.
14148 (CLD_CONTINUED): Likewise.
14149 (POLL_IN): Likewise.
14150 (POLL_OUT): Likewise.
14151 (POLL_MSG): Likewise.
14152 (POLL_ERR): Likewise.
14153 (POLL_PRI): Likewise.
14154 (POLL_HUP): Likewise.
14155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14156 (ILL_ILLOPN): Likewise.
14157 (ILL_ILLADR): Likewise.
14158 (ILL_ILLTRP): Likewise.
14159 (ILL_PRVOPC): Likewise.
14160 (ILL_PRVREG): Likewise.
14161 (ILL_COPROC): Likewise.
14162 (ILL_BADSTK): Likewise.
14163 (FPE_INTDIV): Likewise.
14164 (FPE_INTOVF): Likewise.
14165 (FPE_FLTDIV): Likewise.
14166 (FPE_FLTOVF): Likewise.
14167 (FPE_FLTUND): Likewise.
14168 (FPE_FLTRES): Likewise.
14169 (FPE_FLTINV): Likewise.
14170 (FPE_FLTSUB): Likewise.
14171 (SEGV_MAPERR): Likewise.
14172 (SEGV_ACCERR): Likewise.
14173 (BUS_ADRALN): Likewise.
14174 (BUS_ADRERR): Likewise.
14175 (BUS_OBJERR): Likewise.
14176 (BUS_MCEERR_AR): Likewise.
14177 (BUS_MCEERR_AO): Likewise.
14178 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14179 (TRAP_TRACE): Likewise.
14180 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14181 __USE_XOPEN2K8].
14182 (CLD_KILLED): Likewise.
14183 (CLD_DUMPED): Likewise.
14184 (CLD_TRAPPED): Likewise.
14185 (CLD_STOPPED): Likewise.
14186 (CLD_CONTINUED): Likewise.
14187 (POLL_IN): Likewise.
14188 (POLL_OUT): Likewise.
14189 (POLL_MSG): Likewise.
14190 (POLL_ERR): Likewise.
14191 (POLL_PRI): Likewise.
14192 (POLL_HUP): Likewise.
14193 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14194 (ILL_ILLOPN): Likewise.
14195 (ILL_ILLADR): Likewise.
14196 (ILL_ILLTRP): Likewise.
14197 (ILL_PRVOPC): Likewise.
14198 (ILL_PRVREG): Likewise.
14199 (ILL_COPROC): Likewise.
14200 (ILL_BADSTK): Likewise.
14201 (ILL_DBLFLT): Likewise.
14202 (ILL_HARDWALL): Likewise.
14203 (FPE_INTDIV): Likewise.
14204 (FPE_INTOVF): Likewise.
14205 (FPE_FLTDIV): Likewise.
14206 (FPE_FLTOVF): Likewise.
14207 (FPE_FLTUND): Likewise.
14208 (FPE_FLTRES): Likewise.
14209 (FPE_FLTINV): Likewise.
14210 (FPE_FLTSUB): Likewise.
14211 (SEGV_MAPERR): Likewise.
14212 (SEGV_ACCERR): Likewise.
14213 (BUS_ADRALN): Likewise.
14214 (BUS_ADRERR): Likewise.
14215 (BUS_OBJERR): Likewise.
14216 (BUS_MCEERR_AR): Likewise.
14217 (BUS_MCEERR_AO): Likewise.
14218 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14219 (TRAP_TRACE): Likewise.
14220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14221 __USE_XOPEN2K8].
14222 (CLD_KILLED): Likewise.
14223 (CLD_DUMPED): Likewise.
14224 (CLD_TRAPPED): Likewise.
14225 (CLD_STOPPED): Likewise.
14226 (CLD_CONTINUED): Likewise.
14227 (POLL_IN): Likewise.
14228 (POLL_OUT): Likewise.
14229 (POLL_MSG): Likewise.
14230 (POLL_ERR): Likewise.
14231 (POLL_PRI): Likewise.
14232 (POLL_HUP): Likewise.
14233 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14234 (ILL_ILLOPN): Likewise.
14235 (ILL_ILLADR): Likewise.
14236 (ILL_ILLTRP): Likewise.
14237 (ILL_PRVOPC): Likewise.
14238 (ILL_PRVREG): Likewise.
14239 (ILL_COPROC): Likewise.
14240 (ILL_BADSTK): Likewise.
14241 (FPE_INTDIV): Likewise.
14242 (FPE_INTOVF): Likewise.
14243 (FPE_FLTDIV): Likewise.
14244 (FPE_FLTOVF): Likewise.
14245 (FPE_FLTUND): Likewise.
14246 (FPE_FLTRES): Likewise.
14247 (FPE_FLTINV): Likewise.
14248 (FPE_FLTSUB): Likewise.
14249 (SEGV_MAPERR): Likewise.
14250 (SEGV_ACCERR): Likewise.
14251 (BUS_ADRALN): Likewise.
14252 (BUS_ADRERR): Likewise.
14253 (BUS_OBJERR): Likewise.
14254 (BUS_MCEERR_AR): Likewise.
14255 (BUS_MCEERR_AO): Likewise.
14256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14257 (TRAP_TRACE): Likewise.
14258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14259 __USE_XOPEN2K8].
14260 (CLD_KILLED): Likewise.
14261 (CLD_DUMPED): Likewise.
14262 (CLD_TRAPPED): Likewise.
14263 (CLD_STOPPED): Likewise.
14264 (CLD_CONTINUED): Likewise.
14265 (POLL_IN): Likewise.
14266 (POLL_OUT): Likewise.
14267 (POLL_MSG): Likewise.
14268 (POLL_ERR): Likewise.
14269 (POLL_PRI): Likewise.
14270 (POLL_HUP): Likewise.
14271 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14272 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14273
bc61d27c
JM
14274 [BZ #16670]
14275 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14276 before #include of <time.h>.
14277 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14278 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14279 (test-xfail-UNIX98/sched.h/conform): Likewise.
14280
302949e2
MS
142812014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14282
14283 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14284 error absence of trapping exception support.
14285 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14286
a00f522a
JM
142872014-03-07 Joseph Myers <joseph@codesourcery.com>
14288
6f99f280
JM
14289 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14290 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14291 * timezone/Makefile (testdata): Move definition above include of
14292 Rules.
14293 (test-zones): New variable.
14294 (tests-special): Add zone files.
14295 (build-testdata): Use $(evaluate-test).
14296
0b20a9e8
JM
14297 * elf/Makefile (tests-special): Rename tests to end with .out.
14298 ($(objpfx)noload-mem): Likewise.
14299 ($(objpfx)tst-leaks1-mem): Likewise.
14300 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14301 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14302 $(objpfx)test-iconvconfig.out.
14303 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14304 set -e inside subshell and redirect output to file.
14305 * iconvdata/Makefile (generated): Rename tests to end with .out.
14306 Correct type.
14307 (tests-special): Rename tests to end with .out.
14308 ($(objpfx)mtrace-tst-loading): Likewise.
14309 * intl/Makefile (generated): Likewise.
14310 (tests-special): Likewise.
14311 ($(objpfx)mtrace-tst-gettext): Likewise.
14312 * misc/Makefile (generated): Likewise.
14313 (tests-special): Likewise.
14314 ($(objpfx)tst-error1-mem): Likewise.
14315 * nptl/Makefile (tests-special): Likewise.
14316 ($(objpfx)tst-stack3-mem): Likewise.
14317 (generated): Likewise.
14318 * posix/Makefile (generated): Likewise.
14319 (tests-special): Likewise.
14320 (xtests-special): Likewise.
14321 ($(objpfx)tst-fnmatch-mem): Likewise.
14322 ($(objpfx)bug-regex2-mem): Likewise.
14323 ($(objpfx)bug-regex14-mem): Likewise.
14324 ($(objpfx)bug-regex21-mem): Likewise.
14325 ($(objpfx)bug-regex31-mem): Likewise.
14326 ($(objpfx)tst-vfork3-mem): Likewise.
14327 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14328 ($(objpfx)tst-pcre-mem): Likewise.
14329 ($(objpfx)tst-boost-mem): Likewise.
14330 ($(objpfx)bug-ga2-mem): Likewise.
14331 ($(objpfx)bug-glob2-mem): Likewise.
14332 * resolv/Makefile (generate): Likewise.
14333 (tests-special): Likewise.
14334 (xtests-special): Likewise.
14335 (generated): Likewise.
14336 ($(objpfx)mtrace-tst-leaks): Likewise.
14337 ($(objpfx)mtrace-tst-leaks2): Likewise.
14338
265d52ab
JM
14339 * scripts/merge-test-results.sh: New file.
14340 * Makefile (tests-special-notdir): New variable.
14341 (tests): Run merge-test-results.sh.
14342 (xtests): Likewise.
14343 * Rules (tests-special-notdir): New variable.
14344 (xtests-special-notdir): Likewise.
14345 (tests): Run merge-test-results.sh
14346 (xtests): Likewise.
14347
54ee292d
JM
14348 * Makeconfig (test-xfail-name): New variable.
14349 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14350 compute variable name for expected failures.
14351 * conform/Makefile (conformtest-headers-data): New variable.
14352 (conformtest-standards): Likewise.
14353 (conformtest-headers-ISO): Likewise.
14354 (conformtest-headers-ISO99): Likewise.
14355 (conformtest-headers-ISO11): Likewise.
14356 (conformtest-headers-POSIX): Likewise.
14357 (conformtest-headers-XPG3): Likewise.
14358 (conformtest-headers-XPG4): Likewise.
14359 (conformtest-headers-UNIX98): Likewise.
14360 (conformtest-headers-XOPEN2K): Likewise.
14361 (conformtest-headers-POSIX2008): Likewise.
14362 (conformtest-headers-XOPEN2K8): Likewise.
14363 (conformtest-header-list-base): Likewise.
14364 (conformtest-header-list-tests): Likewise.
14365 (conformtest-header-base): Likewise.
14366 (conformtest-header-tests): Likewise.
14367 (tests-special): Add $(conformtest-header-list-tests). If
14368 [$(fast-check) && !$(cross-compiling)], add
14369 $(conformtest-header-tests) instead of
14370 $(objpfx)run-conformtest.out.
14371 (generated): Add $(conformtest-header-list-base). If
14372 [$(fast-check) && !$(cross-compiling)], add
14373 $(conformtest-header-base). Remove previous setting.
14374 ($(conformtest-header-list-tests)): New target.
14375 (test-xfail-run-conformtest): Remove variable.
14376 ($(objpfx)run-conformtest.out): Remove target.
14377 (test-xfail-ISO11/complex.h/conform): New variable.
14378 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14379 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14380 (test-xfail-XPG3/varargs.h/conform): Likewise.
14381 (test-xfail-XPG4/varargs.h/conform): Likewise.
14382 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14383 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14384 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14385 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14386 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14387 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14388 (test-xfail-XPG3/ftw.h/conform): Likewise.
14389 (test-xfail-XPG3/grp.h/conform): Likewise.
14390 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14391 (test-xfail-XPG3/limits.h/conform): Likewise.
14392 (test-xfail-XPG3/pwd.h/conform): Likewise.
14393 (test-xfail-XPG3/search.h/conform): Likewise.
14394 (test-xfail-XPG3/signal.h/conform): Likewise.
14395 (test-xfail-XPG3/stdio.h/conform): Likewise.
14396 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14397 (test-xfail-XPG3/string.h/conform): Likewise.
14398 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14399 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14400 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14401 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14402 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14403 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14404 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14405 (test-xfail-XPG3/termios.h/conform): Likewise.
14406 (test-xfail-XPG3/time.h/conform): Likewise.
14407 (test-xfail-XPG3/unistd.h/conform): Likewise.
14408 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14409 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14410 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14411 (test-xfail-XPG4/netdb.h/conform): Likewise.
14412 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14413 (test-xfail-XPG4/signal.h/conform): Likewise.
14414 (test-xfail-XPG4/stdio.h/conform): Likewise.
14415 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14416 (test-xfail-XPG4/stropts.h/conform): Likewise.
14417 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14418 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14419 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14420 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14421 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14422 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14423 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14424 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14425 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14426 (test-xfail-XPG4/termios.h/conform): Likewise.
14427 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14428 (test-xfail-XPG4/unistd.h/conform): Likewise.
14429 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14430 (test-xfail-POSIX/sched.h/conform): Likewise.
14431 (test-xfail-POSIX/signal.h/conform): Likewise.
14432 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14433 (test-xfail-POSIX/tar.h/conform): Likewise.
14434 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14435 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14436 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14437 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14438 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14439 (test-xfail-UNIX98/sched.h/conform): Likewise.
14440 (test-xfail-UNIX98/signal.h/conform): Likewise.
14441 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14442 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14443 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14444 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14445 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14446 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14447 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14448 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14449 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14450 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14451 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14452 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14453 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14454 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14455 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14456 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14457 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14458 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14459 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14460 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14461 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14462 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14463 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14464 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14465 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14466 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14467 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14468 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14469 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14470 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14471 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14472 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14473 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14474 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14475 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14476 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14477 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14478 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14479 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14480 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14481 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14482 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14483 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14484 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14485 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14486 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14487 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14488 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14489 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14490 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14491 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14492 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14493 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14494 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14495 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14496 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14497 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14498 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14499 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14500 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14501 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14502 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14503 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14504 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14505 (conformtest-cc-flags): Likewise.
14506 ($(conformtest-header-tests): New target.
14507 * conform/check-header-lists.sh: New file.
14508 * conform/run-conformtest.sh: Remove.
14509
a00f522a
JM
14510 * conform/conformtest.pl: Allow ' and \ in values given for
14511 constants.
14512 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14513 inclusion.
14514 [POSIX] (sys/types.h): Likewise.
14515 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14516 inclusion.
14517 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14518 inclusion.
14519 * conform/data/signal.h-data (SIGIO): Remove expectation.
14520 [XPG3] (SIGBUS): Do not expect.
14521 [POSIX || XPG3] (SIGPOLL): Likewise.
14522 [POSIX || XPG3] (SIGPROF): Likewise.
14523 [POSIX || XPG3] (SIGSYS): Likewise.
14524 [XPG3] (SIGTRAP): Likewise.
14525 [POSIX || XPG3] (SIGURG): Likewise.
14526 [POSIX || XPG3] (SIGVTALRM): Likewise.
14527 [POSIX || XPG3] (SIGXCPU): Likewise.
14528 [POSIX || XPG3] (SIGXFSZ): Likewise.
14529 [POSIX] (SA_SIGINFO): Expect.
14530 [XPG3] (siginfo_t): Do not expect type or contents.
14531 [POSIX] (si_pid): Do not expect element.
14532 [POSIX] (si_uid): Likewise.
14533 [POSIX] (si_addr): Likewise.
14534 [POSIX] (si_status): Likewise.
14535 [POSIX] (si_band): Likewise.
14536 [XPG4] (si_value): Likewise.
14537 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14538 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14539 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14540 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14541 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14542 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14543 [POSIX || XPG3] (ILL_COPROC): Likewise.
14544 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14545 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14546 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14547 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14548 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14549 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14550 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14551 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14552 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14553 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14554 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14555 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14556 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14557 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14558 [POSIX || XPG3] (CLD_EXITED): Likewise.
14559 [POSIX || XPG3] (CLD_KILLED): Likewise.
14560 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14561 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14562 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14563 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14564 [POSIX || XPG3] (POLL_IN): Likewise.
14565 [POSIX || XPG3] (POLL_OUT): Likewise.
14566 [POSIX || XPG3] (POLL_MSG): Likewise.
14567 [POSIX || XPG3] (POLL_ERR): Likewise.
14568 [POSIX || XPG3] (POLL_PRI): Likewise.
14569 [POSIX || XPG3] (POLL_HUP): Likewise.
14570 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14571 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14572 (SIG*): Do not allow.
14573 [XPG3] (si_*): Likewise.
14574 [XPG3] (SI_*): Likewise.
14575 [XPG3 || XPG4] (sigev_*): Likewise.
14576 [XPG3 || XPG4] (SIGEV_*): Likewise.
14577 [XPG3 || XPG4] (sival_*): Likewise.
14578 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14579 [POSIX || XPG3] (BUS_*): Likewise.
14580 [POSIX || XPG3] (CLD_*): Likewise.
14581 [POSIX || XPG3] (FPE_*): Likewise.
14582 [POSIX || XPG3] (ILL_*): Likewise.
14583 [POSIX || XPG3] (POLL_*): Likewise.
14584 [POSIX || XPG3] (SEGV_*): Likewise.
14585 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14586 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14587 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14588 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14589 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14590 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14591 Specify type and value.
14592 (TVERSLEN): Likewise.
14593 (REGTYPE): Likewise.
14594 (AREGTYPE): Likewise.
14595 (LNKTYPE): Likewise.
14596 (SYMTYPE): Likewise.
14597 (CHRTYPE): Likewise.
14598 (BLKTYPE): Likewise.
14599 (DIRTYPE): Likewise.
14600 (FIFOTYPE): Likewise.
14601 (CONTTYPE): Likewise.
14602 (TSUID): Likewise.
14603 (TSGID): Likewise.
14604 (TSVTX): Likewise.
14605 (TUREAD): Likewise.
14606 (TUWRITE): Likewise.
14607 (TUEXEC): Likewise.
14608 (TGREAD): Likewise.
14609 (TGWRITE): Likewise.
14610 (TGEXEC): Likewise.
14611 (TOREAD): Likewise.
14612 (TOWRITE): Likewise.
14613 (TOEXEC): Likewise.
14614 [POSIX] (TSVTX): Expect constant.
14615
aa97dee1
JM
146162014-03-06 Joseph Myers <joseph@codesourcery.com>
14617
f214606a
JM
14618 * Makefile (tests): Change dependencies to ....
14619 (tests-special): ... additions to this variable.
14620 (tests): Depend on $(tests-special).
14621 * Makerules (check-abi-list): New variable.
14622 (check-abi): Depend on $(check-abi-list).
14623 [$(subdir) = elf] (tests-special): Add
14624 $(objpfx)check-abi-libc.out.
14625 [$(build-shared) = yes && subdir] (tests-special): Add
14626 $(check-abi-list).
14627 [$(build-shared) = yes && subdir] (tests): Do not depend on
14628 check-abi.
14629 * Rules (tests): Depend on $(tests-special).
14630 (xtests): Depend on $(xtests-special).
14631 * catgets/Makefile (tests): Change dependencies to ....
14632 (tests-special): ... additions to this variable.
14633 * conform/Makefile (tests): Change dependencies to ....
14634 (tests-special): ... additions to this variable.
14635 * elf/Makefile (tests): Change dependencies to ....
14636 (tests-special): ... additions to this variable.
14637 * grp/Makefile (tests): Change dependencies to ....
14638 (tests-special): ... additions to this variable.
14639 * iconv/Makefile (xtests): Change dependencies to ....
14640 (xtests-special): ... additions to this variable.
14641 * iconvdata/Makefile (tests): Change dependencies to ....
14642 (tests-special): ... additions to this variable.
14643 * intl/Makefile (tests): Change dependencies to ....
14644 (tests-special): ... additions to this variable. Also add
14645 $(objpfx)tst-gettext.out.
14646 * io/Makefile (tests): Change dependencies to ....
14647 (tests-special): ... additions to this variable.
14648 * libio/Makefile (tests): Change dependencies to ....
14649 (tests-special): ... additions to this variable.
14650 * malloc/Makefile (tests): Change dependencies to ....
14651 (tests-special): ... additions to this variable.
14652 * misc/Makefile (tests): Change dependencies to ....
14653 (tests-special): ... additions to this variable.
14654 * nptl/Makefile (tests): Change dependencies to ....
14655 (tests-special): ... additions to this variable.
14656 * nptl_db/Makefile (tests): Change dependencies to ....
14657 (tests-special): ... additions to this variable.
14658 * posix/Makefile (tests): Change dependencies to ....
14659 (tests-special): ... additions to this variable.
14660 (xtests): Change dependencies to ....
14661 (xtests-special): ... additions to this variable.
14662 * resolv/Makefile (tests): Change dependencies to ....
14663 (tests-special): ... additions to this variable.
14664 (xtests): Change dependencies to ....
14665 (xtests-special): ... additions to this variable.
14666 * stdio-common/Makefile (tests): Change dependencies to ....
14667 (tests-special): ... additions to this variable.
14668 (do-tst-unbputc): Remove target.
14669 (do-tst-printf): Likewise.
14670 * stdlib/Makefile (tests): Change dependencies to ....
14671 (tests-special): ... additions to this variable.
14672 * string/Makefile (tests): Change dependencies to ....
14673 (tests-special): ... additions to this variable.
14674 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14675 (tests-special): ... additions to this variable.
14676
81700b53
JM
14677 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14678 whole file.
14679 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14680 whole file.
14681 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14682 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14683
2ea18461
JM
14684 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14685 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14686 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14687 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14688 * conform/data/libgen.h-data [XPG3]: Likewise.
14689 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14690 * conform/data/ndbm.h-data [XPG3]: Likewise.
14691 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14692 * conform/data/netdb.h-data [XPG3]: Likewise.
14693 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14694 * conform/data/poll.h-data [XPG3]: Likewise.
14695 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14696 * conform/data/strings.h-data [XPG3]: Likewise.
14697 * conform/data/stropts.h-data [XPG3]: Likewise.
14698 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14699 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14700 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14701 Likewise.
14702 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14703 * conform/data/sys/time.h-data [XPG3]: Likewise.
14704 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14705 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14706 * conform/data/sys/un.h-data [XPG3]: Likewise.
14707 * conform/data/syslog.h-data [XPG3]: Likewise.
14708 * conform/data/ucontext.h-data [XPG3]: Likewise.
14709 * conform/data/utmpx.h-data [XPG3]: Likewise.
14710 * conform/data/varargs.h-data [UNIX98]: Enable file.
14711
355bc986
JM
14712 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14713
215db402
JM
14714 * math/libm-test.inc (struct test_f_f_data): Move expected results
14715 into structure for each rounding mode.
14716 (struct test_ff_f_data): Likewise.
14717 (struct test_ff_f_data_nexttoward): Likewise.
14718 (struct test_fi_f_data): Likewise.
14719 (struct test_fl_f_data): Likewise.
14720 (struct test_if_f_data): Likewise.
14721 (struct test_fff_f_data): Likewise.
14722 (struct test_c_f_data): Likewise.
14723 (struct test_f_f1_data): Likewise.
14724 (struct test_fF_f1_data): Likewise.
14725 (struct test_ffI_f1_data): Likewise.
14726 (struct test_c_c_data): Likewise.
14727 (struct test_cc_c_data): Likewise.
14728 (struct test_f_i_data): Likewise.
14729 (struct test_ff_i_data): Likewise.
14730 (struct test_f_l_data): Likewise.
14731 (struct test_f_L_data): Likewise.
14732 (struct test_fFF_11_data): Likewise.
14733 (RM_): New macro.
14734 (RM_FE_DOWNWARD): Likewise.
14735 (RM_FE_TONEAREST): Likewise.
14736 (RM_FE_TOWARDZERO): Likewise.
14737 (RM_FE_UPWARD): Likewise.
14738 (RUN_TEST_LOOP_f_f): Update references to expected results.
14739 (RUN_TEST_LOOP_2_f): Likewise.
14740 (RUN_TEST_LOOP_fff_f): Likewise.
14741 (RUN_TEST_LOOP_c_f): Likewise.
14742 (RUN_TEST_LOOP_f_f1): Likewise.
14743 (RUN_TEST_LOOP_fF_f1): Likewise.
14744 (RUN_TEST_LOOP_fI_f1): Likewise.
14745 (RUN_TEST_LOOP_ffI_f1): Likewise.
14746 (RUN_TEST_LOOP_c_c): Likewise.
14747 (RUN_TEST_LOOP_cc_c): Likewise.
14748 (RUN_TEST_LOOP_f_i): Likewise.
14749 (RUN_TEST_LOOP_f_i_tg): Likewise.
14750 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14751 (RUN_TEST_LOOP_f_b): Likewise.
14752 (RUN_TEST_LOOP_f_b_tg): Likewise.
14753 (RUN_TEST_LOOP_f_l): Likewise.
14754 (RUN_TEST_LOOP_f_L): Likewise.
14755 (RUN_TEST_LOOP_fFF_11): Likewise.
14756 * math/gen-libm-test.pl (parse_args): Output four copies of
14757 expected results for each test.
14758
67737b8f
JM
14759 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14760 (__ASSUME_UTIMES): Remove.
14761 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14762 (__ASSUME_UTIMES): Likewise.
14763
aa97dee1
JM
14764 * math/gen-auto-libm-tests.c: Update comment on output format.
14765 (output_for_one_input_case): Generate before-rounding and
14766 after-rounding information as conditions on output flags not
14767 floating-point format.
14768 * math/auto-libm-test-out: Regenerated.
14769 * math/gen-libm-test.pl (cond_value): New function.
14770 (or_cond_value): Use cond_value.
14771 (generate_testfile): Handle conditional exceptions.
14772
e6b6a857
JM
147732014-03-05 Joseph Myers <joseph@codesourcery.com>
14774
2f0a0f44
JM
14775 * math/libm-test.inc (max_valid_error): New variable.
14776 (init_max_error): Take new argument specifying whether function
14777 results are exactly determined. Set max_valid_error and bound
14778 other variables for errors based on this argument.
14779 (set_max_error): Do not record results above max_valid_error.
14780 (check_float_internal): Only accept errors of up to 0.5ulps if
14781 also at most max_valid_error.
14782 (START): Take new argument EXACT and pass it to init_max_error.
14783 (acos_test): Update call to START.
14784 (acos_test_tonearest): Likewise.
14785 (acos_test_towardzero): Likewise.
14786 (acos_test_downward): Likewise.
14787 (acos_test_upward): Likewise.
14788 (acosh_test): Likewise.
14789 (asin_test): Likewise.
14790 (asin_test_tonearest): Likewise.
14791 (asin_test_towardzero): Likewise.
14792 (asin_test_downward): Likewise.
14793 (asin_test_upward): Likewise.
14794 (asinh_test): Likewise.
14795 (atan_test): Likewise.
14796 (atanh_test): Likewise.
14797 (atan2_test): Likewise.
14798 (cabs_test): Likewise.
14799 (cacos_test): Likewise.
14800 (cacosh_test): Likewise.
14801 (carg_test): Likewise.
14802 (casin_test): Likewise.
14803 (casinh_test): Likewise.
14804 (catan_test): Likewise.
14805 (catanh_test): Likewise.
14806 (cbrt_test): Likewise.
14807 (ccos_test): Likewise.
14808 (ccosh_test): Likewise.
14809 (ceil_test): Likewise.
14810 (cexp_test): Likewise.
14811 (cimag_test): Likewise.
14812 (clog_test): Likewise.
14813 (clog10_test): Likewise.
14814 (conj_test): Likewise.
14815 (copysign_test): Likewise.
14816 (cos_test): Likewise.
14817 (cos_test_tonearest): Likewise.
14818 (cos_test_towardzero): Likewise.
14819 (cos_test_downward): Likewise.
14820 (cos_test_upward): Likewise.
14821 (cosh_test): Likewise.
14822 (cosh_test_tonearest): Likewise.
14823 (cosh_test_towardzero): Likewise.
14824 (cosh_test_downward): Likewise.
14825 (cosh_test_upward): Likewise.
14826 (cpow_test): Likewise.
14827 (cproj_test): Likewise.
14828 (creal_test): Likewise.
14829 (csin_test): Likewise.
14830 (csinh_test): Likewise.
14831 (csqrt_test): Likewise.
14832 (ctan_test): Likewise.
14833 (ctan_test_tonearest): Likewise.
14834 (ctan_test_towardzero): Likewise.
14835 (ctan_test_downward): Likewise.
14836 (ctan_test_upward): Likewise.
14837 (ctanh_test): Likewise.
14838 (ctanh_test_tonearest): Likewise.
14839 (ctanh_test_towardzero): Likewise.
14840 (ctanh_test_downward): Likewise.
14841 (ctanh_test_upward): Likewise.
14842 (erf_test): Likewise.
14843 (erfc_test): Likewise.
14844 (exp_test): Likewise.
14845 (exp_test_tonearest): Likewise.
14846 (exp_test_towardzero): Likewise.
14847 (exp_test_downward): Likewise.
14848 (exp_test_upward): Likewise.
14849 (exp10_test): Likewise.
14850 (exp10_test_tonearest): Likewise.
14851 (exp10_test_towardzero): Likewise.
14852 (exp10_test_downward): Likewise.
14853 (exp10_test_upward): Likewise.
14854 (pow10_test): Likewise.
14855 (exp2_test): Likewise.
14856 (expm1_test): Likewise.
14857 (expm1_test_tonearest): Likewise.
14858 (expm1_test_towardzero): Likewise.
14859 (expm1_test_downward): Likewise.
14860 (expm1_test_upward): Likewise.
14861 (fabs_test): Likewise.
14862 (fdim_test): Likewise.
14863 (floor_test): Likewise.
14864 (fma_test): Likewise.
14865 (fma_test_towardzero): Likewise.
14866 (fma_test_downward): Likewise.
14867 (fma_test_upward): Likewise.
14868 (fmax_test): Likewise.
14869 (fmin_test): Likewise.
14870 (fmod_test): Likewise.
14871 (fpclassify_test): Likewise.
14872 (frexp_test): Likewise.
14873 (hypot_test): Likewise.
14874 (ilogb_test): Likewise.
14875 (isfinite_test): Likewise.
14876 (finite_test): Likewise.
14877 (isgreater_test): Likewise.
14878 (isgreaterequal_test): Likewise.
14879 (isinf_test): Likewise.
14880 (isless_test): Likewise.
14881 (islessequal_test): Likewise.
14882 (islessgreater_test): Likewise.
14883 (isnan_test): Likewise.
14884 (isnormal_test): Likewise.
14885 (issignaling_test): Likewise.
14886 (isunordered_test): Likewise.
14887 (j0_test): Likewise.
14888 (j1_test): Likewise.
14889 (jn_test): Likewise.
14890 (ldexp_test): Likewise.
14891 (lgamma_test): Likewise.
14892 (gamma_test): Likewise.
14893 (lrint_test): Likewise.
14894 (lrint_test_tonearest): Likewise.
14895 (lrint_test_towardzero): Likewise.
14896 (lrint_test_downward): Likewise.
14897 (lrint_test_upward): Likewise.
14898 (llrint_test): Likewise.
14899 (llrint_test_tonearest): Likewise.
14900 (llrint_test_towardzero): Likewise.
14901 (llrint_test_downward): Likewise.
14902 (llrint_test_upward): Likewise.
14903 (log_test): Likewise.
14904 (log10_test): Likewise.
14905 (log1p_test): Likewise.
14906 (log2_test): Likewise.
14907 (logb_test): Likewise.
14908 (logb_test_downward): Likewise.
14909 (lround_test): Likewise.
14910 (llround_test): Likewise.
14911 (modf_test): Likewise.
14912 (nearbyint_test): Likewise.
14913 (nextafter_test): Likewise.
14914 (nexttoward_test): Likewise.
14915 (pow_test): Likewise.
14916 (pow_test_tonearest): Likewise.
14917 (pow_test_towardzero): Likewise.
14918 (pow_test_downward): Likewise.
14919 (pow_test_upward): Likewise.
14920 (remainder_test): Likewise.
14921 (drem_test): Likewise.
14922 (remainder_test_tonearest): Likewise.
14923 (drem_test_tonearest): Likewise.
14924 (remainder_test_towardzero): Likewise.
14925 (drem_test_towardzero): Likewise.
14926 (remainder_test_downward): Likewise.
14927 (drem_test_downward): Likewise.
14928 (remainder_test_upward): Likewise.
14929 (drem_test_upward): Likewise.
14930 (remquo_test): Likewise.
14931 (rint_test): Likewise.
14932 (rint_test_tonearest): Likewise.
14933 (rint_test_towardzero): Likewise.
14934 (rint_test_downward): Likewise.
14935 (rint_test_upward): Likewise.
14936 (round_test): Likewise.
14937 (scalb_test): Likewise.
14938 (scalbn_test): Likewise.
14939 (scalbln_test): Likewise.
14940 (signbit_test): Likewise.
14941 (sin_test): Likewise.
14942 (sin_test_tonearest): Likewise.
14943 (sin_test_towardzero): Likewise.
14944 (sin_test_downward): Likewise.
14945 (sin_test_upward): Likewise.
14946 (sincos_test): Likewise.
14947 (sinh_test): Likewise.
14948 (sinh_test_tonearest): Likewise.
14949 (sinh_test_towardzero): Likewise.
14950 (sinh_test_downward): Likewise.
14951 (sinh_test_upward): Likewise.
14952 (sqrt_test): Likewise.
14953 (sqrt_test_tonearest): Likewise.
14954 (sqrt_test_towardzero): Likewise.
14955 (sqrt_test_downward): Likewise.
14956 (sqrt_test_upward): Likewise.
14957 (tan_test): Likewise.
14958 (tan_test_tonearest): Likewise.
14959 (tan_test_towardzero): Likewise.
14960 (tan_test_downward): Likewise.
14961 (tan_test_upward): Likewise.
14962 (tanh_test): Likewise.
14963 (tgamma_test): Likewise.
14964 (trunc_test): Likewise.
14965 (y0_test): Likewise.
14966 (y1_test): Likewise.
14967 (yn_test): Likewise.
14968 (significand_test): Likewise.
14969
e6b6a857
JM
14970 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14971 individual tests in comment.
14972 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14973 (prev_max_error): New variable.
14974 (prev_real_max_error): Likewise.
14975 (prev_imag_max_error): Likewise.
14976 (compare_ulp_data): Don't refer to test names in comment.
14977 (find_test_ulps): Remove function.
14978 (find_function_ulps): Likewise.
14979 (find_complex_function_ulps): Likewise.
14980 (init_max_error): Take function name as argument. Look up ulps
14981 for that function.
14982 (print_ulps): Remove function.
14983 (print_max_error): Use prev_max_error instead of calling
14984 find_function_ulps.
14985 (print_complex_max_error): Use prev_real_max_error and
14986 prev_imag_max_error instead of calling find_complex_function_ulps.
14987 (check_float_internal): Take max_ulp parameter instead of calling
14988 find_test_ulps. Don't call print_ulps.
14989 (check_float): Update call to check_float_internal.
14990 (check_complex): Update calls to check_float_internal.
14991 (START): Pass argument to init_max_error.
14992 * math/gen-libm-test.pl (%results): Don't include "kind"
14993 information.
14994 (parse_ulps): Don't handle ulps of individual tests.
14995 (print_ulps_file): Likewise.
14996 (output_ulps): Likewise.
14997 * math/README.libm-test: Update.
14998 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14999 individual tests.
15000 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15001 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15002 * sysdeps/arm/libm-test-ulps: Likewise.
15003 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15004 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15005 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15006 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15007 * sysdeps/microblaze/libm-test-ulps: Likewise.
15008 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15009 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15011 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15012 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15013 * sysdeps/sh/libm-test-ulps: Likewise.
15014 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15015 * sysdeps/tile/libm-test-ulps: Likewise.
15016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15017
45adef3c
JM
150182014-03-04 Joseph Myers <joseph@codesourcery.com>
15019
15020 * math/libm-test.inc (print_complex_max_error): Check separately
15021 whether real and imaginary errors are within allowed range and
15022 pass 0 to print_complex_function_ulps instead of value within
15023 allowed range.
15024
000232b9
SP
150252014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15026
d4b17258
SP
15027 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15028 formatting.
15029 (get_handles_fopen): Likewise.
15030 (do_write_test): Likewise.
15031
091eff71
SP
15032 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15033
fa3cd248
SP
15034 * libio/fileops.c (do_ftell): Use cached offset when
15035 available.
15036 * libio/iofwide.c (do_ftell_wide): Likewise.
15037 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15038 _IO_file_attach.
15039 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15040
000232b9
SP
15041 [BZ #16532]
15042 * libio/libioP.h (get_file_offset): New function.
15043 * libio/fileops.c (get_file_offset): Likewise.
15044 (do_ftell): Likewise.
15045 (_IO_new_file_seekoff): Split out ftell logic.
15046 * libio/wfileops.c (do_ftell_wide): Likewise.
15047 (_IO_wfile_seekoff): Split out ftell logic.
15048 * libio/tst-ftell-active-handler.c: New test case.
15049 * libio/Makefile (tests): Add it.
15050
116f4d1a
RM
150512014-03-03 Roland McGrath <roland@hack.frob.com>
15052
15053 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15054 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15055
532a6035
SP
150562014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15057
15058 [BZ #16639]
15059 * nscd/connections.c (nscd_init): Call do_exit.
15060 (start_threads): Call do_exit and notify_parent.
15061 (begin_drop_privileges): Call do_exit.
15062 (finish_drop_privileges): Likewise.
15063 * nscd/selinux.c (preserve_capabilities): Likewise.
15064 (install_real_capabilities): Likewise.
15065 (nscd_selinux_enabled): Likewise.
15066 (avc_create_thread): Likewise.
15067 (avc_alloc_lock): Likewise.
15068 (nscd_avc_init): Likewise.
15069 * nscd/nscd.c (parent_fd): New static variable.
15070 (main): Create a pipe between parent and child processes.
15071 Skip closing parent_fd.
15072 (monitor_child): New function.
15073 (do_exit): Likewise.
15074 (notify_parent): Likewise.
15075 * nscd/nscd.h (notify_parent): Likewise.
15076 (do_exit): Likewise.
15077
d6285c9f
CD
150782014-03-03 Carlos O'Donell <carlos@redhat.com>
15079
15080 * malloc/malloc.c (__libc_calloc): Revert last change.
15081
2b85d2a0
AZ
150822014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15083
15084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15085
c7debbdf
RS
150862014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15087
15088 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15090 implementation.
15091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15092 (__libc_ifunc_impl_list): Likewise.
15093 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15094 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15095 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15096 * string/strrchr.c: Define STRRCHR.
15097
235eed86
OB
150982014-02-28 Ondřej Bílka <neleai@seznam.cz>
15099
15100 * benchtest/bench-strtok.c (simple_strtok): Delete.
15101 (strtok_string): Use as benchmark.
15102 * string/strtok (STRTOK): New macro.
15103
8e25d1e7
CD
151042014-02-28 Carlos O'Donell <carlos@redhat.com>
15105
ef563f92
CD
15106 * manual/threads.texi: Add header and standard comments to all
15107 functions.
15108
8e25d1e7
CD
15109 * elf/dl-lookup.c (check_match): New function.
15110 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15111 (do_lookup_x): Remove nested function check_match. Use non-nested
15112 function check_match.
15113
ff71cc37
RM
151142014-02-28 Roland McGrath <roland@hack.frob.com>
15115
f08e9a26
RM
15116 * csu/Makefile (generated, before-compile): Use += rather than =.
15117 * catgets/Makefile (generated, generated-dirs): Likewise.
15118 * debug/Makefile (generated): Likewise.
15119 * dlfcn/Makefile (generated): Likewise.
15120 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15121 * iconvdata/Makefile (before-compile, generated): Likewise.
15122 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15123 * libio/Makefile (generated): Likewise.
15124 * malloc/Makefile (generated): Likewise.
15125 * manual/Makefile (generated, generated-dirs): Likewise.
15126 * misc/Makefile (generated): Likewise.
15127 * posix/Makefile (generated): Likewise.
15128 * resolv/Makefile (generated): Likewise.
15129 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15130 * timezone/Makefile (generated, generated-dirs): Likewise.
15131
ff71cc37
RM
15132 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15133
fe13a20c
AZ
151342014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15135
57f41c40
AS
15136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15137 power8 implementation.
15138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15139 file: POWER8 llround ifunc implementation.
15140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15141 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15142 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15143 POWER8 llround implementation.
15144
57f41c40
AS
15145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15146 power8 implementation.
15147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15148 file: POWER8 llrint ifunc implementation.
15149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15150 Add POWER8 implementation.
1ad8950a
AZ
15151 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15152 POWER8 llrint implementation.
15153
57f41c40
AS
15154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15155 power8 implementation.
15156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15157 file: POWER8 finite ifunc implementation.
15158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15159 Add POWER8 implementation.
cac626d6
AZ
15160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15161 Likewise.
15162 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15163 POWER8 finite implementation.
15164 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15165
57f41c40
AS
15166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15167 power8 implementation.
15168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15169 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15171 POWER8 implementation.
15172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15173 Likewise.
57f41c40
AS
15174 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15175 isinf implementation.
4393fc11
AZ
15176 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15177
57f41c40
AS
15178 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15179 (INIT_ARCH): Add hwcap2 initialization.
15180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15181 power8 implementation.
15182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15183 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15185 POWER8 implementation.
15186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15187 Likewise.
57f41c40
AS
15188 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15189 isnan implementation.
487972ae
AZ
15190 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15191
7d92b787
JY
151922014-02-27 Joey Ye <joey.ye@arm.com>
15193
15194 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15195 (_FP_NANFRAC_Q): Set to zero.
15196
1cadc858
SP
151972014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15198
15199 [BZ #16623]
15200 * math/auto-libm-test-in: New test inputs.
15201 * math/auto-libm-test-out: Regenerate.
15202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15203 and DA.
15204 (__cos): Likewise.
15205 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15206
f8c17e79
JM
152072014-02-27 Joseph Myers <joseph@codesourcery.com>
15208
15209 * scripts/evaluate-test.sh: Take new argument indicating whether
15210 failure is expected.
15211 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15212 indicating whether failure is expected.
15213 * conform/Makefile (test-xfail-run-conformtest): New variable.
15214 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15215 level.
15216 * posix/Makefile (test-xfail-annexc): New variable.
15217 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15218
a5f891ac
JM
152192014-02-26 Joseph Myers <joseph@codesourcery.com>
15220
15221 * argp/Makefile: Include Makeconfig immediately after defining
15222 subdir.
15223 * assert/Makefile: Likewise.
15224 * benchtests/Makefile: Likewise.
15225 * catgets/Makefile: Likewise.
15226 * conform/Makefile: Likewise.
15227 * crypt/Makefile: Likewise.
15228 * csu/Makefile: Likewise.
15229 (all): Remove target.
15230 * ctype/Makefile: Include Makeconfig immediately after defining
15231 subdir.
15232 * debug/Makefile: Likewise.
15233 * dirent/Makefile: Likewise.
15234 * dlfcn/Makefile: Likewise.
15235 * gmon/Makefile: Likewise.
15236 * gnulib/Makefile: Likewise.
15237 * grp/Makefile: Likewise.
15238 * gshadow/Makefile: Likewise.
15239 * hesiod/Makefile: Likewise.
15240 * hurd/Makefile: Likewise.
15241 (all): Remove target.
15242 * iconvdata/Makefile: Include Makeconfig immediately after
15243 defining subdir.
15244 * inet/Makefile: Likewise.
15245 * intl/Makefile: Likewise.
15246 * io/Makefile: Likewise.
15247 * libio/Makefile: Likewise.
15248 (all): Remove target.
15249 * locale/Makefile: Include Makeconfig immediately after defining
15250 subdir.
15251 * login/Makefile: Likewise.
15252 * mach/Makefile: Likewise.
15253 (all): Remove target.
15254 * malloc/Makefile: Include Makeconfig immediately after defining
15255 subdir.
15256 (all): Remove target.
15257 * manual/Makefile: Include Makeconfig immediately after defining
15258 subdir.
15259 * math/Makefile: Likewise.
15260 * misc/Makefile: Likewise.
15261 * nis/Makefile: Likewise.
15262 * nss/Makefile: Likewise.
15263 * po/Makefile: Likewise.
15264 (all): Remove target.
15265 * posix/Makefile: Include Makeconfig immediately after defining
15266 subdir.
15267 * pwd/Makefile: Likewise.
15268 * resolv/Makefile: Likewise.
15269 * resource/Makefile: Likewise.
15270 * rt/Makefile: Likewise.
15271 * setjmp/Makefile: Likewise.
15272 * shadow/Makefile: Likewise.
15273 * signal/Makefile: Likewise.
15274 * socket/Makefile: Likewise.
15275 * soft-fp/Makefile: Likewise.
15276 * stdio-common/Makefile: Likewise.
15277 * stdlib/Makefile: Likewise.
15278 * streams/Makefile: Likewise.
15279 * string/Makefile: Likewise.
15280 * sunrpc/Makefile: Likewise.
15281 (all): Remove target.
15282 * sysvipc/Makefile: Include Makeconfig immediately after defining
15283 subdir.
15284 * termios/Makefile: Likewise.
15285 * time/Makefile: Likewise.
15286 * timezone/Makefile: Likewise.
15287 (all): Remove target.
15288 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15289 subdir.
15290 * wctype/Makefile: Likewise.
15291
5b456e9d
SE
152922014-02-26 Steve Ellcey <sellcey@mips.com>
15293
15294 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15295 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15296 (libc_feholdexcept_setround_mips): Ditto.
15297 (libc_feholdsetround): New.
15298 (libc_feholdsetroundf): New.
15299 (libc_feholdsetroundl): New.
15300 (libc_feupdateenv_test_mips): New.
15301 (libc_feupdateenv_test): New.
15302 (libc_feupdateenv_testf): New.
15303 (libc_feupdateenv_testl): New.
15304 (libc_feresetround): New.
15305 (libc_feresetroundf): New.
15306 (libc_feresetroundl): New.
15307 (libc_fetestexcept_mips): New.
15308 (libc_fetestexcept): New.
15309 (libc_fetestexceptf): New.
15310 (libc_fetestexceptl): New.
15311 (HAVE_RM_CTX): New.
15312 (libc_feholdexcept_setround_mips_ctx): New.
15313 (libc_feholdexcept_setround_ctx): New.
15314 (libc_feholdexcept_setroundf_ctx): New.
15315 (libc_feholdexcept_setroundl_ctx): New.
15316 (libc_fesetenv_mips_ctx): New.
15317 (libc_fesetenv_ctx): New.
15318 (libc_fesetenv_ctxf): New.
15319 (libc_fesetenv_ctxl): New.
15320 (libc_feupdateenv_mips_ctx): New.
15321 (libc_feupdateenv_ctx): New.
15322 (libc_feupdateenvf_ctx): New.
15323 (libc_feupdateenvl_ctx): New.
15324 (libc_feholdsetround_mips_ctx): New.
15325 (libc_feholdsetround_ctx): New.
15326 (libc_feholdsetroundf_ctx): New.
15327 (libc_feholdsetroundl_ctx): New.
15328 (libc_feresetround_mips_ctx): New.
15329 (libc_feresetround_ctx): New.
15330 (libc_feresetroundf_ctx): New.
15331 (libc_feresetroundl_ctx): New.
15332
085d0e35
CD
153332014-02-26 Carlos O'Donell <carlos@redhat.com>
15334
f067bf1f
CD
15335 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15336
085d0e35
CD
15337 * manual/ipc.texi: New file.
15338 * manual/Makefile (chapters): Add ipc.
15339 * manual/job.texi: Add "Inter-Process Communication" to next.
15340 * manual/process.texi: Add "Inter-Process Communication" to prev.
15341
86e58c08
AZ
153422014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15343
15344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15345
4248f0da
OB
153462014-02-26 Ondřej Bílka <neleai@seznam.cz>
15347
15348 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15349
cf822e3c
OB
15350 * manual/arith.texi: Fix spaces after sentences.
15351 * manual/charset.texi: Likewise.
15352 * manual/errno.texi: Likewise.
15353 * manual/install.texi: Likewise.
15354 * manual/llio.texi: Likewise.
15355 * manual/locale.texi: Likewise.
15356 * manual/maint.texi: Likewise.
15357 * manual/math.texi: Likewise.
15358 * manual/memory.texi: Likewise.
15359 * manual/message.texi: Likewise.
15360 * manual/probes.texi: Likewise.
15361 * manual/resource.texi: Likewise.
15362 * manual/signal.texi: Likewise.
15363 * manual/socket.texi: Likewise.
15364 * manual/stdio.texi: Likewise.
15365 * manual/string.texi: Likewise.
15366 * manual/time.texi: Likewise.
15367 * manual/users.texi: Likewise.
15368
ade40b10
CD
153692014-02-25 Carlos O'Donell <carlos@redhat.com>
15370
15371 [BZ #16632]
15372 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15373 _DEFAULT_SOURCE is defined.
15374
d0503676
CD
153752014-02-25 Ulrich Drepper <drepper@gmail.com>
15376 Carlos O'Donell <carlos@redhat.com>
15377
15378 [BZ #16613]
15379 * elf/dl-tls.c (_dl_count_modids): New function.
15380 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15381 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15382 audit library and increment generation counter.
15383 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15384 * elf/tst-audit9.c: New file.
15385 * elf/tst-auditmod9a.c: New file.
15386 * elf/tst-auditmod9b.c: New file.
15387 * elf/Makefile: Add rules to build and run tst-audit9.
15388
4cbf380c
FW
153892014-02-25 Florian Weimer <fweimer@redhat.com>
15390
15391 [BZ #15347]
15392 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15393
80a56cc3
WN
153942014-02-25 Will Newton <will.newton@linaro.org>
15395
15396 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15397 (__longjmp): Restore sp and lr before restoring callee
15398 saved registers. Add longjmp and longjmp_target
15399 SystemTap probe point.
15400 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15401 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15402 Define to zero to match jmpbuf layout.
15403 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15404 (__sigsetjmp): Save sp and lr before saving callee
15405 saved registers. Add setjmp SystemTap probe point.
15406
3ea0f74e
SL
154072014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15408
15409 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15410
b04acb26
AS
154112014-02-24 Andreas Schwab <schwab@suse.de>
15412
15413 [BZ #15804]
15414 * elf/pldd.c (wait_for_ptrace_stop): New function.
15415 (main): Call it after attaching.
15416
098ad55c
RM
154172014-02-22 Roland McGrath <roland@hack.frob.com>
15418
d4ec6ae1
RM
15419 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15420 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15421 Versions files is now verboten.
15422 * hurd/Versions (libc: GLIBC_2.0):
15423 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15424 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15425 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15426 * mach/Versions: Likewise.
15427
098ad55c
RM
15428 * csu/Versions: Remove unused %include.
15429 * resolv/Versions: Likewise.
15430
acd7f096
JM
154312014-02-21 Joseph Myers <joseph@codesourcery.com>
15432
f0881698
JM
15433 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15434 ($(objpfx)check-local-headers.out): Likewise.
15435 ($(objpfx)begin-end-check.out): Likewise.
15436 * Makerules (check-abi-%.out): Likewise.
15437 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15438 ($(objpfx)test2.cat): Likewise.
15439 ($(objpfx)de/libc.cat): Likewise.
15440 ($(objpfx)test-gencat.out): Likewise.
15441 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15442 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15443 ($(objpfx)noload-mem): Likewise.
15444 ($(objpfx)tst-pathopt.out): Likewise.
15445 ($(objpfx)tst-rtld-load-self.out): Likewise.
15446 ($(objpfx)tst-array1-cmp.out): Likewise.
15447 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15448 ($(objpfx)tst-array2-cmp.out): Likewise.
15449 ($(objpfx)tst-array3-cmp.out): Likewise.
15450 ($(objpfx)tst-array4-cmp.out): Likewise.
15451 ($(objpfx)tst-array5-cmp.out): Likewise.
15452 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15453 ($(objpfx)check-textrel.out): Likewise.
15454 ($(objpfx)check-execstack.out): Likewise.
15455 ($(objpfx)check-localplt.out): Likewise.
15456 ($(objpfx)order2-cmp.out): Likewise.
15457 ($(objpfx)tst-leaks1-mem): Likewise.
15458 ($(objpfx)tst-leaks1-static-mem): Likewise.
15459 ($(objpfx)tst-initorder-cmp.out): Likewise.
15460 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15461 ($(objpfx)tst-unused-dep.out): Likewise.
15462 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15463 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15464 * iconv/Makefile (test-iconvconfig): Likewise.
15465 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15466 ($(objpfx)iconv-test.out): Likewise.
15467 ($(objpfx)tst-tables.out): Likewise.
15468 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15469 ($(objpfx)tst-gettext.out): Likewise.
15470 ($(objpfx)tst-translit.out): Likewise.
15471 ($(objpfx)tst-gettext2.out): Likewise.
15472 ($(objpfx)tst-gettext4.out): Likewise.
15473 ($(objpfx)tst-gettext6.out): Likewise.
15474 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15475 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15476 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15477 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15478 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15479 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15480 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15481 ($(objpfx)wordexp-tst.out): Likewise.
15482 ($(objpfx)annexc.out): Likewise.
15483 ($(objpfx)tst-fnmatch-mem): Likewise.
15484 ($(objpfx)bug-regex2-mem): Likewise.
15485 ($(objpfx)bug-regex14-mem): Likewise.
15486 ($(objpfx)bug-regex21-mem): Likewise.
15487 ($(objpfx)bug-regex31-mem): Likewise.
15488 ($(objpfx)tst-vfork3-mem): Likewise.
15489 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15490 ($(objpfx)tst-pcre-mem): Likewise.
15491 ($(objpfx)tst-boost-mem): Likewise.
15492 ($(objpfx)tst-getconf.out): Likewise.
15493 ($(objpfx)bug-ga2-mem): Likewise.
15494 ($(objpfx)bug-glob2-mem): Likewise.
15495 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15496 ($(objpfx)mtrace-tst-leaks2): Likewise.
15497 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15498 ($(objpfx)tst-printf.out): Likewise.
15499 ($(objpfx)tst-setvbuf1.out): Likewise.
15500 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15501 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15502 ($(objpfx)tst-fmtmsg.out): Likewise.
15503 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15504 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15505
acd7f096
JM
15506 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15507 * bits/sigaction.h [__USE_MISC]: Likewise.
15508 * bits/waitstatus.h: Update #endif comments.
15509 * ctype/ctype.h: Likewise.
15510 * dirent/dirent.h: Likewise.
15511 [__USE_MISC]: Remove redundant conditionals.
15512 * grp/grp.h: Update #endif comments.
15513 [__USE_GNU]: Remove redundant conditionals.
15514 [__USE_MISC]: Likewise.
15515 * inet/netinet/in.h [__USE_GNU]: Likewise.
15516 * io/sys/stat.h [__USE_MISC]: Likewise.
15517 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15518 * libio/bits/stdio.h: Update #endif comments.
15519 [__USE_MISC]: Remove redundant conditionals.
15520 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15521 * libio/stdio.h: Update #endif comments.
15522 [__USE_MISC]: Remove redundant conditionals.
15523 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15524 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15525 * math/math.h: Update #else and #endif comments.
15526 [__USE_MISC]: Remove redundant conditionals.
15527 * misc/sys/uio.h: Update #endif comments.
15528 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15529 * posix/glob.h [__USE_MISC]: Likewise.
15530 * posix/sys/types.h: Update #endif comments.
15531 [__USE_MISC]: Remove redundant conditionals.
15532 * posix/sys/wait.h: Update #endif comments.
15533 [__USE_MISC]: Remove redundant conditionals.
15534 * posix/unistd.h: Update #endif comments.
15535 [__USE_MISC]: Remove redundant conditionals.
15536 * pwd/pwd.h [__USE_GNU]: Likewise.
15537 [__USE_MISC]: Likewise.
15538 * resolv/netdb.h [__USE_GNU]: Likewise.
15539 * signal/signal.h: Update #endif comments.
15540 [__USE_MISC]: Remove redundant conditionals.
15541 * stdlib/stdlib.h: Update #else and #endif comments.
15542 [__USE_MISC]: Remove redundant conditionals.
15543 [__USE_GNU]: Likewise.
15544 * string/bits/string2.h [__USE_MISC]: Likewise.
15545 * string/string.h: Update #endif comments.
15546 [__USE_MISC]: Remove redundant conditionals.
15547 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15548 Likewise.
15549 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15550 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15551 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15552 Likewise.
15553 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15554 Likewise.
15555 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15556 comments.
15557 [__USE_MISC]: Remove redundant conditionals.
15558 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15559 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15560 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15561 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15562 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15563 Likewise.
15564 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15565 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15566 Likewise.
15567 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15569 Likewise.
15570 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15571 Likewise.
15572 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15573 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15574 Likewise.
15575 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15576 Likewise.
15577 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15578 * sysdeps/x86/bits/string.h: Update #endif comments.
15579 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15580 conditionals.
15581 * time/sys/time.h: Update #endif comments.
15582 * time/time.h: Likewise.
15583 [__USE_MISC]: Remove redundant conditionals.
15584
a5d82e4e
YG
155852014-02-21 Yury Gribov <y.gribov@samsung.com>
15586
15587 [BZ #16600]
15588 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15589
9a80491d
AS
155902014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15591
15592 * Versions.def (librt): Add GLIBC_2.17.
15593
105fa381
AC
155942014-02-21 Adam Conrad <adconrad@0c3.net>
15595
15596 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15597 synonym for _SYS_AUXV_H to allow direct inclusion.
15598 * sysdeps/sparc/bits/hwcap.h: Likewise.
15599 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15600 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15601 * sysdeps/sparc/sysdep.h: Likewise.
15602
b8cd1c4e
SP
156032014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15604
15605 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15606
bd939d23
RS
156072014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15608
15609 * benchtests/bench-strrchr.c: Print length instead of position.
15610
5d7b57ca
JM
156112014-02-20 Joseph Myers <joseph@codesourcery.com>
15612
bc688c10
JM
15613 [BZ #16611]
15614 * sysdeps/unix/sysv/linux/kernel-features.h
15615 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15616 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15617 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15618 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15619 Likewise.
15620 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15621 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15622 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15623 (__ASSUME_SENDMMSG): Define instead of using previous
15624 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15625 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15626 (__ASSUME_SENDMMSG_SYSCALL): Define.
15627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15628 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15629 Likewise.
15630 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15631 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15632 Likewise.
15633 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15634 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15635 Likewise.
15636 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15637 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15638 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15639 [__ASSUME_SENDMMSG]: Change conditionals to
15640 [__ASSUME_SENDMMSG_SOCKETCALL].
15641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15642 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15643 Define.
15644 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15645 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15646 Likewise.
15647 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15648 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15649 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15650 [!__ASSUME_SENDMMSG]: Change conditional to
15651 [!__ASSUME_SENDMMSG_SOCKETCALL].
15652 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15653 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15654 Define.
15655
0e31b18c
JM
15656 [BZ #16610]
15657 * sysdeps/unix/sysv/linux/kernel-features.h
15658 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15659 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15660 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15661 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15662 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15663 [__i386__ || __sparc__]
15664 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15665 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15666 (__ASSUME_RECVMMSG): Define instead of using previous
15667 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15668 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15669 (__ASSUME_RECVMMSG_SYSCALL): Define.
15670 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15671 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15672 Likewise.
15673 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15674 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15675 Likewise.
15676 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15677 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15678 Likewise.
15679 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15680 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15681 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15682 [__ASSUME_RECVMMSG]: Change condition to
15683 [__ASSUME_RECVMMSG_SOCKETCALL].
15684 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15685 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15686 Define.
15687 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15688 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15689 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15690 Likewise.
15691 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15692 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15693 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15694 [!__ASSUME_RECVMMSG]: Change condition to
15695 [!__ASSUME_RECVMMSG_SOCKETCALL].
15696 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15697 (__ASSUME_RECVMMSG_SYSCALL): Define.
15698
dd481ccf
JM
15699 [BZ #16609]
15700 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15701 __powerpc__ || __s390__ || __sh__ || __sparc__]
15702 (__ASSUME_SOCKETCALL): Define.
15703 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15704 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15705 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15706 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15707 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15708 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15709 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15710 (__ASSUME_ACCEPT4): Define instead of using previous
15711 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15712 __powerpc__ || __sparc__ || __s390__)] condition.
15713 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15714 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15715 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15716 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15717 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15718 [!__ASSUME_ACCEPT4]: Change condition to
15719 [!__ASSUME_ACCEPT4_SOCKETCALL].
15720 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15721 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15722 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15723 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15724 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15725 __ASSUME_ACCEPT4_SYSCALL.
15726 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15727 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15728 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15729 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15730 __ASSUME_ACCEPT4_SYSCALL.
15731 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15732 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15733 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15734 [__ASSUME_ACCEPT4]: Change condition to
15735 [__ASSUME_ACCEPT4_SOCKETCALL].
15736 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15737 (__ASSUME_SOCKETCALL): Define.
15738 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15739 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15740 (__ASSUME_SOCKETCALL): Define.
15741 (__ASSUME_ACCEPT4): Remove.
15742 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15743 Define.
15744 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15745 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15746 Likewise.
15747 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15748 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15749
5d7b57ca
JM
15750 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15751 macro.
15752 (HWCAP_ARM_LPAE): Likewise.
15753 (HWCAP_ARM_EVTSTRM): Likewise.
15754 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15755 Add vpfd32, lpae and evtstrm.
15756 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15757 Increase to 22.
15758
63689d61
JM
157592014-02-19 Joseph Myers <joseph@codesourcery.com>
15760
15761 * math/auto-libm-test-in: Add tests of clog10.
15762 * math/auto-libm-test-out: Regenerated.
15763 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15764 * sysdeps/i386/fpu/libm-test-ulps: Update.
15765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15766
ab09bf61
AS
157672014-02-18 Andreas Schwab <schwab@suse.de>
15768
15769 [BZ #16574]
15770 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15771 Store non-zero if the second buffer was newly allocated.
15772 (send_dg): Likewise.
15773 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15774 to send_vc and send_dg.
15775 (res_nsend): Pass NULL for ansp2_malloced.
15776 * resolv/res_query.c (__libc_res_nquery): Add parameter
15777 answerp2_malloced and pass it down to __libc_res_nsend.
15778 (res_nquery): Pass additional NULL to __libc_res_nquery.
15779 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15780 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15781 second answer buffer if answerp2_malloced was set.
15782 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15783 (__libc_res_nquerydomain): Add parameter
15784 answerp2_malloced and pass it down to __libc_res_nquery.
15785 (res_nquerydomain): Pass additional NULL to
15786 __libc_res_nquerydomain.
15787 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15788 additional NULL to __libc_res_nsend and __libc_res_nquery.
15789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15790 additional NULL to __libc_res_nsearch.
15791 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15792 parameter of __libc_res_nsearch to check for separately allocated
15793 second buffer.
15794 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15795 __libc_res_nquery.
15796 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15797 additional NULL to __libc_res_nquery.
15798 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15799 __libc_res_nsearch.
15800 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15801 * include/resolv.h: Update prototypes of __libc_res_nquery,
15802 __libc_res_nsearch, __libc_res_nsend.
15803
a4fb7861
JM
158042014-02-18 Joseph Myers <joseph@codesourcery.com>
15805
c6af2d89
JM
15806 * math/auto-libm-test-in: Add tests of fma.
15807 * math/auto-libm-test-out: Regenerated.
15808 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15809 (fma_towardzero_test_data): Likewise.
15810 (fma_downward_test_data): Likewise.
15811 (fma_upward_test_data): Likewise.
15812 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15813 mpc_mode.
15814 (rounding_modes): Add values for new field.
15815 (func_calc_method): Add value mpfr_fff_f.
15816 (func_calc_desc): Add mpfr_fff_f union field.
15817 (test_function): Add field exact_args.
15818 (FUNC): Add macro argument EXACT_ARGS.
15819 (FUNC_mpfr_f_f): Update call to FUNC.
15820 (FUNC_mpfr_f_f): Likewise.
15821 (FUNC_mpfr_ff_f): Likewise.
15822 (FUNC_mpfr_if_f): Likewise.
15823 (FUNC_mpc_c_f): Likewise.
15824 (FUNC_mpc_c_c): Likewise.
15825 (test_functions): Add fma. Update calls to FUNC.
15826 (handle_input_arg): Add argument exact_args.
15827 (add_test): Update call to handle_input_arg.
15828 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15829 (output_for_one_input_case): Update call to calc_generic_results.
15830 Recalculate exact zero results in each rounding mode.
15831
a4fb7861
JM
15832 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15833 non-negative before setting low bit.
15834 * math/auto-libm-test-in: Mark one asin test possibly having
15835 spurious underflow.
15836 * math/auto-libm-test-out: Regenerated.
15837 * sysdeps/i386/fpu/libm-test-ulps: Update.
15838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15839
ef114eaf
DH
158402014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15841
2b7f4f2c
SP
15842 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15843 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15844 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
15845 * README: Add missing listing for microblaze*-*-linux-gnu.
15846
8125aedc
AM
158472014-02-16 Ondřej Bílka <neleai@seznam.cz>
15848
15849 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15850 duplicate code
15851
c70a4b1d
MF
158522014-02-16 Mike Frysinger <vapier@gentoo.org>
15853
15854 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15855 * sysdeps/unix/sysv/linux/ia64: Move directory from
15856 ports/sysdeps/unix/sysv/linux/ia64.
15857 * README: Update listing for ia64-*-linux-gnu.
15858
591aeaf7
TD
158592014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15860 Joseph Myers <joseph@codesourcery.com>
15861
15862 * Makeconfig (test-name): New variable.
15863 (evaluate-test): Likewise.
15864 * Makerules (do-test-clean): Remove .test-result files.
15865 (common-mostlyclean): Likewise.
15866 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15867 * scripts/evaluate-test.sh: New file.
15868
6e89caf1
JM
158692014-02-14 Joseph Myers <joseph@codesourcery.com>
15870
7f98f180
JM
15871 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15872 separate $(objpfx)tst-fopenloc-cmp.out and
15873 $(objpfx)tst-fopenloc-mem.out targets.
15874 (tests): Update dependencies.
15875 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15876 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15877 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15878 (tst-rxspencer-no-utf8-ARGS): New variable.
15879 (tst-rxspencer-no-utf8-ENV): Likewise.
15880 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15881 instead of $(objpfx)tst-rxspencer-mem.
15882 ($(objpfx)tst-rxspencer-mem): Change target to
15883 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15884 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15885 * posix/tst-rxspencer-no-utf8.c: New file.
15886
6e89caf1
JM
15887 * elf/Makefile ($(objpfx)order.out): Remove rule.
15888 [$(run-built-tests) = yes] (tests): Depend on
15889 $(objpfx)order-cmp.out.
15890 ($(objpfx)order-cmp.out): New rule.
15891 [$(run-built-tests) = yes] (tests): Depend on
15892 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15893 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15894 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15895 $(objpfx)tst-array5-static-cmp.out.
15896 ($(objpfx)tst-array1.out): Remove rule.
15897 ($(objpfx)tst-array1-cmp.out): New rule.
15898 ($(objpfx)tst-array1-static.out): Remove rule.
15899 ($(objpfx)tst-array1-static-cmp.out): New rule.
15900 ($(objpfx)tst-array2.out): Remove rule.
15901 ($(objpfx)tst-array2-cmp.out): New rule.
15902 ($(objpfx)tst-array3.out): Remove rule.
15903 ($(objpfx)tst-array3-cmp.out): New rule.
15904 ($(objpfx)tst-array4.out): Remove rule.
15905 ($(objpfx)tst-array4-cmp.out): New rule.
15906 ($(objpfx)tst-array5.out): Remove rule.
15907 ($(objpfx)tst-array5-cmp.out): New rule.
15908 ($(objpfx)tst-array5-static.out): Remove rule.
15909 ($(objpfx)tst-array5-static-cmp.out): New rule.
15910 [$(run-built-tests) = yes] (tests): Depend on
15911 $(objpfx)order2-cmp.out.
15912 ($(objpfx)order2.out): Remove rule.
15913 ($(objpfx)order2-cmp.out): New rule.
15914 ($(objpfx)tst-initorder.out): Remove rule.
15915 [$(run-built-tests) = yes] (tests): Depend on
15916 $(objpfx)tst-initorder-cmp.out.
15917 ($(objpfx)tst-initorder-cmp.out): New rule.
15918 ($(objpfx)tst-initorder2.out): Remove rule.
15919 [$(run-built-tests) = yes] (tests): Depend on
15920 $(objpfx)tst-initorder2-cmp.out.
15921 ($(objpfx)tst-initorder2-cmp.out): New rule.
15922 [$(run-built-tests) = yes] (tests): Depend on
15923 $(objpfx)tst-unused-dep-cmp.out.
15924 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15925 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15926 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15927 on $(objpfx)tst-setvbuf1-cmp.out.
15928 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15929 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15930 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15931 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15932 ($(objpfx)tst-svc.out): Remove rule.
15933 ($(objpfx)tst-svc-cmp.out): New rule.
15934
ed9a38e2
JM
159352014-02-13 Joseph Myers <joseph@codesourcery.com>
15936
15937 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15938 * ctype/ctype.h [__USE_MISC]: Likewise.
15939 * dirent/dirent.h [__USE_MISC]: Likewise.
15940 * grp/grp.h [__USE_MISC]: Likewise.
15941 * io/fcntl.h [__USE_MISC]: Likewise.
15942 * io/sys/stat.h [__USE_MISC]: Likewise.
15943 * libio/stdio.h [__USE_MISC]: Likewise.
15944 * posix/unistd.h [__USE_MISC]: Likewise.
15945 * pwd/pwd.h [__USE_MISC]: Likewise.
15946 * stdlib.h [__USE_MISC]: Likewise.
15947 * string/bits/string2.h [__USE_MISC]: Likewise.
15948 * string/string.h [__USE_MISC]: Likewise.
15949 * time/time.h [__USE_MISC]: Likewise.
15950
d6680619
AS
159512014-02-13 Andreas Schwab <schwab@suse.de>
15952
15953 [BZ #16574]
15954 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15955 second answer buffer if it was separately allocated.
15956
ace614b8
JM
159572014-02-12 Joseph Myers <joseph@codesourcery.com>
15958
743151ae
JM
15959 * sysdeps/mips/math-tests.h: Include <features.h>.
15960 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15961 (ROUNDING_TESTS_long_double): Do not define.
15962 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15963 (EXCEPTION_TESTS_long_double): Likewise.
15964 * sysdeps/mips/mips64/libm-test-ulps: Update.
15965
498afc54
JM
15966 * include/features.h (__USE_BSD): Remove macro definitions.
15967 (__USE_SVID): Likewise.
15968 (_BSD_SOURCE): Likewise.
15969 (_SVID_SOURCE): Likewise.
15970 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15971 from definition of _DEFAULT_SOURCE.
15972 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15973 [_DEFAULT_SOURCE].
15974 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15975 * bits/mman.h [__USE_BSD]: Likewise.
15976 * bits/termios.h [__USE_BSD]: Likewise.
15977 * bits/waitstatus.h [__USE_BSD]: Likewise.
15978 * ctype/ctype.h [__USE_SVID]: Likewise.
15979 * dirent/dirent.h [__USE_BSD]: Likewise.
15980 * grp/grp.h [__USE_SVID]: Likewise.
15981 [__USE_BSD]: Likewise.
15982 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15983 * io/fcntl.h [__USE_BSD]: Likewise.
15984 * io/ftw.h [__USE_BSD]: Likewise.
15985 * io/sys/stat.h [__USE_BSD]: Likewise.
15986 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15987 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15988 * libio/stdio.h [__USE_SVID]: Likewise.
15989 [__USE_BSD]: Likewise.
15990 * math/math.h [__USE_SVID]: Likewise.
15991 [__USE_BSD]: Likewise.
15992 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15993 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15994 * misc/search.h [__USE_SVID]: Likewise.
15995 * misc/sys/mman.h [__USE_BSD]: Likewise.
15996 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15997 * misc/sys/uio.h [__USE_BSD]: Likewise.
15998 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15999 * posix/glob.h [__USE_BSD]: Likewise.
16000 * posix/regex.h [__USE_BSD]: Likewise.
16001 * posix/sys/types.h [__USE_BSD]: Likewise.
16002 [__USE_SVID]: Likewise.
16003 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16004 * posix/sys/wait.h [__USE_BSD]: Likewise.
16005 [__USE_SVID]: Likewise.
16006 * posix/unistd.h [__USE_BSD]: Likewise.
16007 [__USE_SVID]: Likewise.
16008 * pwd/pwd.h [__USE_SVID]: Likewise.
16009 * resolv/netdb.h [__USE_BSD]: Likewise.
16010 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16011 * signal/signal.h [__USE_BSD]: Likewise.
16012 [__USE_SVID]: Likewise.
16013 * socket/sys/socket.h [__USE_BSD]: Likewise.
16014 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16015 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16016 [__USE_SVID]: Likewise.
16017 * string/bits/string2.h [__USE_BSD]: Likewise.
16018 [__USE_SVID]: Likewise.
16019 * string/bits/string3.h [__USE_BSD]: Likewise.
16020 * string/endian.h [__USE_BSD]: Likewise.
16021 * string/string.h [__USE_SVID]: Likewise.
16022 [__USE_BSD]: Likewise.
16023 * string/strings.h [__USE_BSD]: Likewise.
16024 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16025 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16026 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16027 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16028 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16029 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16030 Likewise.
16031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16032 Likewise.
16033 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16034 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16035 Likewise.
16036 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16037 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16038 Likewise.
16039 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16040 Likewise.
16041 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16042 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16043 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16044 Likewise.
16045 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16046 Likewise.
16047 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16048 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16049 * termios/termios.h [__USE_BSD]: Likewise.
16050 * time/sys/time.h [__USE_BSD]: Likewise.
16051 * time/time.h [__USE_BSD]: Likewise.
16052 [__USE_SVID]: Likewise.
16053
dd7b064c
JM
16054 * Makefile (subdir_targets): Remove subdir_lint.out.
16055
a2c4c199
JM
16056 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16057 (do-tst-printf): Likewise.
16058 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16059 $(objpfx)tst-printf.out.
16060
8756f740
JM
16061 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16062
1b6dd3f1
JM
16063 * Makerules (check-abi-%): Change target to
16064 $(objpfx)check-abi-%.out.
16065 (check-abi target): Update dependencies.
16066 (check-abi-pattern variable): Redirect output of diff to $@.
16067 (check-abi variable): Likewise.
16068 * elf/Makefile (check-abi): Update dependencies.
16069
ace614b8
JM
16070 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16071 unused.
16072 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16073 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16074 subnormal range.
16075 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16076 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16077 value has largest subnormal exponent.
16078 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16079 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16080 * sysdeps/aarch64/soft-fp/sfp-machine.h
16081 (_FP_TININESS_AFTER_ROUNDING): New macro.
16082 * sysdeps/alpha/soft-fp/sfp-machine.h
16083 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16084 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16085 Likewise.
16086 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16087 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16088 * sysdeps/mips/soft-fp/sfp-machine.h
16089 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16090 * sysdeps/powerpc/soft-fp/sfp-machine.h
16091 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16092 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16093 Likewise.
16094 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16095 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16096 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16097 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16098 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16099 Likewise.
16100
fbfdf9cb
DAS
161012014-02-12 Dylan Alex Simon <dylan@dylex.net>
16102
16103 [BZ #16545]
16104 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16105 model 1.
16106
68b7efaa
RH
161072014-02-12 Richard Henderson <rth@redhat.com>
16108
c70a4b1d 16109 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16110 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16111 * sysdeps/unix/sysv/linux/alpha: Move directory from
16112 ports/sysdeps/unix/sysv/linux/alpha.
16113 * README: Update listing for alpha-*-linux-gnu.
16114
cb4a2928
JM
161152014-02-11 Joseph Myers <joseph@codesourcery.com>
16116
c941736c
JM
16117 * include/features.h: Update comment documenting feature test
16118 macros.
16119 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16120 _DEFAULT_SOURCE.
16121 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16122 (_SVID_SOURCE): Likewise.
16123 (_DEFAULT_SOURCE): Update description of default features.
16124 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16125 with _GNU_SOURCE.
16126 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16127 (S_ISVTX): Likewise.
16128 * manual/math.texi (Mathematical Constants): Likewise.
16129 * manual/signal.texi (Interrupted Primitives): Likewise.
16130 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16131 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16132 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16133 Don't refer to _SVID_SOURCE in warning text.
16134
e8d8d7ec
JM
16135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16136
cb4a2928
JM
16137 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16138 already defined.
16139 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16140 * sysdeps/mips/dl-lookup.c: Remove.
16141 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16142
7e6424e3
AK
161432014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16144
16145 [BZ #16447]
16146 * math/auto-libm-test-in: Add testcase for expl.
16147 * math/auto-libm-test-out: Regenerate.
16148 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16149 calculation of unsafe.
16150 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16151
75eff3fe
MS
161522014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16153
16154 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16155 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16156 ports/sysdeps/unix/sysv/linux/aarch64.
16157 * README: Update listing for aarch64*-*-linux-gnu.
16158
d35f1e80
WN
161592014-02-11 Will Newton <will.newton@linaro.org>
16160
16161 * manual/probes.texi (Mathematical Function Probes): Use
16162 "triggered" instead of "hit".
16163
7b3436d4
WN
16164 * manual/probes.texi (Internal Probes): Add documentation
16165 of setjmp, longjmp and longjmp_target probes.
16166
b4f12ca3
WN
16167 * include/stap-probe.h: Add comment about probe argument
16168 format.
16169
c13a72b7
WN
16170 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16171 definition. (tr_where, tr_freehook, tr_mallochook,
16172 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16173
195b8165
DM
161742014-02-11 David S. Miller <davem@davemloft.net>
16175
16176 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16177 processing int_tests.
16178
2ad7600b
JM
161792014-02-10 Joseph Myers <joseph@codesourcery.com>
16180
16181 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16182 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16183 * sysdeps/unix/sysv/linux/mips: Move directory from
16184 ports/sysdeps/unix/sysv/linux/mips.
16185 * README: Update listing for mips-*-linux-gnu and
16186 mips64-*-linux-gnu.
16187
73588a72
AS
161882014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16189
16190 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16191 * sysdeps/unix/sysv/linux/m68k: Move directory from
16192 ports/sysdeps/unix/sysv/linux/m68k.
16193 * README: Update listing for m68k-*-linux-gnu.
16194
4372980f
CM
161952014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16196
16197 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16198 * sysdeps/unix/sysv/linux/generic: Move directory from
16199 ports/sysdeps/unix/sysv/linux/generic.
16200 * sysdeps/unix/sysv/linux/tile: Move directory from
16201 ports/sysdeps/unix/sysv/linux/tile.
16202 * README: Update listing for tile*-*-linux-gnu.
16203
a1ffb40e
OB
162042014-02-10 Ondřej Bílka <neleai@seznam.cz>
16205
57f41c40
AS
16206 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16207 __builtin_expect.
a1ffb40e
OB
16208 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16209 * catgets/open_catalog.c (__open_catalog): Likewise.
16210 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16211 * debug/confstr_chk.c: Likewise.
16212 * debug/fread_chk.c (__fread_chk): Likewise.
16213 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16214 * debug/getgroups_chk.c: Likewise.
16215 * debug/mbsnrtowcs_chk.c: Likewise.
16216 * debug/mbsrtowcs_chk.c: Likewise.
16217 * debug/mbstowcs_chk.c: Likewise.
16218 * debug/memcpy_chk.c: Likewise.
16219 * debug/memmove_chk.c: Likewise.
16220 * debug/mempcpy_chk.c: Likewise.
16221 * debug/memset_chk.c: Likewise.
16222 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16223 * debug/strcat_chk.c (__strcat_chk): Likewise.
16224 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16225 * debug/strncat_chk.c (__strncat_chk): Likewise.
16226 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16227 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16228 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16229 * debug/wcpncpy_chk.c: Likewise.
16230 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16231 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16232 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16233 * debug/wcsncpy_chk.c: Likewise.
16234 * debug/wcsnrtombs_chk.c: Likewise.
16235 * debug/wcsrtombs_chk.c: Likewise.
16236 * debug/wcstombs_chk.c: Likewise.
16237 * debug/wmemcpy_chk.c: Likewise.
16238 * debug/wmemmove_chk.c: Likewise.
16239 * debug/wmempcpy_chk.c: Likewise.
16240 * debug/wmemset_chk.c: Likewise.
16241 * dirent/scandirat.c (SCANDIRAT): Likewise.
16242 * dlfcn/dladdr1.c (dladdr1): Likewise.
16243 * dlfcn/dladdr.c (dladdr): Likewise.
16244 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16245 * dlfcn/dlerror.c (__dlerror): Likewise.
16246 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16247 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16248 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16249 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16250 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16251 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16252 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16253 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16254 Likewise.
16255 * elf/dl-conflict.c: Likewise.
16256 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16257 * elf/dl-dst.h: Likewise.
16258 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16259 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16260 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16261 * elf/dl-init.c (call_init, _dl_init): Likewise.
16262 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16263 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16264 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16265 Likewise.
a1ffb40e
OB
16266 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16267 Likewise.
16268 * elf/dl-minimal.c (__libc_memalign): Likewise.
16269 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16270 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16271 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16272 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16273 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16274 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16275 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16276 * elf/dl-writev.h (_dl_writev): Likewise.
16277 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16278 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16279 (dl_main): Likewise.
a1ffb40e
OB
16280 * elf/setup-vdso.h (setup_vdso): Likewise.
16281 * grp/compat-initgroups.c (compat_call): Likewise.
16282 * grp/fgetgrent.c (fgetgrent): Likewise.
16283 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16284 * grp/putgrent.c (putgrent): Likewise.
16285 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16286 Likewise.
16287 * hurd/hurdinit.c: Likewise.
16288 * iconvdata/8bit-gap.c (struct): Likewise.
16289 * iconvdata/ansi_x3.110.c : Likewise.
16290 * iconvdata/big5.c : Likewise.
16291 * iconvdata/big5hkscs.c : Likewise.
16292 * iconvdata/cp1255.c: Likewise.
16293 * iconvdata/cp1258.c : Likewise.
16294 * iconvdata/cp932.c : Likewise.
16295 * iconvdata/euc-cn.c: Likewise.
16296 * iconvdata/euc-jisx0213.c : Likewise.
16297 * iconvdata/euc-jp.c: Likewise.
16298 * iconvdata/euc-jp-ms.c : Likewise.
16299 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16300 * iconvdata/gb18030.c : Likewise.
16301 * iconvdata/gbbig5.c (const): Likewise.
16302 * iconvdata/gbgbk.c: Likewise.
16303 * iconvdata/gbk.c : Likewise.
16304 * iconvdata/ibm1364.c : Likewise.
16305 * iconvdata/ibm930.c : Likewise.
16306 * iconvdata/ibm932.c: Likewise.
16307 * iconvdata/ibm933.c : Likewise.
16308 * iconvdata/ibm935.c : Likewise.
16309 * iconvdata/ibm937.c : Likewise.
16310 * iconvdata/ibm939.c : Likewise.
16311 * iconvdata/ibm943.c: Likewise.
16312 * iconvdata/iso_11548-1.c: Likewise.
16313 * iconvdata/iso-2022-cn.c : Likewise.
16314 * iconvdata/iso-2022-cn-ext.c : Likewise.
16315 * iconvdata/iso-2022-jp-3.c: Likewise.
16316 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16317 * iconvdata/iso-2022-kr.c : Likewise.
16318 * iconvdata/iso646.c (gconv_end): Likewise.
16319 * iconvdata/iso_6937-2.c : Likewise.
16320 * iconvdata/iso_6937.c : Likewise.
16321 * iconvdata/iso8859-1.c: Likewise.
16322 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16323 * iconvdata/shift_jisx0213.c : Likewise.
16324 * iconvdata/sjis.c : Likewise.
16325 * iconvdata/t.61.c : Likewise.
16326 * iconvdata/tcvn5712-1.c : Likewise.
16327 * iconvdata/tscii.c: Likewise.
16328 * iconvdata/uhc.c : Likewise.
16329 * iconvdata/unicode.c (gconv_end): Likewise.
16330 * iconvdata/utf-16.c (gconv_end): Likewise.
16331 * iconvdata/utf-32.c (gconv_end): Likewise.
16332 * iconvdata/utf-7.c (base64): Likewise.
16333 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16334 * iconv/gconv_close.c (__gconv_close): Likewise.
16335 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16336 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16337 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16338 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16339 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16340 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
16341 * iconv/iconv.c (iconv): Likewise.
16342 * iconv/iconv_close.c: Likewise.
16343 * iconv/loop.c (SINGLE): Likewise.
16344 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16345 * include/atomic.h: Likewise.
16346 * inet/inet6_option.c (option_alloc): Likewise.
16347 * intl/bindtextdom.c (set_binding_values): Likewise.
16348 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16349 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16350 * intl/localealias.c (read_alias_file): Likewise.
16351 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
16352 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16353 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
16354 * libio/fmemopen.c (fmemopen): Likewise.
16355 * libio/iofgets.c (_IO_fgets): Likewise.
16356 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16357 * libio/iofgetws.c (fgetws): Likewise.
16358 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16359 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
16360 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16361 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
16362 * locale/findlocale.c (_nl_find_locale): Likewise.
16363 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16364 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16365 Likewise.
16366 * locale/setlocale.c (setlocale): Likewise.
16367 * login/programs/pt_chown.c (main): Likewise.
16368 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16369 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
16370 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16371 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
16372 * math/e_exp2l.c: Likewise.
16373 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16374 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16375 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16376 * math/s_catan.c (__catan): Likewise.
16377 * math/s_catanf.c (__catanf): Likewise.
16378 * math/s_catanh.c (__catanh): Likewise.
16379 * math/s_catanhf.c (__catanhf): Likewise.
16380 * math/s_catanhl.c (__catanhl): Likewise.
16381 * math/s_catanl.c (__catanl): Likewise.
16382 * math/s_ccosh.c (__ccosh): Likewise.
16383 * math/s_ccoshf.c (__ccoshf): Likewise.
16384 * math/s_ccoshl.c (__ccoshl): Likewise.
16385 * math/s_cexp.c (__cexp): Likewise.
16386 * math/s_cexpf.c (__cexpf): Likewise.
16387 * math/s_cexpl.c (__cexpl): Likewise.
16388 * math/s_clog10.c (__clog10): Likewise.
16389 * math/s_clog10f.c (__clog10f): Likewise.
16390 * math/s_clog10l.c (__clog10l): Likewise.
16391 * math/s_clog.c (__clog): Likewise.
16392 * math/s_clogf.c (__clogf): Likewise.
16393 * math/s_clogl.c (__clogl): Likewise.
16394 * math/s_csin.c (__csin): Likewise.
16395 * math/s_csinf.c (__csinf): Likewise.
16396 * math/s_csinh.c (__csinh): Likewise.
16397 * math/s_csinhf.c (__csinhf): Likewise.
16398 * math/s_csinhl.c (__csinhl): Likewise.
16399 * math/s_csinl.c (__csinl): Likewise.
16400 * math/s_csqrt.c (__csqrt): Likewise.
16401 * math/s_csqrtf.c (__csqrtf): Likewise.
16402 * math/s_csqrtl.c (__csqrtl): Likewise.
16403 * math/s_ctan.c (__ctan): Likewise.
16404 * math/s_ctanf.c (__ctanf): Likewise.
16405 * math/s_ctanh.c (__ctanh): Likewise.
16406 * math/s_ctanhf.c (__ctanhf): Likewise.
16407 * math/s_ctanhl.c (__ctanhl): Likewise.
16408 * math/s_ctanl.c (__ctanl): Likewise.
16409 * math/w_pow.c: Likewise.
16410 * math/w_powf.c: Likewise.
16411 * math/w_powl.c: Likewise.
16412 * math/w_scalb.c (sysv_scalb): Likewise.
16413 * math/w_scalbf.c (sysv_scalbf): Likewise.
16414 * math/w_scalbl.c (sysv_scalbl): Likewise.
16415 * misc/error.c (error_tail): Likewise.
16416 * misc/pselect.c (__pselect): Likewise.
16417 * nis/nis_callback.c (__nis_create_callback): Likewise.
16418 * nis/nis_call.c (__nisfind_server): Likewise.
16419 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16420 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16421 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16422 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16423 * nis/nis_lookup.c (nis_lookup): Likewise.
16424 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
16425 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16426 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 16427 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
16428 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16429 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16430 * nis/nss_compat/compat-initgroups.c (add_group)
16431 (internal_getgrent_r): Likewise.
16432 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16433 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16434 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16435 (internal_getspnam_r): Likewise.
16436 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16437 (_nss_nis_getaliasbyname_r): Likewise.
16438 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16439 (_nss_nis_getntohost_r): Likewise.
16440 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16441 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16442 (_nss_nis_getgrgid_r): Likewise.
16443 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16444 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16445 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16446 (_nss_nis_gethostbyname4_r): Likewise.
16447 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16448 (initgroups_netid): Likewise.
a1ffb40e 16449 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
16450 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16451 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16452 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16453 (_nss_nis_getprotobynumber_r): Likewise.
16454 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16455 (_nss_nis_getsecretkey): Likewise.
16456 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16457 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16458 (_nss_nis_getpwuid_r): Likewise.
16459 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16460 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16461 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16462 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16463 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16464 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
16465 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16466 Likewise.
57f41c40
AS
16467 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16468 (_nss_nisplus_getntohost_r): Likewise.
16469 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16470 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16471 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16472 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 16473 Likewise.
57f41c40
AS
16474 * nis/nss_nisplus/nisplus-initgroups.c
16475 (_nss_nisplus_initgroups_dyn): Likewise.
16476 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16477 (_nss_nisplus_getnetbyaddr_r): Likewise.
16478 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16479 (_nss_nisplus_getprotobynumber_r): Likewise.
16480 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16481 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
16482 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16483 Likewise.
57f41c40
AS
16484 * nis/nss_nisplus/nisplus-service.c
16485 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16486 (_nss_nisplus_getservbyport_r): Likewise.
16487 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16488 (_nss_nisplus_getspnam_r): Likewise.
16489 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16490 Likewise.
a1ffb40e
OB
16491 * nscd/aicache.c (addhstaiX): Likewise.
16492 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
16493 * nscd/connections.c (register_traced_file, send_ro_fd)
16494 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16495 (main_loop_epoll): Likewise.
a1ffb40e
OB
16496 * nscd/grpcache.c (addgrbyX): Likewise.
16497 * nscd/hstcache.c (addhstbyX): Likewise.
16498 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16499 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
16500 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16501 (addinnetgrX): Likewise.
16502 * nscd/nscd-client.h (__nscd_acquire_maplock)
16503 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
16504 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16505 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16506 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16507 Likewise.
16508 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16509 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
16510 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16511 (__nscd_get_map_ref): Likewise.
a1ffb40e 16512 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
16513 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16514 Likewise.
a1ffb40e
OB
16515 * nscd/pwdcache.c (addpwbyX): Likewise.
16516 * nscd/selinux.c (preserve_capabilities): Likewise.
16517 * nscd/servicescache.c (addservbyX): Likewise.
16518 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16519 * posix/fnmatch.c (fnmatch): Likewise.
16520 * posix/getopt.c (_getopt_internal_r): Likewise.
16521 * posix/glob.c (glob, glob_in_dir): Likewise.
16522 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
16523 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16524 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
16525 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16526 * resolv/res_init.c: Likewise.
16527 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16528 * resolv/res_query.c (__libc_res_nquery): Likewise.
16529 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16530 Likewise.
16531 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16532 * stdio-common/perror.c (perror): Likewise.
16533 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16534 * stdio-common/tmpnam.c (tmpnam): Likewise.
16535 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16536 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
16537 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16538 Likewise.
a1ffb40e
OB
16539 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16540 * stdlib/putenv.c (putenv): Likewise.
16541 * stdlib/setenv.c (__add_to_environ): Likewise.
16542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16543 * stdlib/strtol_l.c (INTERNAL): Likewise.
16544 * string/memmem.c (memmem): Likewise.
16545 * string/strerror.c (strerror): Likewise.
16546 * string/strnlen.c (__strnlen): Likewise.
16547 * string/test-memmem.c (simple_memmem): Likewise.
16548 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16549 * sunrpc/pm_getport.c (__get_socket): Likewise.
16550 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16551 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
16552 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16553 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
16554 Likewise.
16555 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16556 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16557 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16558 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16559 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
16560 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16561 Likewise.
16562 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16563 Likewise.
a1ffb40e
OB
16564 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16565 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16566 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16567 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16568 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16570 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16571 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16572 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16573 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16574 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16575 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16576 Likewise.
16577 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16578 Likewise.
16579 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16580 Likewise.
16581 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16584 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16585 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16586 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16587 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16590 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16591 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16593 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16594 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
16596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16597 Likewise.
a1ffb40e
OB
16598 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16599 Likewise.
16600 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16601 Likewise.
16602 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16603 Likewise.
16604 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16606 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16607 Likewise.
16608 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16609 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16610 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16611 * sysdeps/posix/sleep.c: Likewise.
16612 * sysdeps/posix/tempname.c: Likewise.
16613 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16614 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16615 Likewise.
57f41c40
AS
16616 * sysdeps/powerpc/powerpc32/dl-machine.h
16617 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
16618 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16620 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16621 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16622 Likewise.
16623 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16624 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16625 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16626 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16627 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16628 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16629 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16630 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16631 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16632 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16633 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16634 (elf_machine_lazy_rel): Likewise.
a1ffb40e 16635 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16636 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16637 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16638 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16639 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16640 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16641 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16642 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16643 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16644 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16646 Likewise.
16647 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16648 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16649 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16650 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16651 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16652 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16653 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16654 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16655 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16656 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16657 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16658 Likewise.
16659 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16660 (__posix_fallocate64_l64): Likewise.
16661 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16662 (posix_fallocate): Likewise.
57f41c40
AS
16663 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16664 Likewise.
a1ffb40e 16665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
16666 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16667 (getifaddrs_internal): Likewise.
a1ffb40e
OB
16668 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16669 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16670 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16671 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16672 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16673 (__posix_fallocate64_l64): Likewise.
16674 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16675 Likewise.
16676 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
16677 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16678 (__get_clockfreq): Likewise.
a1ffb40e
OB
16679 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16680 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16681 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16684 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16685 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16686 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16687 Likewise.
16688 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16689 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16690 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16691 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16692 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16693 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16694 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16695 Likewise.
16696 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16697 (posix_fallocate): Likewise.
16698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16699 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16700 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16701 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16702 (elf_machine_rela, elf_machine_rela_relative)
16703 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16704 * time/asctime.c (asctime_internal): Likewise.
16705 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16706 * time/tzset.c (__tzset_parse_tz): Likewise.
16707 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16708 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16709 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16710 * wcsmbs/wcsmbsload.h: Likewise.
16711
f3d338c9
OB
16712 [BZ #15894]
16713 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16714
57f41c40
AS
16715 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16716 (arena_get2): Remove THREAD_STATS conditionals.
16717 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16718 (__malloc_stats, int): Likewise.
bdfe308a 16719
d674667c
MF
167202014-02-08 Mike Frysinger <vapier@gentoo.org>
16721
16722 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16723 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16724
6349768c
MF
16725 * manual/setjmp.texi: Fix typos/grammar errors.
16726
0b7c7473
MF
16727 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16728 Only return early when n is <= 0. Delete unused return statement.
16729
ac8cc9e3
MF
16730 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16731 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16732 * debug/tst-longjmp_chk3.c: New file.
16733
c5bb8e23
MF
16734 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16735 (test_main): Replace code with set_fortify_handler call.
16736 * debug/test-strcpy_chk.c: Likewise.
16737 * debug/tst-chk1.c: Likewise.
16738 * debug/tst-longjmp_chk.c: Likewise.
16739 * test-skeleton.c: Include fcntl.h & paths.h
16740 (set_fortify_handler): Define.
16741
10444e42
MF
16742 * debug/tst-longjmp_chk.c: Add header comment and include
16743 ../test-skeleton.c.
16744 (do_test): Mark static.
16745 (TEST_FUNCTION): Define.
16746
1e805e8d
MF
16747 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16748 (IP_PMTUDISC_INTERFACE): Likewise.
16749 (IP_MULTICAST_IF): Likewise.
16750 (IP_MULTICAST_TTL): Likewise.
16751 (IP_MULTICAST_LOOP): Likewise.
16752 (IP_ADD_MEMBERSHIP): Likewise.
16753 (IP_DROP_MEMBERSHIP): Likewise.
16754 (IP_UNBLOCK_SOURCE): Likewise.
16755 (IP_BLOCK_SOURCE): Likewise.
16756 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16757 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16758 (IP_MSFILTER): Likewise.
16759 (MCAST_JOIN_GROUP): Likewise.
16760 (MCAST_BLOCK_SOURCE): Likewise.
16761 (MCAST_UNBLOCK_SOURCE): Likewise.
16762 (MCAST_LEAVE_GROUP): Likewise.
16763 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16764 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16765 (MCAST_MSFILTER): Likewise.
16766 (IP_MULTICAST_ALL): Likewise.
16767 (IP_UNICAST_IF): Likewise.
16768
73f79bb7
MF
16769 * timezone/Makefile: Delete $(have-ksh) check.
16770 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16771 * timezone/tzselect.ksh: Add +x mode bits.
16772
8da79b60
MF
16773 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16774 (ANON_INODE_FS_MAGIC): Likewise.
16775 (BDEVFS_MAGIC): Likewise.
16776 (BINFMTFS_MAGIC): Likewise.
16777 (BTRFS_TEST_MAGIC): Likewise.
16778 (CRAMFS_MAGIC_WEND): Likewise.
16779 (DEBUGFS_MAGIC): Likewise.
16780 (ECRYPTFS_SUPER_MAGIC): Likewise.
16781 (EXT3_SUPER_MAGIC): Likewise.
16782 (EXT4_SUPER_MAGIC): Likewise.
16783 (FUTEXFS_SUPER_MAGIC): Likewise.
16784 (HOSTFS_SUPER_MAGIC): Likewise.
16785 (HUGETLBFS_MAGIC): Likewise.
16786 (MINIX3_SUPER_MAGIC): Likewise.
16787 (MTD_INODE_FS_MAGIC): Likewise.
16788 (NILFS_SUPER_MAGIC): Likewise.
16789 (OPENPROM_SUPER_MAGIC): Likewise.
16790 (PIPEFS_MAGIC): Likewise.
16791 (PSTOREFS_MAGIC): Likewise.
16792 (QNX6_SUPER_MAGIC): Likewise.
16793 (RAMFS_MAGIC): Likewise.
16794 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16795 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16796 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16797 (SECURITYFS_MAGIC): Likewise.
16798 (SELINUX_MAGIC): Likewise.
16799 (SMACK_MAGIC): Likewise.
16800 (SOCKFS_MAGIC): Likewise.
16801 (SQUASHFS_MAGIC): Likewise.
16802 (STACK_END_MAGIC): Likewise.
16803 (TMPFS_MAGIC): Likewise.
16804 (USBDEVICE_SUPER_MAGIC): Likewise.
16805 (V9FS_MAGIC): Likewise.
16806 (XENFS_SUPER_MAGIC): Likewise.
16807 (CRAMFS_MAGIC): Fix typo in comment.
16808 (EXT2_SUPER_MAGIC): Update comment.
16809 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16810
464263cc
JM
168112014-02-08 Joseph Myers <joseph@codesourcery.com>
16812
c6bfe5c4
JM
16813 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16814 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16815 * sysdeps/unix/sysv/linux/arm: Move directory from
16816 ports/sysdeps/unix/sysv/linux/arm.
16817 * README: Update listing for arm-*-linux-gnueabi.
16818
464263cc
JM
16819 * README: Remove mention of am33.
16820
32749f6c
RM
168212014-02-07 Roland McGrath <roland@hack.frob.com>
16822
16823 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16824 than the comma operator, to avoid "rhs of comma has no effect"
16825 compiler warnings.
16826 (__sigfillset, __sigandset, __sigorset): Likewise.
16827 * include/signal.h (__sigemptyset): Likewise.
16828 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16829
d5b396c1
AM
168302014-02-07 Allan McRae <allan@archlinux.org>
16831
16832 * version.h (RELEASE): Set to "development".
16833 (VERSION): Set to "2.19.90"
16834 * NEWS: Add 2.20 section.
16835
3bfff2ed
CD
168362014-02-06 Carlos O'Donell <carlos@redhat.com>
16837
16838 [BZ #16529]
16839 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16840
ee7cc385
SP
168412014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16842
16843 * manual/contrib.texi: Update entry for Carlos O'Donell,
16844 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16845
f877c4f2
CD
168462014-02-05 Carlos O'Donell <carlos@rehdat.com>
16847
27e839f6
CD
16848 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16849
f877c4f2
CD
16850 * sysdeps/unix/sysv/linux/kernel-features.h
16851 [__LINUX_KERNEL_VERSION >= 0x020621]
16852 (__ASSUME_PROC_PID_TASK_COMM): Define.
16853
68159946
SP
168542014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16855
ba17cdbd
SP
16856 [BZ #16398]
16857 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16858 conversion when destination buffer does not have enough space.
16859 * libio/tst-ftell-partial-wide.c: New test case.
16860 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16861
68159946
SP
16862 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16863 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16864 Leonard and Allan McRae.
16865
2b528732
DM
168662014-02-04 David S. Miller <davem@davemloft.net>
16867
16868 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16869 32-bit.
16870
0ff82463
AZ
168712014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16872
57f41c40
AS
16873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16874 New file
c01603f7
AZ
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16876 New file
57f41c40
AS
16877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16878 New file.
16879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16880 New file.
c01603f7
AZ
16881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16882 New file.
57f41c40
AS
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16884 New file.
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16886 New file.
c01603f7
AZ
16887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16888 New file.
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16890 New file.
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16892 New file.
16893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16894 New file.
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16896 New file.
16897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16898 New file.
16899
169002014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16901
0ff82463
AZ
16902 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16903 * shlib-versions: Likewise.
16904
1695c773
AZ
169052014-02-04 Roland McGrath <roland@hack.frob.com>
16906 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16907
16908 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16909 (abilist-pattern): New variable, set to %-le.abilist.
16910
16911 * Makerules (abilist-pattern): New variable.
16912 (vpath): Use $(abilist-pattern) in place of %.abilist.
16913 (check-abi-% pattern rule): Likewise.
16914 (check-abi, update-abi): Likewise.
16915
6c0ce4b4
EW
169162014-02-04 Eric Wong <normalperson@yhbt.net>
16917
16918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16919
481e3524
CD
169202014-02-03 Carlos O'Donell <carlos@redhat.com>
16921
16922 * manual/startup.texi: Add next, previous, and top entries for
16923 the `Program Arguments' and `Environment Variables' nodes.
16924
375592d3
AO
169252014-02-03 Alexandre Oliva <aoliva@redhat.com>
16926
16927 * manual/macros.texi: Add comments before MTASC-safety macros.
16928
f54838ba
AO
16929 * manual/users.texi: Document MTASC-safety properties.
16930
57f41c40
AS
16931 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16932 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
16933 @deftypefun, and add @safety note.
16934 * manual/signal.texi: Move comments that analyze the above
16935 functions to their home place.
16936
fd3daba4
AM
169372014-02-03 Allan McRae <allan@archlinux.org>
16938
16939 * po/sl.po: Update Slovenian translation from translation project.
16940
597636d7
AO
169412014-02-02 Alexandre Oliva <aoliva@redhat.com>
16942
16943 * manual/time.texi (timegm): Add missing blank after @c.
16944 Reported by Joseph Myers <joseph@codesourcery.com>.
16945
ee196e3c
AO
169462014-02-01 Alexandre Oliva <aoliva@redhat.com>
16947
16948 * manual/check-safety.sh: New.
16949 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16950
f8d529d5
AO
16951 * manual/terminal.texi: Document MTASC-safety properties.
16952
de55fdf4
AO
16953 * manual/filesys.texi: Document MTASC-safety properties.
16954
c3299c08
AO
16955 * manual/errno.texi: Document MTASC-safety properties.
16956
06e90b14
AO
16957 * manual/intro.texi: Document safety identifiers and
16958 conditionals.
16959
1acd4371
AO
16960 * manual/string.texi (wcstok): Fix prototype.
16961 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16962
23e5b8cb
AO
16963 * manual/time.texi: Document MTASC-safety properties.
16964
11087373
AO
16965 * manual/string.texi: Document MTASC-safety properties.
16966
5da2c93d
AO
16967 * manual/threads.texi: Document MTASC-safety properties.
16968
171e9210
AO
16969 * manual/stdio.texi: Document MTASC-safety properties.
16970
d9e02532
AO
16971 * manual/syslog.texi: Document MTASC-safety properties.
16972
6af8bab7
AO
16973 * manual/sysinfo.texi: Document MTASC-safety properties.
16974
663b02d7
AO
16975 * manual/startup.texi: Document MTASC-safety properties.
16976
973f180b
AO
16977 * manual/socket.texi: Document MTASC-safety properties.
16978
8f3c25c8
AO
16979 * manual/signal.texi: Document MTASC-safety properties.
16980
542210fb
AO
169812014-01-31 Alexandre Oliva <aoliva@redhat.com>
16982
16983 * manual/setjmp.texi: Document MTASC-safety properties.
16984
433c45a2
AO
16985 * manual/search.texi: Document MTASC-safety properties.
16986
c8ce789c
AO
16987 * manual/resource.texi: Document MTASC-safety properties.
16988
19f5d29c
AO
16989 * manual/process.texi: Document MTASC-safety properties.
16990
e2dfb7f4
AO
16991 * manual/platform.texi: Document MTASC-safety properties.
16992
8c1413f5
AO
16993 * manual/pipe.texi: Document MTASC-safety properties.
16994
03483ada
AO
16995 * manual/pattern.texi: Document MTASC-safety properties.
16996
29e7e2df
AO
16997 * manual/message.texi: Document MTASC-safety properties.
16998
9f529d7c
AO
16999 [BZ #12751]
17000 * manual/memory.texi: Document MTASC-safety properties.
17001
27aaa791
AO
17002 * manual/math.texi: Document MTASC-safety properties.
17003
f2d58726
AO
17004 * manual/locale.texi: Document MTASC-safety properties.
17005
2cc3615c
AO
17006 * manual/llio.texi: Document MTASC-safety properties.
17007
d9f0ec97
AO
17008 * manual/libdl.texi: New.
17009
e7c4409a
AO
17010 * manual/lang.texi: Document MTASC-safety properties.
17011
27bdc63c
AO
17012 * manual/job.texi: Document MTASC-safety properties.
17013
a7b90ea9
AO
17014 * manual/getopt.texi: Document MTASC-safety properties.
17015
c49130e3
AO
17016 * manual/ctype.texi: Document MTASC-safety properties.
17017
0d23a5c1
MR
170182014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17019
17020 [BZ #16046]
17021 * csu/libc-tls.c (static_map): Remove variable.
17022 (__libc_setup_tls): Use main executable's link map for TLS data.
17023 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17024 casing for LM_ID_BASE and GL(dl_nns).
17025 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17026 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17027 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17028 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17029 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17030 member.
17031 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17032 l_phnum members.
17033
0037bb60
AO
170342014-01-30 Alexandre Oliva <aoliva@redhat.com>
17035
17036 * manual/debug.texi: Document MTASC-safety properties.
17037
409e00bd
L
170382014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17039
17040 [BZ #16510]
17041 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17042 of __x86_64__ when disabling x87 inline functions.
17043
86e60666
AO
170442014-01-29 Alexandre Oliva <aoliva@redhat.com>
17045
17046 * manual/charset.texi: Document MTASC-safety properties.
17047
76167637
AO
17048 * manual/crypt.texi: Document MTASC-safety properties.
17049
e567f2a0
AO
17050 * manual/conf.texi: Document MTASC-safety properties.
17051
b719dafd
AO
17052 * manual/arith.texi: Document MTASC-safety properties.
17053
4a16c662
AO
17054 * manual/argp.texi: Document MTASC-safety properties.
17055
0a57b83e
AO
17056 * manual/macros.texi: Introduce macros to document multi
17057 thread, asynchronous signal and asynchronous cancellation
17058 safety properties.
17059 * manual/intro.texi: Introduce the properties themselves.
17060
feab2397
KK
170612014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17062
17063 * sysdeps/sh/sh4/Makefile: New file.
17064
1c0d11bc
AS
170652014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17066
17067 * math/gen-libm-test.pl ($srcdir): New variable.
17068 ($auto_input): Use it.
17069
af37a8a3
SP
170702014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17071
d7b00f98
SP
17072 [BZ #16506]
17073 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17074 access beyond array bounds when parsing netgroups file.
17075
af37a8a3
SP
17076 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17077 the old buffer before realloc.
17078
0c00f062
AM
170792014-01-27 Allan McRae <allan@archlinux.org>
17080
17081 * po/fr.po: Update French translation from translation project.
17082
7d69a1b0
KK
170832014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17084
17085 * sysdeps/sh/libm-test-ulps: Regenerate.
17086
6e697ff7
DM
170872014-01-24 David S. Miller <davem@davemloft.net>
17088
17089 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17090
9cadb35c
KK
170912014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17092
17093 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17094 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17095
5d41dadf
SP
170962013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17097
17098 [BZ #16474]
17099 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17100 string pointers after reallocation.
17101
0bad441c
KK
171022014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17103
17104 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17105 __SH4A__ instead of __SH_FPU_ANY__.
17106
7007c661
KK
171072014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17108
17109 * sysdeps/sh/fpu_control.h: New file.
17110 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17111 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17112 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17113 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17114 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17115 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17116 * sysdeps/sh/sys/ucontext.h: Remove.
17117 * sysdeps/sh/sys: Remove directory.
17118
0f0c35e4
AK
171192014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17120
17121 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17122 s390/sys/ucontext.h.
17123 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17124 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17125
4959e284
L
171262014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17127
17128 [BZ #15605]
17129 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17130
d98720e0
AZ
171312014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17132
17133 [BZ#16431]
17134 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17135 Adjust the vDSO correctly for internal calls.
17136 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17137
91cbd0bc
AM
171382014-01-20 Allan McRae <allan@archlinux.org>
17139
17140 * po/ca.po: Update Catalan translation from translation project.
17141
7a02cfad
MF
171422014-01-16 Mike Frysinger <vapier@gentoo.org>
17143
17144 * sysdeps/s390/sotruss-lib.c: New file.
17145
736c304a
AZ
171462014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17147
17148 [BZ#16430]
6e077ee5 17149 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17150 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17151 local calls issues by not having a PLT stub required for IFUNC calls.
17152 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17153
94d0cea0
JM
171542014-01-16 Joseph Myers <joseph@codesourcery.com>
17155
17156 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17157 * math/test-fpucw-static.c: Likewise.
17158
980cb518
SP
171592013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17160
17161 [BZ #16453]
17162 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17163
2393fc01
AZ
171642014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17165
17166 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17167 implementation for powerpc.
17168
d359bcc2
OB
171692014-01-15 Ondřej Bílka <neleai@seznam.cz>
17170
17171 [BZ #14782]
17172 * sysdeps/posix/system.c (__libc_system): Do not enable
17173 asynchronous cancellation.
17174
7beb48cb
AK
171752014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17176
17177 [BZ #16427]
17178 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17179 handling only for numbers special also in the IEEE case.
17180
c20d5bf5
AK
171812014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17182
17183 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17184
e83bd4ee
AM
171852014-01-11 Allan McRae <allan@archlinux.org>
17186
76d0ea69
AM
17187 * po/bg.po: Update Bulgarian translation from translation project.
17188
e83bd4ee
AM
17189 * po/de.po: Update German translation from translation project.
17190
bc2ba20a
RM
171912014-01-10 Roland McGrath <roland@hack.frob.com>
17192
17193 * sysdeps/generic/gcc-compat.h: New file.
17194
649ecea2
SP
171952014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17196
17197 * benchtests/asin-inputs: Correct slow inputs.
17198 * benchtests/acos-inputs: Likewise.
17199
1b19c006
AM
172002014-01-10 Allan McRae <allan@archlinux.org>
17201
a46dab08
AM
17202 * po:sv.po: Update Swedish translation from translation project.
17203
421df74a
AM
17204 * po/vi.po: Update Vietnamese translation from translation project.
17205
d61c51a7
AM
17206 * po/eo.po: Update Esperanto translation from translation project.
17207
0339a319
AM
17208 * po/cs.po: Update Czech translation from translation project.
17209
94ad3e99
AM
17210 * po/nl.po: Update Dutch translation from translation project.
17211
e349ca71
AM
17212 * po/pl.po: Update Polish translation from translation project.
17213
ddf930c1
AM
17214 * po/ru.po: Update Russian translation from translation project.
17215
1b19c006
AM
17216 * po/uk.po: Update Ukrainian translation from translation project.
17217
9f236c49
BM
172182014-01-08 Brooks Moses <bmoses@google.com>
17219
17220 * elf/dl-load.c: Fix comment typo.
17221
cd6701cf
CD
172222014-01-08 Carlos O'Donell <carlos@redhat.com>
17223
17224 * po/header.pot: Rename to...
17225 * po/pot.header: ... this.
17226 * po/Makefile: Use pot.header.
17227
66671c84
YK
172282014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17229 Maxim Kuvyrkov <maxim@kugelworks.com>
17230
17231 [BZ #16394]
cd6701cf
CD
17232 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17233 SRC and DEST against LEN.
66671c84 17234
38f34581
AZ
172352014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17236
17237 [BZ #16414]
17238 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17239 implementation.
17240 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17241
172422014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17243
17244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17245
4c327f2a
JM
172462014-01-08 Joseph Myers <joseph@codesourcery.com>
17247
17248 [BZ #16408]
17249 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17250 for large positive arguments.
17251
b821f414
JM
172522014-01-07 Joseph Myers <joseph@codesourcery.com>
17253
1f0f2067
JM
17254 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17255
a5a326f6
JM
17256 * math/auto-libm-test-in: Mark various tests with
17257 xfail-rounding:ldbl-128ibm.
17258 * math/auto-libm-test-out: Regenerated.
17259
b821f414
JM
17260 [BZ #16407]
17261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17262 Increase overflow threshold.
17263
94c8a4bc
OB
172642014-01-07 Ondřej Bílka <neleai@seznam.cz>
17265
17266 [BZ #14286]
17267 * stdio-common/vfprintf.c: Check for integer overflow.
17268
87ded0c3
AK
172692014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17270
17271 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17272 the first argument and return value of __tls_get_addr_internal.
17273
c5eebdd0
AK
172742014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17275
17276 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17277 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17278
05d138ef
AK
172792014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17280
17281 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17282 * sysdeps/s390/rtld-global-offsets.sym: New file.
17283 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17284 GLIBC_2.19 symbol.
17285 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17286 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17287 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17288 ... this.
17289 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17290 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17291 ... this.
17292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17293 Regenerate.
17294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17295 Regenerate.
17296 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17297 halfs of GPRs for high_gprs contexts.
17298 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17299 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17300 field.
17301 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17302 uc_flags field.
17303 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17304 64 bit versions:
17305 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17306 for high GPRs (uc_high_gprs) and for future extensions
17307 (__reserved).
17308 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17309 for future extensions (__reserved).
17310 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17311 64 bit versions:
17312 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17313 SC_HIGHGPRS offset definition.
17314 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17315 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17316
93a45ff1
AK
17317 * Versions.def: Add GLIBC_2.19 for libpthread.
17318 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17319 siglongjmp for libpthread with GLIBC_2.19 symver.
17320 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17321 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17322 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17323 * sysdeps/s390/__longjmp.c: New file.
17324 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17325 * sysdeps/s390/longjmp.c: New file.
17326 * sysdeps/s390/setjmp.S: New file.
17327 * sysdeps/s390/sigjmp.S: New file.
17328 * sysdeps/s390/v1-longjmp.c: New file.
17329 * sysdeps/s390/v1-setjmp.h: New file.
17330 * sysdeps/s390/v1-sigjmp.c: New file.
17331 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17332 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17333 GLIBC_2.19 version.
17334 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17335 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17336 versioned symbols for ____longjmp_chk.
17337 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17338 Likewise.
17339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17340 Regenerate.
17341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17342 Regenerate.
17343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17344 Regenerate.
17345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17346 Regenerate.
17347 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17348 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17349 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17350 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17351 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17352 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17353 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17354 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17355 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17356 * sysdeps/s390/rtld-__longjmp.c: New file.
17357 * sysdeps/s390/rtld-setjmp.S: New file.
17358
eb3fc44b
JM
173592014-01-06 Joseph Myers <joseph@codesourcery.com>
17360
17361 [BZ #16400]
17362 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17363 Return -__logl (x) for small positive arguments without evaluating
17364 a polynomial.
17365
9341dde4
MF
173662014-01-06 Mike Frysinger <vapier@gentoo.org>
17367
17368 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17369 Rename to ...
17370 (__ptrace_peeksiginfo_args): ... this.
17371 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17372 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17373 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17374
4cff0293
AM
173752014-01-06 Allan McRae <allan@archlinux.org>
17376
17377 * inet/netinet/in.h: Fix typo in comment.
17378
75595dcf
AJ
173792014-01-05 Andreas Jaeger <aj@suse.de>
17380
17381 * sysdeps/i386/fpu/libm-test-ulps: Update.
17382
79c1e109
AM
173832014-01-05 Allan McRae <allan@archlinux.org>
17384
dd804818
AM
17385 * po/libc.pot: Regenerated.
17386
79c1e109
AM
17387 * malloc/memusagestat.c: Fix gettext call formatting.
17388
0c813d1f
SK
173892014-01-04 Sami Kerola <kerolasa@iki.fi>
17390
17391 * nscd/nscd.c: Improve usage() output.
17392
20f4a8d9
MF
173932014-01-04 Mike Frysinger <vapier@gentoo.org>
17394
17395 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17396 * sysdeps/unix/sysv/linux/configure: Regenerated.
17397 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17398 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17399
22562bb2
JM
174002014-01-03 Joseph Myers <joseph@codesourcery.com>
17401
17402 [BZ #16390]
17403 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17404 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17405
d7ad2d9b
AZ
174062014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17407
17408 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17409 extra tokens at end of #undef directive.
17410 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17411 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17412 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17413
7dd009d8
JM
174142014-01-03 Joseph Myers <joseph@codesourcery.com>
17415
24db925a
JM
17416 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17417
7dd009d8
JM
17418 * math/auto-libm-test-in: Mark various tests with
17419 xfail-rounding:ldbl-128ibm.
17420 * math/auto-libm-test-out: Regenerated.
17421
396e3ecf
JM
174222014-01-02 Joseph Myers <joseph@codesourcery.com>
17423
819e5d50
JM
17424 [BZ #16386]
17425 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17426 numbers with subnormal high part when calculating exponent.
17427
90b6a1e5
JM
17428 [BZ #16385]
17429 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17430 fabs.
17431
396e3ecf
JM
17432 [BZ #16384]
17433 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17434 M_LN2l.
17435 (__ieee754_acoshl): Use __log1pl not __log1p.
17436
6c8dbf00
OB
174372013-01-02 Ondřej Bílka <neleai@seznam.cz>
17438
57f41c40
AS
17439 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17440 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17441 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17442 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17443 (reused_arena, arena_get2): Convert to GNU style.
17444 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17445 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17446 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 17447 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
17448 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17449 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17450 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17451 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17452 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17453 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 17454 * malloc/malloc.h: Likewise.
57f41c40
AS
17455 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17456 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 17457 * malloc/mcheck.h: Likewise.
57f41c40
AS
17458 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17459 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
17460 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17461 * malloc/morecore.c (__default_morecore): Likewise.
17462 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
17463 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17464 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17465 (print_and_abort): Likewise.
6c8dbf00
OB
17466 * malloc/obstack.h: Likewise.
17467 * malloc/set-freeres.c (__libc_freeres): Likewise.
17468 * malloc/tst-mallocstate.c (main): Likewise.
17469 * malloc/tst-mtrace.c (main): Likewise.
17470 * malloc/tst-realloc.c (do_test): Likewise.
17471
d4124212
SP
174722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17473
9a3c6a6f
SP
17474 [BZ #16366]
17475 * nscd/netgroupcache.c (do_notfound): New function.
17476 (addgetnetgrentX): Use it.
17477
d4124212
SP
17478 [BZ # 16365]
17479 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17480 NSS_STATUS_NOTFOUND.
17481
97b9a009
JM
174822014-01-01 Joseph Myers <joseph@codesourcery.com>
17483
17484 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17486
d4697bc9
AM
174872014-01-01 Allan McRae <allan@archlinux.org>
17488
ddb3687f
AM
17489 * scripts/update-copyrights: Update configure input file suffix.
17490
88726d48
AM
17491 * NEWS: Update copyright year.
17492 * catgets/gencat.c: Likewise.
17493 * csu/version.c: Likewise.
17494 * debug/catchsegv.sh: Likewise.
17495 * debug/pcprofiledump.c: Likewise.
17496 * debug/xtrace.sh: Likewise.
17497 * elf/ldconfig.c: Likewise.
17498 * elf/ldd.bash.in: Likewise.
17499 * elf/pldd.c: Likewise.
17500 * elf/sotruss.ksh: Likewise.
17501 * elf/sprof.c: Likewise.
17502 * iconv/iconv_prog.c: Likewise.
17503 * iconv/iconvconfig.c: Likewise.
17504 * locale/programs/locale.c: Likewise.
17505 * locale/programs/localedef.c: Likewise.
17506 * login/programs/pt_chown.c: Likewise.
17507 * malloc/memusage.sh: Likewise.
17508 * malloc/memusagestat.c: Likewise.
17509 * malloc/mtrace.pl: Likewise.
17510 * manual/libc.texinfo: Likewise.
17511 * nscd/nscd.c: Likewise.
17512 * nss/getent.c: Likewise.
17513 * nss/makedb.c: Likewise.
17514 * posix/getconf.c: Likewise.
17515 * scripts/test-installation.pl: Likewise.
17516
d4697bc9
AM
17517 * All files with FSF copyright notices: Update copyright dates
17518 using scripts/update-copyrights.
17519 * intl/plural.c: Regenerated.
17520 * locale/programs/charmap-kw.h: Likewise.
17521 * locale/programs/locfile-kw.h: Likewise.
17522
c8590f9d
MF
175232013-12-31 Mike Frysinger <vapier@gentoo.org>
17524
17525 * sysdeps/unix/sysv/linux/configure: Regenerated.
17526 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17527 the linux/fanotify.h header.
17528 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17529 HAVE_LINUX_FANOTIFY_H is defined.
17530
b19221b9
SP
175312013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17532
dd1d85e5
SP
17533 * benchtests/cos-inputs: New inputs.
17534 * benchtests/sin-inputs: Likewise.
17535
1acbb90f
SP
17536 * benchtests/atan-inputs: New inputs. Fix name of multiple
17537 precision fallback inputs.
17538
4c012ed3
SP
17539 * benchtests/atanh-inputs: New inputs.
17540 * benchtests/tanh-inputs: Likewise.
17541
eff98324
SP
17542 * benchtests/acosh-inputs: New inputs.
17543 * benchtests/asinh-inputs: Likewise.
17544
ce641152
SP
17545 * benchtests/cosh-inputs: New inputs.
17546 * benchtests/sinh-inputs: Likewise.
17547
b19221b9
SP
17548 * benchtests/acos-inputs: Add more inputs.
17549 * benchtests/asin-inputs: Likewise.
17550
030a4976 175512013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 17552
030a4976 17553 [BZ #16375]
9dcc8f11
VS
17554 * manual/arith.texi: Fix spelling.
17555 * manual/charset.texi: Likewise.
17556 * manual/errno.texi: Likewise.
17557 * manual/filesys.texi: Likewise.
17558 * manual/lang.texi: Likewise.
17559 * manual/llio.texi: Likewise.
17560 * manual/locale.texi: Likewise.
17561 * manual/message.texi: Likewise.
17562 * manual/resource.texi: Likewise.
17563 * manual/search.texi: Likewise.
17564 * manual/setjmp.texi: Likewise.
17565 * manual/stdio.texi: Likewise.
17566 * manual/string.texi: Likewise.
17567 * manual/sysinfo.texi: Likewise.
17568 * manual/time.texi: Likewise.
17569
11520a57
CD
175702013-12-27 Carlos O'Donell <carlos@redhat.com>
17571
17572 * po/sl.po: New file.
17573
471103ae
MF
175742013-12-27 Mike Frysinger <vapier@gentoo.org>
17575
17576 * .gitignore: Add core/.gdbinit/.gdb_history.
17577
6c9642ed
AM
175782013-12-27 Allan McRae <allan@archlinux.org>
17579
17580 [BZ #16369]
17581 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17582 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17583
3f637079
BM
175842013-12-24 Brooks Moses <bmoses@google.com>
17585
17586 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17587 all compilers that claim C++98 compliance, not just GCC.
17588 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17589 Likewise.
17590
abc26e99
MK
175912013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17592
17593 * NEWS: Restore accidentally deleted bug-fix entries.
17594
362b47fe
MK
175952013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17596 Ondřej Bílka <neleai@seznam.cz>
17597
17598 [BZ #15073]
17599 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 17600 have_lock.
362b47fe 17601
b9bcbbcb
OB
176022013-12-23 Ondřej Bílka <neleai@seznam.cz>
17603
17604 [BZ #12986]
17605 * manual/stdio.texi (String Input Conversions): Clarify that character
17606 classes are not supported.
17607
fb55fcd2
AZ
176082013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17609
17610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17611
ef7344f0
JM
176122013-12-22 Joseph Myers <joseph@codesourcery.com>
17613
4f40e4b3
JM
17614 [BZ #16337]
17615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17616 Calculate results for small negative arguments directly rather
17617 than using reflection formula with special underflow handling.
17618
ef7344f0
JM
17619 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17620 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17621 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17622 (fchflags): Likewise.
17623 (revoke): Likewise.
17624 (setlogin): Likewise.
17625 (sigaltstack): Likewise.
17626 (wait4): Likewise.
17627 (sigblock): Remove.
17628 (sigsetmask): Likewise.
17629 (wait3): Likewise.
17630 (waitpid): Likewise.
17631 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17632 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17633 file.
17634 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17635 * sysdeps/unix/bsd/Makefile: ... here.
17636 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17637 * sysdeps/unix/bsd/Versions: ... here.
17638 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17639 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17640 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17641 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17642 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17643 * sysdeps/unix/bsd/sigblock.c: ... here.
17644 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17645 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17646 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17647 * sysdeps/unix/bsd/sigvec.c: ... here.
17648 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17649 * sysdeps/unix/bsd/tcdrain.c: ... here.
17650 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17651 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17652 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17653 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17654 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17655 * sysdeps/unix/bsd/wait.c: ... here.
17656 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17657 * sysdeps/unix/bsd/wait3.c: ... here.
17658 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17659 * sysdeps/unix/bsd/waitpid.c: ... here.
17660
5b0626b9
JM
176612013-12-21 Joseph Myers <joseph@codesourcery.com>
17662
17663 [BZ #16356]
17664 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17665 round-to-nearest for [!USE_AS_EXPM1L].
17666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17667 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17668 more tests of exp and exp10. Expect some exp10 tests to miss
17669 exceptions or fail in directed rounding modes.
17670 * math/auto-libm-test-out: Regenerated.
17671 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17672 (exp10_test_tonearest): New function.
17673 (exp10_towardzero_test_data): New array.
17674 (exp10_test_towardzero): New function.
17675 (exp10_downward_test_data): New array.
17676 (exp10_test_downward): New function.
17677 (exp10_upward_test_data): New array.
17678 (exp10_test_upward): New function.
17679 (main): Call the new functions.
17680 * sysdeps/i386/fpu/libm-test-ulps: Update.
17681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17682
7fda5682
JM
176832013-12-20 Joseph Myers <joseph@codesourcery.com>
17684
31e3a405
JM
17685 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17686 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17687 * math/auto-libm-test-out: Regenerated.
17688 * math/libm-test.inc (acosh_test_data): Add more tests.
17689 (atanh_test_data): Likewise.
17690 (ceil_test_data): Likewise.
17691 (copysign_test_data): Likewise.
17692 * sysdeps/i386/fpu/libm-test-ulps: Update.
17693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17694
85bff96a
JM
17695 * timezone/checktab.awk: Update from tzcode 2013i.
17696 * timezone/private.h: Likewise.
17697 * timezone/scheck.c: Likewise.
17698 * timezone/tzfile.h: Likewise.
17699 * timezone/tzselect.ksh: Likewise.
17700 * timezone/zdump.c: Likewise.
17701 * timezone/zic.c: Likewise.
17702
b7867a3b
JM
17703 * math/auto-libm-test-in: Add tests of cpow.
17704 * math/auto-libm-test-out: Regenerated.
17705 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 17706 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
17707 mpc_cc_c.
17708 (func_calc_desc): Add mpc_cc_c union field.
17709 (test_functions): Add cpow.
17710 (special_fill_2pi): New function.
17711 (special_real_inputs): Add 2pi.
17712 (calc_generic_results): Handle mpc_cc_c.
17713 * sysdeps/i386/fpu/libm-test-ulps: Update.
17714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17715
7fda5682
JM
17716 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17717 csqrt, ctan and ctanh.
17718 * math/auto-libm-test-out: Regenerated.
17719 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17720 (TEST_COND_x86): Likewise.
17721 (ccos_test_data): Use AUTO_TESTS_c_c.
17722 (ccosh_test_data): Likewise.
17723 (cexp_test_data): Likewise.
17724 (clog_test_data): Likewise.
17725 (csqrt_test_data): Likewise.
17726 (ctan_test_data): Likewise.
17727 (ctan_tonearest_test_data): Likewise.
17728 (ctan_towardzero_test_data): Likewise.
17729 (ctan_downward_test_data): Likewise.
17730 (ctan_upward_test_data): Likewise.
17731 (ctanh_test_data): Likewise.
17732 (ctanh_tonearest_test_data): Likewise.
17733 (ctanh_towardzero_test_data): Likewise.
17734 (ctanh_downward_test_data): Likewise.
17735 (ctanh_upward_test_data): Likewise.
17736 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17737 mpc_c_c.
17738 (func_calc_desc): Add mpc_c_c union field.
17739 (FUNC_mpc_c_c): New macro.
17740 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17741 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17742 ctanh.
17743 (special_fill_min_subnorm_p120): New function.
17744 (special_real_inputs): Add min_subnorm_p120.
17745 (calc_generic_results): Handle mpc_c_c.
17746 * sysdeps/i386/fpu/libm-test-ulps: Update.
17747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748
5ff8d60e
SP
177492013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17750
57f41c40
AS
17751 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17752 (do_sin_slow): New functions.
17753 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17754 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 17755
84ba214c
SP
17756 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17757 Use M to change sign of result instead of X. Assume X is
17758 positive.
17759 (csloww1): Likewise.
17760 (__sin): Adjust.
17761 (__cos): Adjust.
17762
975195e4
SP
17763 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17764 arguments A and DA.
17765 (__sin): Adjust.
17766 (__cos): Likewise.
17767
5ff8d60e
SP
17768 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17769 (__cos): Likewise.
17770 (sloww1): Don't adjust sign of DX.
17771 (csloww1): Likewise.
17772 (sloww2): Use X directly and don't adjust sign of DX.
17773 (csloww2): Likewise.
17774
eb983568
JM
177752013-12-19 Joseph Myers <joseph@codesourcery.com>
17776
64a17f1a
JM
17777 * math/auto-libm-test-in: Add tests of cabs and carg.
17778 * math/auto-libm-test-out: Regenerated.
17779 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17780 (carg_test_data): Likewise.
17781 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17782 mpc_c_f.
17783 (func_calc_desc): Add mpc_c_f union field.
17784 (test_functions): Add cabs and carg.
17785 (calc_generic_results): Handle mpc_c_f.
17786
eb983568
JM
17787 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17788 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17789 as a macro and a compat symbol.
17790 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17791 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17792 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17793 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17794 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17795 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17796 not use .hidden.
17797 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17798 Likewise.
17799 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17800 Likewise.
17801 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17802 Likewise.
17803 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17804 Likewise.
17805 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17806 Likewise.
17807 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17808 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17809 from GLIBC_2.3.2.
17810
6eeb678a
AZ
178112013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17812
17813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17814
6f6fc482
JM
178152013-12-19 Joseph Myers <joseph@codesourcery.com>
17816
21fea2e2
JM
17817 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17818 trailing whitespace removed.
17819 * scripts/config.guess: Update to version 2013-11-29.
17820 * scripts/config.sub: Update to version 2013-10-01.
17821
6f6fc482
JM
17822 * math/auto-libm-test-in: Add tests of sincos.
17823 * math/auto-libm-test-out: Regenerated.
17824 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17825 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17826 mpfr_f_11.
17827 (func_calc_desc): Add mpfr_f_11 union field.
17828 (test_functions): Add sincos.
17829 (calc_generic_results): Handle mpfr_f_11.
17830 * sysdeps/i386/fpu/libm-test-ulps: Update.
17831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17832
83f5c32d
AS
178332013-12-19 Andreas Schwab <schwab@suse.de>
17834
17835 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17836 CALL_MCOUNT.
17837 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17838 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17839 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17840
c688b419
JM
178412013-12-19 Joseph Myers <joseph@codesourcery.com>
17842
335ee092
JM
17843 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17844 * sysdeps/i386/fpu/libm-test-ulps: Update.
17845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17846
f88acd39
JM
17847 [BZ #16293]
17848 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17849 round-to-nearest mode when using frndint.
17850 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17851 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17852 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17853 Likewise.
17854 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17855 sinh test to fail.
17856 * math/auto-libm-test-out: Regenerated.
17857 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17858 (TEST_COND_x86): Likewise.
17859 (expm1_tonearest_test_data): New array.
17860 (expm1_test_tonearest): New function.
17861 (expm1_towardzero_test_data): New array.
17862 (expm1_test_towardzero): New function.
17863 (expm1_downward_test_data): New array.
17864 (expm1_test_downward): New function.
17865 (expm1_upward_test_data): New array.
17866 (expm1_test_upward): New function.
17867 (main): Run the new test functions.
17868 * sysdeps/i386/fpu/libm-test-ulps: Update.
17869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17870
c688b419
JM
17871 * include/features.h: Update comment documenting feature test
17872 macros. Mention _DEFAULT_SOURCE in comment.
17873 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17874 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17875 _BSD_SOURCE and _SVID_SOURCE.
17876 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17877 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17878 !_SVID_SOURCE]: Likewise.
17879 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17880 (__USE_POSIX_IMPLICITLY): Define.
17881 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17882 (_POSIX_SOURCE): Undefine and redefine.
17883 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17884 (_POSIX_C_SOURCE): Likewise.
17885 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17886 (Feature Test Macros): Update documentation of default features.
17887
9f6e964c
RS
178882013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17889
17890 * benchtests/Makefile: Add bench-strtok.
17891 * benchtests/bench-strtok.c: New file: strtok benchtest.
17892
ee0a148a
AM
178932013-12-19 Allan McRae <allan@archlinux.org>
17894
17895 * manual/install.texi: Suppress menu for plain text output.
17896 * INSTALL: Regenerated.
17897
b9ab448f
BM
178982013-12-18 Brooks Moses <bmoses@google.com>
17899
17900 [BZ #15846]
17901 * misc/getauxval.c: Include errno.h.
17902 (__getauxval): Set errno to ENOENT if the requested type is not
17903 found.
17904 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17905 don't declare with __attribute_const__.
17906 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17907 * manual/startup.texi: Document that getauxval sets errno.
17908
23776487
JM
179092013-12-18 Joseph Myers <joseph@codesourcery.com>
17910
f889953b
JM
17911 * math/auto-libm-test-in: Add tests of jn and yn.
17912 * math/auto-libm-test-out: Regenerated.
17913 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17914 (yn_test_data): Likewise.
17915 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17916 mpfr_if_f.
17917 (func_calc_desc): Add mpfr_if_f union field.
17918 (FUNC_mpfr_if_f): New macro.
17919 (test_functions): Add jn and yn.
17920 (calc_generic_results): Assert type of second input for
17921 mpfr_ff_f. Handle mpfr_if_f.
17922 (output_for_one_input_case): Disable all checking for arguments
17923 fitting floating-point types in case of an integer argument.
17924 * sysdeps/i386/fpu/libm-test-ulps: Update.
17925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17926
23776487
JM
17927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17928 Don't expect fegetround reference in libm.so.
17929
cb756c6d
MS
179302013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17931
17932 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17933 $(config-cflags-nofma).
17934
2dec468f
JM
179352013-12-18 Joseph Myers <joseph@codesourcery.com>
17936
5953eb3a
JM
17937 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17938 * math/auto-libm-test-out: Regenerated.
17939
2dec468f
JM
17940 [BZ #16338]
17941 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17942 to determine exponent and adjust argument to have exponent of -1.
17943 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17944 log2.
17945 * math/auto-libm-test-out: Regenerated.
17946 * sysdeps/i386/fpu/libm-test-ulps: Update.
17947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17948
4d84e6ad
OB
179492013-12-18 Ondřej Bílka <neleai@seznam.cz>
17950
17951 * manual/probes.texi: Remove cases when per-thread arenas are
17952 disabled.
17953
1818483b
AS
179542013-12-18 Andreas Schwab <schwab@suse.de>
17955
17956 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17957 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17958 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17959 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17960 * sysdeps/i386/i686/multiarch/Makefile: Update.
17961 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17962
25de95bf
JM
179632013-12-17 Joseph Myers <joseph@codesourcery.com>
17964
17965 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17966 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17967
674762d9
PE
179682013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17969
ed27ed83 17970 [BZ #15968]
0748546f
PE
17971 Support TZ transition times < 00:00:00.
17972 This is needed for version-3 tz-format files; it supports time
17973 stamps past 2037 for America/Godthab (the only entry in the tz
17974 database for which this change is relevant).
17975 * manual/time.texi (TZ Variable): Document transition times
17976 from -167:59:59 through -00:00:01.
17977 * time/tzset.c (tz_rule): Time of day is now signed.
17978 (__tzset_parse_tz): Parse negative time of day.
17979
4480e934
PE
17980 Document TZ transition times >= 25:00:00.
17981 * manual/time.texi (TZ Variable): Document transition times from
17982 25:00:00 through 167:59:59. These are already supported, and this
17983 support will help with version-3 tz-format files.
17984
69947401
PE
17985 * manual/time.texi (TZ Variable): Modernize North America example
17986 to reflect current (i.e., 2007-and-later) daylight saving rules.
17987
674762d9
PE
17988 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17989
7011c262
JM
179902013-12-17 Joseph Myers <joseph@codesourcery.com>
17991
2fc6557e
JM
17992 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17993 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17994 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17996 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17997 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17998 * sysdeps/unix/bsd/clock.c: Likewise.
17999 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18000 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18001 * sysdeps/unix/bsd/init-posix.c: Likewise.
18002 * sysdeps/unix/bsd/poll.c: Likewise.
18003 * sysdeps/unix/bsd/ptsname.c: Likewise.
18004 * sysdeps/unix/bsd/seekdir.c: Likewise.
18005 * sysdeps/unix/bsd/setegid.c: Likewise.
18006 * sysdeps/unix/bsd/seteuid.c: Likewise.
18007 * sysdeps/unix/bsd/setgid.c: Likewise.
18008 * sysdeps/unix/bsd/setrgid.c: Likewise.
18009 * sysdeps/unix/bsd/setruid.c: Likewise.
18010 * sysdeps/unix/bsd/setsid.c: Likewise.
18011 * sysdeps/unix/bsd/setuid.c: Likewise.
18012 * sysdeps/unix/bsd/sigaction.c: Likewise.
18013 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18014 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18015 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18016 * sysdeps/unix/bsd/telldir.c: Likewise.
18017 * sysdeps/unix/bsd/times.c: Likewise.
18018 * sysdeps/unix/bsd/usleep.c: Likewise.
18019
029c7b25
JM
18020 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18021 ($(objpfx)libbsd-compat.a): Remove rule.
18022
7011c262
JM
18023 * include/features.h (__FAVOR_BSD): Do not define.
18024 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18025 features conflicting with POSIX.
18026 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18027 (_BSD_SOURCE): Remove description of not being a subset of other
18028 feature test macros.
18029 * manual/job.texi (getpgrp): Do not document BSD version.
18030 (getpgid): Do not document by reference to BSD getpgrp.
18031 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18032 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18033 * signal/signal.h [__FAVOR_BSD]: Likewise.
18034 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18035 instead of making contents conditional on [__FAVOR_BSD].
18036 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18037
affb6f78
AZ
180382013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18039
18040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18041
c88769dd
JM
180422013-12-17 Joseph Myers <joseph@codesourcery.com>
18043
6432a540
JM
18044 [BZ #16314]
18045 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18046 values below 2**-450, not 2**-500.
18047 * math/auto-libm-test-in: Don't allow spurious underflow from
18048 hypot.
18049 * math/auto-libm-test-out: Regenerated.
18050
c88769dd
JM
18051 [BZ #16316]
18052 [BZ #16330]
18053 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18054 values of ha and hb and sort them after adjusting subnormal
18055 arguments.
18056 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18057 Likewise.
18058 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18059 values of ea and eb and sort them after adjusting subnormal
18060 arguments.
18061 * math/auto-libm-test-in: Do not expect some hypot tests of
18062 subnormals to fail. Add more hypot tests.
18063 * math/auto-libm-test-out: Regenerated.
18064
29618f6b
KK
180652013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18066
18067 [BZ #13304]
18068 * sysdeps/sh/s_fma.c: New file.
18069 * sysdeps/sh/s_fmaf.c: New file.
18070 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18071 version.
18072 * sysdeps/sh/Implies: Add sh/soft-fp.
18073
eacfdfbf
RM
180742013-12-16 Roland McGrath <roland@hack.frob.com>
18075
18076 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18077 level of indirection to members `objname', `errstring', `malloced'.
18078 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18079 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18080 it as the __longjmp argument (just pass 1 instead).
18081 (_dl_catch_error): Initialize C with argument pointers and address of
18082 volatile local ERRCODE rather than copying values out of C at return.
18083
ff362e5b
JM
180842013-12-16 Joseph Myers <joseph@codesourcery.com>
18085
18086 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18087 * math/auto-libm-test-out: Regenerated.
18088 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18089 (hypot_test_data): Likewise.
18090 (pow_test_data): Likewise.
18091 (pow_tonearest_test_data): Likewise.
18092 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18093 mpfr_ff_f.
18094 (func_calc_desc): Add mpfr_ff_f union field.
18095 (FUNC_mpfr_ff_f): New macro.
18096 (test_functions): Add atan2, hypot and pow.
18097 (special_fill_min): New function.
18098 (special_fill_minus_min): Likewise.
18099 (special_fill_min_subnorm): Likewise.
18100 (special_fill_minus_min_subnorm): Likewise.
18101 (special_real_inputs): Add min, -min, min_subnorm and
18102 -min_subnorm.
18103 (calc_generic_results): Handle mpfr_ff_f.
18104 * sysdeps/i386/fpu/libm-test-ulps: Update.
18105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18106
5764c27f
WN
181072013-12-16 Will Newton <will.newton@linaro.org>
18108
18109 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18110 (Aligned Memory Blocks): Add documentation for aligned_alloc
18111 and suggest it as an alternative to posix_memalign.
18112 (Hooks for Malloc): Document __memalign_hook is also called
18113 for aligned_alloc. (Summary of Malloc): Add summary for
18114 aligned alloc. Document __memalign_hook is also called
18115 for aligned_alloc.
18116
0a096e44
WN
181172013-12-16 Will Newton <will.newton@linaro.org>
18118
18119 * manual/memory.texi (Malloc Examples): Clarify default
18120 alignment documentation. Suggest posix_memalign rather
18121 than memalign or valloc.
18122 (Aligned Memory Blocks): Remove suggestion to use memalign
18123 or valloc. Remove obsolete comment about BSD.
18124 Document memalign errno values and mark the function obsolete.
18125 Document posix_memalign returned error codes. Mark valloc
18126 as obsolete. (Hooks for Malloc): __memalign_hook is also
18127 called for posix_memalign and valloc.
18128 (Summary of Malloc): Add posix_memalign to function summary.
18129 __memalign_hook is also called for posix_memalign and valloc.
18130
8d561986
SP
181312013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18132
18133 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18134 TAYLOR_SIN.
18135 (__sin): Adjust.
18136 (__cos): Likewise.
18137 (sloww): Use mynumber union. Expand ternary operator into
18138 if-else statements.
18139 (cslow): use mynumber union.
18140
73616a74
AM
181412013-12-16 Allan McRae <allan@archlinux.org>
18142
9e8ac24b
AM
18143 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18144 * configure: Regenerated.
18145
6f8e37eb
AM
18146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18147
8894bad3
AM
18148 [BZ #14120]
18149 * configure.ac: Added --enable-maintainer-mode. Check for
18150 autoconf when enabled.
18151 * configure: Regenerated.
18152
73616a74
AM
18153 * nscd/nscd.service: New file.
18154 * nscd/nscd.tmpfiles: New file.
18155
584b18eb
OB
181562013-12-14 Ondřej Bílka <neleai@seznam.cz>
18157
18158 [BZ #12100]
18159 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18160 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18161 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18162 (strstr): Add __strstr_sse2_unaligned ifunc.
18163 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18164 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18165 (strcasestr): Remove __strcasestr_sse42 ifunc.
18166 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18167 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18169
8a5c7897
KK
181702013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18171
18172 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18173 * sysdeps/sh/bits/fenv.h: ... here.
18174 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18175
fd712ef3
AZ
181762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18177
18178 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18179
42fcb46c
AZ
18180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18181 hypotf multiarch implementations.
18182 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18183 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18184 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18185 multiarch hypot for PPC64.
18186 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18187 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18188 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18189 multiarch hypotf for PPC64.
18190
83efded4
AZ
18191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18192 modff multiarch implementations.
18193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18196 multiarch modf for PPC64.
18197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18200 multiarch modff for PPC64.
18201
43e246d2
AZ
18202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18203 and logl multiarch implementations.
18204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18207 multiarch logb for PPC64.
18208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18211 multiarch logb for PPC64.
18212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18215 multiarch logb for PPC64.
18216
8fdad123
AZ
18217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18218 isinff multiarch implementation.
18219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18220 file.
18221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18223 multiarch isinf for PPC64.
18224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18225 file.
18226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18227 multiarch isinff for PPC64.
18228
1481d706
AZ
18229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18230 finitef multiarch implementation.
18231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18232 file.
18233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18235 multiarch finite for PPC64.
18236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18237 file.
18238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18239 multiarch finitef for PPC64.
18240
5ccd5fc8
AZ
18241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18242 lrint multiarch implementation.
18243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18244 file.
18245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18247 multiarch llrint for PPC64.
18248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18249 multiarch lrint for PPC64.
18250
2568f3fa
AZ
18251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18252 copysignf multiarch implementation.
18253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18254 file.
18255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18256 file.
18257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18258 multiarch copysign for PPC64.
18259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18260 multiarch copysignf for PPC64.
18261
1cb341fd
AZ
18262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18263 multiarch implementation.
18264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18265 file.
18266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18267 file.
18268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18269 file.
18270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18271 file.
18272 multiarch llround for PPC64.
18273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18274 multiarch trunc for PPC64.
18275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18276 multiarch truncf for PPC64.
18277
59a3e194
AZ
18278 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18279 multiarch implementation.
18280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18281 file.
18282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18283 file.
18284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18285 file.
18286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18287 file.
18288 multiarch llround for PPC64.
18289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18290 multiarch round for PPC64.
18291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18292 multiarch roundf for PPC64.
18293
357fd3b4
AZ
18294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18295 multiarch implementation.
18296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18297 file.
18298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18299 file.
18300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18301 file.
18302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18303 file.
18304 multiarch llround for PPC64.
18305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18306 multiarch floor for PPC64.
18307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18308 multiarch floorf for PPC64.
18309
96770f12
AZ
18310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18311 multiarch implementation.
18312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18313 file.
18314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18315 file.
18316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18317 file.
18318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18319 file.
18320 multiarch llround for PPC64.
18321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18322 multiarch ceil for PPC64.
18323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18324 multiarch ceilf for PPC64.
18325
c3627f6e
AZ
18326 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18327 multiarch implementation.
18328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18329 file.
18330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18331 file.
18332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18333 file.
18334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18335 multiarch llround for PPC64.
18336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18337 multiarch lround for PPC64.
18338
b2284ad7
AZ
18339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18340 multiarch implementation.
18341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18344 file.
18345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18348 multiarch isnan for PPC64.
18349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18350 multiarch isnanf for PPC64.
18351
69bbc63d
AZ
18352 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18353 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18354 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18355 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18356 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18358
c24517c9
AZ
18359 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18360 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18361 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18363
a52374e8
AZ
18364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18365 multiarch implementations.
18366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18367 (__libc_ifunc_impl_list): Likewise.
18368 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18369 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18370 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18371 multiarch stpcpy for PPC64.
18372
7f5ec113
AZ
18373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18374 multiarch implementations.
18375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18376 (__libc_ifunc_impl_list): Likewise.
18377 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18378 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18379 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18380 multiarch strcpy for PPC64.
18381
e28bcd42
AZ
18382 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18383 redefine function name.
18384 (_wordcopy_fwd_dest_aligned): Likewise.
18385 (_wordcopy_bwd_aligned): Likewise.
18386 (_wordcopy_bwd_dest_aligned): Likewise.
18387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18388 multiarch implementations.
18389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18390 (__libc_ifunc_impl_list): Likewise.
18391 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18392 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18393 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18394 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18395 multiarch wcscpy for PPC64.
18396
92cacfce
AZ
18397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18398 multiarch implementations.
18399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18400 (__libc_ifunc_impl_list): Likewise.
18401 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18402 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18403 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18404 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18405 multiarch wcscpy for PPC64.
18406
7b714620
AZ
18407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18408 multiarch implementations.
18409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18410 (__libc_ifunc_impl_list): Likewise.
18411 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18412 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18413 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18414 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18415 multiarch wcsrchr for PPC64.
18416
16fd2ae3
AZ
18417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18418 multiarch implementations.
18419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18420 (__libc_ifunc_impl_list): Likewise.
18421 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18422 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18423 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18424 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18425 multiarch wcschr for PPC64.
18426
9ee2969b
AZ
18427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18428 multiarch implementations.
18429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18430 (__libc_ifunc_impl_list): Likewise.
18431 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18432 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18433 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18434 multiarch strchrnul for PPC64.
18435
372dc060
AZ
18436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18437 implementations.
18438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18439 (__libc_ifunc_impl_list): Likewise.
18440 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18441 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18442 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18443 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18444 strchr for PPC64.
18445
24c2c3b9
AZ
18446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18447 implementations.
18448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18449 (__libc_ifunc_impl_list): Likewise.
18450 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18451 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18452 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18453 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18454 strncmp for PPC64.
18455
1c92d9a0
AZ
18456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18457 multiarch implementations.
18458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18459 (__libc_ifunc_impl_list): Likewise.
18460 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18461 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18462 strncasecmp for PPC64.
18463 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18464 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18465 multiarch strncasecmp_l for PPC64.
18466
17de3ee3
AZ
18467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18468 multiarch implementations.
18469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18470 (__libc_ifunc_impl_list): Likewise.
18471 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18472 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18473 multiarch strcasecmp for PPC64.
18474 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18475 file.
18476 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18477 multiarch strcasecmp_l for PPC64.
18478
62982bf9
AZ
18479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18480 implementations.
18481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18482 (__libc_ifunc_impl_list): Likewise.
18483 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18484 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18485 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18486 strnlen for PPC64.
18487
a65f4904
AZ
18488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18489 implementations.
18490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18491 (__libc_ifunc_impl_list): Likewise.
18492 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18493 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18494 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18495 strlen for PPC64.
18496
1fd005ad
AZ
18497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18498 implementations.
18499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18500 (__libc_ifunc_impl_list): Likewise.
18501 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18502 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18503 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18504 rawmemrchr for PPC64.
18505
cd05ba91
AZ
18506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18507 implementation.
18508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18509 (__libc_ifunc_impl_list): Likewise.
18510 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18511 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18512 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18513 memrchr for PPC64.
18514
870f8676
AZ
18515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18516 implementation.
18517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18518 (__libc_ifunc_impl_list): Likewise.
18519 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18520 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18521 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18522 memchr for PPC64.
18523
f00be62b
AZ
18524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18525 implementation.
18526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18527 (__libc_ifunc_impl_list): Likewise.
18528 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18529 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18530 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18531 mempcpy for PPC64.
18532
8a29a3d0
AZ
18533 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18534 avoid cretion of __bzero symbol.
18535 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18536 Likewise.
18537 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18538 Likewise.
18539 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18540 Likewise.
18541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18542 multiarch implementations.
18543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18544 (__libc_ifunc_impl_list): Likewise.
18545 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18546 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18547 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18548 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18549 bzero for PPC32.
18550 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18551 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18552 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18553 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18554 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18555 memset for PPC64.
18556 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18557
07253fcf
AZ
18558 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18560 implementations.
18561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18562 (__libc_ifunc_impl_list): Likewise.
18563 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18564 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18565 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18566 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18567 memcmp for PPC64.
18568
b5beafbc
AZ
18569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18570 multiarch for POWER/PPC64.
18571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18572 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18573 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18574 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18575 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18576 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18577 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18578 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18579 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18580 memcpy for PPC64.
18581
5e6a4d4b
AZ
18582 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18583 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18584 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18585 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18586 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18587 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18588 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18589 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18590 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18591 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18592 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18593 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18594 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18595 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18596 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18604
ddfab6dc
KK
186052013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18606
18607 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18608
19b5525e
SP
186092013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18610
18611 * benchtests/Makefile (bench): Add exp2 and log2.
18612 (LDLIBS-bench-exp2): Add -lm.
18613 (LDLIBS-bench-log2): Likewise.
18614 * benchtests/exp2-inputs: New inputs file.
18615 * benchtests/log2-inputs: New inputs file.
18616 * benchtests/log-inputs: Add new inputs.
18617 * benchtests/tan-inputs: Likewise.
18618
196f7f5d
SP
186192013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18620
7a74607f
SP
18621 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18622 definition...
57f41c40
AS
18623 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18624 (csloww2): ... from here.
7a74607f 18625
196f7f5d
SP
18626 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18627 instead of structures.
18628 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18629 (POLYNOMIAL): Likewise.
18630 (TAYLOR_SLOW): Likewise.
18631 (__sin): Likewise.
18632 (__cos): Likewise.
18633 (slow1): Likewise.
18634 (slow2): Likewise.
18635 (sloww): Likewise.
18636 (sloww1); Likewise.
18637 (sloww2): Likewise.
18638 (bsloww1): Likewise.
18639 (bsloww2): Likewise.
18640 (cslow2): Likewise.
18641 (csloww): Likewise.
18642 (csloww1): Likewise.
18643 (csloww2): Likewise.
18644
0dfa665c
OB
186452013-12-10 Ondřej Bílka <neleai@seznam.cz>
18646
18647 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
18648 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18649 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
18650 * malloc/hooks.c (realloc_check): Likewise.
18651
5782a80f
OB
18652 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18653 * malloc/arena.c: Remove PER_THREAD conditional.
18654 [!PER_THREAD]: Remove code.
18655 (ptmalloc_unlock_all2): Likewise.
18656 (ptmalloc_init): Likewise.
18657 (_int_new_arena): Likewise.
18658 (arena_get2): Likewise.
18659 * malloc/hooks.c (__malloc_get_state): Likewise.
18660 (__malloc_set_state): Likewise.
18661 * malloc/malloc.c: Likewise.
18662 (struct malloc_state): Likewise.
18663 (struct malloc_par): Likewise.
18664 (__libc_realloc): Likewise.
18665 (__libc_mallopt): Likewise.
18666
aeb95445
AZ
186672013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18668
18669 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18670
e8349efd
OB
186712013-12-09 Ondřej Bílka <neleai@seznam.cz>
18672
18673 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18674 macro to a function. Check for zero perturb_byte.
18675 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18676
f3eeb3fc 18677 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
18678 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18679 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
18680 force_reg by atomic_forced_read.
18681 * malloc/arena.c (ptmalloc_init): Likewise.
18682 * malloc/hooks.c (top_check): Likewise.
18683
be2f9009
AZ
186842013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18685
18686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18687
e7b914bd
MT
186882013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18689
18690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18691
9f0be4f8
JM
186922013-12-08 Joseph Myers <joseph@codesourcery.com>
18693
18694 * math/auto-libm-test-in: Add tests of lgamma.
18695 * math/auto-libm-test-out: Regenerated.
18696 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18697 (M_LOG_2_SQRT_PIl): Likewise.
18698 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18699 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18700 mpfr_f_f1.
18701 (func_calc_desc): Add mpfr_f_f1 union field.
18702 (ARGS1): New macro.
18703 (ARGS2): Likewise.
18704 (ARGS3): Likewise.
18705 (ARGS4): Likewise.
18706 (RET1): Likewise.
18707 (RET2): Likewise.
18708 (CALC): Likewise.
18709 (FUNC): Likewise.
18710 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18711 (test_functions): Add lgamma.
18712 (calc_generic_results): Handle mpfr_f_f1.
18713 * sysdeps/i386/fpu/libm-test-ulps: Update.
18714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18715
24eeafdb
AZ
187162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18717
18718 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18719 __mpn_add_n for PowerPC64/POWER7.
18720 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18721 __mpn_sub_n for PowerPC64/POWER7.
18722
4a2c0fd4
AZ
18723 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18724 __mpn_addmul_1 for PowerPC64.
18725 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18726 __mpn_submul_1 for PowerPC64.
18727 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18728 for PowerPC64.
18729 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18730 for PowerPC64.
18731
4b5b548c
FS
187322013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18733
18734 [BZ #15089]
18735 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18736
0a3ac0aa
AZ
187372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18738
18739 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18740
ccdc8438
AZ
18741 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18742 add multiarch folders.
18743 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18744 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18745 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18746 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18747 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18748 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18749 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18750 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18751 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18752 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18753 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18760
2e973d99
AZ
18761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18762 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18764 New file.
18765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18766 New file.
18767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18768 multiarch __ieee754_hypot for PowerPC32.
18769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18770 New file.
18771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18772 New file.
18773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18774 multiarch __ieee754_hypotf for PowerPC32.
18775
2d9470b2
AZ
18776 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18777 long_double_symbol only if __logbl is defined.
18778 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18779 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18780 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18781 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18782 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18783 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18784 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18785 path for implementation.
18786 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18787 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18789 logb, and logbl multiarch implementations for PowerPC32.
18790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18791 file.
18792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18793 file.
18794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18795 multiarch logb for PowerPC32.
18796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18797 file.
18798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18799 file.
18800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18801 multiarch logbf for PowerPC32.
18802 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18804 file.
18805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18806 multiarch logbl implementation for PowerPC32.
18807
5212ffce
AZ
18808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18809 and modff multiarch implementations.
18810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18811 New file.
18812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18813 New file.
18814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18815 multiarch modf for PowerPC32.
18816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18817 New file.
18818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18819 New file.
18820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18821 multiarch modff for PowerPC32.
18822
79dccf31
AZ
18823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18824 and lrintf multiarch implementations.
18825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18826 New file.
18827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18828 New file.
18829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18830 multiarch lrint for PowerPC32.
18831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18832 file: multiarch lrintf for PowerPC32.
18833
deb66480
AZ
18834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18835 and lroundf multiarch implementations.
18836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18837 New file.
18838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18839 New file.
18840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18841 New file.
18842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18843 multiarch lround for PowerPC32.
18844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18845 file: multiarch lroundf for PowerPC32.
18846
264b036b
AZ
18847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18848 copysign and copysignf multiarch implementations.
18849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18850 New file.
18851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18852 New file.
18853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18854 file: multiarch copysign for PowerPC32.
18855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18856 file: multiarch copysignf for PowerPC32.
18857
d47db6c9
AZ
18858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18859 and truncf multiarch implementations.
18860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18861 New file.
18862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18863 file.
18864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18865 multiarch trunc for PowerPC32.
18866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18867 New file.
18868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18869 New file.
18870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18871 multiarch truncf for PowerPC32.
18872
ddb60b5a
AZ
18873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18874 and roundf multiarch implementations.
18875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18876 New file.
18877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18878 file.
18879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18880 multiarch round for PowerPC32.
18881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18882 New file.
18883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18884 New file.
18885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18886 multiarch roundf for PowerPC32.
18887
bedcf49b
AZ
18888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18889 and floorf multiarch implementations.
18890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18891 New file.
18892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18893 file.
18894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18895 multiarch floor for PowerPC32.
18896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18897 New file.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18899 New file.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18901 multiarch floorf for PowerPC32.
18902
35ae5b40
AZ
18903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18904 and ceilf multiarch implementations.
18905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18906 New file.
18907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18908 file.
18909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18910 multiarch ceil for PowerPC32.
18911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18912 New file.
18913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18914 file.
18915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18916 multiarch ceilf for PowerPC32.
18917
ae1a4cd9
AZ
18918 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18919 is defined.
18920 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18921 FINITEF is defined.
18922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18923 and finitef multiarch implementations.
18924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18925 New file.
18926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18927 file.
18928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18929 multiarch finite for PowerPC32.
18930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18931 New file.
18932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18933 file: multiarch finitef for PowerPC32.
18934
64fffd65
AZ
18935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18936 and isinff multiarch implementations.
18937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18938 file.
18939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18940 file.
18941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18942 multiarch isinf for PowerPC32.
18943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18944 New file.
18945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18946 multiarch isinff for PowerPC32.
18947
8e4e7ba2
AZ
18948 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18949 alias when __isnan is defined.
18950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18951 and isnanf multiarch implementations.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18953 file.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18955 file.
18956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18957 file.
18958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18959 file.
18960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18961 multiarch isnan for PowerPC32.
18962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18963 New file.
18964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18965 New file.
18966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18967 multiarch isnanf for PowerPC32.
18968
ddba588e
AZ
18969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18970 and sqrtf multiarch implementations.
18971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18972 file.
18973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18974 file.
18975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18976 multiarch sqrt for PowerPC32.
18977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18978 file.
18979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18980 file.
18981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18982 multiarch sqrtf for PowerPC32.
18983
0f96a2f0
AZ
18984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18985 and llroundf multiarch implementations.
18986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18987 New file.
18988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18989 New file.
18990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18991 New file.
18992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18993 file: multiarch llround for PowerPC32.
18994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18995 file: multiarch llroundf for PowerPC32.
18996
c9b5d79e
AZ
18997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18998 multiarch PowerPC32 fpu implementations.
18999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19000 New file.
19001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19002 New file.
19003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19004 multiarch llrint for PowerPC32.
19005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19006 New file.
19007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19008 New file.
19009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19010 file.
19011
9cbb3aab
AZ
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19013
ea5a72f8
AZ
19014 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19015 file.
19016 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19017 file.
19018 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19019 file.
19020 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19021 multiarch wordcopy for PPC32.
19022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19023 wordcopy objects.
19024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19025 (__libc_ifunc_impl_list): Likewise.
19026 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19027 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19028 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19029 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19030 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19031 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19032
93be09e7
AZ
19033 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19035 file.
19036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19037 file.
19038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19039 file.
19040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19041 multiarch wcscpy for PPC32.
19042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19043 multiarch objects.
19044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19045 (__libc_ifunc_impl_list): Likewise.
19046 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19047 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19048 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19049 sysdeps/powerpc/power6/wcscpy.c.
19050
bb04e529
AZ
19051 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19053 file.
19054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19055 file.
19056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19057 file.
19058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19059 multiarch wcsrchr for PPC32.
19060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19061 multiarch objects.
19062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19063 (__libc_ifunc_impl_list): Likewise.
19064 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19065 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19066 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19067 sysdeps/powerpc/power6/wcsrchr.c.
19068
05b5cd1c
AZ
19069 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19070 file.
19071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19072 file.
19073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19075 multiarch wcschr for PPc32.
19076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19077 multiarch objects.
19078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19079 (__libc_ifunc_impl_list): Likewise.
19080 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19081 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19082 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19083 sysdeps/powerpc/power6/wcschr.c.
19084
ba964147
AZ
19085 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19086 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19087 file.
19088 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19089 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19090 file: multiarch strchr for PPC32.
19091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19092 multiarch objects.
19093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19094 (__libc_ifunc_impl_list): Likewise.
19095
31c81aaa
AZ
19096 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19097 name.
19098 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19099 file.
19100 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19101 file.
19102 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19103 multiarch strchrnul for PPC32.
19104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19105 multiarch objects.
19106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19107 (__libc_ifunc_impl_list): Likewise.
19108
0d0607d9
AZ
19109 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19110 file.
19111 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19112 multiarch strncasecmp for PPC32.
19113 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19114 file.
19115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19116 multiarch strncasecmp_l for PPC32.
19117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19118 strncasecmp multiarch objects.
19119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19120 (__libc_ifunc_impl_list): Likewise.
19121
4dfd5c86
AZ
19122 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19123 file.
19124 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19125 multiarch strncasecmp for PPC32.
19126 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19127 New file.
19128 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19129 multiarch strcasecmp_l for PPC32.
19130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19131 multiarch objects.
19132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19133 (__libc_ifunc_impl_list): Likewise.
19134
a19e01a3
AZ
19135 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19136 file.
19137 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19138 file.
19139 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19140 multiarch strncmp for PPC32.
19141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19142 multiarch objects.
19143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19144 (__libc_ifunc_impl_list): Likewise.
19145
ae9cf7a2
AZ
19146 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19147 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19148 file.
19149 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19150 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19152 multiarch objects.
19153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19154 (__libc_ifunc_impl_list): Likewise.
19155
3148bb7d
AZ
19156 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19157 file.
19158 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19159 file.
19160 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19162 multiarch objects.
19163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19164 (__libc_ifunc_impl_list): Likewise.
19165
7af8b946
AZ
19166 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19167 file.
19168 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19169 file.
19170 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19171 multiarch rawmemchr for PPC32.
19172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19173 multiarch objects.
19174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19175 (__libc_ifunc_impl_list): Likewise.
19176
03a6aa6a
AZ
19177 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19178 file.
19179 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19180 file.
19181 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19182 file: memrchr multiarch for PPC32.
19183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19184 multiarch objects.
19185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19186 (__libc_ifunc_impl_list): Likewise.
19187
1c62e6d9
AZ
19188 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19189 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19190 file.
19191 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19192 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19193 multiarch memchr for PPC32.
19194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19195 multiarch objects.
19196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19197 (__libc_ifunc_impl_list): Likewise.
19198
87da8bdb
AZ
19199 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19200 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19201 file.
19202 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19203 file.
19204 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19205 file: multiarch mempcpy for PPC32.
19206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19207 multiarch objects.
19208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19209 (__libc_ifunc_impl_list): Likewise.
19210
20ed4714
AZ
19211 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19212 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19213 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19214 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19215 multiarch bzero for PPC32.
19216 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19217 file.
19218 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19219 file.
19220 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19221 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19222 file: multiarch memset for PPC32.
19223 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19225 memset multiarch objects.
19226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19227 (__libc_ifunc_impl_list): Likewise.
19228
ab3e3a46
AZ
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19230 file.
19231 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19233 memcmp for PPC32.
19234 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19236 multiarch objects.
19237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19238 (__libc_ifunc_impl_list): Likewise.
19239
930de6f0
AZ
19240 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19241 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19242 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19243 file.
19244 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19245 file.
19246 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19247 file.
19248 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19249 multiarch memcpy for PPC32.
19250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19251 multiarch objects.
19252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19253 (__libc_ifunc_impl_list): Likewise.
19254
4c628e00
AZ
19255 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19256 support multiarch for POWER/PPC32.
19257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19258 Likewise.
19259 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19261 Implies file to make multiarch folder appers before the fpu and
19262 default folder for power4 configuration.
19263
f4479220
SP
192642013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19265
19266 * scripts/bench.pl: Append volatile keyword to type.
19267
8517800f
KK
192682013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19269
19270 * sysdeps/sh/sotruss-lib.c: New file.
19271 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19272
180138f1
AZ
192732013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19274
19275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19276
bbf37bdc
JM
192772013-12-05 Joseph Myers <joseph@codesourcery.com>
19278
e47cc4e0
JM
19279 [BZ #6810]
19280 * math/w_tgamma.c: Include <errno.h>.
19281 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19282 * math/w_tgammaf.c: Include <errno.h>.
19283 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19284 * math/w_tgammal.c: Include <errno.h>.
19285 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19286 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19287 underflow. Add more tgamma tests.
19288 * math/auto-libm-test-out: Regenerated.
19289 * sysdeps/i386/fpu/libm-test-ulps: Update.
19290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19291
bbf37bdc
JM
19292 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19293 sin, sinh, tan, tanh, tgamma, y0 and y1.
19294 * math/auto-libm-test-out: Regenerated.
19295 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19296 (TEST_COND_x86): Likewise.
19297 (M_E2l): Remove macro.
19298 (M_E3l): Likewise.
19299 (M_2_SQRT_PIl): Likewise.
19300 (M_SQRT_PIl): Likewise.
19301 (M_1_DIV_El): Likewise.
19302 (log_test_data): Use AUTO_TESTS_f_f.
19303 (log10_test_data): Likewise.
19304 (log1p_test_data): Likewise.
19305 (log2_test_data): Likewise.
19306 (sin_test_data): Likewise.
19307 (sin_tonearest_test_data): Likewise.
19308 (sin_towardzero_test_data): Likewise.
19309 (sin_downward_test_data): Likewise.
19310 (sin_upward_test_data): Likewise.
19311 (sinh_test_data): Likewise.
19312 (sinh_tonearest_test_data): Likewise.
19313 (sinh_towardzero_test_data): Likewise.
19314 (sinh_downward_test_data): Likewise.
19315 (sinh_upward_test_data): Likewise.
19316 (tan_test_data): Likewise.
19317 (tan_tonearest_test_data): Likewise.
19318 (tan_towardzero_test_data): Likewise.
19319 (tan_downward_test_data): Likewise.
19320 (tan_upward_test_data): Likewise.
19321 (tanh_test_data): Likewise.
19322 (tgamma_test_data): Likewise.
19323 (y0_test_data): Likewise.
19324 (y1_test_data): Likewise.
19325 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19326 (special_real_inputs): Add pi/4.
19327 * sysdeps/i386/fpu/libm-test-ulps: Update.
19328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19329
eb5ad6b9
AZ
193302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19331
19332 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19333 "longjmp_target" static probes.
19334 (__longjmp): Rename to __longjmp_symbol.
19335 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19336 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19337 on which longjmp to generate.
19338 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19339 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19340 probe.
19341 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19342 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19343 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19344 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19345 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19346 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19348 __longjmp_symbol based on which __longjmp to generate.
19349 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19350 probe.
19351 (setjmp): Rename to setjmp_symbol.
19352 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19353 (_setjmp): Rename to _setjmp_symbol.
19354 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19355 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19356 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19357 which setjmp to generate.
19358 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19359 "longjmp_target" static probes.
19360
d136c6dc
SP
193612013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19362
9298ecba
SP
19363 * benchtests/README: Add note about output arguments.
19364 * benchtests/bench-sincos.c: Remove file.
19365 * benchtests/sincos-inputs: New file.
19366 * scripts/bench.pl: Identify output arguments and define
19367 static variables for them.
19368
232983e9
SP
19369 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19370
d136c6dc
SP
19371 [BZ #15941]
19372 * Makefile (INSTALL): Add install-plain.texi as the primary
19373 dependency.
19374 * manual/install-plain.texi: New file.
19375 * manual/install.texi: Include node directive only for
19376 non-plaintext output.
19377
699ff837
JM
193782013-12-04 Joseph Myers <joseph@codesourcery.com>
19379
ab07cea8
JM
19380 * stdlib/longlong.h: Update from GCC.
19381
699ff837
JM
19382 [BZ #6807]
19383 [BZ #15901]
19384 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19385 * math/w_j0f.c (y0f): Likewise.
19386 * math/w_j0l.c (__y0l): Likewise.
19387 * math/w_j1.c (y1): Likewise.
19388 * math/w_j1f.c (y1f): Likewise.
19389 * math/w_j1l.c (__y1l): Likewise
19390 * math/w_jn.c (yn): Likewise.
19391 * math/w_jnf.c (ynf): Likewise.
19392 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19393 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19394 value for Bessel function domain errors outside _SVID_ mode.
19395 Adjust sign of return value for yn (negative integer, 0).
19396 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19397 by zero in return for negative x and set sign appropriately for
19398 negative n.
19399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19400 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19401 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19402 expectations in error cases.
19403 (y1_test_data): Likewise.
19404 (yn_test_data): Likewise.
19405 * sysdeps/i386/fpu/libm-test-ulps: Update.
19406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19407
5b118558
UW
194082013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19409
19410 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19411 "64" to "64-v1". Add "64-v2".
19412 (abi-64-options): Rename to ...
19413 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19414 (abi-64-condition): Rename to ...
19415 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19416 (abi-64-ld-soname): Rename to ...
19417 (abi-64-v1-ld-soname): ... this.
19418 (abi-64-v2-options): Define.
19419 (abi-64-v2-condition): Likewise.
19420 (abi-64-v2-ld-soname): Likewise.
19421 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19422 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19426
61cd8fe4
UW
194272013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19428 Alan Modra <amodra@gmail.com>
19429
19430 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19431 New versions for use with the ELFv2 ABI.
19432 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19433 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19434 declaration.
19435 (struct La_ppc64v2_retval): Likewise.
19436 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19437 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19438 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19439 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19440 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19441 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19442 Do not save or restore CR.
19443 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19444 (_dl_profile_resolve): Do no save or restore CR. Support extended
19445 return values for ELFv2 ABI. Fix location of FPR return registers.
19446 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19447 updated values for _CALL_ELF == 2.
19448 (La_regs, La_retval, int_retval): Likewise.
19449
8b8a692c
UW
194502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19451
19452 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19453 (FRAME_MIN_SIZE_PARM): Likewise.
19454 (FRAME_BACKCHAIN): Likewise.
19455 (FRAME_CR_SAVE): Likewise.
19456 (FRAME_LR_SAVE): Likewise.
19457 (FRAME_TOC_SAVE): Likewise.
19458 (FRAME_PARM_SAVE): Likewise.
19459 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19460 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19461 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19462 (call_mcount_parm_offset): New macro.
19463 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19464 (PROF): Use symbolic stack frame offsets.
19465 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19466 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19467 Redefine in terms of FRAME_MIN_SIZE.
19468 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19469 (_dl_profile_resolve): Likewise. Update comment.
19470 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19471 symbols stack frame offsets.
19472 (__sigsetjmp): Likewise.
19473 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19474 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19475 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19476 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19477
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19479 (FRAME_BACKCHAIN): Remove.
19480 (FRAME_CR_SAVE): Likewise.
19481 (FRAME_LR_SAVE): Likewise.
19482 (FRAME_COMPILER_DW): Likewise.
19483 (FRAME_LINKER_DW): Likewise.
19484 (FRAME_TOC_SAVE): Likewise.
19485 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
19486 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19487 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19488 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
19489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19490 (CHECK_SP): Use symbolic stack frame offsets.
19491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19492 zone" instead of caller's parameter save area for temp storage.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19494 Likewise. Also, use symbolic stack frame offsets.
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19496 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19497 our own stack frame instead of the caller's.
19498 (__socket): Use symbolic stack frame offsets.
19499
122b66de
UW
195002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19501 Alan Modra <amodra@gmail.com>
19502
19503 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19504 Define.
57f41c40
AS
19505 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19506 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
19507 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19508 New function.
19509 (elf_machine_fixup_plt): Call it.
19510 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19511 reloc arguments.
19512 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
19513 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19514 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
19515 r2 before calling target.
19516
696caf1d
UW
195172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19518 Alan Modra <amodra@gmail.com>
19519
19520 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19521 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19522 versions of macros to support ELFv2 ABI.
19523 (LOCALENTRY): New macro.
19524 (ENTRY, EALIGN): Use it.
19525 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19526 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19527 fall through into ENTRY entry point.
19528 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19529 Only define if _CALL_ELF != 2.
19530
19531 (elf_machine_matches_host): Verify ABI version matches.
19532 (RTLD_START): Use LOCALENTRY.
19533 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19534 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19535 (PLT_ENTRY_WORDS): New macro.
19536 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19537 (elf_machine_runtime_setup): Support ELFv2 ABI.
19538 (elf_machine_fixup_plt): Likewise.
19539 (elf_machine_plt_conflict): Likewise.
19540 (resolve_ifunc): Likewise.
19541 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19542 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19543 Likewise.
19544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19545 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19547 (makecontext): Support ELFv2 ABI.
19548 * elf/elf.h (EF_PPC64_ABI): Define.
19549
d31beafa
UW
195502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19551
57f41c40
AS
19552 * sysdeps/powerpc/powerpc64/sysdep.h
19553 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19554 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19555 (ENTRY) [ASSEMBLER]: ... but instead here ...
19556 (EALIGN) [ASSEMBLER]: ... and here.
19557 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19558 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19559 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
19560 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19561 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
19562 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19563 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
19564 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19566 Use PPC64_LOAD_FUNCPTR.
19567
b525166b
UW
19568 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19569
7ec07d9a
AM
195702013-12-04 Alan Modra <amodra@gmail.com>
19571
19572 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19573 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19574 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19575 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19576
19577 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19578 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19579 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19580 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19581 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19582 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19583
5162e7dd
UW
195842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19585
19586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19587 (__makecontext): Fix incorrect CFI when backtracing out of
19588 context created via makecontext.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19590 (__setcontext): Fix incorrect CFI during switch to new context.
19591 (__novec_setcontext): Likewise.
19592
19e3372b
OB
195932013-12-04 Ondřej Bílka <neleai@seznam.cz>
19594
19595 [BZ #4772]
19596 * time/strptime_l.c (__strptime_internal): Allow modifiers
19597 in strptime.
19598 * time/tst-strptime.c (day_tests): Add testcase.
19599
ecaf142d
SP
196002013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19601
19602 * scripts/bench.pl: Skip over blank lines.
19603
fbf964ae
PE
196042013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19605
19606 [BZ #926]
19607 * manual/time.texi (Calendar Time): Clarify what timezone functions
19608 use.
19609
fa60a674
AZ
196102013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19611
19612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19613
d674f0ef
OB
196142013-12-04 Ondřej Bílka <neleai@seznam.cz>
19615
19616 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19617 implementation.
19618 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19619 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19620 * debug/memset_chk.c (__memset_chk): Likewise.
19621 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19622 * debug/strncpy_chk.c: Likewise.
19623
17dea188
JM
196242013-12-03 Joseph Myers <joseph@codesourcery.com>
19625
749008ff
JM
19626 [BZ #15268]
19627 [BZ #15425]
19628 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19629 (__ieee754_exp): For possibly underflowing results, check size of
19630 result and force underflow exception if required.
19631 * math/auto-libm-test-in: Add more tests of exp.
19632 * math/auto-libm-test-out: Regenerated.
19633 * sysdeps/i386/fpu/libm-test-ulps: Update.
19634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19635
17dea188
JM
19636 [BZ #16283]
19637 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19638 * math/w_exp2f.c (__exp2f): Likewise.
19639 * math/w_exp2l.c (__exp2l): Likewise.
19640 * math/auto-libm-test-in: Do not allow missing errno on exp2
19641 underflow.
19642 * math/auto-libm-test-out: Regenerated.
19643
b20de2c3
OB
196442013-12-03 Ondřej Bílka <neleai@seznam.cz>
19645
19646 [BZ #16274]
19647 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19648 handle filename validation.
19649 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19650 (do_open): Delete.
19651
d8e2dbe3
JM
196522013-12-03 Joseph Myers <joseph@codesourcery.com>
19653
34e16df5
JM
19654 [BZ #6786]
19655 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19656 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19657 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19658 <float.h>.
19659 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19660 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19661 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19662 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19663 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19665 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19666 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19667 Add more erfc tests.
19668 * math/auto-libm-test-out: Regenerated.
19669 * sysdeps/i386/fpu/libm-test-ulps: Update.
19670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19671
d8e2dbe3
JM
19672 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19673 exp2, expm1, j0 and j1.
19674 * math/auto-libm-test-out: Regenerated.
19675 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19676 (erfc_test_data): Likewise.
19677 (exp_test_data): Likewise.
19678 (exp_tonearest_test_data): Likewise.
19679 (exp_towardzero_test_data): Likewise.
19680 (exp_downward_test_data): Likewise.
19681 (exp_upward_test_data): Likewise.
19682 (exp10_test_data): Likewise.
19683 (exp2_test_data): Likewise.
19684 (expm1_test_data): Likewise.
19685 (j0_test_data): Likewise.
19686 (j1_test_data): Likewise.
19687 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19688 (input_flag_type): Add flag_xfail_rounding.
19689 (input_flags): Add xfail-rounding.
19690 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19691 (output_for_one_input_case): Handle flag_xfail_rounding.
19692 * sysdeps/i386/fpu/libm-test-ulps: Update.
19693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19694
18d14251
AJ
196952013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19696
3d2e6075 19697 [BZ #16289]
18d14251
AJ
19698 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19699 division by 0.
19700
520d437b
SP
197012013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19702
19703 [BZ #16195]
19704 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19705 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19706 (STAP_PROBE0): New macro.
19707 (STAP_PROBE1): Likewise.
19708 (STAP_PROBE2): Likewise.
19709 (STAP_PROBE3): Likewise.
19710 (STAP_PROBE4): Likewise.
19711
416e0145
OB
197122013-12-02 Ondřej Bílka <neleai@seznam.cz>
19713
19714 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19715
9d17796a
SE
197162013-12-02 Steve Ellcey <sellcey@mips.com>
19717
19718 * benchtests/Makefile (bench): Add sqrt.
19719 (LDLIBS-bench-sqrt): New.
19720 * benchtests/sqrt-input: New.
19721
f524d6a8
PS
197222013-12-02 Pavel Simerda <psimerda@redhat.com>
19723
639a0ef8
PS
19724 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19725 (GAIH_EAI): Likewise.
19726 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19727 (gaih_inet): Likewise.
19728 (getaddrinfo): Don't use GAIH_EAI.
19729
f524d6a8
PS
19730 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19731 (struct gaih): Remove definition.
19732
df3aedaf
SP
197332013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19734
19735 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19736 Use HERRNOP directly.
19737
1ab19dec
AZ
197382013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19739
b42ad38d 19740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 19741
176b0c79
JM
197422013-11-30 Joseph Myers <joseph@codesourcery.com>
19743
19744 * math/gen-auto-libm-tests.c (test_functions): Add more
19745 single-argument functions.
19746 (special_fill_pi_2): New function.
19747 (special_fill_minus_pi_2): Likewise.
19748 (special_fill_pi_6): Likewise.
19749 (special_fill_minus_pi_6): Likewise.
19750 (special_fill_pi_3): Likewise.
19751 (special_fill_2pi_3): Likewise.
19752 (special_fill_e): Likewise.
19753 (special_fill_1_e): Likewise.
19754 (special_fill_e_minus_1): Likewise.
19755 (special_real_inputs): Add more special inputs.
19756 (output_for_one_input_case): Do not require ERANGE on underflow to
19757 zero if round-to-nearest result does not underflow to zero, unless
19758 exact results required.
19759 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19760 atan, atanh, cbrt, cos and cosh.
19761 * math/auto-libm-test-out: Regenerated.
19762 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19763 (acos_tonearest_test_data): Likewise.
19764 (acos_towardzero_test_data): Likewise.
19765 (acos_downward_test_data): Likewise.
19766 (acos_upward_test_data): Likewise.
19767 (acosh_test_data): Likewise.
19768 (asin_test_data): Likewise.
19769 (asin_tonearest_test_data): Likewise.
19770 (asin_towardzero_test_data): Likewise.
19771 (asin_upward_test_data): Likewise.
19772 (asinh_test_data): Likewise.
19773 (atan_test_data): Likewise.
19774 (atanh_test_data): Likewise.
19775 (cbrt_test_data): Likewise.
19776 (cos_test_data): Likewise.
19777 (cos_tonearest_test_data): Likewise.
19778 (cos_towardzero_test_data): Likewise.
19779 (cos_downward_test_data): Likewise.
19780 (cos_upward_test_data): Likewise.
19781 (cosh_test_data): Likewise.
19782 (cosh_tonearest_test_data): Likewise.
19783 (cosh_towardzero_test_data): Likewise.
19784 (cosh_downward_test_data): Likewise.
19785 (cosh_upward_test_data): Likewise.
19786 * sysdeps/i386/fpu/libm-test-ulps: Update.
19787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19788
ffb536d0
JM
197892013-11-29 Joseph Myers <joseph@codesourcery.com>
19790
2a77a467
JM
19791 [BZ #6787]
19792 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19793 * math/w_exp10f.c (__exp10f): Likewise.
19794 * math/w_exp10l.c (__exp10l): Likewise.
19795 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19796 errno settings in existing tests.
19797
ea3bc4e8
JM
19798 [BZ #14032]
19799 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19800 precision control set to double precision.
19801 * sysdeps/i386/fpu/w_sqrt.c: New file.
19802 * math/auto-libm-test-in: Add more tests.
19803 * math/auto-libm-test-out: Update.
19804
0712c9d8
JM
19805 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19806 (sqrt_test_tonearest): New function.
19807 (sqrt_towardzero_test_data): New variable.
19808 (sqrt_test_towardzero): New function.
19809 (sqrt_downward_test_data): New variable.
19810 (sqrt_test_downward): New function.
19811 (sqrt_upward_test_data): New variable.
19812 (sqrt_test_upward): New function.
19813 (main): Call the new functions.
19814
ffb536d0
JM
19815 * math/gen-auto-libm-tests.c: New file.
19816 * math/auto-libm-test-in: Likewise.
19817 * math/auto-libm-test-out: New generated file.
19818 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19819 variables.
19820 (%beautify): Add generated representations of zero.
19821 (top level): Set $auto_input and call parse_auto_input.
19822 (beautify): Remove trailing "f" from hex float constants.
19823 (parse_args): Handle XFAIL_TEST.
19824 (convert_condition): New function.
19825 (or_value): Likewise.
19826 (or_cond_value): Likewise.
19827 (generate_testfile): Handle AUTO_TESTS_* lines.
19828 (parse_auto_input): New function.
19829 * math/libm-test.inc (XFAIL_TEST): New macro.
19830 (ERRNO_UNCHANGED): Update value.
19831 (ERRNO_EDOM): Likewise.
19832 (ERRNO_ERANGE): Likewise.
19833 (IGNORE_RESULT): Likewise.
19834 (TEST_COND_flt_32): New macro.
19835 (TEST_COND_dbl_64): Likewise.
19836 (TEST_COND_ldbl_96_intel): Likewise.
19837 (TEST_COND_ldbl_96_m68k): Likewise.
19838 (TEST_COND_ldbl_128): Likewise.
19839 (TEST_COND_ldbl_128ibm): Likewise.
19840 (TEST_COND_long32): Likewise.
19841 (TEST_COND_long64): Likewise.
19842 (TEST_COND_before_rounding): Likewise.
19843 (TEST_COND_after_rounding): Likewise.
19844 (enable_test): Handle XFAIL_TEST flag.
19845 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19846 with finite results.
19847 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19848 auto-libm-test-out.
19849
acd98a8e
AK
198502013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19851 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19852
19853 [BZ #16214]
19854 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19855 __tls_get_addr_internal instead of __tls_get_offset in order to
19856 avoid GOT pointer dependency. Make rtld export
19857 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19858 __tls_get_addr since we are a __tls_get_offset platform.
19859 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19860 GOT pointer being set up before.
19861 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19862
3c1c46a6
JM
198632013-11-28 Joseph Myers <joseph@codesourcery.com>
19864
7475aef5
JM
19865 * manual/math.texi (Errors in Math Functions): Document accuracy
19866 goals.
19867
8bca7cd8
JM
19868 [BZ #15004]
19869 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19870 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19871 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19872 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19873 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19874 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19875 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19876 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19877 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19878 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19879 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19880 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19881 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19882 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19883 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19884 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19885
91a1f3fe
JM
19886 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19887 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19888 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19889 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19890 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19891 Likewise.
19892 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19893 Likewise.
19894 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19895 Likewise.
19896 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19897 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19898 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19899 atomic-feupdateenv and flt-rounds.
19900 * sysdeps/powerpc/nofpu/Versions (libc): Add
19901 __atomic_feholdexcept, __atomic_feclearexcept,
19902 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19903 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19904 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19905 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19906 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19907 here.
19908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19909 Update.
19910
c5df7609
JM
19911 * manual/arith.texi (FP Exceptions): Document that exceptions may
19912 not be raised when matherr is used.
19913 (Math Error Reporting): Document overflow in directed rounding
19914 modes. Document that errno may not be set when finite values are
19915 returned on overflow. Document intent to set errno on underflow
19916 only for underflow to zero.
19917
3c1c46a6
JM
19918 [BZ #16271]
19919 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19920 round-to-nearest then adjust result for other rounding modes.
19921 * include/fenv.h (fegetround): Use libm_hidden_proto.
19922 * math/fegetround.c (fegetround): Use libm_hidden_def.
19923 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19924 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19925 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19926 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19927 Likewise.
19928 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19929 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19930 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19931 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19932
5a4c6d53
SP
199332013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19934
19935 [BZ #16077]
19936 * nss/Versions (libnss_files): Add
19937 _nss_files_gethostbyname3_r.
19938 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19939 New function.
19940 (HOST_DB_LOOKUP): Remove macro.
19941 (_nss_files_gethostbyname_r): Implement function without the
19942 HOST_DB_LOOKUP macro.
19943 (_nss_files_gethostbyname2_r): Likewise.
19944
897b98ba
OB
199452013-11-28 Ondřej Bílka <neleai@seznam.cz>
19946
19947 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19948
6f476861
UB
199492013-11-26 Uros Bizjak <ubizjak@gmail.com>
19950
19951 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19952 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19953 warning.
19954
bd12ab55
AZ
199552013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19956
19957 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19958 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19959 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19960 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19961 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19962 __fe_nomask_env_priv and attribute_hidden.
19963 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19964 (libc_feupdateenv_test_ppc): Likewise.
19965 (libc_feresetround_ppc): Likewise.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19967 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19968 compat_symbol macro.
19969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19970 (__fe_nomask_env): Likewise.
19971 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19972
52bb6543
OB
199732013-11-26 Ondřej Bílka <neleai@seznam.cz>
19974
19975 * string/Makefile: Remove ifunc tests.
19976 * string/test-string.h: Define TEST_IFUNC.
19977 * string/test-bcopy-ifunc.c: Remove.
19978 * string/test-bzero-ifunc.c: Likewise.
19979 * string/test-memccpy-ifunc.c: Likewise.
19980 * string/test-memchr-ifunc.c: Likewise.
19981 * string/test-memcmp-ifunc.c: Likewise.
19982 * string/test-memcpy-ifunc.c: Likewise.
19983 * string/test-memmem-ifunc.c: Likewise.
19984 * string/test-memmove-ifunc.c: Likewise.
19985 * string/test-mempcpy-ifunc.c: Likewise.
19986 * string/test-memrchr-ifunc.c: Likewise.
19987 * string/test-memset-ifunc.c: Likewise.
19988 * string/test-rawmemchr-ifunc.c: Likewise.
19989 * string/test-stpcpy-ifunc.c: Likewise.
19990 * string/test-stpncpy-ifunc.c: Likewise.
19991 * string/test-strcasecmp-ifunc.c: Likewise.
19992 * string/test-strcasestr-ifunc.c: Likewise.
19993 * string/test-strcat-ifunc.c: Likewise.
19994 * string/test-strchr-ifunc.c: Likewise.
19995 * string/test-strchrnul-ifunc.c: Likewise.
19996 * string/test-strcmp-ifunc.c: Likewise.
19997 * string/test-strcpy-ifunc.c: Likewise.
19998 * string/test-strcspn-ifunc.c: Likewise.
19999 * string/test-strlen-ifunc.c: Likewise.
20000 * string/test-strncasecmp-ifunc.c: Likewise.
20001 * string/test-strncat-ifunc.c: Likewise.
20002 * string/test-strncmp-ifunc.c: Likewise.
20003 * string/test-strncpy-ifunc.c: Likewise.
20004 * string/test-strnlen-ifunc.c: Likewise.
20005 * string/test-strpbrk-ifunc.c: Likewise.
20006 * string/test-strrchr-ifunc.c: Likewise.
20007 * string/test-strspn-ifunc.c: Likewise.
20008 * string/test-strstr-ifunc.c: Likewise.
20009
ab260039 200102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20011
20012 * benchtests/Makefile: Remove ifunc tests.
20013 * benchtests/bench-string.h: Define TEST_IFUNC.
20014 * benchtests/bench-bcopy-ifunc.c: Remove.
20015 * benchtests/bench-bzero-ifunc.c: Likewise.
20016 * benchtests/bench-memccpy-ifunc.c: Likewise.
20017 * benchtests/bench-memchr-ifunc.c: Likewise.
20018 * benchtests/bench-memcmp-ifunc.c: Likewise.
20019 * benchtests/bench-memcpy-ifunc.c: Likewise.
20020 * benchtests/bench-memmem-ifunc.c: Likewise.
20021 * benchtests/bench-memmove-ifunc.c: Likewise.
20022 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20023 * benchtests/bench-memrchr-ifunc.c: Likewise.
20024 * benchtests/bench-memset-ifunc.c: Likewise.
20025 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20026 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20027 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20028 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20029 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20030 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20031 * benchtests/bench-strcat-ifunc.c: Likewise.
20032 * benchtests/bench-strchr-ifunc.c: Likewise.
20033 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20034 * benchtests/bench-strcmp-ifunc.c: Likewise.
20035 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20036 * benchtests/bench-strcpy-ifunc.c: Likewise.
20037 * benchtests/bench-strcspn-ifunc.c: Likewise.
20038 * benchtests/bench-strlen-ifunc.c: Likewise.
20039 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20040 * benchtests/bench-strncat-ifunc.c: Likewise.
20041 * benchtests/bench-strncmp-ifunc.c: Likewise.
20042 * benchtests/bench-strncpy-ifunc.c: Likewise.
20043 * benchtests/bench-strnlen-ifunc.c: Likewise.
20044 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20045 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20046 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20047 * benchtests/bench-strspn-ifunc.c: Likewise.
20048 * benchtests/bench-strstr-ifunc.c: Likewise.
20049
200502013-11-26 Ondřej Bílka <neleai@seznam.cz>
20051
ab260039
OB
20052 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20053
d1d9eaf4 200542013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20055
d1d9eaf4
OB
20056 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20057 * rt/aio.h: Likewise.
20058 * sysdeps/gnu/bits/utmp.h: Likewise.
20059 * sysdeps/gnu/bits/utmpx.h: Likewise.
20060 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20061 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20062 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20063 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20064 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20065 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20066 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20067 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20068 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20069 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20070 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20071 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20072 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20074 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20075 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20076 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20077 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20078 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20079 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20080 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20081 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20082 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20083 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20084 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20086 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20087 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20088 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20089 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20090 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20091 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20092 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20093 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20094 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20095 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20096 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20097 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20098 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20099 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20100 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20101 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20102
a7624ed9
CD
201032013-11-25 Carlos O'Donell <carlos@redhat.com>
20104
20105 [BZ #16245]
20106 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20107 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20108
63cfe52b
JM
201092013-11-25 Joseph Myers <joseph@codesourcery.com>
20110
20111 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20112 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20113 Likewise.
20114
41e8926a
AZ
201152013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20116
20117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20118 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20119 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20120 (__fesetround): Remove define.
20121 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20122 rounding and exceptions handling.
20123 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20124 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20125 (__fe_nomask_env): Likewise.
20126 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20127 __fegetround instead of fegetround.
20128 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20129 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20130
6851bd4d
RM
201312013-11-21 Roland McGrath <roland@hack.frob.com>
20132
070906ff
RM
20133 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20134 it's there.
20135
6851bd4d
RM
20136 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20137
84ae135d
MI
201382013-11-21 Meador Inge <meadori@codesourcery.com>
20139
20140 [BZ #11157]
20141 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20142 (encrypt_r): Likewise.
20143 * malloc/obstack.h (obstack_free): Likewise.
20144 * posix/unistd.h (encrypt): Likewise.
20145
daf75146
GM
201462013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20147
20148 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20149 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20150 DL_CALL_DT_FINI() that call the functions directly.
20151 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20152 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20153 * elf/dl-fini.c: Likewise.
20154
10ad46bc
OB
201552013-11-20 Ondřej Bílka <neleai@seznam.cz>
20156
20157 * malloc/hooks.c (memalign_check): Add alignment rounding.
20158 * malloc/malloc.c (_mid_memalign): New function.
20159 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20160 Implement by calling _mid_memalign.
20161 * manual/probes.texi (Memory Allocation Probes): Remove
20162 memory_valloc_retry and memory_pvalloc_retry.
20163
f3fd2628
SP
201642013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20165
4712799f
SP
20166 * locale/programs/locarchive.c (open_archive): Add const
20167 qualifier to ARCHIVEFNAME and copy default fname to
20168 DEFAULT_FNAME.
20169
0417b20f
SP
20170 [BZ #15601]
20171 * libio/tst-widetext.input: Rename Oriya to Odia.
20172 * locale/iso-639.def: Likewise.
20173
f3fd2628
SP
20174 * manual/probes.texi (Mathematical Function Probes): Add
20175 documentation for sin, cos, asin and acos probes.
20176 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20177 (__sin32): Add slowasin probe.
20178 (__cos32): Add slowacos probe.
20179 (__mpsin): Add slowsin probe.
20180 (__mpcos): Add slowcos probe.
20181
73c1ce4f
JM
201822013-11-19 Joseph Myers <joseph@codesourcery.com>
20183
20184 [BZ #15483]
20185 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20186 thread-local __sim_exceptions_thread and global
20187 __sim_exceptions_global.
20188 (__sim_disabled_exceptions): Change to thread-local
20189 __sim_disabled_exceptions_thread and global
20190 __sim_disabled_exceptions_global.
20191 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20192 and global __sim_round_mode_global.
20193 (__simulate_exceptions): Use thread-local floating-point state and
20194 set global state from it as needed.
20195 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20196 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20197 __sim_round_mode_thread.
20198 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20199 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20200 and global __sim_exceptions_global.
20201 (__sim_disabled_exceptions): Change to thread-local
20202 __sim_disabled_exceptions_thread and global
20203 __sim_disabled_exceptions_global.
20204 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20205 and global __sim_round_mode_global.
20206 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20207 (SIM_SET_GLOBAL): Likewise.
20208 * sysdeps/powerpc/soft-fp/sfp-machine.h
20209 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20210 __sim_round_mode_thread.
20211 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20212 __sim_disabled_exceptions_thread.
20213 (__sim_exceptions): Change to __sim_exceptions_thread.
20214 (__sim_disabled_exceptions): Change to
20215 __sim_disabled_exceptions_thread.
20216 (__sim_round_mode): Change to __sim_round_mode_thread.
20217 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20218 thread-local floating-point state and set global state from it as
20219 needed.
20220 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20221 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20222 (__sim_disabled_exceptions): Remove extern declaration.
20223 (feenableexcept): Use thread-local floating-point state and set
20224 global state from it as needed.
20225 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20226 extern declaration.
20227 (__sim_disabled_exceptions): Likewise.
20228 (__sim_round_mode): Likewise.
20229 (__fegetenv): Use thread-local floating-point state.
20230 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20231 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20232 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20233 floating-point state and set global state from it as needed.
20234 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20235 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20236 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20237 Likewise.
20238 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20239 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20240 Likewise.
20241 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20242 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20243 Use __sim_round_mode_thread.
20244 * math/test-fenv-tls.c: New file.
20245 * math/Makefile (tests): Add test-fenv-tls.
20246 ($(objpfx)test-fenv-tls): Depend on
20247 $(common-objpfx)nptl/libpthread.so.
20248
b5449b12
AS
202492013-11-19 Andreas Schwab <schwab@suse.de>
20250
20251 * locale/programs/locale.c (show_info): Decode wordarray elements.
20252 * locale/categories.def (LC_MONETARY): Add element for
20253 _NL_MONETARY_CRNCYSTR.
20254 * locale/C-monetary.c (conversion_rate): New variable.
20255 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20256 element.
20257
e186536b
CM
202582013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20259
20260 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20261 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20262
5c349950
PP
202632013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20264
20265 * elf/Makefile (tst-auxv): New test.
20266 * elf/tst-auxv.c: New
20267 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20268
699df45b
JM
202692013-11-18 Joseph Myers <joseph@codesourcery.com>
20270
20271 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20272 (hidden_proto): Caller changed.
20273 (hidden_tls_proto): New macro.
20274 (libc_hidden_tls_proto): Likewise.
20275 (rtld_hidden_tls_proto): Likewise.
20276 (libm_hidden_tls_proto): Likewise.
20277 (libresolv_hidden_tls_proto): Likewise.
20278 (librt_hidden_tls_proto): Likewise.
20279 (libdl_hidden_tls_proto): Likewise.
20280 (libnss_files_hidden_tls_proto): Likewise.
20281 (libnsl_hidden_tls_proto): Likewise.
20282 (libnss_nisplus_hidden_tls_proto): Likewise.
20283 (libutil_hidden_tls_proto): Likewise.
20284
b7589107
OB
202852013-11-18 Ondřej Bílka <neleai@seznam.cz>
20286
20287 [BZ #10253]
20288 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20289 (decompose_rpath): Defer expansion to fillin_rpath.
20290 (_dl_init_paths): Pass linkmap to fillin_rpath.
20291
250c23bd
RS
202922013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20293
20294 * benchtests/Makefile: Add strsep.
20295 * benchtests/bench-strsep.c: New file: strsep benchtest.
20296 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20297
a7931fcf
AS
202982013-11-18 Andreas Schwab <schwab@suse.de>
20299
20300 * locale/programs/locale.c (show_info) [case byte]: Check for
20301 '\377' instead of '\177'.
20302 * locale/C-monetary.c (not_available): Always use "\377".
20303 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20304 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20305 detect unavailable sign_posn locale elements.
20306 * locale/localeconv.c (__localeconv): For grouping and
20307 mon_grouping handle "\177" and "\377" like no grouping.
20308 (INT_ELEM): New macro. Use it to set all numeric members.
20309 * locale/programs/ld-monetary.c (monetary_read)
20310 <tok_mon_grouping>: Normalize single -1 to the empty string.
20311 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20312 Likewise.
20313
728dab0e
OB
203142013-11-07 Ondřej Bílka <neleai@seznam.cz>
20315
20316 [BZ #16055]
20317 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20318 when we match (nil).
20319 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20320
66294491
JM
203212013-11-16 Joseph Myers <joseph@codesourcery.com>
20322
ce665817
JM
20323 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20324 (NO_TEST_INLINE): Update value.
20325 (ERRNO_UNCHANGED): Likewise.
20326 (ERRNO_EDOM): Likewise.
20327 (ERRNO_ERANGE): Likewise.
20328 (IGNORE_RESULT): Likewise.
20329 (check_float_internal): Check signs of NaN results if
20330 TEST_NAN_SIGN used.
20331 (check_complex): Pass TEST_NAN_SIGN flag through to second
20332 check_float_internal call.
20333 (copysign_test_data): Add tests with quiet NaNs as second
20334 argument. Use TEST_NAN_SIGN.
20335 (fabs_test_data): Add test of negative quiet NaN argument. Use
20336 TEST_NAN_SIGN.
20337 (signbit_test_data): Add tests of quiet NaN argument.
20338 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20339
ee1466a9
JM
20340 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20341 $ignore_result.
20342 (parse_args): Handle function results specified as IGNORE.
20343 * math/libm-test.inc (IGNORE_RESULT): New macro.
20344 (check_float_internal): Do not check numerical result if flag
20345 IGNORE_RESULT set.
20346 (check_complex): Pass through IGNORE_RESULT to second
20347 check_float_internal call.
20348 (check_int): Do not check numerical result if flag IGNORE_RESULT
20349 set.
20350 (check_long): Likewise.
20351 (check_bool): Likewise.
20352 (check_longlong): Likewise.
20353 (lrint_test_data): Add tests of infinite and NaN arguments.
20354 (lrint_tonearest_test_data): Likewise.
20355 (lrint_towardzero_test_data): Likewise.
20356 (lrint_downward_test_data): Likewise.
20357 (lrint_upward_test_data): Likewise.
20358 (llrint_test_data): Likewise.
20359 (llrint_tonearest_test_data): Likewise.
20360 (llrint_towardzero_test_data): Likewise.
20361 (llrint_downward_test_data): Likewise.
20362 (llrint_upward_test_data): Likewise.
20363 (lround_test_data): Likewise.
20364 (llround_test_data): Likewise.
20365
14407b7e
JM
20366 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20367 (ERRNO_UNCHANGED): Update value.
20368 (ERRNO_EDOM): Likewise.
20369 (ERRNO_ERANGE): Likewise.
20370 (NO_TEST_INLINE_FLOAT): New macro.
20371 (NO_TEST_INLINE_DOUBLE): Likewise.
20372 (enable_test): New function.
20373 (RUN_TEST_f_f): Check enable_test before running test.
20374 (RUN_TEST_2_f): Likewise.
20375 (RUN_TEST_fff_f): Likewise.
20376 (RUN_TEST_c_f): Likewise.
20377 (RUN_TEST_f_f1): Likewise.
20378 (RUN_TEST_fF_f1): Likewise.
20379 (RUN_TEST_fI_f1): Likewise.
20380 (RUN_TEST_ffI_f1): Likewise.
20381 (RUN_TEST_c_c): Likewise.
20382 (RUN_TEST_cc_c): Likewise.
20383 (RUN_TEST_f_i): Likewise.
20384 (RUN_TEST_f_i_tg): Likewise.
20385 (RUN_TEST_ff_i_tg): Likewise.
20386 (RUN_TEST_f_b): Likewise.
20387 (RUN_TEST_f_b_tg): Likewise.
20388 (RUN_TEST_f_l): Likewise.
20389 (RUN_TEST_f_L): Likewise.
20390 (RUN_TEST_fFF_11): Likewise.
20391 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20392 conditionals.
20393 (cosh_test_data): Likewise.
20394 (exp_test_data): Likewise.
20395 (expm1_test_data): Likewise.
20396 (hypot_test_data): Likewise.
20397 (pow_test_data): Likewise.
20398 (sinh_test_data): Likewise.
20399 (tanh_test_data): Likewise.
20400 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20401 flags argument.
20402
ca07f197
JM
20403 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20404 tests with quiet NaN input and output.
20405 (acosh_test_data): Likewise.
20406 (asin_test_data): Likewise.
20407 (asinh_test_data): Likewise.
20408 (atan_test_data): Likewise.
20409 (atanh_test_data): Likewise.
20410 (atan2_test_data): Likewise.
20411 (cbrt_test_data): Likewise.
20412 (cos_test_data): Likewise.
20413 (cosh_test_data): Likewise.
20414 (erf_test_data): Likewise.
20415 (erfc_test_data): Likewise.
20416 (exp_test_data): Likewise.
20417 (exp10_test_data): Likewise.
20418 (exp2_test_data): Likewise.
20419 (expm1_test_data): Likewise.
20420 (hypot_test_data): Likewise.
20421 (j0_test_data): Likewise.
20422 (j1_test_data): Likewise.
20423 (jn_test_data): Likewise.
20424 (lgamma_test_data): Likewise.
20425 (log_test_data): Likewise.
20426 (log10_test_data): Likewise.
20427 (log1p_test_data): Likewise.
20428 (log2_test_data): Likewise.
20429 (pow_test_data): Likewise.
20430 (scalb_test_data): Likewise.
20431 (sin_test_data): Likewise.
20432 (sincos_test_data): Likewise.
20433 (sinh_test_data): Likewise.
20434 (tan_test_data): Likewise.
20435 (tanh_test_data): Likewise.
20436 (tgamma_test_data): Likewise.
20437 (y0_test_data): Likewise.
20438 (y1_test_data): Likewise.
20439 (yn_test_data): Likewise.
20440
66294491
JM
20441 [BZ #16167]
20442 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20443 argument being NaN and avoid computations with second argument in
20444 that case.
20445 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20446 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20447 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20448
1820b143
CL
204492013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20450
20451 * locale/iso-639.def: Add Chitwani Tharu (the).
20452
714bd261
AS
204532013-11-14 Andreas Schwab <schwab@suse.de>
20454
20455 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20456 word instead of empty string.
20457
7ab44563
AZ
204582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20459
20460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20461 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20463 (__fe_nomask_env): Likewise.
20464
e8470ea2
SE
204652013-11-13 Steve Ellcey <sellcey@mips.com>
20466
20467 * benchtests/bench-timing.h: Include time.h.
20468
17c1d9f0
L
204692013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20470
20471 [BZ #15997]
20472 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20473 to 3.4.0 for x32.
20474 * sysdeps/unix/sysv/linux/configure: Regenerated.
20475
9310c284
JM
204762013-11-13 Joseph Myers <joseph@codesourcery.com>
20477
20478 [BZ #16151]
20479 * stdlib/strtod_l.c (round_and_return): Do not consider
20480 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20481 exponent one less than half the least subnormal exponent.
20482 * stdlib/test-strtod-round-data: Add more tests.
20483 * stdlib/tst-strtod-round.c (tests): Regenerated.
20484
7a2ad8cf
AZ
204852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20486
20487 [BZ #14143]
20488 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20489 (__fe_mask_env): Likewise.
20490 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20491 libm_hidden_proto and add function prototype.
20492 (__fe_mask_env): Add function prototype.
20493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20494 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20496 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20498 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20499
50727aa7
MS
205002013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20501
b2f386c1 20502 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
20503 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20504
a615be46
MS
205052013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20506
20507 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20508 of htab_find_slot().
20509
7ddace62
DM
205102013-11-11 David S. Miller <davem@davemloft.net>
20511
20512 [BZ #16150]
20513 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20514 symbol in the non-vis3 case in static builds.
20515 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20516 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20517 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20518 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20519
9182aa67
JK
205202013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20521
20522 [BZ #387]
20523 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20524 it is empty.
20525
450a2e2d
AZ
205262013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20527
b2f386c1
SP
20528 * benchtests/Makefile: Add bench-strtod.
20529 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 20530
8ec3f656
AS
205312013-11-11 Andreas Schwab <schwab@suse.de>
20532
20533 [BZ #16153]
20534 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20535 terminating NUL in key length.
20536
76a9b998
AZ
205372013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20538
20539 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20540 Add artificial ODP entry for vDSO symbol for PPC64.
20541 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20542 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20543
e4368156
OB
205442013-11-07 Ondřej Bílka <neleai@seznam.cz>
20545
20546 [BZ #15374]
20547 * nss/getent.c (services_keys): Recognize services starting with digit.
20548
8d6bb57c
DM
205492013-11-06 David S. Miller <davem@davemloft.net>
20550
20551 [BZ #15985]
20552 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20553 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20554
e256c421
WN
205552013-11-06 Will Newton <will.newton@linaro.org>
20556
20557 * manual/memory.texi (Malloc Examples): Remove register
20558 keyword from examples.
20559
f6e12daa 205602013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 20561
f6e12daa 20562 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 20563
9d880655
AS
205642013-11-04 Joseph Myers <joseph@codesourcery.com>
20565
fd2f9486 20566 [BZ #6981]
9d880655
AS
20567 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20568 depending on [__GCC_IEC_559 > 0].
20569 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20570 depending on [__GCC_IEC_559_COMPLEX > 0].
20571
ae129d3c
CL
205722013-11-03 Chris Leonard <cjl@sugarlabs.org>
20573
20574 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20575 to iso-639.def.
20576
4a15c2a4 205772013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
20578
20579 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20580
8b35e35d
OB
205812013-11-01 Ondřej Bílka <neleai@seznam.cz>
20582
20583 [BZ #16112]
20584 * malloc/malloc (malloc_info): Do not handle first bin as
20585 special case.
20586
1d70fd6c
CL
205872013-11-01 Chris Leonard <cjl@sugarlabs.org>
20588
20589 * locale/iso-639.def: Add Central Nahuatl (nhn).
20590
8c5c2600
BH
205912013-11-01 Bruno Haible <bruno@clisp.org>
20592
20593 [BZ #7003]
20594 * manual/math.texi (BSD Random): Specify range upper bound as
20595 in POSIX.
20596
da5579c2
CL
205972013-10-31 Chris Leonard <cjl@sugarlabs.org>
20598
20599 * locale/iso-639.def: Add Meadow Mari (mhr).
20600
5d30d853
OB
206012013-10-31 Ondřej Bílka <neleai@seznam.cz>
20602
20603 [BZ #14752], [BZ #15763]
20604 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20605 Validate name.
20606 * rt/tst_shm.c: Add test for escaping directory.
20607
a4966c61
AS
206082013-10-31 Andreas Schwab <schwab@suse.de>
20609
8a43e768 20610 [BZ #15917]
a4966c61
AS
20611 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20612 followed by 'x' as part of digit sequence.
20613 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20614
28d708c4
MAP
206152013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20616
20617 [BZ #16037]
20618 * configure.ac: allow GNU Make 4.0 and greater.
20619 * configure: Regenerated.
20620
a56ee40b
WN
206212013-10-30 Will Newton <will.newton@linaro.org>
20622
20623 [BZ #16038]
20624 * malloc/hooks.c (memalign_check): Limit alignment to the
20625 maximum representable power of two.
20626 * malloc/malloc.c (__libc_memalign): Likewise.
20627 * malloc/tst-memalign.c (do_test): Add test for very
20628 large alignment values.
20629 * malloc/tst-posix_memalign.c (do_test): Likewise.
20630
c6e4925d
OB
206312013-10-30 Ondřej Bílka <neleai@seznam.cz>
20632
20633 [BZ #11087]
20634 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20635 (munmap_chunk): Likewise.
20636 (mremap_chunk): Likewise.
20637
206382013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 20639
8a43e768 20640 [BZ #15799]
bbea82f7
OB
20641 * stdlib/div.c (div): Remove obsolete code.
20642 * stdlib/ldiv.c (ldiv): Likewise.
20643 * stdlib/lldiv.c (lldiv): Likewise.
20644
977f4b31
SP
206452013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20646
20647 [BZ #16071]
20648 * nss/nss_files/files-XXX.c (get_contents_ret): New
20649 enumerator.
20650 (get_contents): New function.
20651 (internal_getent): Use it. Expand size of LINEBUFLEN.
20652
cb8a6dbd
MF
206532013-10-30 Mike Frysinger <vapier@gentoo.org>
20654
20655 * configure.in: Moved to ...
20656 * configure.ac: ... here. Change reference to configure.in
20657 to configure.ac.
20658 * sysdeps/arm/preconfigure.ac: ... here.
20659 configure.in to configure.ac.
20660 * sysdeps/gnu/configure.in: Moved to ...
20661 * sysdeps/gnu/configure.ac: ... here.
20662 * sysdeps/i386/configure.in: Moved to ...
20663 * sysdeps/i386/configure.ac: ... here.
20664 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20665 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20666 * sysdeps/mach/configure.in: Moved to ...
20667 * sysdeps/mach/configure.ac: ... here.
20668 * sysdeps/mach/hurd/configure.in: Moved to ...
20669 * sysdeps/mach/hurd/configure.ac: ... here.
20670 * sysdeps/powerpc/configure.in: Moved to ...
20671 * sysdeps/powerpc/configure.ac: ... here.
20672 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20673 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20674 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20675 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20676 * sysdeps/s390/s390-32/configure.in: Moved to ...
20677 * sysdeps/s390/s390-32/configure.ac: ... here.
20678 * sysdeps/s390/s390-64/configure.in: Moved to ...
20679 * sysdeps/s390/s390-64/configure.ac: ... here.
20680 * sysdeps/sh/configure.in: Moved to ...
20681 * sysdeps/sh/configure.ac: ... here.
20682 * sysdeps/sparc/configure.in: Moved to ...
20683 * sysdeps/sparc/configure.ac: ... here.
20684 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20685 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20686 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20687 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20688 * sysdeps/x86_64/configure.in: Moved to ...
20689 * sysdeps/x86_64/configure.ac: ... here.
20690 * sysdeps/x86_64/preconfigure.in: Moved to ...
20691 * sysdeps/x86_64/preconfigure.ac: ... here.
20692 * aclocal.m4: Change reference to configure.in to configure.ac.
20693 * config.h.in: Likewise.
20694 * manual/install.texi: Likewise.
20695 * manual/maint.texi: Likewise.
20696 * Makefile: Likewise.
20697 * malloc/Makefile: Likewise.
20698 * nscd/Makefile: Likewise.
20699 * Makeconfig: Change reference to configure.in and
20700 preconfigure.in to configure.ac and preconfigure.ac
20701 respectively.
20702 * INSTALL: Regenerated.
20703 * configure: Likewise.
20704 * sysdeps/gnu/configure: Likewise.
20705 * sysdeps/i386/configure: Likewise.
20706 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20707 * sysdeps/mach/configure: Likewise.
20708 * sysdeps/mach/hurd/configure: Likewise.
20709 * sysdeps/powerpc/configure: Likewise.
20710 * sysdeps/powerpc/powerpc32/configure: Likewise.
20711 * sysdeps/powerpc/powerpc64/configure: Likewise.
20712 * sysdeps/s390/s390-32/configure: Likewise.
20713 * sysdeps/s390/s390-64/configure: Likewise.
20714 * sysdeps/sh/configure: Likewise.
20715 * sysdeps/sparc/configure: Likewise.
20716 * sysdeps/unix/sysv/linux/configure: Likewise.
20717 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20718 * sysdeps/x86_64/configure: Likewise.
20719 * sysdeps/x86_64/preconfigure: Likewise.
20720
36a4953a
AS
207212013-10-29 Andreas Schwab <schwab@suse.de>
20722
20723 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20724
c79a1204
SP
207252013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20726
dfa1b402
SP
20727 * benchtests/pow-inputs: Add new inputs.
20728
54f73d9c
SP
20729 * benchtests/exp-inputs: Add new inputs.
20730
c79a1204
SP
20731 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20732 conditional check for return value.
20733 (__cos32): Likewise.
20734
67beb545 207352013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
20736
20737 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20738 to provide a boost for large inputs with word alignment.
20739 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20740 implementation based on optimized PPC64 strcpy.
20741 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20742 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20743 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20744 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20745
151659f6
OB
207462013-10-25 Ondřej Bílka <neleai@seznam.cz>
20747
482a077e 20748 [BZ #2801]
151659f6
OB
20749 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20750
10b0f26b
OB
207512013-10-25 Ondřej Bílka <neleai@seznam.cz>
20752
20753 [BZ #14876]
20754 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20755 * time/tst-strptime.c (day_tests): Add testcase.
20756
ca42d35e
OB
207572013-10-25 Ondřej Bílka <neleai@seznam.cz>
20758
482a077e 20759 [BZ #14029]
ca42d35e
OB
20760 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20761
52e6d801
FB
207622013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20763
20764 [BZ #16074]
20765 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20766 MAP_FAILED on error.
20767
7cbcdb36
SP
207682013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20769
20770 [BZ #16072]
20771 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20772 heap for large requests.
20773
894f3f10
AM
207742013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20775
20776 [BZ #9954]
20777 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20778 result if the result has no associated interface.
20779 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20780 interface for all 127.X.Y.Z addresses.
20781
b85545a6
CL
207822013-10-24 Chris Leonard <cjl@sugarlabs.org>
20783
20784 * locale/iso-639.def: Add Ligurian (lij)
20785
d1f23d46
OB
207862013-10-21 Ondřej Bílka <neleai@seznam.cz>
20787
20788 [BZ #15825]
20789 * sunrpc/rpc_main.c: Document rpcgen -5.
20790
4db5b08f
MS
207912013-10-19 Michael Stahl <mstahl@redhat.com>
20792
20793 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20794
a471e96a
OB
207952013-10-19 Ondřej Bílka <neleai@seznam.cz>
20796
d1f23d46 20797 [BZ #10278]
a471e96a
OB
20798 * posix/glob.c: Match only directories when trailing slash is present.
20799 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20800 (main): Add testcase.
20801
45c30c61
OB
208022013-10-19 Ondřej Bílka <neleai@seznam.cz>
20803
20804 [BZ #15670]
20805 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20806
484c12fb
CD
208072013-10-18 Carlos O'Donell <carlos@redhat.com>
20808
3d7dc513
CD
20809 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20810 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20811 AUTH_DES and cindex for FIPS 140-2.
20812 (DES Encryption): Add cindex FIPS 46-3.
20813
484c12fb
CD
20814 * locale/locarchive.h (struct locarhandle): Add fname.
20815 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20816 if an optional argument was specified to --list-archive,
20817 otherwise NULL.
20818 * locale/programs/locarchive.c (show_archive_content): Take new
20819 argument fname and pass it via ah.fname to open_archive.
20820 * locale/programs/localedef.h: Update decl.
20821 (open_archive): If AH->fname is non-null, open that file
20822 rather than the default file name, and don't ignore ENOENT.
20823 (create_archive): Set AH.fname to NULL.
20824 (delete_locales_from_archive): Likewise.
20825 (add_locales_to_archive): Likewise.
20826 * locale/programs/locfile.c (write_all_categories): Likewise.
20827
3c8325fb
JM
208282013-10-18 Joseph Myers <joseph@codesourcery.com>
20829 Aldy Hernandez <aldyh@redhat.com>
20830
20831 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20832 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20833 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20834 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20835 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20836 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20837 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20838 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20839 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20840 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20841 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20842 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20843 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20844 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20845 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20846 Likewise.
20847 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20848 Likewise.
20849 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20850 Likewise.
20851 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20852 Likewise.
20853 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20854 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20855 Likewise.
20856 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20857 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20858 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20859 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20860 Likewise.
20861 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20862 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20863 * sysdeps/powerpc/preconfigure: Likewise.
20864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20865 Likewise.
20866 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20867 Replace contents of file by #include of <fenv_libc.h>.
20868 * sysdeps/powerpc/soft-fp/sfp-machine.h
20869 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20870 and <sys/prctl.h>.
20871 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20872 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20873 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20874 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20875 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20876 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20878 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20879 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20880 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20881 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20882 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20884 Allow copysignl PLT reference to be missing.
20885
5abe0682
RS
208862013-10-18 Richard Sandiford <richard@codesourcery.com>
20887 Joseph Myers <joseph@codesourcery.com
20888
20889 [BZ #15948]
20890 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20891 single character.
20892 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20893
c7738d08
SP
208942013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20895
20896 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20897 * elf/tst-tls1.c: Likewise.
20898 * elf/tst-tls10.h: Likewise.
20899 * elf/tst-tls14.c: Likewise.
20900 * elf/tst-tls2.c: Likewise.
20901 * elf/tst-tls3.c: Likewise.
20902 * elf/tst-tls4.c: Likewise.
20903 * elf/tst-tls5.c: Likewise.
20904 * elf/tst-tls6.c: Likewise.
20905 * elf/tst-tls7.c: Likewise.
20906 * elf/tst-tls8.c: Likewise.
20907 * elf/tst-tls9.c: Likewise.
20908 * elf/tst-tlsmod1.c: Likewise.
20909 * elf/tst-tlsmod13.c: Likewise.
20910 * elf/tst-tlsmod13a.c: Likewise.
20911 * elf/tst-tlsmod14a.c: Likewise.
20912 * elf/tst-tlsmod16a.c: Likewise.
20913 * elf/tst-tlsmod16b.c: Likewise.
20914 * elf/tst-tlsmod2.c: Likewise.
20915 * elf/tst-tlsmod3.c: Likewise.
20916 * elf/tst-tlsmod4.c: Likewise.
20917 * elf/tst-tlsmod5.c: Likewise.
20918 * elf/tst-tlsmod6.c: Likewise.
20919
0bfcf2c7
OB
209202013-10-18 Ondřej Bílka <neleai@seznam.cz>
20921
20922 [BZ #12486]
20923 * malloc/malloc.c: remove checks for statistics.
20924
264aad1e
OB
209252013-10-17 Ondřej Bílka <neleai@seznam.cz>
20926
20927 [BZ #15277]
20928 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20929 * inet/tst-network.c: Add testcase.
20930
b957ced8
AS
209312013-10-17 Andreas Schwab <schwab@suse.de>
20932
20933 [BZ #15218]
20934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20935 to determine canonical name.
20936
c5d5d574
OB
209372013-10-17 Ondřej Bílka <neleai@seznam.cz>
20938
20939 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20940 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20948 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20962 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20963 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20964 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20966 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20967 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20968 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20969 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20971 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20972 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20973 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20974 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20975 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20976 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20977 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20978 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20979 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20980 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20981 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20982 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20983 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20984 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20985 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20986 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20987 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20988 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20989 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20990 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20991 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20992 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20994 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20996 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20997
e5c2c2d0
JM
209982013-10-17 Joseph Myers <joseph@codesourcery.com>
20999
21000 [BZ #16041]
21001 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21002 make result into a quiet NaN.
21003
51ca9e29
JM
210042013-10-16 Joseph Myers <joseph@codesourcery.com>
21005
21006 * soft-fp/adddf3.c: Fix horizontal whitespace.
21007 * soft-fp/addsf3.c: Likewise.
21008 * soft-fp/addtf3.c: Likewise.
21009 * soft-fp/divdf3.c: Likewise.
21010 * soft-fp/divsf3.c: Likewise.
21011 * soft-fp/divtf3.c: Likewise.
21012 * soft-fp/double.h: Likewise.
21013 * soft-fp/eqdf2.c: Likewise.
21014 * soft-fp/eqsf2.c: Likewise.
21015 * soft-fp/eqtf2.c: Likewise.
21016 * soft-fp/extenddftf2.c: Likewise.
21017 * soft-fp/extended.h: Likewise.
21018 * soft-fp/extendsfdf2.c: Likewise.
21019 * soft-fp/extendsftf2.c: Likewise.
21020 * soft-fp/extendxftf2.c: Likewise.
21021 * soft-fp/fixdfdi.c: Likewise.
21022 * soft-fp/fixdfsi.c: Likewise.
21023 * soft-fp/fixdfti.c: Likewise.
21024 * soft-fp/fixsfdi.c: Likewise.
21025 * soft-fp/fixsfsi.c: Likewise.
21026 * soft-fp/fixsfti.c: Likewise.
21027 * soft-fp/fixtfdi.c: Likewise.
21028 * soft-fp/fixtfsi.c: Likewise.
21029 * soft-fp/fixtfti.c: Likewise.
21030 * soft-fp/fixunsdfdi.c: Likewise.
21031 * soft-fp/fixunsdfsi.c: Likewise.
21032 * soft-fp/fixunsdfti.c: Likewise.
21033 * soft-fp/fixunssfdi.c: Likewise.
21034 * soft-fp/fixunssfsi.c: Likewise.
21035 * soft-fp/fixunssfti.c: Likewise.
21036 * soft-fp/fixunstfdi.c: Likewise.
21037 * soft-fp/fixunstfsi.c: Likewise.
21038 * soft-fp/fixunstfti.c: Likewise.
21039 * soft-fp/floatdidf.c: Likewise.
21040 * soft-fp/floatdisf.c: Likewise.
21041 * soft-fp/floatditf.c: Likewise.
21042 * soft-fp/floatsidf.c: Likewise.
21043 * soft-fp/floatsisf.c: Likewise.
21044 * soft-fp/floatsitf.c: Likewise.
21045 * soft-fp/floattidf.c: Likewise.
21046 * soft-fp/floattisf.c: Likewise.
21047 * soft-fp/floattitf.c: Likewise.
21048 * soft-fp/floatundidf.c: Likewise.
21049 * soft-fp/floatundisf.c: Likewise.
21050 * soft-fp/floatunditf.c: Likewise.
21051 * soft-fp/floatunsidf.c: Likewise.
21052 * soft-fp/floatunsisf.c: Likewise.
21053 * soft-fp/floatunsitf.c: Likewise.
21054 * soft-fp/floatuntidf.c: Likewise.
21055 * soft-fp/floatuntisf.c: Likewise.
21056 * soft-fp/floatuntitf.c: Likewise.
21057 * soft-fp/fmadf4.c: Likewise.
21058 * soft-fp/fmasf4.c: Likewise.
21059 * soft-fp/fmatf4.c: Likewise.
21060 * soft-fp/gedf2.c: Likewise.
21061 * soft-fp/gesf2.c: Likewise.
21062 * soft-fp/getf2.c: Likewise.
21063 * soft-fp/ledf2.c: Likewise.
21064 * soft-fp/lesf2.c: Likewise.
21065 * soft-fp/letf2.c: Likewise.
21066 * soft-fp/muldf3.c: Likewise.
21067 * soft-fp/mulsf3.c: Likewise.
21068 * soft-fp/multf3.c: Likewise.
21069 * soft-fp/negdf2.c: Likewise.
21070 * soft-fp/negsf2.c: Likewise.
21071 * soft-fp/negtf2.c: Likewise.
21072 * soft-fp/op-1.h: Likewise.
21073 * soft-fp/op-2.h: Likewise.
21074 * soft-fp/op-4.h: Likewise.
21075 * soft-fp/op-8.h: Likewise.
21076 * soft-fp/op-common.h: Likewise.
21077 * soft-fp/quad.h: Likewise.
21078 * soft-fp/single.h: Likewise.
21079 * soft-fp/soft-fp.h: Likewise.
21080 * soft-fp/sqrtdf2.c: Likewise.
21081 * soft-fp/sqrtsf2.c: Likewise.
21082 * soft-fp/sqrttf2.c: Likewise.
21083 * soft-fp/subdf3.c: Likewise.
21084 * soft-fp/subsf3.c: Likewise.
21085 * soft-fp/subtf3.c: Likewise.
21086 * soft-fp/truncdfsf2.c: Likewise.
21087 * soft-fp/trunctfdf2.c: Likewise.
21088 * soft-fp/trunctfsf2.c: Likewise.
21089 * soft-fp/trunctfxf2.c: Likewise.
21090 * soft-fp/unorddf2.c: Likewise.
21091 * soft-fp/unordsf2.c: Likewise.
21092 * soft-fp/unordtf2.c: Likewise.
21093
9ebb0332
JM
210942013-10-15 Joseph Myers <joseph@codesourcery.com>
21095
21096 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21097 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21098
4b1a6d8b
OB
210992013-10-15 Ondřej Bílka <neleai@seznam.cz>
21100
21101 * elf/dl-libc.c: Clear initfini list after freeing.
21102
1e145589
JM
211032013-10-14 Joseph Myers <joseph@codesourcery.com>
21104
21105 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21106 * soft-fp/addsf3.c: Likewise.
21107 * soft-fp/addtf3.c: Likewise.
21108 * soft-fp/divdf3.c: Likewise.
21109 * soft-fp/divsf3.c: Likewise.
21110 * soft-fp/divtf3.c: Likewise.
21111 * soft-fp/double.h: Likewise.
21112 * soft-fp/eqdf2.c: Likewise.
21113 * soft-fp/eqsf2.c: Likewise.
21114 * soft-fp/eqtf2.c: Likewise.
21115 * soft-fp/extenddftf2.c: Likewise.
21116 * soft-fp/extended.h: Likewise.
21117 * soft-fp/extendsfdf2.c: Likewise.
21118 * soft-fp/extendsftf2.c: Likewise.
21119 * soft-fp/extendxftf2.c: Likewise.
21120 * soft-fp/fixdfdi.c: Likewise.
21121 * soft-fp/fixdfsi.c: Likewise.
21122 * soft-fp/fixdfti.c: Likewise.
21123 * soft-fp/fixsfdi.c: Likewise.
21124 * soft-fp/fixsfsi.c: Likewise.
21125 * soft-fp/fixsfti.c: Likewise.
21126 * soft-fp/fixtfdi.c: Likewise.
21127 * soft-fp/fixtfsi.c: Likewise.
21128 * soft-fp/fixtfti.c: Likewise.
21129 * soft-fp/fixunsdfdi.c: Likewise.
21130 * soft-fp/fixunsdfsi.c: Likewise.
21131 * soft-fp/fixunsdfti.c: Likewise.
21132 * soft-fp/fixunssfdi.c: Likewise.
21133 * soft-fp/fixunssfsi.c: Likewise.
21134 * soft-fp/fixunssfti.c: Likewise.
21135 * soft-fp/fixunstfdi.c: Likewise.
21136 * soft-fp/fixunstfsi.c: Likewise.
21137 * soft-fp/fixunstfti.c: Likewise.
21138 * soft-fp/floatdidf.c: Likewise.
21139 * soft-fp/floatdisf.c: Likewise.
21140 * soft-fp/floatditf.c: Likewise.
21141 * soft-fp/floatsidf.c: Likewise.
21142 * soft-fp/floatsisf.c: Likewise.
21143 * soft-fp/floatsitf.c: Likewise.
21144 * soft-fp/floattidf.c: Likewise.
21145 * soft-fp/floattisf.c: Likewise.
21146 * soft-fp/floattitf.c: Likewise.
21147 * soft-fp/floatundidf.c: Likewise.
21148 * soft-fp/floatundisf.c: Likewise.
21149 * soft-fp/floatunsidf.c: Likewise.
21150 * soft-fp/floatunsisf.c: Likewise.
21151 * soft-fp/floatuntidf.c: Likewise.
21152 * soft-fp/floatuntisf.c: Likewise.
21153 * soft-fp/floatuntitf.c: Likewise.
21154 * soft-fp/fmadf4.c: Likewise.
21155 * soft-fp/fmasf4.c: Likewise.
21156 * soft-fp/fmatf4.c: Likewise.
21157 * soft-fp/gedf2.c: Likewise.
21158 * soft-fp/gesf2.c: Likewise.
21159 * soft-fp/getf2.c: Likewise.
21160 * soft-fp/ledf2.c: Likewise.
21161 * soft-fp/lesf2.c: Likewise.
21162 * soft-fp/letf2.c: Likewise.
21163 * soft-fp/muldf3.c: Likewise.
21164 * soft-fp/mulsf3.c: Likewise.
21165 * soft-fp/multf3.c: Likewise.
21166 * soft-fp/negdf2.c: Likewise.
21167 * soft-fp/negsf2.c: Likewise.
21168 * soft-fp/negtf2.c: Likewise.
21169 * soft-fp/op-1.h: Likewise.
21170 * soft-fp/op-2.h: Likewise.
21171 * soft-fp/op-4.h: Likewise.
21172 * soft-fp/op-8.h: Likewise.
21173 * soft-fp/op-common.h: Likewise.
21174 * soft-fp/quad.h: Likewise.
21175 * soft-fp/single.h: Likewise.
21176 * soft-fp/soft-fp.h: Likewise.
21177 * soft-fp/sqrtdf2.c: Likewise.
21178 * soft-fp/sqrtsf2.c: Likewise.
21179 * soft-fp/sqrttf2.c: Likewise.
21180 * soft-fp/subdf3.c: Likewise.
21181 * soft-fp/subsf3.c: Likewise.
21182 * soft-fp/subtf3.c: Likewise.
21183 * soft-fp/truncdfsf2.c: Likewise.
21184 * soft-fp/trunctfdf2.c: Likewise.
21185 * soft-fp/trunctfsf2.c: Likewise.
21186 * soft-fp/trunctfxf2.c: Likewise.
21187 * soft-fp/unorddf2.c: Likewise.
21188 * soft-fp/unordsf2.c: Likewise.
21189 * soft-fp/unordtf2.c: Likewise.
21190
17c48a60
OB
211912013-10-14 Ondřej Bílka <neleai@seznam.cz>
21192
21193 [BZ #15672]
21194 * misc/error.c (error_tail): Fix possible buffer overflow.
21195
cabba934
OB
211962013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21197
21198 [BZ #13028]
21199 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21200 address.
21201
94bf958a
PM
212022013-10-14 P. J. McDermott <pj@pehjota.net>
21203
21204 [BZ #832]
21205 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21206 testing pipefail option.
21207
71b4dea7
JM
212082013-10-12 Joseph Myers <joseph@codesourcery.com>
21209
21210 * soft-fp/double.h: Indent preprocessor directives inside #if.
21211 * soft-fp/extended.h: Likewise.
21212 * soft-fp/op-2.h: Likewise.
21213 * soft-fp/op-4.h: Likewise.
21214 * soft-fp/op-common.h: Likewise.
21215 * soft-fp/quad.h: Likewise.
21216 * soft-fp/single.h: Likewise.
21217 * soft-fp/soft-fp.h: Likewise.
21218
55602758
YC
212192013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21220
21221 * iconv/iconv_prog.c: Fix typos.
21222 * stdio-common/psiginfo-data.h: Likewise.
21223
9cd83302
RT
212242013-10-12 Reuben Thomas <rrt@sc3d.org>
21225
21226 [BZ #15764]
21227 * locale/setlocale.c: Fix typo.
21228
99fd9f47
JM
212292013-10-12 Joseph Myers <joseph@codesourcery.com>
21230
b7ea74f0
JM
21231 [BZ #16036]
21232 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21233 signaling NaN arguments.
21234 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21235 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21236
8a509447
JM
21237 [BZ #14910]
21238 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21239 unordered operands.
21240 * soft-fp/gesf2.c (__gesf2): Likewise.
21241 * soft-fp/getf2.c (__getf2): Likewise.
21242 * soft-fp/ledf2.c (__ledf2): Likewise.
21243 * soft-fp/lesf2.c (__lesf2): Likewise.
21244 * soft-fp/letf2.c (__letf2): Likewise.
21245
98998e9f
JM
21246 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21247 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21248 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21249 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21250 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21251 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21252 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21253 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21254 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21255 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21256 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21257 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21258 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21259 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21260 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21261 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21262 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21263 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21264 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21265 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21266 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21267 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21268 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21269 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21270 * soft-fp/floattidf.c (__floattidf): Likewise.
21271 * soft-fp/floattisf.c (__floattisf): Likewise.
21272 * soft-fp/floattitf.c (__floattitf): Likewise.
21273 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21274 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21275 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21276 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21277 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21278 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21279 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21280 * soft-fp/gesf2.c (__gesf2): Likewise.
21281 * soft-fp/getf2.c (__getf2): Likewise.
21282 * soft-fp/ledf2.c (__ledf2): Likewise.
21283 * soft-fp/lesf2.c (__lesf2): Likewise.
21284 * soft-fp/letf2.c (__letf2): Likewise.
21285
8edc4a11
JM
21286 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21287 Undefine and redefine.
21288 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21289 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21290 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21291 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21292 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21293 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21294 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21295 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21296 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21297 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21298 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21299 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21300 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21301 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21302 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21303
8399acaf
JM
21304 [BZ #16032]
21305 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21306 without decrementing exponent if mantissa >= that for the
21307 denominator, not >.
21308 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21309 denominator, not >. Decrement exponent in < case instead of
21310 incrementing in >= case.
21311 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21312 without decrementing exponent if mantissa >= that for the
21313 denominator, not >.
21314
99fd9f47
JM
21315 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21316 computing saturated result for unsigned overflow.
21317
10e1cf6b
SP
213182013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21319 Jeff Law <law@redhat.com>
21320
21321 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21322 (atan2Mp): Add systemtap probe marker.
21323 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21324 (__ieee754_log): Add systemtap probe marker.
21325 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21326 (atanMp): Add systemtap probe marker.
21327 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21328 (tanMp): Add systemtap probe marker.
21329 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21330 (__slowexp): Add systemtap probe marker.
21331 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21332 (__slowpow): Add systemtap probe marker.
21333 * manual/probes.texi: Document probes.
21334
3d110c7c
EB
213352013-10-11 Eric Biggers <ebiggers3@gmail.com>
21336
21337 [BZ #15362]
21338 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21339 written.
21340 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21341 written.
21342 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21343 written to buffer but not flushed.
21344 * libio/iofwrite_u.c: Likewise.
21345 * libio/iopadn.c: Return bytes returned even if EOF was
21346 encountered.
21347 * libio/iowpadn.c: Likewise.
21348 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21349 if _IO_padn does not write the whole buffer.
21350 [!COMPILE_WPRINTF] (PAD): Likewise.
21351
75b4202a
DM
213522013-10-10 David S. Miller <davem@davemloft.net>
21353
21354 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21355 directory block.
21356
6c6352e6
JM
213572013-10-10 Joseph Myers <joseph@codesourcery.com>
21358
33b853c3
JM
21359 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21360 instead of FSF address.
21361 * soft-fp/fixdfti.c: Likewise.
21362 * soft-fp/fixsfti.c: Likewise.
21363 * soft-fp/fixtfti.c: Likewise.
21364 * soft-fp/fixunsdfti.c: Likewise.
21365 * soft-fp/fixunssfti.c: Likewise.
21366 * soft-fp/fixunstfti.c: Likewise.
21367 * soft-fp/floattidf.c: Likewise.
21368 * soft-fp/floattisf.c: Likewise.
21369 * soft-fp/floattitf.c: Likewise.
21370 * soft-fp/floatuntidf.c: Likewise.
21371 * soft-fp/floatuntisf.c: Likewise.
21372 * soft-fp/floatuntitf.c: Likewise.
21373 * soft-fp/trunctfxf2.c: Likewise.
21374
6c6352e6
JM
21375 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21376 * soft-fp/fixdfti.c: Likewise.
21377 * soft-fp/fixsfti.c: Likewise.
21378 * soft-fp/fixtfti.c: Likewise.
21379 * soft-fp/fixunsdfti.c: Likewise.
21380 * soft-fp/fixunssfti.c: Likewise.
21381 * soft-fp/fixunstfti.c: Likewise.
21382 * soft-fp/floattidf.c: Likewise.
21383 * soft-fp/floattisf.c: Likewise.
21384 * soft-fp/floattitf.c: Likewise.
21385 * soft-fp/floatuntidf.c: Likewise.
21386 * soft-fp/floatuntisf.c: Likewise.
21387 * soft-fp/floatuntitf.c: Likewise.
21388 * soft-fp/trunctfxf2.c: Likewise.
21389
3bf78b71
DM
213902013-10-10 David S. Miller <davem@davemloft.net>
21391
21392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21393
6f10289e
JM
213942013-10-10 Joseph Myers <joseph@codsourcery.com>
21395
bd878fc0
JM
21396 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21397 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21398 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21399 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21400 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21401 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21402 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21403
6f10289e
JM
21404 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21405 for NaNs before doing comparisons on argument.
21406 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21407 Likewise.
21408
321e2684
WN
214092013-10-10 Will Newton <will.newton@linaro.org>
21410
21411 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21412 passed to _int_memalign does not overflow.
21413
40fefba1
TR
214142013-10-10 Torvald Riegel <triegel@redhat.com>
21415
21416 * scripts/bench.pl: Add include-sources directive.
21417 * benchtests/README: Update documentation.
21418
2ae21ed2
JM
214192013-10-10 Joseph Myers <joseph@codesourcery.com>
21420
dcc2dd3f
JM
21421 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21422 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21423 instead of FP_INIT_ROUNDMODE.
21424 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21425 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21426
2ae21ed2
JM
21427 [BZ #16034]
21428 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21429 copy class of input value.
21430 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21431 not handle exceptions.
21432 * soft-fp/negsf2.c (__negsf2): Likewise.
21433 * soft-fp/negtf2.c (__negtf2): Likewise.
21434 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21435
cb8f9562
JM
214362013-10-09 Joseph Myers <joseph@codesourcery.com>
21437
21438 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21439 semicolon. From Linux kernel.
21440
5b60c59d
AB
214412013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21442
21443 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21444
b86835ca
YC
214452013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21446
21447 [BZ #156]
21448 * manual/socket.texi: Added statement about buffer
21449 for gethostbyname2_r.
21450
e7044ea7
OB
214512013-10-08 Ondřej Bílka <neleai@seznam.cz>
21452
21453 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21454 Use .p2align directive instead, throughout.
21455 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21456 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21457 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21458 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21459 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21460 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21461 * sysdeps/x86_64/strchr.S: Likewise.
21462 * sysdeps/x86_64/strrchr.S: Likewise.
21463
09544cbc
SP
214642013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21465
88576635
SP
21466 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21467
e7b2d1dd
SP
21468 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21469
09544cbc
SP
21470 * sysdeps/generic/math_private.h (__mpsin1): Remove
21471 declaration.
21472 (__mpcos1): Likewise.
21473 (__mpsin): New argument __range_reduce.
21474 (__mpcos): Likewise.
21475 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21476 (slow): Use __mpsin and __mpcos.
21477 (slow1): Likewise.
21478 (slow2): Likewise.
21479 (sloww): Likewise.
21480 (sloww1): Likewise.
21481 (sloww2): Likewise.
21482 (bsloww): Likewise.
21483 (bsloww1): Likewise.
21484 (bsloww2): Likewise.
21485 (cslow2): Likewise.
21486 (csloww): Likewise.
21487 (csloww1): Likewise.
21488 (csloww2): Likewise.
21489 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21490 range_reduce. Merge in __mpsin1.
21491 (__mpcos): Likewise.
21492 (__mpsin1): Remove.
21493 (__mpcos1): Likewise.
21494
7602d070
JM
214952013-10-07 Joseph Myers <joseph@codesourcery.com>
21496
21497 * locale/loadlocale.c (_nl_intern_locale_data): Use
21498 LOCFILE_ALIGNED_P.
21499 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21500 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21501 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21502 obstack data is appropriately aligned.
21503 (obstack_int32_grow_fast): Likewise.
21504 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21505 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21506 (add_locale_uint32_array): Likewise.
21507
a357259b
SP
215082013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21509
21510 * benchtests/Makefile: Remove ARGLIST and RET variables.
21511 ($(objpfx)bench-%.c): Pass only function name to the script.
21512 * benchtests/README: Update documentation.
21513 * benchtests/acos-inputs: Add new directives.
21514 * benchtests/acosh-inputs: Likewise.
21515 * benchtests/asin-inputs: Likewise.
21516 * benchtests/asinh-inputs: Likewise.
21517 * benchtests/atan-inputs: Likewise.
21518 * benchtests/atanh-inputs: Likewise.
21519 * benchtests/cos-inputs: Likewise.
21520 * benchtests/cosh-inputs: Likewise.
21521 * benchtests/exp-inputs: Likewise.
21522 * benchtests/log-inputs: Likewise.
21523 * benchtests/pow-inputs: Likewise.
21524 * benchtests/rint-inputs: Likewise.
21525 * benchtests/sin-inputs: Likewise.
21526 * benchtests/sinh-inputs: Likewise.
21527 * benchtests/tan-inputs: Likewise.
21528 * benchtests/tanh-inputs: Likewise.
21529 * scripts/bench.pl: Add support for new directives.
21530
9ec1b13d
AM
215312013-10-07 Alan Modra <amodra@gmail.com>
21532
21533 * README: Fix careless merge.
21534
8b7d57cd
AM
215352013-10-05 Alan Modra <amodra@gmail.com>
21536
21537 * NEWS: Mention powerpc64le support and bugs fixed.
21538 * README: Both big-endian and little-endian powerpc64 supported.
21539
7b7bab13
ST
215402013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21541
57f41c40
AS
21542 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21543 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
21544 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21545 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21546
d39baad1
RA
215472013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21548
21549 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21550 match prototype.
21551
cd78f7e7
JM
215522013-10-04 Joseph Myers <joseph@codesourcery.com>
21553
29d73d86
JM
21554 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21555 Move -mhard-float appending from
21556 ports/sysdeps/powerpc/powerpc32/Makefile.
21557 [$(with-fp) = yes] (ASFLAGS): Likewise.
21558 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21559 * sysdeps/powerpc/nofpu: Move directory from
21560 ports/sysdeps/powerpc/nofpu.
21561 * sysdeps/powerpc/soft-fp: Move directory from
21562 ports/sysdeps/powerpc/soft-fp.
21563 * sysdeps/powerpc/powerpc32/405: Move directory from
21564 ports/sysdeps/powerpc/powerpc32/405.
21565 * sysdeps/powerpc/powerpc32/440: Move directory from
21566 ports/sysdeps/powerpc/powerpc32/440.
21567 * sysdeps/powerpc/powerpc32/464: Move directory from
21568 ports/sysdeps/powerpc/powerpc32/464.
21569 * sysdeps/powerpc/powerpc32/476: Move directory from
21570 ports/sysdeps/powerpc/powerpc32/476.
21571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21572 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21574 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21576 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21578 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21580 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21581 * README: Update for powerpc-*-linux-gnu software floating point
21582 support in libc.
21583
e246b347
JM
21584 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21585 case to powerpc/powerpc32*.
21586 * sysdeps/unix/sysv/linux/configure: Regenerated.
21587
89c2003e
JM
21588 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21589 (_FPU_MASK_OM): Define as 0x04.
21590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21592 0x00c10080.
21593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21594 0x0000003c.
21595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21596
cd78f7e7
JM
21597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21598 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21599 getcontext_e500.
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21601 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21602 setcontext_e500.
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21604 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21605 and setcontext_e500.
21606
c755294d
CL
216072013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21608
21609 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21610
e16d221c
SP
216112013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21612
21613 * manual/threads.texi (Default Thread Attributes): Fix typo.
21614
215c7d43
WN
216152013-10-04 Will Newton <will.newton@linaro.org>
21616
21617 * malloc/Makefile: Add tst-memalign.
21618 * malloc/tst-memalign.c: New file.
21619
27d0461b
WN
21620 * malloc/tst-posix_memalign.c: Add comments.
21621 (do_test): Add comments and call free on all potentially
21622 allocated pointers. Add space after cast.
21623
1bc92709
WN
21624 * malloc/tst-pvalloc.c: Add comments.
21625 (do_test): Add comments and call free on all potentially
21626 allocated pointers. Remove duplicate check for NULL pointer.
21627 Add space after cast.
21628
66a9be9d
WN
21629 * malloc/tst-valloc.c: Add comments.
21630 (do_test): Add comments and call free on all potentially
21631 allocated pointers. Remove duplicate check for NULL pointer.
21632 Add space after cast.
21633
4cb81307
AM
216342013-10-04 Alan Modra <amodra@gmail.com>
21635
21636 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21637 Use stdint types in rather than __attribute__((mode())).
21638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21639
f8e3e9f3
AM
216402013-10-04 Alan Modra <amodra@gmail.com>
21641
21642 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21643 Correct handling of unaligned relocs for little-endian.
21644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21645
8f9ebb08
AM
216462013-10-04 Alan Modra <amodra@gmail.com>
21647
21648 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21649 * configure: Regenerate.
21650 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21651 * shlib-versions: Likewise.
21652
0edf96c2
AM
216532013-10-04 Alan Modra <amodra@gmail.com>
21654
21655 * string/tester.c (test_memrchr): Increment reported test cycle.
21656
e0f7a380
AM
216572013-10-04 Alan Modra <amodra@gmail.com>
21658
21659 * string/test-memcpy.c (do_one_test): When reporting errors, print
21660 string address and don't overrun end of string.
21661
466b0393
AM
216622013-10-04 Alan Modra <amodra@gmail.com>
21663
21664 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21665 insrdi. Make better use of reg selection to speed exit slightly.
21666 Schedule entry path a little better. Remove useless "are we done"
21667 checks on entry to main loop. Handle wrapping around zero address.
21668 Correct main loop count. Handle single left-over word from main
21669 loop inline rather than by using loop_small. Remove extra word
21670 case in loop_small caused by wrong loop count. Add little-endian
21671 support.
21672 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21673 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21674 cache hint.
21675 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21676 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21677 support. Avoid rlwimi.
21678 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21679
3be87c77
AM
216802013-10-04 Alan Modra <amodra@gmail.com>
21681
21682 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 21683 insrdi. Formatting.
3be87c77
AM
21684 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21685 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21686 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21687 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21688 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21689 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21690
759cfef3
AM
216912013-10-04 Alan Modra <amodra@gmail.com>
21692
21693 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21695 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21696 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21697 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21698 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21699 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21700 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21701 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21702 use of regs. Use power7 mtocrf. Tidy function tails.
21703
fe6e95d7
AM
217042013-10-04 Alan Modra <amodra@gmail.com>
21705
21706 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21707 Formatting. Consistently use rXXX register defines or rN defines.
21708 Use early exit labels that avoid restoring unused non-volatile regs.
21709 Make cr field use more consistent with rWORDn compares. Rename
21710 regs used as shift registers for unaligned loop, using rN defines
21711 for short lifetime/multiple use regs.
21712 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21714 addi 1,1,64 to pop stack frame. Simplify return value code.
21715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21716
664318c3
AM
217172013-10-04 Alan Modra <amodra@gmail.com>
21718
21719 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21720 support. Correct typos, formatting. Optimize tail. Use insrdi
21721 rather than rlwimi.
21722 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21723 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21724 little-endian support. Correct typos.
21725 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21726 rather than rlwimi.
21727 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21728 in loop and entry code to keep "and." results.
21729 (strchr): Add little-endian support. Comment. Move cntlzd
21730 earlier in tail.
21731 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21732
43b84013
AM
217332013-10-04 Alan Modra <amodra@gmail.com>
21734
21735 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21736 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21737 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21738 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21739
8a7413f9
AM
217402013-10-04 Alan Modra <amodra@gmail.com>
21741
21742 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21743 (rTMP): Define as r11.
21744 (strcmp): Add little-endian support. Optimise tail.
21745 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21746 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21747 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21748 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21752
33ee81de
AM
217532013-10-04 Alan Modra <amodra@gmail.com>
21754
21755 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21756 little-endian support. Remove unnecessary "are we done" tests.
21757 Handle "s" wrapping around zero and extremely large "size".
21758 Correct main loop count. Handle single left-over word from main
21759 loop inline rather than by using small_loop. Correct comments.
21760 Delete "zero" tail, use "end_max" instead.
21761 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21762
db9b4570
AM
217632013-10-04 Alan Modra <amodra@gmail.com>
21764
21765 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21766 support. Don't branch over align.
21767 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21768 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21769 support. Rearrange tmp reg use to suit. Comment.
21770 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21771
f7c399cf
AM
217722013-10-04 Alan Modra <amodra@gmail.com>
21773
21774 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21775
0b2c2ace
AM
217762013-10-04 Alan Modra <amodra@gmail.com>
21777
21778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21779 conditional form of branch and link when obtaining pc.
21780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21781
02f04a6c
AM
217822013-10-04 Alan Modra <amodra@gmail.com>
21783
21784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21785 HIWORD/LOWORD.
21786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21788
9b874b2f
AM
217892013-10-04 Alan Modra <amodra@gmail.com>
21790
21791 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21792 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21793 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21794 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21795 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21796 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21797 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21798 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21799 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21800 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21801
be1e5d31
AB
218022013-10-04 Anton Blanchard <anton@au1.ibm.com>
21803 Alistair Popple <alistair@ozlabs.au.ibm.com>
21804 Alan Modra <amodra@gmail.com>
21805
21806 [BZ #15723]
21807 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21808 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21809 _dl_hwcap access for little-endian.
21810 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21811 destroy vmx regs when saving unaligned.
21812 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21813 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21814 destroy vmx regs when saving unaligned.
21815
fef13a78
AM
218162013-10-04 Alan Modra <amodra@gmail.com>
21817
21818 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21819 Don't use a union to pack hi/low value.
21820
76a66d51
AB
218212013-10-04 Anton Blanchard <anton@au1.ibm.com>
21822
21823 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21824 for little-endian.
21825 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21826 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21827 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21828 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21829 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21830
6a31fe7f
AM
218312013-10-04 Alan Modra <amodra@gmail.com>
21832
21833 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21834 constants to usual value for .cst8 section, and remove redundant
21835 high address load.
21836 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21837 constant for 0x1p52. Load little-endian words of double from
21838 correct stack offsets.
21839
7b88401f
AM
218402013-10-04 Alan Modra <amodra@gmail.com>
21841
21842 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21843 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21844 words of double from correct stack offsets.
21845 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21846 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21847 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21848 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21849 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21850 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21852 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21853 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21855 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21856 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21857 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21858 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21859 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21860 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21861 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21862
9c008155
AM
218632013-10-04 Alan Modra <amodra@gmail.com>
21864
21865 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21866 64-bit int/double union.
21867 (_FPU_SETCW): Likewise.
21868 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21869 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21870
da13146d
AM
218712013-10-04 Alan Modra <amodra@gmail.com>
21872
21873 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21874 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21875
603e8410
AM
218762013-10-04 Alan Modra <amodra@gmail.com>
21877
21878 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21879 use vector int constants.
21880 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21881
4a28b3ca
AB
218822013-10-04 Anton Blanchard <anton@au1.ibm.com>
21883
21884 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21885 array with long long.
21886 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21887 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21888 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21889 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21890 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21891 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21892 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21893 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21894 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21895 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21896 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21897 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21898 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21899
2ca85d2b
AB
219002013-10-04 Anton Blanchard <anton@au1.ibm.com>
21901
21902 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21903 (__signbit): Likewise. Correct for little-endian.
21904 (__signbitl): Call __signbit.
21905 (lrint): Correct for little-endian.
21906 (lrintf): Call lrint.
21907
62a728ae
AM
219082013-10-04 Alan Modra <amodra@gmail.com>
21909
21910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21911 union 32-bit int array member with 64-bit int array.
21912 (t515, tm256): Double rather than long double.
21913 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21914
32c301df
AM
219152013-10-04 Alan Modra <amodra@gmail.com>
21916
21917 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21918 Delete.
21919 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21921 version of math_ldbl.h.
21922
650ef4bd
AM
219232013-10-04 Alan Modra <amodra@gmail.com>
21924
21925 [BZ #15734], [BZ #15735]
21926 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21927 all uses of ieee875 long double macros and unions. Simplify test
21928 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21929 ldbl_extract_mantissa value for ix,iy exponents. Properly
21930 normalize after ldbl_extract_mantissa, and don't add hidden bit
21931 already handled. Don't treat low word of ieee854 mantissa like
21932 low word of IBM long double and mask off bit when testing for
21933 zero.
21934 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21935 all uses of ieee875 long double macros and unions. Simplify tests
21936 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21937 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21938 two1022, instead use their values. Recognise that tests for large
21939 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21940 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21941 Rewrite all uses of ieee875 long double macros and unions. Simplify
21942 test for 0.0L and nan. Correct negation.
21943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21944 ieee875 long double macros and unions. Correct output for large
21945 magnitude x. Correct absolute value calculation.
21946 (__erfcl): Likewise.
21947 * math/libm-test.inc: Add tests for errors discovered in IBM long
21948 double versions of fmodl, remainderl, erfl and erfcl.
21949
765714ca
AM
219502013-10-04 Alan Modra <amodra@gmail.com>
21951
21952 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21953 all uses of ieee854 long double macros and unions. Simplify tests
21954 for long doubles that are fully specified by the high double.
21955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21956 Likewise.
21957 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21958 Remove dead code too.
21959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21960 (__ieee754_ynl): Likewise.
21961 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21962 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21964 Remove dead code too.
21965 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21966 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21967 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21968 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21969 Simplify.
21970 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21971 Simplify.
21972 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21973 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21974 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21975 Comment on variable precision.
21976 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21977 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21978 Likewise.
21979 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21980 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21981 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21982 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21983 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21984
4ebd120c
AM
219852013-10-04 Alan Modra <amodra@gmail.com>
21986
21987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21988 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21989 all uses of ieee854 long double macros and unions.
21990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21993 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21996 Likewise.
21997 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21998 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21999 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22001 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22002 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22003 Simplify sign and nan test too.
22004 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22005 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22006 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22007 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22008 Likewise.
22009 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22010 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22011 Likewise.
22012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22013 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22014 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22015 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22016 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22018
1b6adf88
AM
220192013-10-04 Alan Modra <amodra@gmail.com>
22020
22021 * stdio-common/printf_size.c (__printf_size): Don't use
22022 union ieee854_long_double in fpnum union.
22023 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22024 signbit macro to retrieve sign from long double.
22025 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22026 retrieve sign from long double.
22027 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22028 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22029 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22030 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22031 * math/test-misc.c (main): Don't use union ieee854_long_double.
22032
4cf69995
AM
220332013-10-04 Alan Modra <amodra@gmail.com>
22034
22035 [BZ #15680]
22036 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22037 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22038 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22039 calculation. Remove unnecessary test for denormal exponent.
22040 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22041 Correct handling of denormals. Avoid undefined shift behaviour.
22042 Correct normalisation of low mantissa when low double is denormal.
22043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22044 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22045 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22046 Correct normalisation of low mantissa. Test for overflow of high
22047 mantissa and normalise.
22048 (ldbl_nearbyint): Use more readable constant for two52.
22049 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22050 (__mpn_construct_long_double): Fix test for overflow of high
22051 mantissa and correct normalisation. Avoid undefined shift.
22052
9605ca6c
AM
220532013-10-04 Alan Modra <amodra@gmail.com>
22054
22055 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22056 (union ibm_extended_long_double): Define as an array of ieee754_double.
22057 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22058 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22059 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22060 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22062 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22064 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22065 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22066 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22067 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22068
975569d0
JM
220692013-10-03 Joseph Myers <joseph@codesourcery.com>
22070
d3d23756
JM
22071 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22072 page size instead of calling getpagesize.
22073
975569d0
JM
22074 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22075 (LOCFILE_ALIGN_MASK): Likewise.
22076 (LOCFILE_ALIGN_UP): Likewise.
22077 (LOCFILE_ALIGNED_P): Likewise.
22078 * locale/programs/ld-collate.c (collate_output): Use the new
22079 macros instead of __alignof__ (int32_t).
22080 * locale/weight.h (findidx): Likewise.
22081
b1fe1f2b
OB
220822013-10-03 Ondřej Bílka <neleai@seznam.cz>
22083
22084 [BZ #431]
22085 * manual/string.texi: Fix strncat and wcsncat.
22086
5f855e35
BM
220872013-10-03 Brooks Moses <bmoses@google.com>
22088
22089 [BZ #15915]
22090 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22091 * Makerules: ...here, and adjust associated comments.
22092
3cef6009
WN
220932013-10-02 Will Newton <will.newton@linaro.org>
22094
22095 * malloc/Makefile: Add tst-pvalloc.
22096 * malloc/tst-pvalloc.c: New file.
22097
7815420b
WN
220982013-10-02 Will Newton <will.newton@linaro.org>
22099
22100 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22101 improve test coverage.
22102
4868b204
WN
221032013-10-02 Will Newton <will.newton@linaro.org>
22104
22105 * malloc/Makefile: Add tst-posix_memalign.
22106 * malloc/tst-posix_memalign.c: New file.
22107
29c793b3
EB
221082013-10-01 Eric Blake <eblake@redhat.com>
22109
22110 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22111 Use __THROWNL rather than __THROW on static functions.
22112
fd967522
PM
221132013-09-30 Petr Machata <pmachata@redhat.com>
22114
22115 * elf/elf.h (R_AARCH64_ABS16): New macro.
22116 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22117 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22118 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22119 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22120 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22121 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22122 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22123 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22124 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22125 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22126 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22127 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22128 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22129 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22130 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22131 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22132 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22133 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22134 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22135 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22136 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22137 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22138 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22139 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22140 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22141 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22142 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22143 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22144 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22145 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22146 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22147 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22148 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22149 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22150 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22151 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22152 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22153 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22154 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22155 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22156 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22157 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22158 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22159 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22160 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22161 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22162 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22163 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22164 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22165 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22166 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22167 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22168 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22169 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22170 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22171 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22172 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22173 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22174 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22175 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22176 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22177 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22178 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22179 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22180 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22181 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22182 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22183 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22184 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22185 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22186 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22187 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22188 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22189 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22190 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22191 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22192 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22193 (R_AARCH64_TLSDESC_LDR): Likewise.
22194 (R_AARCH64_TLSDESC_ADD): Likewise.
22195 (R_AARCH64_TLSDESC_CALL): Likewise.
22196
b2179107
AS
221972013-09-30 Andreas Schwab <schwab@suse.de>
22198
22199 [BZ #15048]
22200 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22201 the nss database lookup.
22202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22204
47f28d0a
MF
222052013-09-28 Mike Frysinger <vapier@gentoo.org>
22206
22207 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22208
222092013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22210
22211 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22212 ${Bash-specific parameter/pattern/string} parameter expansion.
22213 * sysdeps/unix/make-syscalls.sh: Likewise.
22214
f4518a17
KK
222152013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22216
22217 * sysdeps/sh/stackguard-macros.h: New file.
22218
dc1a95c7
OB
222192013-09-26 Ondřej Bílka <neleai@seznam.cz>
22220
22221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22223 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22224 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22225 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22226 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22227
5ebbff8f
AZ
222282013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22229
22230 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22231 Fix thread ID register.
22232
4fd2cf9f
JM
222332013-09-25 Joseph Myers <joseph@codesourcery.com>
22234
22235 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22236 [POSIX || UNIX98]: Require rather than permitting all symbols from
22237 <time.h>.
22238 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22239 element of struct sched_param.
22240 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22241 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22242 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22243 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22244 constant.
22245
12c22bc4
OL
222462013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22247
22248 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22249 argument calculation.
22250
a03d8ea7
JM
222512013-09-24 Joseph Myers <joseph@codesourcery.com>
22252
22253 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22254 Expect macro.
22255 [POSIX] (pthread_attr_t): Do not require type.
22256 [POSIX] (pthread_cond_t): Likewise.
22257 [POSIX] (pthread_condattr_t): Likewise.
22258 [POSIX] (pthread_key_t): Likewise.
22259 [POSIX] (pthread_mutex_t): Likewise.
22260 [POSIX] (pthread_mutexattr_t): Likewise.
22261 [POSIX] (pthread_once_t): Likewise.
22262 [POSIX] (pthread_t): Likewise.
22263 [POSIX-based standards] (pthread_atfork): Expect function.
22264
6055173a
JM
222652013-09-24 Joseph Myers <joseph@codesourcery.com>
22266 Richard Sandiford <richard@codesourcery.com>
22267
22268 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22269 (swap_endianness_p): New extern variable.
22270 (set_big_endian): New inline function.
22271 (maybe_swap_uint32): Likewise.
22272 (maybe_swap_uint32_array): Likewise.
22273 (maybe_swap_uint32_obstack): Likewise.
22274 * locale/programs/locfile.c: Include <stdbool.h>.
22275 (swap_endianness_p): New variable.
22276 (add_locale_uint32): Call maybe_swap_uint32.
22277 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22278 (write_locale_data): Call maybe_swap_uint32_array.
22279 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22280 maybe_swap_uint32.
22281 (obstack_int32_grow_fast): Likewise.
22282 (output_weightwc): Call maybe_swap_uint32_obstack.
22283 (collate_output): Likewise.
22284 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22285 (OPT_LITTLE_ENDIAN): Likewise.
22286 (options): Add --little-endian and --big-endian options.
22287 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22288 * locale/programs/locarchive.c: Include "locfile.h".
22289 (GET): New macro.
22290 (SET): Likewise.
22291 (INC): Likewise.
22292 (create_archive): Use the new macros to access fields of
22293 structures directly mapped from or written to locale archives.
22294 (oldlocrecentcmp): Likewise.
22295 (enlarge_archive): Likewise.
22296 (insert_name): Likewise.
22297 (add_alias): Likewise.
22298 (add_locale): Likewise.
22299 (delete_locales_from_archive): Likewise.
22300 (show_archive_content): Likewise.
22301 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22302 locale data.
22303
39bf0bb4
RM
223042013-09-24 Roland McGrath <roland@hack.frob.com>
22305
22306 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22307 http://www.gnu.org/doc/freemanuals.texi.
22308 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22309
f02eed10
WN
223102013-09-24 Will Newton <will.newton@linaro.org>
22311
22312 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22313 macro.
22314
a3a6c312
JM
223152013-09-23 Joseph Myers <joseph@codesourcery.com>
22316
22317 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22318 unsigned char.
22319
107375ac
MR
223202013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22321
22322 * manual/threads.texi (POSIX Threads): Fix a typo.
22323
141f3a77
SP
223242013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22325
303e567a
SP
22326 [BZ #14547]
22327 * string/tst-strcoll-overflow.c: New test case.
22328 * string/Makefile (xtests): Add tst-strcoll-overflow.
22329 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22330 cache if string sizes may cause integer overflow.
22331
141f3a77
SP
22332 [BZ #14547]
22333 * string/strcoll_l.c (coll_seq): New members rule, idx,
22334 save_idx and back_us.
22335 (get_next_seq_nocache): New function.
22336 (do_compare_nocache): New function.
22337 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22338 when malloc fails.
22339
c61b4d41
CD
223402013-09-23 Carlos O'Donell <carlos@redhat.com>
22341
0b1f8e35
CD
22342 [BZ #15754]
22343 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22344 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22345 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22346
c61b4d41
CD
22347 [BZ #15754]
22348 * elf/Makefile (tests): Add tst-ptrguard1.
22349 (tests-static): Add tst-ptrguard1-static.
22350 (tst-ptrguard1-ARGS): Define.
22351 (tst-ptrguard1-static-ARGS): Define.
22352 * elf/tst-ptrguard1.c: New file.
22353 * elf/tst-ptrguard1-static.c: New file.
22354 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22355 * sysdeps/i386/stackguard-macros.h: Likewise.
22356 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22357 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22358 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22359 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22360 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22361 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22362
223632013-09-23 Hector Marco <hecmargi@upv.es>
22364 Ismael Ripoll <iripoll@disca.upv.es>
22365 Carlos O'Donell <carlos@redhat.com>
22366
22367 [BZ #15754]
22368 * sysdeps/generic/stackguard-macros.h: Define
22369 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22370 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22371 Define __pointer_chk_guard_local.
22372 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22373 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22374
f5f4e7b4
VV
223752013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22376
22377 [BZ #15859]
22378 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22379
5bb43a43
AS
223802013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22381
22382 * include/string.h (__ffs): Declare as hidden.
22383 * string/ffs.c (__ffs): Define as hidden.
22384 * sysdeps/i386/ffs.c (__ffs): Likewise.
22385 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22386 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22387 * sysdeps/s390/ffs.c (__ffs): Likewise.
22388 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22389
3ea5be54
AO
223902013-09-20 Alexandre Oliva <aoliva@redhat.com>
22391
ffb89e53
AO
22392 * NEWS: Mention malloc probes.
22393
322dea08
AO
22394 * malloc/arena.c (new_heap): New memory_heap_new probe.
22395 (grow_heap): New memory_heap_more probe.
22396 (shrink_heap): New memory_heap_less probe.
22397 (heap_trim): New memory_heap_free probe.
22398 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22399 (systrim): New memory_sbrk_less probe.
22400 * manual/probes.texi: Document them.
22401
655673f3
AO
22402 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22403 * manual/probes.texi: Document it.
22404
35fed6f1
AO
22405 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22406 (__libc_realloc): Add memory_realloc_retry probe.
22407 (__libc_memalign): Add memory_memalign_retry probe.
22408 (__libc_valloc): Add memory_valloc_retry probe.
22409 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22410 (__libc_calloc): Add memory_calloc_retry probe.
22411 * manual/probes.texi: Document them.
22412
6999d38c
AO
22413 * malloc/arena.c (get_free_list): Add probe
22414 memory_arena_reuse_free_list.
22415 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22416 and memory_arena_reuse.
22417 (arena_get2) [!PER_THREAD]: Likewise.
22418 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22419 memory_arena_reuse_realloc.
22420 * manual/probes.texi: Document them.
22421
0653427f
AO
22422 * malloc/malloc.c (__libc_free): Add
22423 memory_mallopt_free_dyn_thresholds probe.
22424 (__libc_mallopt): Add multiple memory_mallopt probes.
22425 * manual/probes.texi: Document them.
22426
3ea5be54
AO
22427 * malloc/malloc.c: Include stap-probe.h.
22428 (__libc_mallopt): Add memory_mallopt probe.
22429 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22430 * manual/probes.texi: New.
22431 * manual/Makefile (chapters): Add probes.
22432 * manual/threads.texi: Set next node.
22433
e35696c3 224342013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 22435
e35696c3
CL
22436 [BZ #15963, #13985]
22437 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22438 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22439 Add `Chinese' to `nan' entry name.
22440
4aafb73c
SP
224412013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22442
22443 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22444 (POLYNOMIAL): Likewise.
22445 (TAYLOR_SINCOS): Likewise.
22446 (TAYLOR_SLOW): Likewise.
22447 (__sin): Use TAYLOR_SINCOS.
22448 (__cos): Likewise.
22449 (slow): Use TAYLOR_SLOW.
22450 (sloww): Likewise.
22451 (bsloww): Likewise.
22452 (csloww): Likewise.
22453
d84f25c7
LD
224542013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22455
22456 * stdlib/strtod_l.c: Fix buffer overrun.
22457
5eea0404
SP
224582013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22459
7849ff93
SP
22460 * benchtests/Makefile (bench): Add sincos.
22461 * benchtests/bench-sincos.c: New file.
22462
cfa3c886
SP
22463 * math/libm-test.inc (cos_test_data): New test inputs.
22464 (sin_test_data): Likewise.
22465
b348e1e3
SP
22466 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22467 macro.
22468 (__sin): Use it.
22469 (__cos): Likewise.
22470 (slow1): Likewise.
22471 (slow2): Likewise.
22472 (sloww1): Likewise.
22473 (sloww2): Likewise.
22474 (bsloww1): Likewise.
22475 (bsloww2): Likewise.
22476 (cslow2): Likewise.
22477 (csloww1): Likewise.
22478 (csloww2): Likewise.
22479
6cce25f8
SP
22480 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22481 function.
22482 (__sin): Use it.
22483 (__cos): Likewise.
22484
5eea0404
SP
22485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22486 gotos.
22487 (__cos): Likewise.
22488
9c21573c
MR
224892013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22490
22491 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22492 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22493 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22494 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22495 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22496 * elf/cache.c (print_entry): Handle the new cache flags.
22497
24d22e65
JM
224982013-09-18 Joseph Myers <joseph@codesourcery.com>
22499 Aldy Hernandez <aldyh@redhat.com>
22500
22501 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22502 Change condition to [_SOFT_FLOAT].
22503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22505 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22515 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22518 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22519 declaration.
22520
d13ef066
JM
225212013-09-18 Joseph Myers <joseph@codesourcery.com>
22522
2e071de0
JM
22523 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22524 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22525 (__longjmp): Use LOAD_GP to load saved GPRs.
22526 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22527 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22528 (__sigsetjmp): Use SAVE_GP to save GPRs.
22529
d13ef066
JM
22530 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22531 Do not append -msoft-float.
22532 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22533
97a0650b
SP
225342013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22535
22536 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22537
11ca09e9
JM
225382013-09-17 Joseph Myers <joseph@codesourcery.com>
22539
22540 [BZ #15966]
22541 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22542 (_FPU_GETCW): Use initial "__" on variable and field names but not
22543 on macro parameter name.
22544 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22545 parentheses around reference to macro parameter.
22546
08ffcf34
RS
225472013-09-13 Richard Sandiford <richard@codesourcery.com>
22548
22549 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22550 prototype.
22551 (ctype_startup): Use uint32_t in cast and sizeof for
22552 ctype->charnames.
22553
ae7080d3
JL
225542013-09-11 Jia Liu <proljc@gmail.com>
22555
22556 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22557 __daddr_t_defined.
22558 [__FreeBSD__]: Likewise.
22559
5905e7b3
OB
225602013-09-11 Ondřej Bílka <neleai@seznam.cz>
22561
22562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22563 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22564 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22565 (strchr): Remove __strchr_sse42 ifunc selection.
22566 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22567 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22568
b987c776
WN
225692013-09-11 Will Newton <will.newton@linaro.org>
22570
22571 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22572 parameter to RES. Remove hardcoded 1000 value.
22573 * benchtests/bench-skeleton.c (main): Pass RES parameter
22574 to TIMING_INIT and multiply result by 1000.
22575
ddf985af
AZ
225762013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22577
22578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22579
ffdd3181
AS
225802013-09-11 Andreas Schwab <schwab@suse.de>
22581
22582 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22583 if not defined.
22584 (O_TMPFILE) [__USE_GNU]: Define.
22585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22586 Define.
22587
b73ed247
WN
225882013-09-11 Will Newton <will.newton@linaro.org>
22589
22590 [BZ #15857]
22591 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22592 does not overflow.
22593
55e17aad
WN
225942013-09-11 Will Newton <will.newton@linaro.org>
22595
22596 [BZ #15856]
22597 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22598 does not overflow.
22599
1159a193
WN
226002013-09-11 Will Newton <will.newton@linaro.org>
22601
22602 [BZ #15855]
22603 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22604 does not overflow.
22605
5905e7b3 226062013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
22607
22608 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22613
cdfc721b
AM
226142013-09-10 Allan McRae <allan@archlinux.org>
22615
aa04af00
AM
22616 [BZ #15748]
22617 * manual/arith.texi (Parsing of Floats): Clarify
22618 cross-reference.
22619
cdfc721b
AM
22620 [BZ #15849]
22621 * manual/install.texi (Running make install): Mention
22622 --enable-pt-chown.
22623 * INSTALL: Regenerated.
22624
95e7cf29
MR
226252013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22626
22627 * csu/init-first.c (_init): Remove the !SHARED condition around
22628 FPU control word initialization.
22629 * elf/dl-support.c (_dl_fpu_control): New variable.
22630 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22631 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22632 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22633 * math/test-fpucw-static.c: New file.
22634 * math/test-fpucw-ieee.c: New file.
22635 * math/test-fpucw-ieee-static.c: New file.
22636 * math/Makefile (tests): Add `test-fpucw-ieee' and
22637 `$(tests-static)'.
22638 (tests-static): New variable.
22639 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22640 dependency to...
22641 [($(build-shared),yes)]
22642 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22643 ... this.
22644 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22645 New dependency.
22646
83e43bf0
AM
226472013-09-09 Allan McRae <allan@archlinux.org>
22648
a9f5ce09
AM
22649 [BZ #15939]
22650 * manual/string.texi (Collation Functions): Fix typo in
22651 strcoll example.
22652 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22653
34829bc2
AM
22654 [BZ #15893]
22655 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22656
3932737d
AM
22657 [BZ #15892]
22658 * libio/memstream.c (open_memstream): Fix memory leak.
22659 * libio/wmemstream.c (open_wmemstream): Likewise.
22660
83e43bf0
AM
22661 [BZ #15895]
22662 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22663
0c66b8e9
WN
226642013-09-09 Will Newton <will.newton@linaro.org>
22665
22666 * malloc/Makefile: Add tst-realloc to tests.
22667 * malloc/tst-realloc.c: New file.
22668
f6b00fd1
AM
226692013-09-09 Allan McRae <allan@archlinux.org>
22670
22671 [BZ #15844]
22672 * COPYING: Update from GNU website to fix FSF address.
22673 * COPYING.LIB: Likewise.
22674
eec55e16
DM
226752013-09-06 David S. Miller <davem@davemloft.net>
22676
22677 * po/zh_TW.po: Update Chinese (traditional) translation from
22678 translation project.
22679
1ecbb381
RS
226802013-09-06 Richard Sandiford <richard@codesourcery.com>
22681 Joseph Myers <joseph@codesourcery.com>
22682
22683 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22684 "localeinfo.h".
22685 (obstack_chunk_alloc): New macro.
22686 (obstack_chunk_free): Likewise.
22687 (record_offset): New function.
22688 (init_locale_data): Likewise.
22689 (align_locale_data): Likewise.
22690 (add_locale_empty): Likewise.
22691 (add_locale_raw_data): Likewise.
22692 (add_locale_raw_obstack): Likewise.
22693 (add_locale_string): Likewise.
22694 (add_locale_wstring): Likewise.
22695 (add_locale_uint32): Likewise.
22696 (add_locale_uint32_array): Likewise.
22697 (add_locale_char): Likewise.
22698 (start_locale_structure): Likewise.
22699 (end_locale_structure): Likewise.
22700 (start_locale_prelude): Likewise.
22701 (end_locale_prelude): Likewise.
22702 (write_locale_data): Take locale_file structure rather than an
22703 iovec.
22704 * locale/programs/locfile.h: Include "obstack.h".
22705 (struct locale_file): Change to store locale file contents instead
22706 of header.
22707 (init_locale_data): New prototype.
22708 (align_locale_data): Likewise.
22709 (add_locale_empty): Likewise.
22710 (add_locale_raw_data): Likewise.
22711 (add_locale_raw_obstack): Likewise.
22712 (add_locale_string): Likewise.
22713 (add_locale_wstring): Likewise.
22714 (add_locale_uint32): Likewise.
22715 (add_locale_uint32_array): Likewise.
22716 (add_locale_char): Likewise.
22717 (start_locale_structure): Likewise.
22718 (end_locale_structure): Likewise.
22719 (start_locale_prelude): Likewise.
22720 (end_locale_prelude): Likewise.
22721 (write_locale_data): Update prototype.
22722 * locale/programs/3level.h (struct TABLE): Remove result field.
22723 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22724 Use new locale_file interface.
22725 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22726 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22727 * locale/programs/ld-address.c (address_output): Use new
22728 locale_file interface.
22729 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22730 NO_ADD_LOCALE.
22731 (collate_finish): Don't call collseq_table_finalize.
22732 (collate_output): Use new locale_file interface.
22733 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22734 in file.
22735 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22736 (TABLE): Move defines earlier in file.
22737 (ELEMENT): Likewise.
22738 (DEFAULT): Likewise.
22739 (wctrans_table_add): Move macro and inline function earlier in
22740 file.
22741 (struct wctype_table): Move type earlier in file.
22742 (add_locale_wctype_table): New static prototype.
22743 (struct locale_ctype_t): Use logical types instead of struct iovec
22744 pointers for members.
22745 (ctype_output): Use new locale_file interface.
22746 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22747 new locale_file interface.
22748 (allocate_arrays): Update for use of new locale_file interface.
22749 * locale/programs/ld-identification.c (identification_output): Use
22750 new locale_file interface.
22751 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22752 * locale/programs/ld-messages.c (messages_output): Likewise.
22753 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22754 * locale/programs/ld-name.c (name_output): Likewise.
22755 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22756 * locale/programs/ld-paper.c (paper_output): Likewise.
22757 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22758 * locale/programs/ld-time.c (time_output): Likewise.
22759
e029e2e5
AZ
227602013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22761
22762 * benchtests/Makefile: Add memrchr benchmark.
22763 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22764 benchmark as memrchr.
22765 * benchtests/bench-memrchr-ifunc.c: New file.
22766 * benchtests/bench-memrchr.c: New file.
22767
bbf6e8e4
WN
227682013-09-06 Will Newton <will.newton@linaro.org>
22769
22770 * benchtests/Makefile (string-bench): Add memcpy.
22771
6c82a2f8
CD
227722013-09-05 Carlos O'Donell <carlos@redhat.com>
22773 Cong Wang <amwang@redhat.com>
22774
e732c5f0 22775 [BZ #15850]
6c82a2f8
CD
22776 * sysdeps/unix/sysv/linux/bits/in.h
22777 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22778 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22779 before __USE_KERNEL_IPV6_DEFS uses.
22780 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22781 IPPROTO_BEETPH.
22782 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22783 sockaddr_in6, or ipv6_mreq.
22784
5430fc65
AZ
227852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22786
22787 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22788 memory access for final bytes in some large inputs.
22789 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22790
4660856c
AZ
227912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22792
22793 * string/test-memrchr.c: New file.
22794 * string/test-memrchr-ifunc.c: New file.
22795 * string/Makefile: Add new memrchr testcase.
22796
bb8ea713
MF
227972013-09-05 Mike Frysinger <vapier@gentoo.org>
22798
22799 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22800 fanotify_init returns EPERM.
22801
b92a20b5
JM
228022013-09-04 Joseph Myers <joseph@codesourcery.com>
22803
22804 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22805 errors.
22806 (top level): Treat second token from macro or constant entries for
22807 allowed headers as allowed.
22808 * include/complex.h: Condition internal declarations on
22809 [!_ISOMAC].
22810 * include/fenv.h: Condition include of <stdbool.h> and internal
22811 declarations on [!_ISOMAC].
7447ccd9
CL
22812
228132013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22814
3e181dda 22815 [BZ #15923]
7447ccd9
CL
22816 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22817
3f2e46a4
JM
228182013-09-04 Joseph Myers <joseph@codesourcery.com>
22819
22820 * configure.in (--enable-versioning): Remove configure option.
22821 (libc_cv_asm_symver_directive): Remove configure test.
22822 (libc_cv_ld_version_script_option): Likewise.
22823 (VERSIONING): Remove variable and AC_SUBST.
22824 (DO_VERSIONING): Remove AC_DEFINE.
22825 * configure: Regenerated.
22826 * config.h.in (DO_VERSIONING): Remove macro.
22827 * Makerules [$(versioning) = yes]: Change conditionals to
22828 [$(build-shared) = yes].
22829 * config.make.in (versioning): Remove variable.
22830 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22831 [$(build-shared) = yes].
22832 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22833 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22834 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22835 [$(build-shared) = yes].
22836 * extra-lib.mk [$(versioning) = yes]: Likewise.
22837 * hurd/Makefile [$(versioning) = yes]: Likewise.
22838 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22839 [SHARED].
22840 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22841 [SHARED].
22842 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22843 [SHARED && !NO_HIDDEN].
22844 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22845 [SHARED].
22846 [SHARED && DO_VERSIONING]: Likewise..
22847 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22848 [$(build-shared) = yes].
22849 * manual/install.texi (--disable-versioning): Remove
22850 documentation.
22851 * INSTALL: Regenerated.
22852 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22853 to [SHARED].
22854 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22855 [$(build-shared) = yes].
22856 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22857 * sysdeps/i386/i686/multiarch/strstr-c.c
22858 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22859 [SHARED && !NO_HIDDEN].
22860 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22861 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22862 * sysdeps/powerpc/powerpc32/dl-machine.c
22863 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22864 * sysdeps/powerpc/powerpc32/sysdep.h
22865 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22866 to [SHARED && PIC && !NO_HIDDEN].
22867 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22868 conditional to [SHARED].
22869
44558701
WN
228702013-09-04 Will Newton <will.newton@linaro.org>
22871
22872 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22873 * benchtests/bench-string.h: Include bench-timing.h instead
22874 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22875 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22876 call to HP_TIMING_DIFF_INIT.
22877 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22878 instead of hp-timing.h macros.
22879 * benchtests/bench-memchr.c: Likewise.
22880 * benchtests/bench-memcmp.c: Likewise.
22881 * benchtests/bench-memcpy.c: Likewise.
22882 * benchtests/bench-memmem.c: Likewise.
22883 * benchtests/bench-memmove.c: Likewise.
22884 * benchtests/bench-memset.c: Likewise.
22885 * benchtests/bench-rawmemchr.c: Likewise.
22886 * benchtests/bench-strcasecmp.c: Likewise.
22887 * benchtests/bench-strcasestr.c: Likewise.
22888 * benchtests/bench-strcat.c: Likewise.
22889 * benchtests/bench-strchr.c: Likewise.
22890 * benchtests/bench-strcmp.c: Likewise.
22891 * benchtests/bench-strcpy.c: Likewise.
22892 * benchtests/bench-strcpy_chk.c: Likewise.
22893 * benchtests/bench-strlen.c: Likewise.
22894 * benchtests/bench-strncasecmp.c: Likewise.
22895 * benchtests/bench-strncat.c: Likewise.
22896 * benchtests/bench-strncmp.c: Likewise.
22897 * benchtests/bench-strncpy.c: Likewise.
22898 * benchtests/bench-strnlen.c: Likewise.
22899 * benchtests/bench-strpbrk.c: Likewise.
22900 * benchtests/bench-strrchr.c: Likewise.
22901 * benchtests/bench-strspn.c: Likewise.
22902 * benchtests/bench-strstr.c: Likewise.
22903
cae16d66
WN
229042013-09-04 Will Newton <will.newton@linaro.org>
22905
22906 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22907
ffa3cd7f
JM
229082013-09-03 Joseph Myers <joseph@codesourcery.com>
22909
22910 [BZ #15427]
22911 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22912 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22913 * math/libm-test.inc (lgamma_test_data): Add more tests.
22914 * sysdeps/i386/fpu/libm-test-ulps: Update.
22915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22916
8f02859f
OB
229172013-09-03 Ondřej Bílka <neleai@seznam.cz>
22918
22919 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22920 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22921 Add ifunc.
22922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22923 Add strcmp-sse2-unaligned
22924 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22925
18d43716
MF
229262013-09-02 Mike Frysinger <vapier@gentoo.org>
22927
22928 * Versions.def (libc): Add GLIBC_2.19.
22929
ac444012
MF
229302013-09-02 Mike Frysinger <vapier@gentoo.org>
22931
22932 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22933 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22934
b7835e32
JM
229352013-09-02 Joseph Myers <joseph@codesourcery.com>
22936
22937 [BZ #14155]
22938 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22939 intermediate calculations in recurrence.
22940 (__ieee754_ynf): Likewise.
22941 * math/libm-test.inc (jn_test_data): Do not allow spurious
22942 underflow exception. Add more tests.
22943 (yn_test_data): Add more tests.
22944 * sysdeps/i386/fpu/libm-test-ulps: Update.
22945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22946
8220f4f0
OB
229472013-09-02 Ondřej Bílka <neleai@seznam.cz>
22948
22949 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22950
f24a6d08
OB
229512013-08-30 Ondřej Bílka <neleai@seznam.cz>
22952
22953 * csu/init-first.c: Fix then/than typos.
22954 * locale/programs/ld-collate.c: Likewise.
22955 * locale/programs/linereader.h: Likewise.
22956 * manual/charset.texi: Likewise.
22957 * manual/filesys.texi: Likewise.
22958 * manual/stdio.texi: Likewise.
22959 * manual/string.texi: Likewise.
22960 * stdlib/fmtmsg.c: Likewise.
22961 * sysdeps/i386/stpncpy.S: Likewise.
22962 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22963 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22964 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22965 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22966
382466e0
OB
229672013-08-30 Ondřej Bílka <neleai@seznam.cz>
22968
22969 * elf/dl-open.c: Fix typos.
22970 * iconvdata/gbbig5.c: Likewise.
22971 * iconvdata/iso-2022-jp.c: Likewise.
22972 * iconv/gconv_int.h: Likewise.
22973 * iconv/loop.c: Likewise.
22974 * nis/rpcsvc/nis.h: Likewise.
22975 * resolv/ns_name.c: Likewise.
22976 * stdio-common/vfscanf.c: Likewise.
22977 * streams/stropts.h: Likewise.
22978 * sunrpc/rpc_thread.c: Likewise.
22979 * sysdeps/i386/strpbrk.S: Likewise.
22980 * sysdeps/ieee754/k_standard.c: Likewise.
22981 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22983 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22984 * sysdeps/mach/hurd/profil.c: Likewise.
22985 * sysdeps/s390/dl-procinfo.h: Likewise.
22986 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22987 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22988 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22989 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22990 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22991
0186c6e9
OB
229922013-08-30 Ondřej Bílka <neleai@seznam.cz>
22993
22994 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22996
d4e16af1
OB
229972013-08-29 Ondřej Bílka <neleai@seznam.cz>
22998
22999 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23000 aix specific files.
23001 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23002 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23003 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23004 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23005 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23006 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23007 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23008 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23009
88335980
TS
230102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23011 Roland McGrath <roland@hack.frob.com>
23012
23013 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23014 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23015
ed479b02
ST
230162013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23017
23018 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23019 __executable_start symbol instead of _start.
23020
f1cc4c86
TS
230212013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23022
d821f07c
TS
23023 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23024 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23025 Move macros to...
23026 * sysdeps/gnu/ldsodefs.h: ... this new file.
23027
c54290cf
TS
23028 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23029 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23030 instead of ELFOSABI_LINUX.
23031
0007fc9b 23032 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23033 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23034 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23035 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23036 Likewise.
23037 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23038 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23039 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23040 Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23042 (ibm_extended_long_double): Add ieee_nan member.
23043 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23044 (do_test): New function.
23045
f1cc4c86
TS
23046 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23047 TEST_TRUNC.
23048 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23049 functions, renamed from truncdfsf_test, trunctfsf_test,
23050 trunctfdf_test.
23051 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23052 functions.
23053 (do_test): Run all these.
23054
6f65e668
OB
230552013-08-29 Ondřej Bílka <neleai@seznam.cz>
23056
23057 * argp/argp-help.c: Fix typos.
23058 * argp/argp-parse.c: Likewise.
23059 * debug/backtracesyms.c: Likewise.
23060 * elf/elf.h: Likewise.
23061 * malloc/malloc.c: Likewise.
23062 * nis/nis_print.c: Likewise.
23063 * resolv/res_comp.c: Likewise.
23064 * stdlib/stdlib.h: Likewise.
23065 * sunrpc/clnt_tcp.c: Likewise.
23066 * sunrpc/clnt_udp.c: Likewise.
23067 * sunrpc/clnt_unix.c: Likewise.
23068 * sysdeps/unix/bsd/ptsname.c: Likewise.
23069 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23070 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23072 Likewise.
23073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23074 Likewise.
23075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23076 Likewise.
6f65e668
OB
23077 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23078
3a309239
SP
230792013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23080
23081 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23083
3b813b29
MF
230842013-08-27 Mike Frysinger <vapier@gentoo.org>
23085
23086 [BZ #15897]
23087 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23088 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23089 ($(objpfx)bug-dl-leaf): New rule.
23090 ($(objpfx)bug-dl-leaf.so): Likewise.
23091 ($(objpfx)bug-dl-leaf.out): Likewise.
23092 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23093 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23094 * dlfcn/bug-dl-leaf.c: New test.
23095 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23096 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23097 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23098 (dlclose): Likewise.
23099 (dlmopen): Likewise.
23100
8cc3269f
RM
231012013-08-27 Roland McGrath <roland@hack.frob.com>
23102
7f9d0034
RM
23103 * include/netdb.h [!_ISOMAC]:
23104 Don't include <tls.h>.
23105 (h_errno, __libc_h_errno): Move declaration and macros out of
23106 [_LIBC_REENTRANT].
23107
fb431262
RM
23108 * include/resolv.h [_RESOLV_H_]:
23109 Don't include <tls.h>.
23110 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23111 * resolv/res_libc.c: Don't include <tls.h>.
23112 (_res): Use __attribute__ ((nocommon)) in place of
23113 __attribute__ ((section (".bss"))).
23114
bd81123a
RM
23115 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23116 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23117
c4e42566
RM
23118 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23119
f890a59b
RM
23120 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23121 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23122
23123 * resolv/res_mkquery.c: Include <sys/time.h>.
23124
5d1f0a09
RM
23125 * inet/ifreq.c: Moved to ...
23126 * sysdeps/unix/ifreq.c: ... here.
23127 * inet/ifreq.c: New file, true stub version.
23128
6fcf28b3
RM
23129 * socket/sa_len.c: New file.
23130 * socket/Makefile (aux): Add it.
23131 * sysdeps/unix/sysv/linux/Makefile
23132 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23133 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23134 and #include <socket/sa_len.c>.
23135 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23136 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23137
e041fb8b
RM
23138 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23139 * bits/socket.h: ... here.
23140
8cc3269f
RM
23141 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23142 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23143 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23144
5d228a43
AS
231452013-08-27 Andreas Schwab <schwab@suse.de>
23146
45b8accc
AS
23147 [BZ #15736]
23148 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23149 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23150 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23151 * string/test-strcasecmp.c (test_main): Run tests in several
23152 locales.
23153 * string/test-strncasecmp.c (test_main): Likewise.
23154
5d228a43
AS
23155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23156 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23157 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23158 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23159 (__strncasecmp_ssse3) [PIC]: Likewise.
23160
59d112a4
RM
231612013-08-26 Roland McGrath <roland@hack.frob.com>
23162
53234cc3
RM
23163 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23164
59d112a4
RM
23165 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23166 instead of explicitly declaring xdecrypt.
23167 * nis/nss_nis/nis-publickey.c: Likewise.
23168
595aba70
SP
231692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23170
23171 [BZ #15890]
23172 * nscd/aicache.c: Include res_hconf.h.
23173 (addhstaiX): Initialize res_hconf.
23174
ffabd393
AS
231752013-08-26 Andreas Schwab <schwab@suse.de>
23176
23177 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23178 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23179
e0a69f5c
SP
231802013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23181
23182 * nscd/aicache.c (addhstaiX): Fix indentation.
23183
8c12f01d
MF
231842013-08-25 Mike Frysinger <vapier@gentoo.org>
23185
23186 * configure.ac: Quote $build_pt_chown test.
23187 * configure: Regenerated.
23188
8fe89494
JM
231892013-08-23 Joseph Myers <joseph@codesourcery.com>
23190
23191 [BZ #15532]
23192 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23193 * math/s_cexpf.c (__cexpf): Likewise.
23194 * math/s_cexpl.c (__cexpl): Likewise.
23195 * math/libm-test.inc (cexp_test_data): Correct expected return
23196 value for NaN + i0. Add another test.
23197
75b181d6
DM
231982013-08-22 David S. Miller <davem@davemloft.net>
23199
23200 * po/ca.po: Update Catalan translation from translation project.
936241e4 23201 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23202
acd06bb1
JM
232032013-08-21 Joseph Myers <joseph@codesourcery.com>
23204
23205 [BZ #15797]
23206 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23207 is infinite, not alongside NaN test.
23208 * math/s_fdimf.c (__fdimf): Likewise.
23209 * math/s_fdiml.c (__fdiml): Likewise.
23210 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23211 errno is unchanged.
23212
c0c3f78a
OB
232132013-08-21 Ondřej Bílka <neleai@seznam.cz>
23214
23215 * argp/argp-help.c: Fix typos.
23216 * crypt/speeds.c: Likewise.
23217 * csu/check_fds.c: Likewise.
23218 * elf/dl-load.c: Likewise.
23219 * elf/dl-open.c: Likewise.
23220 * elf/reldep3.c: Likewise.
23221 * elf/reldep.c: Likewise.
23222 * elf/sprof.c: Likewise.
23223 * iconv/iconv_charmap.c: Likewise.
23224 * iconv/skeleton.c: Likewise.
23225 * iconv/strtab.c: Likewise.
23226 * io/lockf64.c: Likewise.
23227 * libio/libioP.h: Likewise.
23228 * resolv/gai_notify.c: Likewise.
23229 * resolv/ns_name.c: Likewise.
23230 * resolv/ns_samedomain.c: Likewise.
23231 * resolv/res_send.c: Likewise.
23232 * stdlib/random.c: Likewise.
23233 * sunrpc/rpc/xdr.h: Likewise.
23234 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23235 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23236 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23237 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23238 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23239 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23241 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23242 * sysdeps/mach/hurd/check_fds.c: Likewise.
23243 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23244 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23245 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23246 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23247 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23248 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23249 * sysdeps/pthread/aio_notify.c: Likewise.
23250 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23251 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23252 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23254 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23255
46ed1038
LD
232562013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23257
23258 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23259 version if bit_Slow_SSE4_2 is set.
23260 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23261 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23262
d400dcac
AZ
232632013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23264
23265 [BZ #15867]
23266 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23267 trampoline stack frame information.
23268 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23269 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23270 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23271 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23272 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23273 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23274 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23275 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23276 sa_flags value.
23277 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23278 interrupting a syscall and set with option SA_SIGINFO.
23279
42c8fdd8
JM
232802013-08-20 Joseph Myers <joseph@codesourcery.com>
23281
c980f2f4
JM
23282 [BZ #15531]
23283 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23284 argument is infinite.
23285 * math/s_cprojf.c (__cprojf): Likewise.
23286 * math/s_cprojl.c (__cprojl): Likewise.
23287 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23288 * math/libm-test.inc (cproj_test_data): Add more tests.
23289
0716c4fc
JM
23290 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23291
42c8fdd8
JM
23292 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23293 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23294 size. Use __ffs to determine corresponding shift.
23295
b31469d0
JM
232962013-08-20 Joseph Myers <joseph@codesourcery.com>
23297 Roland McGrath <roland@hack.frob.com>
23298
23299 * Makefile (INSTALL): Remove trailing blank lines from output of
23300 makeinfo.
23301
4e39af6e
AK
233022013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23303
23304 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23305 Align 32 bit compat elf_greg to 8 bytes.
23306
f315524e
AA
233072013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23308
23309 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23310
1326ba1a
SP
233112013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23312
23313 * string/strcoll_l.c (coll_seq): New structure.
23314 (get_next_seq_cached): New function.
23315 (get_next_seq): New function.
23316 (do_compare): New function.
23317 (STRCOLL): Use GNU style definition. Simplify implementation
23318 by using get_next_seq, get_next_seq_cached and do_compare.
23319
91ce4085
FW
233202013-08-16 Florian Weimer <fweimer@redhat.com>
23321
23322 [BZ #14699]
23323 CVE-2013-4237
23324 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23325 member.
23326 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23327 member.
23328 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23329 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23330 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23331 conditional.
23332 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23333 GETDENTS_64BIT_ALIGNED.
23334 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23335 * manual/filesys.texi (Reading/Closing Directory): Document
23336 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23337 strongly.
23338 * manual/conf.texi (Limits for Files): Add portability note to
23339 NAME_MAX, PATH_MAX.
23340 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23341
ca0a6bc4
AS
233422013-08-13 Andreas Schwab <schwab@suse.de>
23343
23344 [BZ #15749]
23345 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23346 of fabs.
23347 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23348 LDBL_MAX_EXP >= 16384]: Add tests for it.
23349
6c1fd795
DM
233502013-08-12 David S. Miller <davem@davemloft.net>
23351
23352 * version.h (RELEASE): Set to "development".
23353 (VERSION): Set to "2.18.90".
23354 * NEWS: Add 2.19 section.
23355
31ad488d
DM
233562013-08-03 David S. Miller <davem@davemloft.net>
23357
23358 * po/ko.po: Update Korean translation from translation project.
23359
db24e684
DM
233602013-08-01 David S. Miller <davem@davemloft.net>
23361
23362 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23363 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23364 Bilka.
23365
f723285b
DM
233662013-07-30 David S. Miller <davem@davemloft.net>
23367
23368 * po/fr.po: Update French translation from translation project.
23369
3cbc52db
DM
233702013-07-28 David S. Miller <davem@davemloft.net>
23371
30bbc0cc
DM
23372 * po/cs.po: Update Czech translation from translation project.
23373
3cbc52db
DM
23374 * po/sv.po: Update Swedish translation from translation project.
23375
d492e6d0
DM
233762013-07-27 David S. Miller <davem@davemloft.net>
23377
f1a7f492
DM
23378 * po/eo.po: Update Esperanto translation from translation project.
23379
90e62a4a
DM
23380 * po/vi.po: Update Vietnamese translation from translation project.
23381
d492e6d0
DM
23382 * po/de.po: Update German translation from translation project.
23383
d4baa62d
DM
233842013-07-26 David S. Miller <davem@davemloft.net>
23385
641aa7b4
DM
23386 * po/bg.po: Update Bulgarian translation from translation project.
23387
d4baa62d
DM
23388 * po/nl.po: Update Dutch translation from translation project.
23389 * po/pl.po: Update Polish translation from translation project.
23390 * po/ru.po: Update Russian translation from translation project.
23391
61a9dcb9
DM
233922013-07-24 David S. Miller <davem@davemloft.net>
23393
23394 * po/libc.pot: Update.
23395
7b1f8b58
AZ
233962013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23397
23398 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23399 variable page size.
23400 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23401 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23402 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23403
a8fc7a03
AK
234042013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23405
23406 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23407
e4608715
CD
234082013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23409 Andreas Schwab <schwab@suse.de>
23410 Roland McGrath <roland@hack.frob.com>
23411 Joseph Myers <joseph@codesourcery.com>
23412 Carlos O'Donell <carlos@redhat.com>
23413
23414 [BZ #15755]
23415 * config.h.in: Define HAVE_PT_CHOWN.
23416 * config.make.in (build-pt-chown): New variable.
23417 * configure.in (--enable-pt_chown): New configure option.
23418 * configure: Regenerate.
23419 * login/Makefile: Include Makeconfig. Build pt_chown only if
23420 build-pt-chown is enabled.
23421 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23422 pt_chown to fix pty ownership.
23423 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23424 CLOSE_ALL_FDS.
23425 * manual/install.texi (Configuring and compiling): Mention
23426 --enable-pt_chown. Add @findex for grantpt.
23427 * INSTALL: Regenerate.
23428
da2d62df
DM
234292013-07-20 David S. Miller <davem@davemloft.net>
23430
23431 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23432 difference between 32-bit and 64-bit.
23433
d7e06450
CD
234342013-07-15 Carlos O'Donell <carlos@redhat.com>
23435
23436 [BZ #15711]
23437 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23438 Avoid system header dependency with -ffreestanding.
23439 ($(objpfx)bits/syscall%d): Likewise.
23440
f959cfd7
DM
234412013-07-13 David S. Miller <davem@davemloft.net>
23442
23443 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23444 underflows from atanl/atan2l due to bug 15319.
23445 (casinh_test_data): Likewise.
23446
c61f8513
DM
234472013-07-07 David S. Miller <davem@davemloft.net>
23448
23449 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23450
72c90ed0
JA
234512013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23452
23453 * sysdeps/i386/fpu/libm-test-ulps: Update.
23454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23455
52dfbe13
SP
234562013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23457
23458 * configure.in (--enable-lock-elision): Fix message text.
23459 * INSTALL: Regenerate.
23460 * configure: Regenerate.
23461
3f169543
AZ
234622013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23463
23464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23465
521c6785
AJ
234662013-07-03 Andreas Jaeger <aj@suse.de>
23467
23468 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23469 define.
23470 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23471 (ptrace_peeksiginfo_args): Add.
23472 (__ptrace_peeksiginfo_flags): Add.
23473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23475 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23476
d2cc15cb
AM
234772013-07-03 Allan McRae <allan@archlinux.org>
23478
23479 * sysdeps/i386/fpu/libm-test-ulps: Update.
23480
3aaeeca7
DM
234812013-07-02 David S. Miller <davem@davemloft.net>
23482
23483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23484
5314ed1a
MT
234852013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23486
23487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23488
67338156
JM
234892013-07-02 Joseph Myers <joseph@codesourcery.com>
23490
23491 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23493
1717da59
AK
234942013-07-02 Andi Kleen <ak@linux.intel.com>
23495
23496 * config.h.in (ENABLE_LOCK_ELISION): Add.
23497 * configure.in (--enable-lock-elision): Add option.
23498 * manual/install.texi: Document --enable lock elision.
23499 * configure: Regenerate
23500 * INSTALL: Regenerate.
23501
1c81621c
L
235022013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23503
23504 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23505 SSE4.2 strcasecmp for libc.a.
23506 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23507
77f01ab5
JM
235082013-07-02 Joseph Myers <joseph@codesourcery.com>
23509
23510 [BZ #13304]
23511 * soft-fp/op-common.h (_FP_FMA): New macro.
23512 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23513 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23514 (_FP_MUL_MEAT_1_imm): ... here.
23515 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23516 (_FP_MUL_MEAT_1_wide): ... here.
23517 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23518 (_FP_MUL_MEAT_1_hard): ... here.
23519 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23520 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23521 (_FP_MUL_MEAT_2_wide): ... here.
23522 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23523 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23524 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23525 (_FP_MUL_MEAT_2_gmp): ... here.
23526 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23527 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23528 (_FP_MUL_MEAT_4_wide): ... here.
23529 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23530 (_FP_MUL_MEAT_4_gmp): ... here.
23531 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23532 (_FP_WFRACBITS_DW_S): Likewise.
23533 (_FP_WFRACXBITS_DW_S): Likewise.
23534 (_FP_HIGHBIT_DW_S): Likewise.
23535 (FP_FMA_S): Likewise.
23536 (_FP_FRAC_HIGH_DW_S): Likewise.
23537 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23538 (_FP_WFRACBITS_DW_D): Likewise.
23539 (_FP_WFRACXBITS_DW_D): Likewise.
23540 (_FP_HIGHBIT_DW_D): Likewise.
23541 (FP_FMA_D): Likewise.
23542 (_FP_FRAC_HIGH_DW_D): Likewise.
23543 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23544 (_FP_WFRACBITS_DW_E): Likewise.
23545 (_FP_WFRACXBITS_DW_E): Likewise.
23546 (_FP_HIGHBIT_DW_E): Likewise.
23547 (FP_FMA_E): Likewise.
23548 (_FP_FRAC_HIGH_DW_E): Likewise.
23549 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23550 (_FP_WFRACBITS_DW_Q): Likewise.
23551 (_FP_WFRACXBITS_DW_Q): Likewise.
23552 (_FP_HIGHBIT_DW_Q): Likewise.
23553 (FP_FMA_Q): Likewise.
23554 (_FP_FRAC_HIGH_DW_Q): Likewise.
23555 * soft-fp/fmasf4.c: New file.
23556 * soft-fp/fmadf4.c: Likewise.
23557 * soft-fp/fmatf4.c: Likewise.
23558
6308fd9a
LD
235592013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23560
23561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23562 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23563 Silvermont.
23564 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23565 macro.
23566 (index_Slow_SSE4_2): Likewise.
23567 (index_Prefer_PMINUB_for_stringop): Likewise.
23568 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23569 bit_Slow_SSE4_2 is set.
23570 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23571 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23572
89cd9569
RA
235732013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23574
23575 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23576 rtld_global._dl_hwcap2.
23577 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23578 POWER8.
23579 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23580 POWER8 feature descriptions defined in _dl_hwcap2.
23581 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23582 string handling for POWER8 feature bits.
23583 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23584 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23585 _dl_powerpc_cap_flags.
23586 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23587 * sysdeps/powerpc/rtld-global-offsets.sym
23588 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23589 _dl_hwcap2 in the rtld_global_ro structure.
23590
1ae8bfe0
RA
235912013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23592
23593 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23594 hardware capabilities in support of AT_HWCAP2.
23595 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23596 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23597 GLRO(dl_hwcap2).
23598 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23599 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23600 explicitly the unknown a_type display mechanism is used.
23601 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23602 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23603 struct member.
23604 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23605 to macro prototype for AT_HWCAP2 support.
23606 * sysdeps/i386/dl-procinfo.h: Likewise.
23607 * sysdeps/s390/dl-procinfo.h: Likewise.
23608 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23609 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23610 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23611 return -1 for unknown a_type display fallback.
23612 * sysdeps/sparc/dl-procinfo.h: Likewise.
23613 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23614 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23615
8fbec010
JM
236162013-06-28 Joseph Myers <joseph@codesourcery.com>
23617
23618 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23619 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23620
0432680e
PY
236212013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23622
23623 [BZ #12492]
23624 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23625 mprotect making __stack_prot writable.
23626
ce61a2ad
NF
236272013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23628 Joseph Myers <joseph@codesourcery.com>
23629
23630 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23631 as being properly aligned.
23632
f91f1c0f
MR
236332013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23634
3d0f5d0c
MR
23635 * dlfcn/modstatic5.c: New file.
23636 * dlfcn/tststatic5.c: New file.
23637 * dlfcn/Makefile (tests): Add tststatic5.
23638 (tests-static): Likewise.
23639 (modules-names): Add modstatic5.
23640 (tststatic5-ENV): New variable.
23641 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23642
f91f1c0f
MR
23643 [BZ #15022]
23644 * elf/dl-support.c (_dl_main_map): New variable.
23645 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23646 (_dl_nns, _dl_load_adds): Set to 1.
23647 (_dl_initial_searchlist): Refer to _dl_main_map.
23648 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23649 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23650 call to _dl_get_origin.
23651 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23652 around call_map.
23653 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23654 * dlfcn/modstatic3.c: New file.
23655 * dlfcn/tststatic3.c: New file.
23656 * dlfcn/tststatic4.c: New file.
23657 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23658 (tests-static): Likewise.
23659 (modules-names): Add modstatic3.
23660 (tststatic3-ENV, tststatic4-ENV): New variables.
23661 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23662 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23663
cbe7d24b
JM
236642013-06-26 Joseph Myers <joseph@codesourcery.com>
23665
23666 * configure.in (CC): Require GCC version 4.4 or later.
23667 * configure: Regenerated.
23668 * manual/install.texi (Tools for Compilation): Update GCC version
23669 requirement.
23670 * INSTALL: Regenerated.
23671
11b8a0e1
LD
236722013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23673
23674 [BZ #15674]
bb5bb87c
L
23675 * string/test-memcmp.c (check2): New.
23676 (main): Call check2.
23677
11b8a0e1
LD
23678 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23679
b0037103
MR
236802013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23681
23682 [BZ #15022]
23683 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23684 over to...
23685 (dl_open_worker) [!SHARED]: ... here.
23686
c18c701d
RA
236872013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23688
23689 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23690
1d17fa5f
RH
236912013-06-25 Richard Henderson <rth@redhat.com>
23692
23693 * locale/programs/locarchive.c: Include <libc-internal.h>
23694
8fcb833a
JM
236952013-06-25 Joseph Myers <joseph@codesourcery.com>
23696
23697 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23698 trailing whitespace removed.
23699
17db6e8d
MF
237002013-06-24 Mike Frysinger <vapier@gentoo.org>
23701
23702 [BZ #10283]
17db6e8d
MF
23703 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23704 * locale/programs/locarchive.c: Include libc-mmap.h.
23705 (prepare_address_space): Take two new outputs (the mmap base and len).
23706 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23707 values.
23708 (create_archive): Declare new mmap base and len values for
23709 prepare_address_space, and store the result in ah.
23710 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23711 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23712 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23713 Declare new mmap base and len values for
23714 prepare_address_space, and store the result in new_ah.
23715 (open_archive): Declare new mmap base and len values for
23716 prepare_address_space, and store the result in ah.
23717 (close_archive): If ah->mmap_base is not NULL, use that and
23718 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23719 * sysdeps/generic/libc-mmap.h: New file.
23720
d605071e
MF
237212013-06-24 Mike Frysinger <vapier@gentoo.org>
23722
23723 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23724 (ALIGN_UP): Likewise.
23725 (PTR_ALIGN_DOWN): Likewise.
23726 (PTR_ALIGN_UP): Likewise.
23727
2f063a6e
RA
237282013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23729
23730 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23731 entry mapped to PPC_PLATFORM_POWER8.
23732 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23733 POWER8.
23734 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23735 (_dl_string_platform): Add case for exporting platform position for
23736 POWER8.
23737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23738 search path to sysdeps/powerpc/powerpc32/power8 directory.
23739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23740 search path to sysdeps/powerpc/powerpc64/power8 directory.
23741 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23742 power7 directories.
23743 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23744 power7 directories.
23745
a31ee4b3
SP
237462013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23747
a74ca98f
SP
23748 * INSTALL: Regenerate.
23749
a31ee4b3
SP
23750 * nscd/connections.c (nscd_init): Fix comment.
23751
695c378f
JM
237522013-06-22 Joseph Myers <joseph@codesourcery.com>
23753
d8412221
JM
23754 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23755
695c378f
JM
23756 [BZ #15667]
23757 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23758 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23759
d1d54715
MR
237602013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23761
23762 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23763 DL_DST_REQ_STATIC.
23764 (DL_DST_REQ_STATIC): Remove macro.
23765
8fdda7af
JM
237662013-06-21 Joseph Myers <joseph@codesourcery.com>
23767
23768 [BZ #7006]
23769 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23770 with a shift of 0 bits.
23771
f3bc5e5a
MR
237722013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23773
23774 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23775 $(tststatic-ENV).
23776
be09e8c9
KK
237772013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23778
23779 [BZ #15655]
23780 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23781
85c2e611
AZ
237822013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23783
23784 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23785 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23786 accepts -fno-tree-loop-distribute-patterns.
23787 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23788 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23789 recursive call.
23790 * string/memset.c (memset): Likewise.
23791 * string/test-memmove.c (simple_memmove): Disable loop transformation
23792 to library calls.
23793 * string/test-memset.c (simple_memset): Likewise.
23794 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23795 * benchtests/bench-memset.c (simple_memset): Likewise.
23796 * configure: Regenerated.
23797
c91e0825
JM
237982013-06-20 Joseph Myers <joseph@codesourcery.com>
23799
b8c792af
JM
23800 * math/test-misc.c (main): Ignore fesetround failure when failures
23801 of subsequent rounding tests would be ignored.
23802
c91e0825
JM
23803 [BZ #15654]
23804 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23805 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23806 * math/fegetenv.c (__fegetenv): Return 0.
23807 * math/fegetexcept.c (fegetexcept): Return 0.
23808 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23809 FE_TONEAREST.
23810 * math/feholdexcpt.c (feholdexcept): Return 0.
23811 * math/fesetenv.c (__fesetenv): Return 0.
23812 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23813 argument FE_TONEAREST.
23814 * math/feupdateenv.c (__feupdateenv): Return 0.
23815 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23816
bfcacbde
RM
238172013-06-18 Roland McGrath <roland@hack.frob.com>
23818
23819 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23820 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23821 ($(objpfx)rtld-%.os rules): Use them.
23822
e55a9b25
AZ
238232013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23824
23825 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23826 fields.
23827
346d65b3
RM
238282013-06-17 Roland McGrath <roland@hack.frob.com>
23829
12086fb4
RM
23830 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23831 length of target pattern, then descending length of dependency pattern.
23832 * configure.in (AWK): Require gawk 3.1.2 or newer.
23833 * manual/install.texi (Tools for Compilation): Say that we do.
23834 * configure: Regenerated.
23835
346d65b3
RM
23836 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23837 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23838 * scripts/sysd-rules.awk: ... this new script.
23839 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23840 than a glob-style pattern.
23841
1a846317
JM
238422013-06-17 Joseph Myers <joseph@codesourcery.com>
23843
23844 * math/test-misc.c (main): Do not treat incorrectly rounded
23845 conversions as failure unless ROUNDING_TESTS passes.
23846
8fc75e6f
JM
238472013-06-15 Joseph Myers <joseph@codesourcery.com>
23848
3711a167
JM
23849 [BZ #15631]
23850 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23851 restore exception state around main square root computation, then
23852 check for inexactness explicitly.
23853
8fc75e6f
JM
23854 * math/libm-test.inc (fma_test_data): Add another test.
23855
61dd6208
SP
238562013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23857
adf23d2c
SP
23858 * manual/threads.texi (Non-POSIX Extensions): New document
23859 node. Document pthread_getattr_default_np and
23860 pthread_setattr_default_np.
23861
61dd6208
SP
23862 * Versions.def (libpthread): Add GLIBC_2.18.
23863 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23865 Likewise.
23866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23867 Likewise.
23868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23869 Likewise.
23870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23871 Likewise.
23872 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23873 Likewise.
23874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23875 Likewise.
23876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23877 Likewise.
23878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23879 Likewise.
23880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23881 Likewise.
23882
d086fc7b
LD
238832013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23884
23885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23886 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23887
747ef469
SP
238882013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23889 H.J. Lu <hjl.tools@gmail.com>
23890
23891 [BZ #15627]
23892 * sysdeps/x86_64/rtld-memset.c: Remove file.
23893 * sysdeps/x86_64/rtld-memset.S: New file.
23894
1b2feed2
JM
238952013-06-14 Joseph Myers <joseph@codesourcery.com>
23896
23897 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23898 (test_in_one_mode): Take arguments for whether the rounding mode
23899 is supported for each floating-point type.
23900 (do_test): Pass new arguments to test_in_one_mode using
23901 ROUNDING_TESTS.
23902
a58ad3f8
RM
239032013-06-13 Roland McGrath <roland@hack.frob.com>
23904
23905 * posix/tst-waitid.c (do_test): Distinguish different instances of
23906 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23907 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23908 before entering the kernel for waitpid.
23909
c204ab28
SP
239102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23911
23912 * NEWS: Fix note on clock function precision. Text by Roland
23913 McGrath.
23914
f4a29fba
RM
239152013-06-13 Roland McGrath <roland@hack.frob.com>
23916
23917 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23918 it into place only when and if the sanity check passes.
23919
1f24b9ad
JM
239202013-06-13 Joseph Myers <joseph@codesourcery.com>
23921
23922 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23923 output for whether conversion result is exact. Take argument
23924 indicating whether type is IBM long double.
23925 (round_for_all): Change need_exact field to ibm_ld.
23926 * stdlib/tst-strtod-round.c (struct exactness): New type.
23927 (struct test): Change bool ld_ok field to struct exactness exact.
23928 (TEST): Update all definitions for change to field.
23929 (tests): Regenerate array contents.
23930 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23931 field value. Check for IBM long double here.
23932 (do_test): Update calls to test_in_one_mode.
23933
58206c68
SP
239342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23935
23936 [BZ #12515]
23937 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23938 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23939
2d6f4c5b 239402013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
23941
23942 [BZ #15605]
23943 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23944 generated by the compiler on loop optimizations.
23945 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23946 general definitions.
23947
94f2c076
JM
239482013-06-12 Joseph Myers <joseph@codesourcery.com>
23949
23950 * math/bug-nextafter.c: Include <math-tests.h>.
23951 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23952 the relevant type.
23953 * math/bug-nexttoward.c: Include <math-tests.h>.
23954 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23955 the relevant type.
23956 * math/test-misc.c: Include <math-tests.h>.
23957 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23958 the relevant type.
23959
e0e50a0a
AJ
239602013-06-12 Andreas Jaeger <aj@suse.de>
23961
23962 * po/ia.po: Update Interlingua translation from translation
23963 project.
23964
25061094
SP
239652013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23966
23967 * include/fenv.h: Include stdbool.h.
23968 (struct rm_ctx): New structure.
23969 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23970 Define macro.
23971 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23972 (SET_RESTORE_ROUNDF): Likewise.
23973 (SET_RESTORE_ROUNDL): Likewise.
23974 (SET_RESTORE_ROUND_NOEX): Likewise.
23975 (SET_RESTORE_ROUND_NOEXF): Likewise.
23976 (SET_RESTORE_ROUND_NOEXL): Likewise.
23977 (SET_RESTORE_ROUND_53BIT): Likewise.
23978 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23979 (libc_feresetround_noexf_ctx): Likewise.
23980 (libc_feresetround_noexl_ctx): Likewise.
23981 (libc_feholdsetround_53bit_ctx): Likewise.
23982 (libc_feresetround_53bit_ctx): Likewise.
23983 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23984 (libc_feholdexcept_setround_sse_ctx): New function.
23985 (libc_fesetenv_sse_ctx): Likewise.
23986 (libc_feupdateenv_sse_ctx): Likewise.
23987 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23988 (libc_feholdexcept_setround_387_ctx): Likewise.
23989 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23990 (libc_feholdsetround_387_prec_ctx): Likewise.
23991 (libc_feholdsetround_387_ctx): Likewise.
23992 (libc_feholdsetround_387_53bit_ctx): Likewise.
23993 (libc_feholdsetround_sse_ctx): Likewise.
23994 (libc_feresetround_sse_ctx): Likewise.
23995 (libc_feresetround_387_ctx): Likewise.
23996 (libc_feupdateenv_387_ctx): Likewise.
23997 (libc_feholdexcept_setroundf_ctx): Define macro.
23998 (libc_fesetenvf_ctx): Likewise.
23999 (libc_feupdateenvf_ctx): Likewise.
24000 (libc_feholdsetroundf_ctx): Likewise.
24001 (libc_feresetroundf_ctx): Likewise.
24002 (libc_feholdexcept_setround_ctx): Likewise.
24003 (libc_fesetenv_ctx): Likewise.
24004 (libc_feupdateenv_ctx): Likewise.
24005 (libc_feholdsetround_ctx): Likewise.
24006 (libc_feresetround_ctx): Likewise.
24007 (libc_feholdexcept_setroundl_ctx): Likewise.
24008 (libc_feupdateenvl_ctx): Likewise.
24009 (libc_feholdsetroundl_ctx): Likewise.
24010 (libc_feresetroundl_ctx): Likewise.
24011 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24012 (libc_feresetround_53bit_ctx): Likewise.
24013
59b30555
SP
240142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24015
24016 * locale/iso-639.def: Convert to UTF-8.
24017
f1d73d30
JM
240182013-06-11 Joseph Myers <joseph@codesourcery.com>
24019
24020 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24021 (EXCEPTION_TESTS_double): Likewise.
24022 (EXCEPTION_TESTS_long_double): Likewise.
24023 (EXCEPTION_TESTS): Likewise.
24024 * math/libm-test.inc (test_exceptions): Only test exceptions if
24025 EXCEPTION_TESTS (FLOAT).
24026
94aca5e7
SP
240272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24028
24029 * benchtests/Makefile (string-bench): Add strcpy_chk and
24030 stpcpy_chk.
24031 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24032 * benchtests/bench-stpcpy_chk.c: New file.
24033 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24034 * benchtests/bench-strcpy_chk.c: New file.
24035 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24036 code.
24037 (do_test): Likewise.
24038
fac0c5f2
RA
240392013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24040
24041 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24042 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24043 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24044 with tabs where appropriate.
24045 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24046 dl-procinfo.h.
24047 [PPC_PLATFORM_PPC440]: Likewise.
24048 [PPC_PLATFORM_PPC464]: Likewise.
24049 [PPC_PLATFORM_PPC476]: Likewise.
24050 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24051 ppc464, and ppc476 platform strings merging from ports/
24052 dl-procinfo.h.
24053
f22bc486
AS
240542013-06-11 Andreas Schwab <schwab@suse.de>
24055
24056 [BZ #14991]
24057 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24058 (from_ucs4_idx): Regenerate.
24059 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24060 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24061 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24062 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24063 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24064 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24065 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24066 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24067 from FROM_LOOP and TO_LOOP specific macros.
24068 (BODY): Handle combining characters.
24069 * iconvdata/BIG5HKSCS.irreversible: Update.
24070 * iconvdata/BIG5HKSCS.precomposed: New file.
24071 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24072 characters.
24073 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24074
c1f75dc3
SP
240752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24076
4eacded2
SP
24077 * include/sys/time.h: Fix indentation and add copyright header.
24078
fec799f8
SP
24079 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24080 (do_test): Likewise.
24081 * string/test-memchr.c (do_one_test): Likewise.
24082 (do_test): Likewise.
24083 * string/test-memcmp.c (do_one_test): Likewise.
24084 (do_test): Likewise.
24085 * string/test-memcpy.c (do_one_test): Likewise.
24086 (do_test): Likewise.
24087 * string/test-memmem.c (do_one_test): Likewise.
24088 (do_test): Likewise.
24089 (do_random_tests): Likewise.
24090 * string/test-memmove.c (do_one_test): Likewise.
24091 (do_test): Likewise.
24092 * string/test-memset.c (do_one_test): Likewise.
24093 (do_test): Likewise.
24094 * string/test-rawmemchr.c (do_one_test): Likewise.
24095 (do_test): Likewise.
24096 * string/test-strcasecmp.c (do_one_test): Likewise.
24097 (do_test): Likewise.
24098 * string/test-strcasestr.c (do_one_test): Likewise.
24099 (do_test): Likewise.
24100 * string/test-strcat.c (do_one_test): Likewise.
24101 (do_test): Likewise.
24102 * string/test-strchr.c (do_one_test): Likewise.
24103 (do_test): Likewise.
24104 * string/test-strcmp.c (do_one_test): Likewise.
24105 (do_test): Likewise.
24106 * string/test-strcpy.c (do_one_test): Likewise.
24107 (do_test): Likewise.
24108 * string/test-string.h: Likewise.
24109 (test_init): Likewise.
24110 * string/test-strlen.c (do_one_test): Likewise.
24111 (do_test): Likewise.
24112 * string/test-strncasecmp.c (do_one_test): Likewise.
24113 (do_test): Likewise.
24114 * string/test-strncat.c (do_one_test): Likewise.
24115 (do_test): Likewise.
24116 * string/test-strncmp.c (do_one_test): Likewise.
24117 (do_test_limit): Likewise.
24118 (do_test): Likewise.
24119 * string/test-strncpy.c (do_one_test): Likewise.
24120 (do_test): Likewise.
24121 * string/test-strnlen.c (do_one_test): Likewise.
24122 (do_test): Likewise.
24123 * string/test-strpbrk.c (do_one_test): Likewise.
24124 (do_test): Likewise.
24125 * string/test-strrchr.c (do_one_test): Likewise.
24126 (do_test): Likewise.
24127 * string/test-strspn.c (do_one_test): Likewise.
24128 (do_test): Likewise.
24129 * string/test-strstr.c (do_one_test): Likewise.
24130 (do_test): Likewise.
24131
97020474
SP
24132 * benchtests/Makefile (string-bench): Add string benchmarks.
24133 * benchtests/bench-bcopy-ifunc.c: New file.
24134 * benchtests/bench-bcopy.c: New file.
24135 * benchtests/bench-bzero-ifunc.c: New file.
24136 * benchtests/bench-bzero.c: New file.
24137 * benchtests/bench-memccpy-ifunc.c: New file.
24138 * benchtests/bench-memccpy.c: New file.
24139 * benchtests/bench-memchr-ifunc.c: New file.
24140 * benchtests/bench-memchr.c: New file.
24141 * benchtests/bench-memcmp-ifunc.c: New file.
24142 * benchtests/bench-memcmp.c: New file.
24143 * benchtests/bench-memmem-ifunc.c: New file.
24144 * benchtests/bench-memmem.c: New file.
24145 * benchtests/bench-memmove-ifunc.c: New file.
24146 * benchtests/bench-memmove.c: New file.
24147 * benchtests/bench-mempcpy-ifunc.c: New file.
24148 * benchtests/bench-mempcpy.c: New file.
24149 * benchtests/bench-memset-ifunc.c: New file.
24150 * benchtests/bench-memset.c: New file.
24151 * benchtests/bench-rawmemchr-ifunc.c: New file.
24152 * benchtests/bench-rawmemchr.c: New file.
24153 * benchtests/bench-stpcpy-ifunc.c: New file.
24154 * benchtests/bench-stpcpy.c: New file.
24155 * benchtests/bench-stpncpy-ifunc.c: New file.
24156 * benchtests/bench-stpncpy.c: New file.
24157 * benchtests/bench-strcasecmp-ifunc.c: New file.
24158 * benchtests/bench-strcasecmp.c: New file.
24159 * benchtests/bench-strcasestr-ifunc.c: New file.
24160 * benchtests/bench-strcasestr.c: New file.
24161 * benchtests/bench-strcat-ifunc.c: New file.
24162 * benchtests/bench-strcat.c: New file.
24163 * benchtests/bench-strchr-ifunc.c: New file.
24164 * benchtests/bench-strchr.c: New file.
24165 * benchtests/bench-strchrnul-ifunc.c: New file.
24166 * benchtests/bench-strchrnul.c: New file.
24167 * benchtests/bench-strcmp-ifunc.c: New file.
24168 * benchtests/bench-strcmp.c: New file.
24169 * benchtests/bench-strcpy-ifunc.c: New file.
24170 * benchtests/bench-strcpy.c: New file.
24171 * benchtests/bench-strcspn-ifunc.c: New file.
24172 * benchtests/bench-strcspn.c: New file.
24173 * benchtests/bench-strlen-ifunc.c: New file.
24174 * benchtests/bench-strlen.c: New file.
24175 * benchtests/bench-strncasecmp-ifunc.c: New file.
24176 * benchtests/bench-strncasecmp.c: New file.
24177 * benchtests/bench-strncat-ifunc.c: New file.
24178 * benchtests/bench-strncat.c: New file.
24179 * benchtests/bench-strncmp-ifunc.c: New file.
24180 * benchtests/bench-strncmp.c: New file.
24181 * benchtests/bench-strncpy-ifunc.c: New file.
24182 * benchtests/bench-strncpy.c: New file.
24183 * benchtests/bench-strnlen-ifunc.c: New file.
24184 * benchtests/bench-strnlen.c: New file.
24185 * benchtests/bench-strpbrk-ifunc.c: New file.
24186 * benchtests/bench-strpbrk.c: New file.
24187 * benchtests/bench-strrchr-ifunc.c: New file.
24188 * benchtests/bench-strrchr.c: New file.
24189 * benchtests/bench-strspn-ifunc.c: New file.
24190 * benchtests/bench-strspn.c: New file.
24191 * benchtests/bench-strstr-ifunc.c: New file.
24192 * benchtests/bench-strstr.c: New file.
24193
c1f75dc3
SP
24194 * benchtests/Makefile: Disable parallel execution of targets.
24195 (string-bench): Add memcpy.
24196 (benchset): New variable to store a list of benchmark sets.
24197 (bench-func): Renamed from bench.
24198 (bench-set): New target.
24199 (bench): Depend on bench-func and bench-set.
24200 * benchtests/README: Add section on benchmark sets.
24201 * benchtests/bench-memcpy-ifunc.c: New file.
24202 * benchtests/bench-memcpy.c: New file.
24203 * benchtests/bench-string.h: New file.
24204
50fd745b
AS
242052013-06-11 Andreas Schwab <schwab@suse.de>
24206
24207 [BZ #15577]
24208 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24209 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24210 values in the triple.
24211 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24212 terminator in the group key.
24213
3ee7e9fe
AJ
242142013-06-11 Andreas Jaeger <aj@suse.de>
24215
24216 * po/zh_TW.po: Update Chinese (traditional) translation from
24217 translation project.
24218
89fb6835
SP
242192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24220
24221 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24222 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24223 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24224 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24225 (clock_getcpuclockid): Likewise.
24226 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24227 Add weak_alias and libc_hidden_def.
24228 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24229 * rt/clock_gettime.c (clock_gettime): Rename to
24230 __clock_gettime. Add weak_alias and libc_hidden_def.
24231 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24232 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24233 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24234 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24235 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24236 Likewise.
24237 * rt/clock_settime.c (clock_settime): Rename to
24238 __clock_settime. Add weak_alias and libc_hidden_def.
24239 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24240
0efa6f8b
JM
242412013-06-10 Joseph Myers <joseph@codesourcery.com>
24242
b8c61b4b
JM
24243 * mach/err_boot.sub: Remove trailing whitespace.
24244 * mach/err_ipc.sub: Likewise.
24245 * mach/err_mach.sub: Likewise.
24246
0efa6f8b
JM
24247 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24248 (ROUNDING_TESTS_double): Likewise.
24249 (ROUNDING_TESTS_long_double): Likewise.
24250 (ROUNDING_TESTS): Likewise.
24251 * math/libm-test.inc: Include <math-tests.h>.
24252 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24253 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24254 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24255 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24256
50b818bf
SP
242572013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24258
24259 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24260 of assigning.
24261
60d2f8f3
JM
242622013-06-08 Joseph Myers <joseph@codesourcery.com>
24263
4902d2c3
JM
24264 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24265 otherwise empty TRANS lines.
24266 * sysdeps/gnu/errlist.c: Regenerated.
24267
60d2f8f3
JM
24268 * catgets/gencat.c (error_print): Use (void) in function
24269 definition.
24270 * crypt/crypt_util.c (__init_des): Likewise.
24271 * crypt/speeds.c (Stop): Likewise.
24272 (main): Likewise.
24273 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24274 * inet/ruserpass.c (token): Likewise.
24275 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24276 * intl/localealias.c (extend_alias_table): Likewise.
24277 * intl/plural-exp.c (init_germanic_plural): Likewise.
24278 * libio/fcloseall.c (__fcloseall): Likewise.
24279 * libio/genops.c (_IO_flush_all): Likewise.
24280 (_IO_flush_all_linebuffered): Likewise.
24281 (_IO_cleanup): Likewise.
24282 (_IO_iter_begin): Likewise.
24283 (_IO_iter_end): Likewise.
24284 (_IO_list_lock): Likewise.
24285 (_IO_list_unlock): Likewise.
24286 (_IO_list_resetlock): Likewise.
24287 * libio/getchar.c (getchar): Likewise.
24288 * libio/getchar_u.c (getchar_unlocked): Likewise.
24289 * libio/getwchar.c (getwchar): Likewise.
24290 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24291 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24292 * login/getpt.c (__getpt): Likewise.
24293 * login/tst-utmp.c (main): Likewise.
24294 * malloc/hooks.c (__malloc_check_init): Likewise.
24295 * malloc/malloc.c (__malloc_stats): Likewise.
24296 * malloc/mtrace.c (tr_break): Likewise.
24297 (mtrace): Likewise.
24298 (muntrace): Likewise.
24299 * misc/fstab.c (endfsent): Likewise.
24300 * misc/getclktck.c (__getclktck): Likewise.
24301 * misc/getdtsz.c (__getdtablesize): Likewise.
24302 * misc/gethostid.c (gethostid): Likewise.
24303 * misc/getpagesize.c (__getpagesize): Likewise.
24304 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24305 (__get_nprocs): Likewise.
24306 (__get_phys_pages): Likewise.
24307 (__get_avphys_pages): Likewise.
24308 * misc/getttyent.c (getttyent): Likewise.
24309 (setttyent): Likewise.
24310 (endttyent): Likewise.
24311 * misc/getusershell.c (getusershell): Likewise.
24312 (endusershell): Likewise.
24313 (setusershell): Likewise.
24314 (initshells): Likewise.
24315 * misc/hsearch.c (__hdestroy): Likewise.
24316 * misc/sync.c (sync): Likewise.
24317 * misc/syslog.c (closelog_internal): Likewise.
24318 (closelog): Likewise.
24319 * misc/ttyslot.c (ttyslot): Likewise.
24320 * misc/vhangup.c (vhangup): Likewise.
24321 * posix/fork.c (__fork): Likewise.
24322 * posix/getegid.c (__getegid): Likewise.
24323 * posix/geteuid.c (__geteuid): Likewise.
24324 * posix/getgid.c (__getgid): Likewise.
24325 * posix/getpid.c (__getpid): Likewise.
24326 * posix/getppid.c (__getppid): Likewise.
24327 * posix/getuid.c (__getuid): Likewise.
24328 * posix/pause.c (pause): Likewise.
24329 * posix/setpgrp.c (setpgrp): Likewise.
24330 * posix/setsid.c (__setsid): Likewise.
24331 * posix/test-vfork.c (noop): Likewise.
24332 * resolv/gethnamaddr.c (_endhtent): Likewise.
24333 (_gethtent): Likewise.
24334 (ht_endhostent): Likewise.
24335 (gethostent): Likewise.
24336 (dns_service): Likewise.
24337 * stdlib/drand48.c (drand48): Likewise.
24338 * stdlib/lrand48.c (lrand48): Likewise.
24339 * stdlib/mrand48.c (mrand48): Likewise.
24340 * stdlib/rand.c (rand): Likewise.
24341 * stdlib/random.c (__random): Likewise.
24342 * stdlib/setenv.c (clearenv): Likewise.
24343 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24344 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24345 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24346 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24347 (__get_nprocs): Likewise.
24348 (__get_phys_pages): Likewise.
24349 (__get_avphys_pages): Likewise.
24350 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24351 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24352 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24353 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24354 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24355 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24356 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24357 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24358 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24359 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24360 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24361 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24362 * sysdeps/posix/clock.c (clock): Likewise.
24363 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24364 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24365 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24366 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24367 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24369 (__get_nprocs_conf): Likewise.
24370 (__get_phys_pages): Likewise.
24371 (__get_avphys_pages): Likewise.
24372 * time/clock.c (clock): Likewise.
24373 * time/tzset.c (__tzname_max): Likewise.
24374
2e09a79a
JM
243752013-06-07 Joseph Myers <joseph@codesourcery.com>
24376
24377 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24378 (__bswap_32): Do not use "register".
24379 * crypt/crypt.c (_ufc_doit_r): Likewise.
24380 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24381 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24382 * gmon/gmon.c (__monstartup): Likewise.
24383 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24384 * hurd/hurdmalloc.c (more_memory): Likewise.
24385 (malloc): Likewise.
24386 (free): Likewise.
24387 (realloc): Likewise.
24388 (malloc_fork_prepare): Likewise.
24389 (malloc_fork_parent): Likewise.
24390 (malloc_fork_child): Likewise.
24391 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24392 (_svcauth_des): Likewise.
24393 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24394 * inet/inet_net.c (inet_network): Likewise.
24395 * inet/inet_netof.c (inet_netof): Likewise.
24396 * inet/rcmd.c (__validuser2_sa): Likewise.
24397 * io/fts.c (fts_open): Likewise.
24398 (fts_load): Likewise.
24399 (fts_close): Likewise.
24400 (fts_read): Likewise.
24401 (fts_children): Likewise.
24402 (fts_build): Likewise.
24403 (fts_stat): Likewise.
24404 (fts_sort): Likewise.
24405 (fts_alloc): Likewise.
24406 (fts_lfree): Likewise.
24407 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24408 (_IO_file_xsgetn): Likewise.
24409 (_IO_file_xsgetn_mmap): Likewise.
24410 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24411 (_IO_cookie_write): Likewise.
24412 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24413 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24414 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24415 * malloc/obstack.c (_obstack_begin): Likewise.
24416 (_obstack_begin_1): Likewise.
24417 (_obstack_newchunk): Likewise.
24418 (_obstack_allocated_p): Likewise.
24419 (obstack_free): Likewise.
24420 (_obstack_memory_used): Likewise.
24421 * misc/getttyent.c (getttynam): Likewise.
24422 (getttyent): Likewise.
24423 (skip): Likewise.
24424 (value): Likewise.
24425 * misc/getusershell.c (initshells): Likewise.
24426 * misc/syslog.c (__vsyslog_chk): Likewise.
24427 * misc/ttyslot.c (ttyslot): Likewise.
24428 * nis/nis_hash.c (__nis_hash): Likewise.
24429 * posix/fnmatch_loop.c (FCT): Likewise.
24430 * posix/getconf.c (print_all): Likewise.
24431 (main): Likewise.
24432 * posix/getopt.c (exchange): Likewise.
24433 * posix/glob.c (globfree): Likewise.
24434 (prefix_array): Likewise.
24435 (__glob_pattern_type): Likewise.
24436 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24437 (NS_GET32): Likewise.
24438 (NS_PUT16): Likewise.
24439 (NS_PUT32): Likewise.
24440 * resolv/gethnamaddr.c (getanswer): Likewise.
24441 (gethostbyname2): Likewise.
24442 (gethostbyaddr): Likewise.
24443 (_gethtent): Likewise.
24444 (_gethtbyname2): Likewise.
24445 (_gethtbyaddr): Likewise.
24446 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24447 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24448 * resolv/res_init.c (__res_vinit): Likewise.
24449 (net_mask): Likewise.
24450 * resolv/res_mkquery.c (outchar): Likewise.
24451 (PRINT): Likewise.
24452 * stdio-common/printf_fp.c (outchar): Likewise.
24453 (PRINT): Likewise.
24454 * stdio-common/printf_fphex.c (outchar): Likewise.
24455 (PRINT): Likewise.
24456 * stdio-common/printf_size.c (outchar): Likewise.
24457 (PRINT): Likewise.
24458 * stdio-common/test_rdwr.c (main): Likewise.
24459 * stdio-common/tfformat.c (matches): Likewise.
24460 * stdio-common/vfprintf.c (outchar): Likewise.
24461 (printf_unknown): Likewise.
24462 (buffered_vfprintf): Likewise.
24463 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24464 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24465 (ReadFile): Likewise.
24466 * stdlib/qsort.c (SWAP): Likewise.
24467 (_quicksort): Likewise.
24468 * stdlib/setenv.c (__add_to_environ): Likewise.
24469 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24470 * stdlib/strtol_l.c (__strtol_l): Likewise.
24471 * stdlib/tst-strtod.c (main): Likewise.
24472 * stdlib/tst-strtol.c (main): Likewise.
24473 * stdlib/tst-strtoll.c (main): Likewise.
24474 * string/bits/string2.h (__strcmp_cc): Likewise.
24475 (__strcmp_cg): Likewise.
24476 (__strcspn_c1): Likewise.
24477 (__strcspn_c2): Likewise.
24478 (__strcspn_c3): Likewise.
24479 (__strspn_c1): Likewise.
24480 (__strspn_c2): Likewise.
24481 (__strspn_c3): Likewise.
24482 (__strsep_1c): Likewise.
24483 (__strsep_2c): Likewise.
24484 (__strsep_3c): Likewise.
24485 * string/memccpy.c (__memccpy): Likewise.
24486 * string/stpcpy.c (__stpcpy): Likewise.
24487 * string/strcmp.c (strcmp): Likewise.
24488 * string/strrchr.c (strrchr): Likewise.
24489 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24490 Likewise.
24491 * sysdeps/mach/hurd/getcwd.c
24492 (_hurd_canonicalize_directory_name_internal): Likewise.
24493 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24494 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24495 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24496 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24497 Likewise, in both definitions.
24498 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24499 definitions.
24500 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24501 64] (__bswap_64): Likewise.
24502 * time/test_time.c (main): Likewise.
24503 * time/tzfile.c (__tzfile_read): Likewise.
24504 (__tzfile_compute): Likewise.
24505 * time/tzset.c (__tzset_parse_tz): Likewise.
24506 (tzset_internal): Likewise.
24507 (compute_change): Likewise.
24508 * wcsmbs/wcscat.c (__wcscat): Likewise.
24509 * wcsmbs/wcschr.c (wcschr): Likewise.
24510 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24511 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24512 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24513 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24514 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24515 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24516 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24517 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24518 * wcsmbs/wmemset.c (wmemset): Likewise.
24519
9e54314b
JM
245202013-06-06 Joseph Myers <joseph@codesourcery.com>
24521
24522 * scripts/config.guess: Update to version 2013-05-16.
24523 * scripts/config.sub: Update to version 2013-04-24.
24524 * scripts/install-sh: Update to version 2011-11-20.07.
24525 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24526 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24527
350635a5
OB
245282013-06-06 Ondřej Bílka <neleai@seznam.cz>
24529
24530 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24531 * elf/sln.c: Likewise.
24532 * hurd/hurd/ioctl.h: Likewise.
24533 * hurd/hurdmalloc.c: Likewise.
24534 * hurd/xattr.c: Likewise.
24535 * include/shlib-compat.h: Likewise.
24536 * inet/ruserpass.c: Likewise.
24537 * libio/iofgets_u.c: Likewise.
24538 * libio/iofgetws_u.c: Likewise.
24539 * locale/programs/ld-identification.c: Likewise.
24540 * locale/programs/ld-time.c: Likewise.
24541 * mach/msg-destroy.c: Likewise.
24542 * nss/nss_files/files-netgrp.c: Likewise.
24543 * resolv/res_data.c: Likewise.
24544 * soft-fp/op-1.h: Likewise.
24545 * soft-fp/op-2.h: Likewise.
24546 * soft-fp/op-4.h: Likewise.
24547 * soft-fp/op-common.h: Likewise.
24548 * stdio-common/printf_fphex.c: Likewise.
24549 * stdlib/strtod_l.c: Likewise.
24550 * sunrpc/rpc/clnt.h: Likewise.
24551 * sysdeps/generic/framestate.c: Likewise.
24552 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24553 * sysdeps/i386/bsd-setjmp.S: Likewise.
24554 * sysdeps/i386/__longjmp.S: Likewise.
24555 * sysdeps/i386/setjmp.S: Likewise.
24556 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24557 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24558 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24559 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24567 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24574 * sysdeps/ieee754/support.c: Likewise.
24575 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24576 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24577 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24578 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24579 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24580 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24581 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24582 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24583 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24584 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24585 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24586 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24587 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24588 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24589 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24590 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24591 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24593
44a988af
OB
245942013-06-05 Ondřej Bílka <neleai@seznam.cz>
24595
25506f09 24596 * posix/transbug.c: Remove executable mode.
44a988af 24597
9c84384c
JM
245982013-06-05 Joseph Myers <joseph@codesourcery.com>
24599
24600 * crypt/speeds.c: Remove trailing whitespace.
24601 * dlfcn/default.c: Likewise.
24602 * elf/ifuncdep2.c: Likewise.
24603 * elf/ifuncmain1.c: Likewise.
24604 * elf/ifuncmain1vis.c: Likewise.
24605 * elf/testobj.h: Likewise.
24606 * elf/tst-stackguard1.c: Likewise.
24607 * gmon/sys/gmon.h: Likewise.
24608 * hurd/hurdmsg.c: Likewise.
24609 * hurd/new-fd.c: Likewise.
24610 * hurd/ports-get.c: Likewise.
24611 * iconvdata/ibm1008_420.c: Likewise.
24612 * inet/tst-getni1.c: Likewise.
24613 * inet/tst-getni2.c: Likewise.
24614 * libio/ioungetc.c: Likewise.
24615 * libio/wfiledoalloc.c: Likewise.
24616 * manual/libm-err-tab.pl: Likewise.
24617 * math/w_dremf.c: Likewise.
24618 * misc/ftruncate.c: Likewise.
24619 * posix/bug-glob2.c: Likewise.
24620 * posix/tst-pcre.c: Likewise.
24621 * posix/wait4.c: Likewise.
24622 * resolv/README: Likewise.
24623 * resolv/res_debug.h: Likewise.
24624 * resolv/tst-inet_ntop.c: Likewise.
24625 * setjmp/bug269-setjmp.c: Likewise.
24626 * soft-fp/extended.h: Likewise.
24627 * soft-fp/op-1.h: Likewise.
24628 * soft-fp/op-2.h: Likewise.
24629 * soft-fp/op-4.h: Likewise.
24630 * soft-fp/op-8.h: Likewise.
24631 * soft-fp/testit.c: Likewise.
24632 * stdio-common/bug16.c: Likewise.
24633 * stdlib/random.c: Likewise.
24634 * sunrpc/rpcsvc/rquota.x: Likewise.
24635 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24636 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24637 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24638 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24639 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24640 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24641 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24642 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24643 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24644 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24645 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24654 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24662 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24664 * sysdeps/ieee754/s_lib_version.c: Likewise.
24665 * sysdeps/mach/hurd/check_fds.c: Likewise.
24666 * sysdeps/mach/hurd/getsockname.c: Likewise.
24667 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24668 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24669 * sysdeps/powerpc/bits/link.h: Likewise.
24670 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24671 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24672 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24673 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24674 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24675 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24676 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24677 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24678 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24679 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24680 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24681 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24682 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24683 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24684 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24685 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24686 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24687 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24688 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24689 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24690 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24691 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24692 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24693 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24694 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24695 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24696 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24697 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24698 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24699 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24700 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24701 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24702 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24703 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24704 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24705 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24706 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24707 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24708 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24709 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24710 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24711 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24712 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24713 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24714 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24715 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24716 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24717 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24718 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24719 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24720 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24721 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24722 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24723 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24724 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24725 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24726 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24727 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24728 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24729 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24730 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24731 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24732 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24733 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24734 * sysdeps/powerpc/sysdep.h: Likewise.
24735 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24736 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24737 * sysdeps/sh/dl-trampoline.S: Likewise.
24738 * sysdeps/sh/memset.S: Likewise.
24739 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24740 * sysdeps/sh/strlen.S: Likewise.
24741 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24742 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24743 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24744 * sysdeps/sparc/sparc32/rem.S: Likewise.
24745 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24746 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24747 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24748 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24749 * sysdeps/sparc/sparc32/urem.S: Likewise.
24750 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24751 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24752 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24753 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24754 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24755 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24756 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24757 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24758 * sysdeps/unix/bsd/times.c: Likewise.
24759 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24760 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24764 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24765 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24766 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24767 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24768 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24769 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24770 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24771 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24772 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24773 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24774 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24775 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24776 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24777 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24778 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24779 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24780 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24781 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24782 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24783 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24784 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24785 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24786 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24787 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24788 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24789 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24790 * sysdeps/x86_64/strcspn.S: Likewise.
24791
869378a5
RA
247922013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24793
24794 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24795 generated file. Regenerate properly from gen-translit.pl.
24796 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24797 locale/C-translit.h.
24798
840e2943
AS
247992013-06-05 Andreas Schwab <schwab@suse.de>
24800
24801 [BZ #15100]
24802 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24803 week as 6 instead of -1.
24804 * time/tst-strptime.c (day_tests): Add test case.
24805
4c60cb0c
SP
248062013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24807
24808 * sysdeps/generic/math_private.h
24809 (libc_feholdexcept_setround_53bit): Replace with
24810 libc_feholdsetround_53bit.
24811 (libc_feupdateenv_53bit): Replace with
24812 libc_feresetround_53bit.
24813 (SET_RESTORE_ROUND_53BIT): Adjust.
24814
d180203e
SP
248152013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24816
96df079a
SP
24817 * string/test-strchrnul.c: Add copyright header.
24818
d180203e
SP
24819 * posix/tst-getaddrinfo4.c: Increase test timeout.
24820
8b0ccb2d
CD
248212013-06-03 Carlos O'Donell <carlos@redhat.com>
24822
24823 [BZ #15536]
24824 * math/libm-test.inc (MAX_EXP): Remove
24825 (MIN_EXP): Define.
24826 (ulp): Use MIN_EXP - MANT_DIG.
24827 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24828
3b3c4d40
CD
248292013-05-31 Carlos O'Donell <carlos@redhat.com>
24830
24831 * po/be.po: Revert last change.
24832 * po/zh_CN.po: Likewise.
24833 * po/header.pot: Likewise.
24834
fab7ce3f
JM
248352013-05-31 Joseph Myers <joseph@codesourcery.com>
24836
24837 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24838 link-libc-deps to empty as target-specific variable.
24839 * Makerules (link-libc-args): New variable.
24840 (libc-for-link): Likewise.
24841 (link-libc-deps): Likewise.
24842 (lib%.so): Depend on $(link-libc-deps). Link with
24843 $(link-libc-args).
24844 (build-module): Link with $(link-libc-args).
24845 (build-module-asneeded): Likewise.
24846 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24847 list of objects.
24848 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24849 target-specific variable.
24850 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24851 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24852 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24853 libc.
24854 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24855 libc and ld.so.
24856 ($(objpfx)libpcprofile.so): Likewise.
24857 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24858 libc_nonshared.a.
24859 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24860 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24861 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24862 $(link-libc-deps).
24863 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24864 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24865 * login/Makefile ($(objpfx)libutil.so): Likewise.
24866 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24867 * math/Makefile ($(objpfx)libm.so): Likewise.
24868 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24869 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24870 variable instead of depending directly on libc.
24871 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24872 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24873 $(link-libc-deps).
24874 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24875 libc.
24876 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24877 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24878 ($(objpfx)libanl.so): Likewise.
24879 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24880 ld.so.
24881 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24882 $(link-libc-deps).
24883 * sysdeps/i386/fpu/Makefile: Remove file.
24884 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24885 ($(objpfx)libm.so): Remove dependency on ld.so.
24886
eca5920c
PF
248872013-05-30 Patsy Franklin <pfrankli@redhat.com>
24888
24889 [BZ # 15553]
24890 * nis/yp_xdr.c (XDRMAXNAME): Define.
24891 (XDRMAXRECORD): Define.
24892 (xdr_domainname): Use XDRMAXNAME.
24893 (xdr_mapname): Likewise.
24894 (xdr_peername): Likewise.
24895 (xdr_keydat): Use XDRMAXRECORD.
24896 (xdr_valdat): Likewise.
24897
248982013-05-30 Jeff Law <law@redhat.com>
96945714
JL
24899
24900 [BZ #14256]
24901 * manual/errno.texi (ESTALE): Update to account for more than
24902 just NFS file systems.
24903 * sysdeps/gnu/errlist.c: Regenerated.
24904
b9375348
SP
249052013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24906
24907 [BZ #15465]
24908 * elf/Makefile (tests): Add tst-null-argv.
24909 (modules-names): Add tst-null-argv-lib.
24910 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24911 (tst-null-argv-ENV): Set environment for tst-null-argv.
24912 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24913 (RTLD_PROGNAME): New macro.
24914 * elf/tst-null-argv.c: New test case.
24915 * elf/tst-null-argv-lib.c: Library for test case.
24916 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24917 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24918 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24919 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24920 * elf/dl-init.c (call_init): Likewise.
24921 (_dl_init): Likewise.
24922 * elf/dl-load.c (print_search_path): Likewise.
24923 (_dl_map_object): Likewise.
24924 * elf/dl-lookup.c (do_lookup_x): Likewise.
24925 (add_dependency): Likewise.
24926 (_dl_lookup_symbol_x): Likewise.
24927 (_dl_debug_bindings): Likewise.
24928 * elf/dl-open.c (_dl_show_scope): Likewise.
24929 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24930 * elf/dl-version.c (match_symbol): Likewise.
24931 (_dl_check_map_versions): Likewise.
24932 * elf/rtld.c (dl_main): Likewise.
24933 (print_unresolved): Use RTLD_PROGNAME.
24934 (print_missing_version): Likewise.
24935 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24936 (elf_machine_rela): Likewise.
24937 * sysdeps/powerpc/powerpc32/dl-machine.c
24938 (__process_machine_rela): Likewise.
24939 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24940 Likewise.
24941 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24942 Likewise.
24943 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24944 Likewise.
24945 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24947 Likewise.
24948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24949 Likewise.
24950 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24951
8a9f20c8
CD
249522013-05-28 Carlos O'Donell <carlos@redhat.com>
24953
24954 * po/be.po: Add descriptive title.
24955 * po/zh_CN.po: Likewise.
24956 * po/header.pot: Likewise.
24957
0e60d68e
MF
249582013-05-28 Mike Frysinger <vapier@gentoo.org>
24959
24960 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24961 error message.
24962 (enlarge_archive): Likewise.
24963
56b672e9
BN
249642013-05-28 Ben North <ben@redfrontdoor.org>
24965
24966 * manual/arith.texi (frexp): It is the magnitude of the return
24967 value which lies in [0.5, 1), not the return value itself.
24968
5e056687
AZ
249692013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24970
24971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24972
2b66ef5d
TS
249732013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24974
528c2405
TS
24975 * stdio-common/bug26.c (main): Correct fscanf template.
24976
07b4c13d
TS
24977 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24978 declare _dl_skip_args.
24979
ec9dd97c
TS
24980 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24981 Don't declare.
24982
2b66ef5d
TS
24983 * manual/platform.texi: Add missing @end deftypefun.
24984
4f8dfe27
JM
249852013-05-24 Joseph Myers <joseph@codesourcery.com>
24986
0323d086
JM
24987 [BZ #15529]
24988 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24989 bit of mantissa of 2^16382.
24990 * math/libm-test.inc (hypot_test_data): Add more tests.
24991
dd4259b9
JM
24992 * math/libm-test.inc: Add drem and pow10 to list of tested
24993 functions.
24994 (pow10_test): New function.
24995 (drem_test): Likewise.
24996 (drem_test_tonearest): Likewise.
24997 (drem_test_towardzero): Likewise.
24998 (drem_test_downward): Likewise.
24999 (drem_test_upward): Likewise.
25000 (main): Call the new functions.
25001
4f8dfe27
JM
25002 * math/libm-test.inc (finite_test_data): Remove.
25003 (finite_test): Run tests from isfinite_test_data.
25004 (gamma_test_data): Remove.
25005 (gamma_test): Run tests from lgamma_test_data.
25006 * sysdeps/i386/fpu/libm-test-ulps: Update.
25007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25008
d116b7c4
AZ
250092013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25010
25011 * manual/platform.texi: Add PowerPC PPR function set documentation.
25012 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25013 implementation.
25014
e96e3767
CD
250152013-05-24 Carlos O'Donell <carlos@redhat.com>
25016
25017 * math/libm-test.inc (MAX_EXP): Define.
25018 (ULPDIFF): Define.
25019 (ulp): New function.
25020 (check_float_internal): Use ULPDIFF.
25021 (cpow_test): Disable failing test.
25022 (check_ulp): Test ulp() implemetnation.
25023 (main): Call check_ulp before starting tests.
25024
b679a606
JM
250252013-05-24 Joseph Myers <joseph@codesourcery.com>
25026
e8bdba36
JM
25027 * math/gen-libm-test.pl (generate_testfile): Do not handle
25028 START_DATA and END_DATA.
25029 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25030 END_DATA.
25031 (acos_tonearest_test_data): Likewise.
25032 (acos_towardzero_test_data): Likewise.
25033 (acos_downward_test_data): Likewise.
25034 (acos_upward_test_data): Likewise.
25035 (acosh_test_data): Likewise.
25036 (asin_test_data): Likewise.
25037 (asin_tonearest_test_data): Likewise.
25038 (asin_towardzero_test_data): Likewise.
25039 (asin_downward_test_data): Likewise.
25040 (asin_upward_test_data): Likewise.
25041 (asinh_test_data): Likewise.
25042 (atan_test_data): Likewise.
25043 (atanh_test_data): Likewise.
25044 (atan2_test_data): Likewise.
25045 (cabs_test_data): Likewise.
25046 (cacos_test_data): Likewise.
25047 (cacosh_test_data): Likewise.
25048 (carg_test_data): Likewise.
25049 (casin_test_data): Likewise.
25050 (casinh_test_data): Likewise.
25051 (catan_test_data): Likewise.
25052 (catanh_test_data): Likewise.
25053 (cbrt_test_data): Likewise.
25054 (ccos_test_data): Likewise.
25055 (ccosh_test_data): Likewise.
25056 (ceil_test_data): Likewise.
25057 (cexp_test_data): Likewise.
25058 (cimag_test_data): Likewise.
25059 (clog_test_data): Likewise.
25060 (clog10_test_data): Likewise.
25061 (conj_test_data): Likewise.
25062 (copysign_test_data): Likewise.
25063 (cos_test_data): Likewise.
25064 (cos_tonearest_test_data): Likewise.
25065 (cos_towardzero_test_data): Likewise.
25066 (cos_downward_test_data): Likewise.
25067 (cos_upward_test_data): Likewise.
25068 (cosh_test_data): Likewise.
25069 (cosh_tonearest_test_data): Likewise.
25070 (cosh_towardzero_test_data): Likewise.
25071 (cosh_downward_test_data): Likewise.
25072 (cosh_upward_test_data): Likewise.
25073 (cpow_test_data): Likewise.
25074 (cproj_test_data): Likewise.
25075 (creal_test_data): Likewise.
25076 (csin_test_data): Likewise.
25077 (csinh_test_data): Likewise.
25078 (csqrt_test_data): Likewise.
25079 (ctan_test_data): Likewise.
25080 (ctan_tonearest_test_data): Likewise.
25081 (ctan_towardzero_test_data): Likewise.
25082 (ctan_downward_test_data): Likewise.
25083 (ctan_upward_test_data): Likewise.
25084 (ctanh_test_data): Likewise.
25085 (ctanh_tonearest_test_data): Likewise.
25086 (ctanh_towardzero_test_data): Likewise.
25087 (ctanh_downward_test_data): Likewise.
25088 (ctanh_upward_test_data): Likewise.
25089 (erf_test_data): Likewise.
25090 (erfc_test_data): Likewise.
25091 (exp_test_data): Likewise.
25092 (exp_tonearest_test_data): Likewise.
25093 (exp_towardzero_test_data): Likewise.
25094 (exp_downward_test_data): Likewise.
25095 (exp_upward_test_data): Likewise.
25096 (exp10_test_data): Likewise.
25097 (exp2_test_data): Likewise.
25098 (expm1_test_data): Likewise.
25099 (fabs_test_data): Likewise.
25100 (fdim_test_data): Likewise.
25101 (finite_test_data): Likewise.
25102 (floor_test_data): Likewise.
25103 (fma_test_data): Likewise.
25104 (fma_towardzero_test_data): Likewise.
25105 (fma_downward_test_data): Likewise.
25106 (fma_upward_test_data): Likewise.
25107 (fmax_test_data): Likewise.
25108 (fmin_test_data): Likewise.
25109 (fmod_test_data): Likewise.
25110 (fpclassify_test_data): Likewise.
25111 (frexp_test_data): Likewise.
25112 (gamma_test_data): Likewise.
25113 (hypot_test_data): Likewise.
25114 (ilogb_test_data): Likewise.
25115 (isfinite_test_data): Likewise.
25116 (isgreater_test_data): Likewise.
25117 (isgreaterequal_test_data): Likewise.
25118 (isinf_test_data): Likewise.
25119 (isless_test_data): Likewise.
25120 (islessequal_test_data): Likewise.
25121 (islessgreater_test_data): Likewise.
25122 (isnan_test_data): Likewise.
25123 (isnormal_test_data): Likewise.
25124 (issignaling_test_data): Likewise.
25125 (isunordered_test_data): Likewise.
25126 (j0_test_data): Likewise.
25127 (j1_test_data): Likewise.
25128 (jn_test_data): Likewise.
25129 (ldexp_test_data): Likewise.
25130 (lgamma_test_data): Likewise.
25131 (lrint_test_data): Likewise.
25132 (lrint_tonearest_test_data): Likewise.
25133 (lrint_towardzero_test_data): Likewise.
25134 (lrint_downward_test_data): Likewise.
25135 (lrint_upward_test_data): Likewise.
25136 (llrint_test_data): Likewise.
25137 (llrint_tonearest_test_data): Likewise.
25138 (llrint_towardzero_test_data): Likewise.
25139 (llrint_downward_test_data): Likewise.
25140 (llrint_upward_test_data): Likewise.
25141 (log_test_data): Likewise.
25142 (log10_test_data): Likewise.
25143 (log1p_test_data): Likewise.
25144 (log2_test_data): Likewise.
25145 (logb_test_data): Likewise.
25146 (logb_downward_test_data): Likewise.
25147 (lround_test_data): Likewise.
25148 (llround_test_data): Likewise.
25149 (modf_test_data): Likewise.
25150 (nearbyint_test_data): Likewise.
25151 (nextafter_test_data): Likewise.
25152 (nexttoward_test_data): Likewise.
25153 (pow_test_data): Likewise.
25154 (pow_tonearest_test_data): Likewise.
25155 (pow_towardzero_test_data): Likewise.
25156 (pow_downward_test_data): Likewise.
25157 (pow_upward_test_data): Likewise.
25158 (remainder_test_data): Likewise.
25159 (remainder_tonearest_test_data): Likewise.
25160 (remainder_towardzero_test_data): Likewise.
25161 (remainder_downward_test_data): Likewise.
25162 (remainder_upward_test_data): Likewise.
25163 (remquo_test_data): Likewise.
25164 (rint_test_data): Likewise.
25165 (rint_tonearest_test_data): Likewise.
25166 (rint_towardzero_test_data): Likewise.
25167 (rint_downward_test_data): Likewise.
25168 (rint_upward_test_data): Likewise.
25169 (round_test_data): Likewise.
25170 (scalb_test_data): Likewise.
25171 (scalbn_test_data): Likewise.
25172 (scalbln_test_data): Likewise.
25173 (signbit_test_data): Likewise.
25174 (sin_test_data): Likewise.
25175 (sin_tonearest_test_data): Likewise.
25176 (sin_towardzero_test_data): Likewise.
25177 (sin_downward_test_data): Likewise.
25178 (sin_upward_test_data): Likewise.
25179 (sincos_test_data): Likewise.
25180 (sinh_test_data): Likewise.
25181 (sinh_tonearest_test_data): Likewise.
25182 (sinh_towardzero_test_data): Likewise.
25183 (sinh_downward_test_data): Likewise.
25184 (sinh_upward_test_data): Likewise.
25185 (sqrt_test_data): Likewise.
25186 (tan_test_data): Likewise.
25187 (tan_tonearest_test_data): Likewise.
25188 (tan_towardzero_test_data): Likewise.
25189 (tan_downward_test_data): Likewise.
25190 (tan_upward_test_data): Likewise.
25191 (tanh_test_data): Likewise.
25192 (tgamma_test_data): Likewise.
25193 (trunc_test_data): Likewise.
25194 (y0_test_data): Likewise.
25195 (y1_test_data): Likewise.
25196 (yn_test_data): Likewise.
25197 (significand_test_data): Likewise.
25198
b679a606
JM
25199 * math/gen-libm-test.pl (@functions): Remove variable.
25200 (generate_testfile): Don't handle START and END lines.
25201 * math/libm-test.inc (START): New macro.
25202 (END): Likewise.
25203 (END_COMPLEX): Likewise.
25204 (acos_test): Use END macro without arguments.
25205 (acos_test_tonearest): Likewise.
25206 (acos_test_towardzero): Likewise.
25207 (acos_test_downward): Likewise.
25208 (acos_test_upward): Likewise.
25209 (acosh_test): Likewise.
25210 (asin_test): Likewise.
25211 (asin_test_tonearest): Likewise.
25212 (asin_test_towardzero): Likewise.
25213 (asin_test_downward): Likewise.
25214 (asin_test_upward): Likewise.
25215 (asinh_test): Likewise.
25216 (atan_test): Likewise.
25217 (atanh_test): Likewise.
25218 (atan2_test): Likewise.
25219 (cabs_test): Likewise.
25220 (cacos_test): Use END_COMPLEX macro without arguments.
25221 (cacosh_test): Likewise.
25222 (carg_test): Use END macro without arguments.
25223 (casin_test): Use END_COMPLEX macro without arguments.
25224 (casinh_test): Likewise.
25225 (catan_test): Likewise.
25226 (catanh_test): Likewise.
25227 (cbrt_test): Use END macro without arguments.
25228 (ccos_test): Use END_COMPLEX macro without arguments.
25229 (ccosh_test): Likewise.
25230 (ceil_test): Use END macro without arguments.
25231 (cexp_test): Use END_COMPLEX macro without arguments.
25232 (cimag_test): Use END macro without arguments.
25233 (clog_test): Use END_COMPLEX macro without arguments.
25234 (clog10_test): Likewise.
25235 (conj_test): Likewise.
25236 (copysign_test): Use END macro without arguments.
25237 (cos_test): Likewise.
25238 (cos_test_tonearest): Likewise.
25239 (cos_test_towardzero): Likewise.
25240 (cos_test_downward): Likewise.
25241 (cos_test_upward): Likewise.
25242 (cosh_test): Likewise.
25243 (cosh_test_tonearest): Likewise.
25244 (cosh_test_towardzero): Likewise.
25245 (cosh_test_downward): Likewise.
25246 (cosh_test_upward): Likewise.
25247 (cpow_test): Use END_COMPLEX macro without arguments.
25248 (cproj_test): Likewise.
25249 (creal_test): Use END macro without arguments.
25250 (csin_test): Use END_COMPLEX macro without arguments.
25251 (csinh_test): Likewise.
25252 (csqrt_test): Likewise.
25253 (ctan_test): Likewise.
25254 (ctan_test_tonearest): Likewise.
25255 (ctan_test_towardzero): Likewise.
25256 (ctan_test_downward): Likewise.
25257 (ctan_test_upward): Likewise.
25258 (ctanh_test): Likewise.
25259 (ctanh_test_tonearest): Likewise.
25260 (ctanh_test_towardzero): Likewise.
25261 (ctanh_test_downward): Likewise.
25262 (ctanh_test_upward): Likewise.
25263 (erf_test): Use END macro without arguments.
25264 (erfc_test): Likewise.
25265 (exp_test): Likewise.
25266 (exp_test_tonearest): Likewise.
25267 (exp_test_towardzero): Likewise.
25268 (exp_test_downward): Likewise.
25269 (exp_test_upward): Likewise.
25270 (exp10_test): Likewise.
25271 (exp2_test): Likewise.
25272 (expm1_test): Likewise.
25273 (fabs_test): Likewise.
25274 (fdim_test): Likewise.
25275 (finite_test): Likewise.
25276 (floor_test): Likewise.
25277 (fma_test): Likewise.
25278 (fma_test_towardzero): Likewise.
25279 (fma_test_downward): Likewise.
25280 (fma_test_upward): Likewise.
25281 (fmax_test): Likewise.
25282 (fmin_test): Likewise.
25283 (fmod_test): Likewise.
25284 (fpclassify_test): Likewise.
25285 (frexp_test): Likewise.
25286 (gamma_test): Likewise.
25287 (hypot_test): Likewise.
25288 (ilogb_test): Likewise.
25289 (isfinite_test): Likewise.
25290 (isgreater_test): Likewise.
25291 (isgreaterequal_test): Likewise.
25292 (isinf_test): Likewise.
25293 (isless_test): Likewise.
25294 (islessequal_test): Likewise.
25295 (islessgreater_test): Likewise.
25296 (isnan_test): Likewise.
25297 (isnormal_test): Likewise.
25298 (issignaling_test): Likewise.
25299 (isunordered_test): Likewise.
25300 (j0_test): Likewise.
25301 (j1_test): Likewise.
25302 (jn_test): Likewise.
25303 (ldexp_test): Likewise.
25304 (lgamma_test): Likewise.
25305 (lrint_test): Likewise.
25306 (lrint_test_tonearest): Likewise.
25307 (lrint_test_towardzero): Likewise.
25308 (lrint_test_downward): Likewise.
25309 (lrint_test_upward): Likewise.
25310 (llrint_test): Likewise.
25311 (llrint_test_tonearest): Likewise.
25312 (llrint_test_towardzero): Likewise.
25313 (llrint_test_downward): Likewise.
25314 (llrint_test_upward): Likewise.
25315 (log_test): Likewise.
25316 (log10_test): Likewise.
25317 (log1p_test): Likewise.
25318 (log2_test): Likewise.
25319 (logb_test): Likewise.
25320 (logb_test_downward): Likewise.
25321 (lround_test): Likewise.
25322 (llround_test): Likewise.
25323 (modf_test): Likewise.
25324 (nearbyint_test): Likewise.
25325 (nextafter_test): Likewise.
25326 (nexttoward_test): Likewise.
25327 (pow_test): Likewise.
25328 (pow_test_tonearest): Likewise.
25329 (pow_test_towardzero): Likewise.
25330 (pow_test_downward): Likewise.
25331 (pow_test_upward): Likewise.
25332 (remainder_test): Likewise.
25333 (remainder_test_tonearest): Likewise.
25334 (remainder_test_towardzero): Likewise.
25335 (remainder_test_downward): Likewise.
25336 (remainder_test_upward): Likewise.
25337 (remquo_test): Likewise.
25338 (rint_test): Likewise.
25339 (rint_test_tonearest): Likewise.
25340 (rint_test_towardzero): Likewise.
25341 (rint_test_downward): Likewise.
25342 (rint_test_upward): Likewise.
25343 (round_test): Likewise.
25344 (scalb_test): Likewise.
25345 (scalbn_test): Likewise.
25346 (scalbln_test): Likewise.
25347 (signbit_test): Likewise.
25348 (sin_test): Likewise.
25349 (sin_test_tonearest): Likewise.
25350 (sin_test_towardzero): Likewise.
25351 (sin_test_downward): Likewise.
25352 (sin_test_upward): Likewise.
25353 (sincos_test): Likewise.
25354 (sinh_test): Likewise.
25355 (sinh_test_tonearest): Likewise.
25356 (sinh_test_towardzero): Likewise.
25357 (sinh_test_downward): Likewise.
25358 (sinh_test_upward): Likewise.
25359 (sqrt_test): Likewise.
25360 (tan_test): Likewise.
25361 (tan_test_tonearest): Likewise.
25362 (tan_test_towardzero): Likewise.
25363 (tan_test_downward): Likewise.
25364 (tan_test_upward): Likewise.
25365 (tanh_test): Likewise.
25366 (tgamma_test): Likewise.
25367 (trunc_test): Likewise.
25368 (y0_test): Likewise.
25369 (y1_test): Likewise.
25370 (yn_test): Likewise.
25371 (significand_test): Likewise.
25372
bae143d2
OB
253732013-05-24 Ondřej Bílka <neleai@seznam.cz>
25374
25375 [BZ #15381]
25376 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25377
9323d39b
EM
253782013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25379
d4ea44a0 25380 [BZ #14894]
9323d39b
EM
25381 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25382 __ppc_mdoio and __ppc_mdoom.
25383 * manual/platform.texi: Document new functions __ppc_yield,
25384 __ppc_mdoio and __ppc_mdoom.
25385
13e23af7
CD
253862013-05-22 Carlos O'Donell <carlos@redhat.com>
25387
25388 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25389 (main): Mention "tls" pseudo-hwcap is legacy.
25390 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25391
351fe550
JM
253922013-05-22 Joseph Myers <joseph@codesourcery.com>
25393
25394 * math/gen-libm-test.pl (parse_args): Output only string of
25395 arguments as text for test name, not full call or descriptions of
25396 tests for extra outputs.
25397 (generate_testfile): Do not pass function name to parse_args.
25398 Generate this_func variable from START.
25399 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25400 field to arg_str.
25401 (struct test_ff_f_data): Likewise.
25402 (test_ff_f_data_nexttoward): Likewise.
25403 (struct test_fi_f_data): Likewise.
25404 (struct test_fl_f_data): Likewise.
25405 (struct test_if_f_data): Likewise.
25406 (struct test_fff_f_data): Likewise.
25407 (struct test_c_f_data): Likewise.
25408 (struct test_f_f1_data): Likewise. Remove field extra_name.
25409 (struct test_fF_f1_data): Likewise.
25410 (struct test_ffI_f1_data): Likewise.
25411 (struct test_c_c_data): Rename test_name field to arg_str.
25412 (struct test_cc_c_data): Likewise.
25413 (struct test_f_i_data): Likewise.
25414 (struct test_ff_i_data): Likewise.
25415 (struct test_f_l_data): Likewise.
25416 (struct test_f_L_data): Likewise.
25417 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25418 and extra2_name.
25419 (COMMON_TEST_SETUP): New macro.
25420 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25421 (COMMON_TEST_CLEANUP): Likewise.
25422 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25423 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25424 macros.
25425 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25426 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25427 macros.
25428 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25429 (RUN_TEST_fff_f): Take argument string. Call new setup and
25430 cleanup macros.
25431 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25432 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25433 macros.
25434 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25435 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25436 macros.
25437 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25438 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25439 cleanup macros.
25440 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25441 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25442 cleanup macros.
25443 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25444 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25445 cleanup macros.
25446 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25447 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25448 macros.
25449 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25450 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25451 macros.
25452 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25453 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25454 macros.
25455 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25456 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25457 cleanup macros.
25458 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25459 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25460 cleanup macros.
25461 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25462 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25463 macros.
25464 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25465 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25466 cleanup macros.
25467 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25468 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25469 macros.
25470 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25471 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25472 macros.
25473 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25474 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25475 cleanup macros.
25476 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25477
85118d4d
EBM
254782013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25479
25480 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25481 to _sifields.sigfault.
25482 (si_addr_lsb): Define new macro.
25483 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25484 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25485 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25486
7a44c18f
CD
254872013-05-03 Carlos O'Donell <carlos at redhat.com>
25488
25489 [BZ #15441]
25490 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25491 returns -1.
25492 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25493 null return -1.
25494 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25495 loading the domain.
25496
b50a7181
JM
254972013-05-22 Joseph Myers <joseph@codesourcery.com>
25498
25499 * math/gen-libm-test.pl (parse_args): Do not include expected
25500 result in test name.
25501 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25502 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25503 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25504 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25505 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25507
051063c8
SP
255082013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25509
3ce9e010
SP
25510 * benchtests/Makefile: Sort function entries.
25511
051063c8
SP
25512 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25513 tanh, asinh, acosh, atanh.
25514 * benchtests/acos-inputs: New file.
25515 * benchtests/acosh-inputs: New file.
25516 * benchtests/asin-inputs: New file.
25517 * benchtests/asinh-inputs: New file.
25518 * benchtests/atanh-inputs: New file.
25519 * benchtests/cosh-inputs: New file.
25520 * benchtests/log-inputs: New file.
25521 * benchtests/sinh-inputs: New file.
25522 * benchtests/tanh-inputs: New file.
25523
47c22455
DL
255242013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25525
25526 [BZ #15339]
25527 * posix/tst-getaddrinfo4.c: New test.
25528 * posix/Makefile (tests): Add it.
25529
3d04f5db
SP
255302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25531
25532 [BZ #15339]
25533 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25534 when no services were used.
25535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25536 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25537
d5dd6189
AS
255382013-05-21 Andreas Schwab <schwab@suse.de>
25539
25540 [BZ #15014]
25541 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25542 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25543 successful.
25544 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25545 redundant variable declarations and reallocation of buffer when
25546 parsing as IPv6 address. Always set NSS status when called from
25547 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25548 buffer too small. Correct computation of needed size.
25549 * nss/Makefile (tests): Add test-digits-dots.
25550 * nss/test-digits-dots.c: New test.
25551
fef94eab
SP
255522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25553
25554 * benchtests/Makefile: Remove instructions for adding
25555 benchmark tests.
25556 * benchtests/README: New file to explain how to execute and
25557 enhance the benchmark tests.
25558
e39adf43
AS
255592013-05-21 Andreas Schwab <schwab@suse.de>
25560
25561 [BZ #15493]
25562 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25563 * setjmp/tst-sigsetjmp.c: New test.
25564
b2b671b6
OB
255652013-05-20 Ondřej Bílka <neleai@seznam.cz>
25566
25567 * sysdeps/x86_64/memset.S (memset): New implementation.
25568 (__bzero): Likewise.
25569 (__memset_tail): New function.
25570
2d48b41c
OB
255712013-05-20 Ondřej Bílka <neleai@seznam.cz>
25572
25573 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25574 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25575 __memcpy_sse2_unaligned ifunc selection.
25576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25577 Add memcpy-sse2-unaligned.S.
25578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25579 Add: __memcpy_sse2_unaligned.
25580
f16cc3eb
JM
255812013-05-19 Joseph Myers <joseph@codesourcery.com>
25582
3e694268
JM
25583 [BZ #15490]
25584 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25585 math_force_eval before restoring floating-point envrionment.
25586 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25588 Likewise.
25589 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25590 <math_private.h>.
25591 (__nearbyintl): Use math_force_eval before restoring
25592 floating-point environment.
25593 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25594
db62a907
JM
25595 * math/gen-libm-test.pl (special_functions): Remove.
25596 (parse_args): Don't handle TEST_extra. Handle functions with no
25597 return value.
25598 * math/libm-test.inc (struct test_sincos_data): Replace with
25599 struct test_fFF_11_data.
25600 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25601 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25602 (sincos_test_data): Change element type to struct
25603 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25604 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25605 RUN_TEST_LOOP_sincos.
25606 * math/README.libm-test: Don't mention special handling of
25607 individual functions.
25608 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25609 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25610 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25611 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25612 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25614
f16cc3eb
JM
25615 * math/gen-libm-test.pl (get_variable): Remove function.
25616 (parse_args): Don't show pointer parameters to call in test
25617 names. Use "extra output N" in test names for extra outputs
25618 rather than naming variables.
25619
3779b5b6
JM
256202013-05-18 Joseph Myers <joseph@codesourcery.com>
25621
2ee094ff
JM
25622 [BZ #15488]
25623 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25624 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25625 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25626 double tests.
25627 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25628 disable.
25629 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25630 check_long_double.
25631
3779b5b6
JM
25632 * math/gen-libm-test.pl (@tests): Remove variable.
25633 ($count): Likewise.
25634 (new_test): Remove function.
25635 (show_exceptions): New function.
25636 (special_functions): Use show_exceptions instead of new_test.
25637 (parse_args): Likewise.
25638 (generate_testfile): Pass only function name in generated call to
25639 print_max_error or print_complex_max_error.
25640 (get_ulps): Do not handle complex tests specially.
25641 (output_test): Rename to ...
25642 (get_all_ulps_for_test): ... this. Return a string rather than
25643 printing to a file. Require ulps to be present.
25644 (output_ulps): Generate arrays rather than #defines.
25645 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25646 (struct ulp_data): New type.
25647 (BUILD_COMPLEX_ULP): Remove macro.
25648 (compare_ulp_data): New function.
25649 (find_ulps): Likewise.
25650 (find_test_ulps): Likewise.
25651 (find_function_ulps): Likewise.
25652 (find_complex_function_ulps): Likewise.
25653 (print_max_error): Determine allowed ulps using
25654 find_function_ulps.
25655 (print_complex_max_error): Determine allowed ulps using
25656 find_complex_function_ulps.
25657 (check_float_internal): Determine max ulps using find_test_ulps.
25658 (check_float): Do not take max_ulp parameter. Update call to
25659 check_float_internal.
25660 (check_complex): Likewise.
25661 (check_int): Do not take max_ulp parameter.
25662 (check_long): Likewise.
25663 (check_bool): Likewise.
25664 (check_longlong): Likewise.
25665 (struct test_f_f_data): Remove max_ulp field.
25666 (struct test_ff_f_data): Likewise.
25667 (struct test_ff_f_data_nexttoward): Likewise.
25668 (struct test_fi_f_data): Likewise.
25669 (struct test_fl_f_data): Likewise.
25670 (struct test_if_f_data): Likewise.
25671 (struct test_fff_f_data): Likewise.
25672 (struct test_c_f_data): Likewise.
25673 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25674 (struct test_fF_f1_data): Likewise.
25675 (struct test_ffI_f1_data): Likewise.
25676 (struct test_c_c_data): Remove max_ulp field.
25677 (struct test_cc_c_data): Likewise.
25678 (struct test_f_i_data): Likewise.
25679 (struct test_ff_i_data): Likewise.
25680 (struct test_f_l_data): Likewise.
25681 (struct test_f_L_data): Likewise.
25682 (struct test_sincos_data): Likewise.
25683 (RUN_TEST_f_f): Do not handle ulps.
25684 (RUN_TEST_LOOP_f_f): Likewise.
25685 (RUN_TEST_2_f): Likewise.
25686 (RUN_TEST_LOOP_2_f): Likewise.
25687 (RUN_TEST_fff_f): Likewise.
25688 (RUN_TEST_LOOP_fff_f): Likewise.
25689 (RUN_TEST_c_f): Likewise.
25690 (RUN_TEST_LOOP_c_f): Likewise.
25691 (RUN_TEST_f_f1): Likewise.
25692 (RUN_TEST_LOOP_f_f1): Likewise.
25693 (RUN_TEST_fF_f1): Likewise.
25694 (RUN_TEST_LOOP_fF_f1): Likewise.
25695 (RUN_TEST_fI_f1): Likewise.
25696 (RUN_TEST_LOOP_fI_f1): Likewise.
25697 (RUN_TEST_ffI_f1): Likewise.
25698 (RUN_TEST_LOOP_ffI_f1): Likewise.
25699 (RUN_TEST_c_c): Likewise.
25700 (RUN_TEST_LOOP_c_c): Likewise.
25701 (RUN_TEST_cc_c): Likewise.
25702 (RUN_TEST_LOOP_cc_c): Likewise.
25703 (RUN_TEST_f_i): Likewise.
25704 (RUN_TEST_LOOP_f_i): Likewise.
25705 (RUN_TEST_f_i_tg): Likewise.
25706 (RUN_TEST_LOOP_f_i_tg): Likewise.
25707 (RUN_TEST_ff_i_tg): Likewise.
25708 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25709 (RUN_TEST_f_b): Likewise.
25710 (RUN_TEST_LOOP_f_b): Likewise.
25711 (RUN_TEST_f_b_tg): Likewise.
25712 (RUN_TEST_LOOP_f_b_tg): Likewise.
25713 (RUN_TEST_f_l): Likewise.
25714 (RUN_TEST_LOOP_f_l): Likewise.
25715 (RUN_TEST_f_L): Likewise.
25716 (RUN_TEST_LOOP_f_L): Likewise.
25717 (RUN_TEST_sincos): Likewise.
25718 (RUN_TEST_LOOP_sincos): Likewise.
25719
8269107f
JM
257202013-05-17 Joseph Myers <joseph@codesourcery.com>
25721
bb38759d
JM
25722 [BZ #15480]
25723 [BZ #15485]
25724 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25725 main case of finite arguments, set rounding mode to FE_TONEAREST
25726 and discard exceptions.
25727 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25728 exceptions.
25729 (remainder_tonearest_test_data): New variable.
25730 (remainder_test_tonearest): New function.
25731 (remainder_towardzero_test_data): New variable.
25732 (remainder_test_towardzero): New function.
25733 (remainder_downward_test_data): New variable.
25734 (remainder_test_downward): New function.
25735 (remainder_upward_test_data): New variable.
25736 (remainder_test_upward): New function.
25737 (main): Call the new test functions.
25738
a00bdcf0
JM
25739 * math/libm-test.inc (struct test_f_f1_data): Remove field
25740 extra_init.
25741 (struct test_fF_f1_data): Likewise.
25742 (struct test_ffI_f1_data): Likewise.
25743 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25744 based on value of EXTRA_EXPECTED.
25745 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25746 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25747 EXTRA_VAR based on value of EXTRA_EXPECTED.
25748 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25749 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25750 EXTRA_VAR based on value of EXTRA_EXPECTED.
25751 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25752 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25753 EXTRA_VAR based on value of EXTRA_EXPECTED.
25754 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25755 * math/gen-libm-test.pl (parse_args): Don't output initializers
25756 for extra output values.
25757
de407f79
JM
25758 * math/libm-test.inc (check_int): Expect result to be exactly
25759 equal to expected value and do not handle ulps.
25760 (check_long): Likewise.
25761 (check_longlong): Likewise.
25762
8269107f
JM
25763 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25764 exceptions.
25765 (cimag_test_data): Likewise.
25766 (conj_test_data): Likewise.
25767 (copysign_test_data): Likewise.
25768 (cproj_test_data): Likewise.
25769 (creal_test_data): Likewise.
25770 (fabs_test_data): Likewise.
25771 (fdim_test_data): Likewise.
25772 (finite_test_data): Likewise.
25773 (floor_test_data): Likewise.
25774 (fmax_test_data): Likewise.
25775 (fmin_test_data): Likewise.
25776 (fmod_test_data): Likewise.
25777 (fpclassify_test_data): Likewise.
25778 (frexp_test_data): Likewise.
25779 (ilogb_test_data): Likewise.
25780 (isfinite_test_data): Likewise.
25781 (isgreater_test_data): Likewise.
25782 (isgreaterequal_test_data): Likewise.
25783 (isinf_test_data): Likewise.
25784 (isless_test_data): Likewise.
25785 (islessequal_test_data): Likewise.
25786 (islessgreater_test_data): Likewise.
25787 (isnan_test_data): Likewise.
25788 (isnormal_test_data): Likewise.
25789 (issignaling_test_data): Likewise.
25790 (isunordered_test_data): Likewise.
25791 (ldexp_test_data): Likewise.
25792 (lrint_test_data): Likewise.
25793 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25794 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25795 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25796 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25797 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25798 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25799 test input.
25800 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25801 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25802 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25803 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25804 that test input.
25805 (lrint_downward_test_data): Test for "inexact" exceptions.
25806 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25807 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25808 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25809 test input.
25810 (lrint_upward_test_data): Test for "inexact" exceptions.
25811 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25812 test input.
25813 (llrint_test_data): Test for "inexact" exceptions.
25814 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25815 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25816 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25817 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25818 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25819 (llrint_downward_test_data): Test for "inexact" exceptions.
25820 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25821 (llrint_upward_test_data): Test for "inexact" exceptions.
25822 (logb_test_data): Likewise.
25823 (logb_downward_test_data): Likewise.
25824 (nextafter_test_data): Likewise.
25825 (nexttoward_test_data): Likewise.
25826 (remainder_test_data): Likewise.
25827 (remquo_test_data): Likewise.
25828 (scalbn_test_data): Likewise.
25829 (scalbln_test_data): Likewise.
25830 (signbit_test_data): Likewise.
25831 (sqrt_test_data): Likewise.
25832 (significand_test_data): Likewise.
25833
48a18de1
SP
258342013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25835
25836 [BZ #15424]
25837 * benchtests/bench-modf.c (struct args): Mark arg0 as
25838 volatile.
25839 * scripts/bench.pl: Mark members of struct args as volatile.
25840
13d3b41a
AZ
258412013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25842
68191c1d 25843 [BZ # 15497]
13d3b41a
AZ
25844 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25845 negative infinity on POWER6 or lower.
25846 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25847
2848b105
MR
258482013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25849
25850 [BZ #15442]
25851 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25852 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25853 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25854 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25855 (_FP_SETQNAN): New macro.
25856 (_FP_SETQNAN_SEMIRAW): Likewise.
25857 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25858 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25859 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25860 (FP_EXTEND): Use _FP_FRAC_SNANP.
25861 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25862 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25863 into account.
25864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25865 New macro.
25866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25867 Likewise.
25868
323e5cb7
JM
258692013-05-16 Joseph Myers <joseph@codesourcery.com>
25870
c58b274f
JM
25871 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25872 with DIVIDE_BY_ZERO_EXCEPTION.
25873 (gamma_test_data): Likewise.
25874 (lgamma_test_data): Likewise.
25875 (log_test_data): Likewise.
25876 (log10_test_data): Likewise.
25877 (log2_test_data): Likewise.
25878 (tgamma_test_data): Likewise.
25879
0ab34904
JM
25880 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25881 (acos_test_tonearest): Likewise.
25882 (acos_test_towardzero): Likewise.
25883 (acos_test_downward): Likewise.
25884 (acos_test_upward): Likewise.
25885 (acosh_test): Likewise.
25886 (asin_test): Likewise.
25887 (asin_test_tonearest): Likewise.
25888 (asin_test_towardzero): Likewise.
25889 (asin_test_downward): Likewise.
25890 (asin_test_upward): Likewise.
25891 (asinh_test): Likewise.
25892 (atan_test): Likewise.
25893 (atanh_test): Likewise.
25894 (atan2_test): Likewise.
25895 (cabs_test): Likewise.
25896 (cacos_test): Likewise.
25897 (cacosh_test): Likewise.
25898 (casin_test): Likewise.
25899 (casinh_test): Likewise.
25900 (catan_test): Likewise.
25901 (catanh_test): Likewise.
25902 (cbrt_test): Likewise.
25903 (ccos_test): Likewise.
25904 (ccosh_test): Likewise.
25905 (cexp_test): Likewise.
25906 (clog_test): Likewise.
25907 (clog10_test): Likewise.
25908 (cos_test): Likewise.
25909 (cos_test_tonearest): Likewise.
25910 (cos_test_towardzero): Likewise.
25911 (cos_test_downward): Likewise.
25912 (cos_test_upward): Likewise.
25913 (cosh_test): Likewise.
25914 (cosh_test_tonearest): Likewise.
25915 (cosh_test_towardzero): Likewise.
25916 (cosh_test_downward): Likewise.
25917 (cosh_test_upward): Likewise.
25918 (cpow_test): Likewise.
25919 (csin_test): Likewise.
25920 (csinh_test): Likewise.
25921 (csqrt_test): Likewise.
25922 (ctan_test): Likewise.
25923 (ctan_test_tonearest): Likewise.
25924 (ctan_test_towardzero): Likewise.
25925 (ctan_test_downward): Likewise.
25926 (ctan_test_upward): Likewise.
25927 (ctanh_test): Likewise.
25928 (ctanh_test_tonearest): Likewise.
25929 (ctanh_test_towardzero): Likewise.
25930 (ctanh_test_downward): Likewise.
25931 (ctanh_test_upward): Likewise.
25932 (erf_test): Likewise.
25933 (erfc_test): Likewise.
25934 (exp_test): Likewise.
25935 (exp_test_tonearest): Likewise.
25936 (exp_test_towardzero): Likewise.
25937 (exp_test_downward): Likewise.
25938 (exp_test_upward): Likewise.
25939 (exp10_test): Likewise.
25940 (exp2_test): Likewise.
25941 (expm1_test): Likewise.
25942 (fmod_test): Likewise.
25943 (gamma_test): Likewise.
25944 (hypot_test): Likewise.
25945 (j0_test): Likewise.
25946 (j1_test): Likewise.
25947 (jn_test): Likewise.
25948 (lgamma_test): Likewise.
25949 (log_test): Likewise.
25950 (log10_test): Likewise.
25951 (log1p_test): Likewise.
25952 (log2_test): Likewise.
25953 (logb_test_downward): Likewise.
25954 (pow_test): Likewise.
25955 (pow_test_tonearest): Likewise.
25956 (pow_test_towardzero): Likewise.
25957 (pow_test_downward): Likewise.
25958 (pow_test_upward): Likewise.
25959 (remainder_test): Likewise.
25960 (remquo_test): Likewise.
25961 (sin_test): Likewise.
25962 (sin_test_tonearest): Likewise.
25963 (sin_test_towardzero): Likewise.
25964 (sin_test_downward): Likewise.
25965 (sin_test_upward): Likewise.
25966 (sincos_test): Likewise.
25967 (sinh_test): Likewise.
25968 (sinh_test_tonearest): Likewise.
25969 (sinh_test_towardzero): Likewise.
25970 (sinh_test_downward): Likewise.
25971 (sinh_test_upward): Likewise.
25972 (sqrt_test): Likewise.
25973 (tan_test): Likewise.
25974 (tan_test_tonearest): Likewise.
25975 (tan_test_towardzero): Likewise.
25976 (tan_test_downward): Likewise.
25977 (tan_test_upward): Likewise.
25978 (tanh_test): Likewise.
25979 (tgamma_test): Likewise.
25980 (y0_test): Likewise.
25981 (y1_test): Likewise.
25982 (yn_test): Likewise.
25983
323e5cb7
JM
25984 * math/gen-libm-test.pl (adjust_arg): Remove function.
25985 (special_function): Remove argument $in_func. Only handle
25986 generating output for tables of tests, not inside functions.
25987 (parse_args): Likewise.
25988 (generate_testfile): Remove variable $in_func. Update call to
25989 parse_args.
25990 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25991 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25992 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25993 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25994 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25995 (MAX_VALUE_INIT): Rename macro to max_value.
25996 (MIN_VALUE_INIT): Rename macro to min_value.
25997 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25998 (plus_zero): Remove variable.
25999 (minus_zero): Likewise.
26000 (plus_infty): Likewise.
26001 (minus_infty): Likewise.
26002 (qnan_value): Likewise.
26003 (max_value): Likewise.
26004 (min_value): Likewise.
26005 (min_subnorm_value): Likewise.
26006
e054f494
RA
260072013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26008
26009 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26010 uint64_t or uint32_t usage.
26011 * crypt/sha256-block.c: Likewise.
26012 * crypt/sha256-crypt.c: Likewise.
26013 * crypt/sha256.c: Likewise.
26014 * crypt/sha512-block.c: Likewise.
26015 * crypt/sha512-crypt.c: Likewise.
26016 * crypt/sha512.c: Likewise.
26017 * debug/backtrace-tst.c: Likewise.
26018 * debug/pcprofiledump.c: Likewise.
26019 * elf/cache.c: Likewise.
26020 * elf/dl-cache.c: Likewise.
26021 * elf/dl-misc.c: Likewise.
26022 * elf/dl-profile.c: Likewise.
26023 * elf/dl-support.c: Likewise.
26024 * elf/ldconfig.c: Likewise.
26025 * elf/sprof.c: Likewise.
26026 * iconv/dummy-repertoire.c: Likewise.
26027 * iconv/iconv_charmap.c: Likewise.
26028 * iconv/skeleton.c: Likewise.
26029 * iconvdata/8bit-generic.c: Likewise.
26030 * iconvdata/cp737.h: Likewise.
26031 * iconvdata/cp775.h: Likewise.
26032 * iconvdata/ibm1008.h: Likewise.
26033 * iconvdata/ibm1025.h: Likewise.
26034 * iconvdata/ibm1046.h: Likewise.
26035 * iconvdata/ibm1097.h: Likewise.
26036 * iconvdata/ibm1112.h: Likewise.
26037 * iconvdata/ibm1122.h: Likewise.
26038 * iconvdata/ibm1123.h: Likewise.
26039 * iconvdata/ibm1124.h: Likewise.
26040 * iconvdata/ibm1129.h: Likewise.
26041 * iconvdata/ibm1130.h: Likewise.
26042 * iconvdata/ibm1132.h: Likewise.
26043 * iconvdata/ibm1133.h: Likewise.
26044 * iconvdata/ibm1137.h: Likewise.
26045 * iconvdata/ibm1140.h: Likewise.
26046 * iconvdata/ibm1141.h: Likewise.
26047 * iconvdata/ibm1142.h: Likewise.
26048 * iconvdata/ibm1143.h: Likewise.
26049 * iconvdata/ibm1144.h: Likewise.
26050 * iconvdata/ibm1145.h: Likewise.
26051 * iconvdata/ibm1146.h: Likewise.
26052 * iconvdata/ibm1147.h: Likewise.
26053 * iconvdata/ibm1148.h: Likewise.
26054 * iconvdata/ibm1149.h: Likewise.
26055 * iconvdata/ibm1153.h: Likewise.
26056 * iconvdata/ibm1154.h: Likewise.
26057 * iconvdata/ibm1155.h: Likewise.
26058 * iconvdata/ibm1156.h: Likewise.
26059 * iconvdata/ibm1157.h: Likewise.
26060 * iconvdata/ibm1158.h: Likewise.
26061 * iconvdata/ibm1160.h: Likewise.
26062 * iconvdata/ibm1161.h: Likewise.
26063 * iconvdata/ibm1162.h: Likewise.
26064 * iconvdata/ibm1163.h: Likewise.
26065 * iconvdata/ibm1164.h: Likewise.
26066 * iconvdata/ibm1166.h: Likewise.
26067 * iconvdata/ibm1167.h: Likewise.
26068 * iconvdata/ibm12712.h: Likewise.
26069 * iconvdata/ibm1390.h: Likewise.
26070 * iconvdata/ibm1399.h: Likewise.
26071 * iconvdata/ibm16804.h: Likewise.
26072 * iconvdata/ibm4517.h: Likewise.
26073 * iconvdata/ibm4899.h: Likewise.
26074 * iconvdata/ibm4909.h: Likewise.
26075 * iconvdata/ibm4971.h: Likewise.
26076 * iconvdata/ibm5347.h: Likewise.
26077 * iconvdata/ibm803.h: Likewise.
26078 * iconvdata/ibm856.h: Likewise.
26079 * iconvdata/ibm901.h: Likewise.
26080 * iconvdata/ibm902.h: Likewise.
26081 * iconvdata/ibm9030.h: Likewise.
26082 * iconvdata/ibm9066.h: Likewise.
26083 * iconvdata/ibm921.h: Likewise.
26084 * iconvdata/ibm922.h: Likewise.
26085 * iconvdata/ibm9448.h: Likewise.
26086 * iconvdata/isiri-3342.h: Likewise.
26087 * iconvdata/jis0201.h: Likewise.
26088 * include/link.h: Likewise.
26089 * include/netdb.h: Likewise.
26090 * inet/check_native.c: Likewise.
26091 * inet/check_pf.c: Likewise.
26092 * inet/getipv4sourcefilter.c: Likewise.
26093 * inet/getnameinfo.c: Likewise.
26094 * inet/getsourcefilter.c: Likewise.
26095 * inet/htonl.c: Likewise.
26096 * inet/setipv4sourcefilter.c: Likewise.
26097 * inet/setsourcefilter.c: Likewise.
26098 * inet/test-inet6_opt.c: Likewise.
26099 * inet/tst-network.c: Likewise.
26100 * locale/C-collate.c: Likewise.
26101 * locale/C-ctype.c: Likewise.
26102 * locale/C-time.c: Likewise.
26103 * locale/C-translit.h: Likewise.
26104 * locale/loadarchive.c: Likewise.
26105 * locale/programs/3level.h: Likewise.
26106 * locale/programs/charmap.c: Likewise.
26107 * locale/programs/charmap.h: Likewise.
26108 * locale/programs/ld-address.c: Likewise.
26109 * locale/programs/ld-collate.c: Likewise.
26110 * locale/programs/ld-ctype.c: Likewise.
26111 * locale/programs/ld-identification.c: Likewise.
26112 * locale/programs/ld-measurement.c: Likewise.
26113 * locale/programs/ld-messages.c: Likewise.
26114 * locale/programs/ld-monetary.c: Likewise.
26115 * locale/programs/ld-name.c: Likewise.
26116 * locale/programs/ld-numeric.c: Likewise.
26117 * locale/programs/ld-paper.c: Likewise.
26118 * locale/programs/ld-telephone.c: Likewise.
26119 * locale/programs/ld-time.c: Likewise.
26120 * locale/programs/linereader.c: Likewise.
26121 * locale/programs/locale.c: Likewise.
26122 * locale/programs/locarchive.c: Likewise.
26123 * locale/programs/locfile.h: Likewise.
26124 * locale/programs/repertoire.c: Likewise.
26125 * locale/programs/simple-hash.c: Likewise.
26126 * locale/programs/simple-hash.h: Likewise.
26127 * malloc/memusage.c: Likewise.
26128 * malloc/memusagestat.c: Likewise.
26129 * nis/nis_defaults.c: Likewise.
26130 * nis/nis_hash.c: Likewise.
26131 * nis/nis_print.c: Likewise.
26132 * nis/nis_xdr.c: Likewise.
26133 * nscd/connections.c: Likewise.
26134 * nscd/hstcache.c: Likewise.
26135 * nscd/nscd_gethst_r.c: Likewise.
26136 * nscd/nscd_getserv_r.c: Likewise.
26137 * nscd/nscd_helper.c: Likewise.
26138 * nscd/servicescache.c: Likewise.
26139 * nss/makedb.c: Likewise.
26140 * nss/nss_db/db-XXX.c: Likewise.
26141 * nss/nss_db/db-initgroups.c: Likewise.
26142 * nss/nss_db/db-netgrp.c: Likewise.
26143 * nss/nss_files/files-network.c: Likewise.
26144 * nss/nss_files/files-parse.c: Likewise.
26145 * posix/bug-regex5.c: Likewise.
26146 * posix/fnmatch_loop.c: Likewise.
26147 * posix/regcomp.c: Likewise.
26148 * posix/regexec.c: Likewise.
26149 * posix/tst-rfc3484-2.c: Likewise.
26150 * posix/tst-rfc3484-3.c: Likewise.
26151 * posix/tst-rfc3484.c: Likewise.
26152 * resolv/nss_dns/dns-canon.c: Likewise.
26153 * resolv/nss_dns/dns-network.c: Likewise.
26154 * resolv/res_init.c: Likewise.
26155 * resolv/res_mkquery.c: Likewise.
26156 * resolv/tst-aton.c: Likewise.
26157 * stdlib/cxa_atexit.c: Likewise.
26158 * stdlib/cxa_finalize.c: Likewise.
26159 * stdlib/gen-fpioconst.c: Likewise.
26160 * stdlib/strtol_l.c: Likewise.
26161 * string/tst-endian.c: Likewise.
26162 * sunrpc/auth_des.c: Likewise.
26163 * sunrpc/clnt_udp.c: Likewise.
26164 * sunrpc/rtime.c: Likewise.
26165 * sunrpc/svcauth_des.c: Likewise.
26166 * sunrpc/xdr.c: Likewise.
26167 * sunrpc/xdr_intXX_t.c: Likewise.
26168 * sunrpc/xdr_rec.c: Likewise.
26169 * sysdeps/generic/ldconfig.h: Likewise.
26170 * sysdeps/generic/ldsodefs.h: Likewise.
26171 * sysdeps/generic/memusage.h: Likewise.
26172 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26173 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26174 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26178 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26179 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26180 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26182 * sysdeps/posix/getaddrinfo.c: Likewise.
26183 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26184 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26185 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26186 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26187 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26188 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26189 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26190 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26191 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26192 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26193 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26194 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26195 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26196 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26197 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26198 * sysdeps/x86_64/dl-tls.h: Likewise.
26199 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26200 * time/alt_digit.c: Likewise.
26201 * time/era.c: Likewise.
26202 * wcsmbs/tst-c16c32-1.c: Likewise.
26203
8c75f674
JM
262042013-05-16 Joseph Myers <joseph@codesourcery.com>
26205
26206 * math/libm-test.inc (struct test_sincos_data): New type.
26207 (RUN_TEST_LOOP_sincos): New macro.
26208 (sincos_test_data): New variable.
26209 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26210
e6e49e59
RH
262112013-05-16 Richard Henderson <rth@redhat.com>
26212
26213 * math/atest-exp2.c (LIMB64): New macro.
26214 (CONSTSZ): New macro.
26215 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26216 (hexdig): Move ...
26217 (print_mpn_fp): ... to function scope.
26218 (read_mpn_hex): Remove.
26219 (get_log2): Remove.
26220 (exp2_mpn): Use mp_log2.
26221 (main): Use mp_exp1.
26222
15c7c18d
JM
262232013-05-16 Joseph Myers <joseph@codesourcery.com>
26224
105a07df
JM
26225 * math/libm-test.inc: Remove comment about not testing "inexact"
26226 exceptions.
26227 (INEXACT_EXCEPTION): New macro.
26228 (NO_INEXACT_EXCEPTION): Likewise.
26229 (INVALID_EXCEPTION_OK): Update value.
26230 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26231 (OVERFLOW_EXCEPTION_OK): Likewise.
26232 (UNDERFLOW_EXCEPTION_OK): Likewise.
26233 (IGNORE_ZERO_INF_SIGN): Likewise.
26234 (ERRNO_UNCHANGED): Likewise.
26235 (ERRNO_EDOM): Likewise.
26236 (ERRNO_ERANGE): Likewise.
26237 (test_exceptions): Handle testing "inexact" exceptions.
26238 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26239 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26240 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26241 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26242 INEXACT_EXCEPTION.
26243 (rint_towardzero_test_data): Likewise.
26244 (rint_downward_test_data): Likewise.
26245 (rint_upward_test_data): Likewise.
26246
e9eee333
JM
26247 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26248 with OVERFLOW_EXCEPTION.
26249 (exp10_test_data): Likewise.
26250 (exp2_test_data): Likewise.
26251 (expm1_test_data): Likewise.
26252 (lgamma_test_data): Likewise.
26253 (pow_test_data): Likewise.
26254 (tgamma_test_data): Likewise.
26255 (yn_test_data): Remove duplicate test of overflow.
26256
1c38ff73
JM
26257 * math/libm-test.inc (struct test_cc_c_data): New type.
26258 (RUN_TEST_LOOP_cc_c): New macro.
26259 (cpow_test_data): New variable.
26260 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26261
15c7c18d
JM
26262 * math/libm-test.inc (struct test_f_L_data): New type.
26263 (RUN_TEST_LOOP_f_L): New macro.
26264 (llrint_test_data): New variable.
26265 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26266 (llrint_tonearest_test_data): New variable.
26267 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26268 (llrint_towardzero_test_data): New variable.
26269 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26270 (llrint_downward_test_data): New variable.
26271 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26272 (llrint_upward_test_data): New variable.
26273 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26274 (llround_test_data): New variable.
26275 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26276
f137ff13
PC
262772013-05-13 Peter Collingbourne <pcc@google.com>
26278
26279 * math/atest-exp2.c (get_log2): Remove const attribute.
26280
3608cb24
JM
262812013-05-15 Joseph Myers <joseph@codesourcery.com>
26282
26283 * math/libm-test.inc (struct test_f_l_data): New type.
26284 (RUN_TEST_LOOP_f_l): New macro.
26285 (lrint_test_data): New variable.
26286 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26287 (lrint_tonearest_test_data): New variable.
26288 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26289 (lrint_towardzero_test_data): New variable.
26290 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26291 (lrint_downward_test_data): New variable.
26292 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26293 (lrint_upward_test_data): New variable.
26294 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26295 (lround_test_data): New variable.
26296 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26297
39b1f617
PC
262982013-05-15 Peter Collingbourne <pcc@google.com>
26299
1deff3dc
PC
26300 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26301 (EXTRACT_WORDS64) Use where appropriate.
26302 (INSERT_WORDS64) Likewise.
26303
791f3ba0
PC
26304 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26305 constraints with x constraints.
26306 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26307
39b1f617
PC
26308 * malloc/obstack.c (_obstack_compat): Add initializer.
26309
12fba011
EM
263102013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26311
26312 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26313 si_trapno and add si_addr_lsb to _sifields.sigfault.
26314 (si_trapno): Remove macro.
26315 (si_addr_lsb): Define new macro.
26316 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26317
d369f531
JM
263182013-05-15 Joseph Myers <joseph@codesourcery.com>
26319
b861c6c4
JM
26320 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26321 instead of TEST_f_l.
26322 (llrint_test_tonearest): Likewise.
26323 (llrint_test_towardzero): Likewise.
26324 (llrint_test_downward): Likewise.
26325 (llrint_test_upward): Likewise.
26326 (llround_test): Likewise.
26327
7abeee12
JM
26328 * math/libm-test.inc (struct test_f_i_data): Add comment.
26329 (RUN_TEST_LOOP_f_b): New macro.
26330 (RUN_TEST_LOOP_f_b_tg): Likewise.
26331 (finite_test_data): New variable.
26332 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26333 (isfinite_test_data): New variable.
26334 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26335 (isinf_test_data): New variable.
26336 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26337 (isnan_test_data): New variable.
26338 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26339 (isnormal_test_data): New variable.
26340 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26341 (issignaling_test_data): New variable.
26342 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26343 (signbit_test_data): New variable.
26344 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26345
cbe8c4d3
JM
26346 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26347 with INVALID_EXCEPTION.
26348 (acosh_test_data): Likewise.
26349 (asin_test_data): Likewise.
26350 (atanh_test_data): Likewise.
26351 (fmod_test_data): Likewise.
26352 (log_test_data): Likewise.
26353 (log10_test_data): Likewise.
26354 (log2_test_data): Likewise.
26355 (pow_test_data): Likewise.
26356 (sqrt_test_data): Likewise.
26357 (y0_test_data): Likewise.
26358 (y1_test_data): Likewise.
26359 (yn_test_data): Likewise.
26360
5575c0e5
JM
26361 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26362 function contents.
26363
d369f531
JM
26364 * math/libm-test.inc (struct test_ff_i_data): New type.
26365 (RUN_TEST_LOOP_ff_i_tg): New macro.
26366 (isgreater_test_data): New variable.
26367 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26368 (isgreaterequal_test_data): New variable.
26369 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26370 (isless_test_data): New variable.
26371 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26372 (islessequal_test_data): New variable.
26373 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26374 (islessgreater_test_data): New variable.
26375 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26376 (isunordered_test_data): New variable.
26377 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26378
781fd748
DM
263792013-05-14 David S. Miller <davem@davemloft.net>
26380
26381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26382
87aa21df
JM
263832013-05-14 Joseph Myers <joseph@codesourcery.com>
26384
5e908270
JM
26385 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26386
f71172e5
JM
26387 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26388 extra_test to int.
26389 (struct test_f_i_data): Change type of max_ulp to int.
26390
8cfa635a
JM
26391 * math/libm-test.inc (test_ffI_f1_data): New type.
26392 (RUN_TEST_LOOP_ffI_f1): New macro.
26393 (remquo_test_data): New variable.
26394 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26395
2bcb36b2
JM
26396 * setjmp/tst-setjmp-fp.c: New file.
26397 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26398 (link-libm): New variable.
26399 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26400
acbd839a
JM
26401 * math/libm-test.inc (struct test_f_i_data): New type.
26402 (RUN_TEST_LOOP_f_i): New macro.
26403 (RUN_TEST_LOOP_f_i_tg): Likewise.
26404 (fpclassify_test_data): New variable.
26405 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26406 (ilogb_test_data): New variable.
26407 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26408
e414d745
JM
26409 * math/libm-test.inc (scalbln_test): Correct function name in END
26410 call.
26411
d9c2a0fd
JM
26412 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26413 (RUN_TEST_LOOP_fI_f1): New macro.
26414 (frexp_test_data): New variable.
26415 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26416
9dc9095d
JM
26417 * math/libm-test.inc (struct test_fF_f1_data): New type.
26418 (RUN_TEST_LOOP_fF_f1): New macro.
26419 (modf_test_data): New variable.
26420 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26421
87aa21df
JM
26422 * math/libm-test.inc (struct test_f_f1_data): New type.
26423 (RUN_TEST_LOOP_f_f1): New macro.
26424 (gamma_test_data): New variable.
26425 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26426 (lgamma_test_data): New variable.
26427 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26428
141af660
CD
264292013-05-13 Carlos O'Donell <carlos@redhat.com>
26430
26431 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26432 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26433 (main): Comment "tls" pseudo-hwcap.
26434
6d33265c
JM
264352013-05-13 Joseph Myers <joseph@codesourcery.com>
26436
68fc074c
JM
26437 * math/libm-test.inc (struct test_fl_f_data): New type.
26438 (RUN_TEST_LOOP_fl_f): New variable.
26439 (scalbln_test_data): New variable.
26440 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26441
243216e1
JM
26442 * math/libm-test.inc (struct test_fi_f_data): New type.
26443 (RUN_TEST_LOOP_fi_f): New macro.
26444 (ldexp_test_data): New variable.
26445 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26446 (scalbn_test_data): New variable.
26447 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26448
6a1992e2
JM
26449 * math/libm-test.inc (struct test_c_f_data): New type.
26450 (RUN_TEST_LOOP_c_f): New macro.
26451 (cabs_test_data): New variable.
26452 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26453 (carg_test_data): New variable.
26454 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26455 (cimag_test_data): New variable.
26456 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26457 (creal_test_data): New variable.
26458 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26459
0e400df5
JM
26460 * math/libm-test.inc (struct test_if_f_data): New type.
26461 (RUN_TEST_LOOP_if_f): New macro.
26462 (jn_test_data): New variable.
26463 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26464 (yn_test_data): New variable.
26465 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26466
6d33265c
JM
26467 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26468
f98ece5f
AZ
264692013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26470
26471 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26472 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26473
0f7d347b
SP
264742013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26475
43fe811b
SP
26476 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26477 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26478 (bench-deps): Add bench-timing.h.
26479 * benchtests-bench-skeleton.c: Include bench-timing.h.
26480 (main): Use TIMING_* macros instead of clock_gettime.
26481 * benchtests/bench-timing.h: New file.
26482
0f7d347b
SP
26483 [BZ #14582]
26484 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26485 Renamed from _LIB_VERSION.
26486 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26487
601a3a5f
JM
264882013-05-12 Joseph Myers <joseph@codesourcery.com>
26489
4f184d30
JM
26490 * math/libm-test.inc (struct test_fff_f_data): New type.
26491 (RUN_TEST_LOOP_fff_f): New macro.
26492 (fma_test_data): New variable.
26493 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26494 (fma_towardzero_test_data): New variable.
26495 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26496 (fma_downward_test_data): New variable.
26497 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26498 (fma_upward_test_data): New variable.
26499 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26500
08198877
JM
26501 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26502 (struct test_c_c_data): New type.
26503 (RUN_TEST_LOOP_c_c): New macro.
26504 (cacos_test_data): New variable.
26505 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26506 (cacosh_test_data): New variable.
26507 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26508 (casin_test_data): New variable.
26509 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26510 (casinh_test_data): New variable.
26511 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26512 (catan_test_data): New variable.
26513 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26514 (catanh_test_data): New variable.
26515 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26516 (ccos_test_data): New variable.
26517 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26518 (ccosh_test_data): New variable.
26519 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26520 (cexp_test_data): New variable.
26521 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26522 (clog_test_data): New variable.
26523 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26524 (clog10_test_data): New variable.
26525 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26526 (conj_test_data): New variable.
26527 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26528 (cproj_test_data): New variable.
26529 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26530 (csin_test_data): New variable.
26531 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26532 (csinh_test_data): New variable.
26533 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26534 (csqrt_test_data): New variable.
26535 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26536 (ctan_test_data): New variable.
26537 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26538 (ctan_tonearest_test_data): New variable.
26539 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26540 (ctan_towardzero_test_data): New variable.
26541 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26542 (ctan_downward_test_data): New variable.
26543 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26544 (ctan_upward_test_data): New variable.
26545 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26546 (ctanh_test_data): New variable.
26547 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26548 (ctanh_tonearest_test_data): New variable.
26549 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26550 (ctanh_towardzero_test_data): New variable.
26551 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26552 (ctanh_downward_test_data): New variable.
26553 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26554 (ctanh_upward_test_data): New variable.
26555 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26556 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26557 of BUILD_COMPLEX.
26558
601a3a5f
JM
26559 * math/libm-test.inc (struct test_ff_f_data): New type.
26560 (struct test_ff_f_data_nexttoward): Likewise.
26561 (RUN_TEST_LOOP_2_f): New macro.
26562 (RUN_TEST_LOOP_ff_f): Likewise.
26563 (atan2_test_data): New variable.
26564 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26565 (copysign_test_data): New variable.
26566 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26567 (fdim_test_data): New variable.
26568 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26569 (fmax_test_data): New variable.
26570 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26571 (fmin_test_data): New variable.
26572 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26573 (fmod_test_data): New variable.
26574 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26575 (hypot_test_data): New variable.
26576 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26577 (nextafter_test_data): New variable.
26578 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26579 (nexttoward_test_data): New variable.
26580 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26581 (pow_test_data): New variable.
26582 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26583 (pow_tonearest_test_data): New variable.
26584 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26585 (pow_towardzero_test_data): New variable.
26586 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26587 (pow_downward_test_data): New variable.
26588 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26589 (pow_upward_test_data): New variable.
26590 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26591 (remainder_test_data): New variable.
26592 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26593 (scalb_test_data): New variable.
26594 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26595 * sysdeps/i386/fpu/libm-test-ulps: Update.
26596
74c57478
JM
265972013-05-11 Joseph Myers <joseph@codesourcery.com>
26598
8329e4da
JM
26599 * math/libm-test.inc (fma_test): Use max_value instead of local
26600 variable fltmax.
26601 (nextafter_test): Likewise.
26602
74c57478
JM
26603 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26604 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26605 (acos_downward_test_data): New variable.
26606 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26607 (acos_upward_test_data): New variable.
26608 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26609 (acosh_test_data): New variable.
26610 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26611 (asin_test_data): New variable.
26612 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26613 (asin_tonearest_test_data): New variable.
26614 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26615 (asin_towardzero_test_data): New variable.
26616 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26617 (asin_downward_test_data): New variable.
26618 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26619 (asin_upward_test_data): New variable.
26620 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26621 (asinh_test_data): New variable.
26622 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26623 (atan_test_data): New variable.
26624 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26625 (atanh_test_data): New variable.
26626 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26627 (cbrt_test_data): New variable.
26628 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26629 (ceil_test_data): New variable.
26630 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26631 (cos_test_data): New variable.
26632 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26633 (cos_tonearest_test_data): New variable.
26634 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26635 (cos_towardzero_test_data): New variable.
26636 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26637 (cos_downward_test_data): New variable.
26638 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26639 (cos_upward_test_data): New variable.
26640 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26641 (cosh_test_data): New variable.
26642 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26643 (cosh_tonearest_test_data): New variable.
26644 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26645 (cosh_towardzero_test_data): New variable.
26646 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26647 (cosh_downward_test_data): New variable.
26648 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26649 (cosh_upward_test_data): New variable.
26650 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26651 (erf_test_data): New variable.
26652 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26653 (erfc_test_data): New variable.
26654 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26655 (exp_test_data): New variable.
26656 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26657 (exp_tonearest_test_data): New variable.
26658 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26659 (exp_towardzero_test_data): New variable.
26660 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26661 (exp_downward_test_data): New variable.
26662 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26663 (exp_upward_test_data): New variable.
26664 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26665 (exp10_test_data): New variable.
26666 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26667 (exp2_test_data): New variable.
26668 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26669 (expm1_test_data): New variable.
26670 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26671 (fabs_test_data): New variable.
26672 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26673 (floor_test_data): New variable.
26674 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26675 (j0_test_data): New variable.
26676 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26677 (j1_test_data): New variable.
26678 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26679 (log_test_data): New variable.
26680 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26681 (log10_test_data): New variable.
26682 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26683 (log1p_test_data): New variable.
26684 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26685 (log2_test_data): New variable.
26686 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26687 (logb_test_data): New variable.
26688 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26689 (logb_downward_test_data): New variable.
26690 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26691 (nearbyint_test_data): New variable.
26692 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26693 (rint_test_data): New variable.
26694 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26695 (rint_tonearest_test_data): New variable.
26696 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26697 (rint_towardzero_test_data): New variable.
26698 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26699 (rint_downward_test_data): New variable.
26700 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26701 (rint_upward_test_data): New variable.
26702 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26703 (round_test_data): New variable.
26704 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26705 (sin_test_data): New variable.
26706 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26707 (sin_tonearest_test_data): New variable.
26708 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26709 (sin_towardzero_test_data): New variable.
26710 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26711 (sin_downward_test_data): New variable.
26712 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26713 (sin_upward_test_data): New variable.
26714 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26715 (sinh_test_data): New variable.
26716 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26717 (sinh_tonearest_test_data): New variable.
26718 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26719 (sinh_towardzero_test_data): New variable.
26720 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26721 (sinh_downward_test_data): New variable.
26722 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26723 (sinh_upward_test_data): New variable.
26724 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26725 (sqrt_test_data): New variable.
26726 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26727 (tan_test_data): New variable.
26728 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26729 (tan_tonearest_test_data): New variable.
26730 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26731 (tan_towardzero_test_data): New variable.
26732 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26733 (tan_downward_test_data): New variable.
26734 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26735 (tan_upward_test_data): New variable.
26736 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26737 (tanh_test_data): New variable.
26738 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26739 (tgamma_test_data): New variable.
26740 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26741 (trunc_test_data): New variable.
26742 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26743 (y0_test_data): New variable.
26744 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26745 (y1_test_data): New variable.
26746 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26747 (significand_test_data): New variable.
26748 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26749
7187d844
CG
267502013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26751
26752 [BZ #12387]
26753 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26754
f63fae73
PT
267552013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26756
26757 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26758
8a67a4b3
AJ
267592013-05-10 Andreas Jaeger <aj@suse.de>
26760
26761 [BZ #15448]
26762 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26763 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26764
51df539d
JM
267652013-05-10 Joseph Myers <joseph@codesourcery.com>
26766
26767 * math/gen-libm-test.pl (adjust_arg): New function.
26768 (special_functions): Handle generating output in both functions
26769 and arrays.
26770 (parse_args): Likewise.
26771 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26772 $in_func argument to parse_args.
26773 * math/libm-test.inc (struct test_f_f_data): New type.
26774 (IF_ROUND_INIT_): New macro.
26775 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26776 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26777 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26778 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26779 (ROUND_RESTORE_): Likewise.
26780 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26781 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26782 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26783 (ROUND_RESTORE_FE_UPWARD): Likewise.
26784 (RUN_TEST_LOOP_f_f): New macro.
26785 (acos_test_data): New variable.
26786 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26787 (acos_tonearest_test_data): New variable.
26788 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26789
5c637fe5
SP
267902013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26791
26792 * benchtests/bench-skeleton.c (startup): Fix coding style.
26793
ab2b9461
JM
267942013-05-10 Joseph Myers <joseph@codesourcery.com>
26795
26796 [BZ #6809]
26797 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26798 negative infinity argument.
26799 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26800 negative infinity argument.
26801 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26802 negative infinity argument.
26803 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26804 domain errors.
26805
4c0fe6fe
FW
268062013-05-10 Florian Weimer <fweimer@redhat.com>
26807
26808 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26809 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26810 * iconv/iconv_prog.c (main): Likewise.
26811 * locale/programs/charmap-dir.c (charmap_readdir)
26812 (fopen_uncompressed): Likewise.
26813 * locale/programs/locfile.c (siblings_uncached)
26814 (write_locale_data): Use lstat64 instead of lstat.
26815 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26816 stat.
26817
a3375d29
AJ
268182013-05-10 Andreas Jaeger <aj@suse.de>
26819
26820 [BZ #15395]
26821 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26822 localization.
26823 Include <locale.h>.
26824
36129722
CD
268252013-05-09 Carlos O'Donell <carlos@redhat.com>
26826
26827 * elf/dl-close.c (_dl_close_worker): Add comments.
26828
faa7f811
JM
268292013-05-09 Joseph Myers <joseph@codesourcery.com>
26830
ed41ffef
JM
26831 [BZ #15359]
26832 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26833 high part of pi/2.
26834 (__ieee754_rem_pio2l): Update comments.
26835
d0213cd0
JM
26836 [BZ #15429]
26837 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26838 high part of pi/2.
26839 (__ieee754_rem_pio2l): Update comments.
26840
0d3e777a
JM
26841 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26842 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26843
24f56066
JM
26844 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26845 M_PI_4l.
26846
faa7f811
JM
26847 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26848 (M_PI_34_LOG10El): Likewise.
26849 (M_PI2_LOG10El): Likewise.
26850 (M_PI4_LOG10El): Likewise.
26851 (M_PI_LOG10El): Likewise.
26852
e9a5e0fd
AZ
268532013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26854
26855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26856
d8cd06db
JM
268572013-05-08 Joseph Myers <joseph@codesourcery.com>
26858
a0d9f9d7
JM
26859 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26860 (MINUS_ZERO_INIT): Likewise.
26861 (PLUS_INFTY_INIT): Likewise.
26862 (MINUS_INFTY_INIT): Likewise.
26863 (QNAN_VALUE_INIT): Likewise.
26864 (MAX_VALUE_INIT): Likewise.
26865 (MIN_VALUE_INIT): Likewise.
26866 (MIN_SUBNORM_VALUE_INIT): Likewise.
26867 (plus_zero): Initialize with PLUS_ZERO_INIT.
26868 (minus_zero): Initialize with MINUS_ZERO_INIT.
26869 (plus_infty): Initialize with PLUS_INFTY_INIT.
26870 (minus_infty): Initialize with MINUS_INFTY_INIT.
26871 (qnan_value): Initialize with QNAN_VALUE_INIT.
26872 (max_value): Initialize with MAX_VALUE_INIT.
26873 (min_value): Initialize with MIN_VALUE_INIT.
26874 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26875
ae08db3b
JM
26876 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26877 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26878 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26879 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26880
f44bf14a
JM
26881 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26882 (RUN_TEST_2_f): Likewise.
26883 (RUN_TEST_ff_f): Likewise.
26884 (RUN_TEST_fi_f): Likewise.
26885 (RUN_TEST_fl_f): Likewise.
26886 (RUN_TEST_fff_f): Likewise.
26887 (RUN_TEST_c_f): Likewise.
26888 (RUN_TEST_f_f1): Likewise.
26889 (RUN_TEST_fF_f1): Likewise.
26890 (RUN_TEST_fI_f1): Likewise.
26891 (RUN_TEST_ffI_f1): Likewise.
26892 (RUN_TEST_c_c): Likewise.
26893 (RUN_TEST_cc_c): Likewise.
26894 (RUN_TEST_f_i): Likewise.
26895 (RUN_TEST_f_i_tg): Likewise.
26896 (RUN_TEST_ff_i_tg): Likewise.
26897 (RUN_TEST_f_b): Likewise.
26898 (RUN_TEST_f_b_tg): Likewise.
26899 (RUN_TEST_f_l): Likewise.
26900 (RUN_TEST_f_L): Likewise.
26901 (RUN_TEST_sincos): Likewise.
26902 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26903 whether to show exceptions. Do not include ");\n" in return
26904 value.
26905 (special_functions): Output call to RUN_TEST_sincos instead of
26906 check_float calls. Update calls to new_test.
26907 (parse_args): Output call to single RUN_TEST_* macro instead of
26908 check_* calls and other assignments. Update calls to new_test.
26909
d8cd06db
JM
26910 [BZ #2546]
26911 [BZ #2560]
26912 [BZ #5159]
26913 [BZ #15426]
26914 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26915 input to result for tgamma overflow.
26916 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26917 (gamma_coeff): New variable.
26918 (NCOEFF): New macro.
26919 (gamma_positive): New function.
26920 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26921 underflow here. Use gamma_positive instead of exp (lgamma) for
26922 other arguments.
26923 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26924 (gamma_coeff): New variable.
26925 (NCOEFF): New macro.
26926 (gammaf_positive): New function.
26927 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26928 underflow here. Use gamma_positive instead of exp (lgamma) for
26929 other arguments.
26930 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26931 (gamma_coeff): New variable.
26932 (NCOEFF): New macro.
26933 (gammal_positive): New function.
26934 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26935 underflow here. Use gamma_positive instead of exp (lgamma) for
26936 other arguments.
26937 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26938 (gamma_coeff): New variable.
26939 (NCOEFF): New macro.
26940 (gammal_positive): New function.
26941 (__ieee754_gammal_r): Handle positive infinity, overflow and
26942 underflow here. Handle NaN the same as positive infinity. Remove
26943 check x < 0xffffffff for negative integers. Use gamma_positive
26944 instead of exp (lgamma) for other arguments.
26945 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26946 (gamma_coeff): New variable.
26947 (NCOEFF): New macro.
26948 (gammal_positive): New function.
26949 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26950 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26951 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26952 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26953 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26954 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26955 * sysdeps/generic/math_private.h (__gamma_productf): New
26956 prototype.
26957 (__gamma_product): Likewise.
26958 (__gamma_productl): Likewise.
26959 * math/Makefile (libm-calls): Add gamma_product.
26960 * math/libm-test.inc (tgamma_test): Add more tests.
26961 * sysdeps/i386/fpu/libm-test-ulps: Update.
26962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26963
bb7cf681
OB
269642013-05-08 Ondřej Bílka <neleai@seznam.cz>
26965
26966 * benchtests/bench-skeleton.c (main): Preheat CPU.
26967
ba853947
AJ
269682013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26969
26970 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26971
8347c74c
RM
269722013-05-07 Roland McGrath <roland@hack.frob.com>
26973
26974 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26975 and _dl_skip_args_internal.
26976
e8dd4791
CD
269772013-05-07 Carlos O'Donell <carlos@redhat.com>
26978
26979 * manual/message.texi (Message Translation): Talk about users.
26980 Message to key mapping impacts design.
26981
c7405830
RM
269822013-05-06 Roland McGrath <roland@hack.frob.com>
26983
a9173057
RM
26984 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26985
976e2f03
RM
26986 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26987
9723ffc5
RM
26988 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26989 * sysdeps/wordsize-64/glob64.c: ... here.
26990
962e6658
RM
26991 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26992 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26993 New macros.
26994
ee586a6d
RM
26995 * debug/getlogin_r_chk.c: Moved to ...
26996 * login/getlogin_r_chk.c: ... here.
26997 * debug/Makefile (routines): Move getlogin_r_chk to ...
26998 * login/Makefile (routines): ... here.
26999 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27000 * login/Versions (libc: GLIBC_2.4): ... here.
27001
355f9165
RM
27002 * io/poll.c (__poll): Renamed from poll.
27003 Add libc_hidden_def.
27004 (poll): Define as weak alias.
27005
bd9ffde6
RM
27006 * debug/ptsname_r_chk.c: Moved to ...
27007 * login/ptsname_r_chk.c: ... here.
27008 * debug/Makefile (routines): Move ptsname_r_chk to ...
27009 * login/Makefile (routines): ... here.
27010 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27011 * login/Versions (libc: GLIBC_2.4): ... here.
27012
8fb16a04
RM
27013 * posix/getlogin.c: Moved to ...
27014 * login/getlogin.c: ... here.
27015 * posix/getlogin_r.c: Moved to ...
27016 * login/getlogin_r.c: ... here.
27017 * posix/getlogin_r.c: Moved to ...
27018 * login/getlogin_r.c: ... here.
27019 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27020 * login/Makefile (routines): ... here.
27021 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27022 * login/Versions (libc: GLIBC_2.0): ... here.
27023
b99b892f
RM
27024 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27025 (setrlimit): Define as weak alias.
27026
c7405830
RM
27027 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27028 Call __ names for open, ftruncate, and close.
27029 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27030 (truncate): Define as weak alias.
27031
5bf96de5
JM
270322013-05-06 Joseph Myers <joseph@codesourcery.com>
27033
9ea3513c
JM
27034 * math/gen-libm-test.pl (parse_args): Initialize x before each
27035 test of frexp, modf and remquo.
27036
5bf96de5
JM
27037 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27038 test signgam value.
27039
16e616a7
AZ
270402013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27041
27042 [BZ #15418]
27043 [BZ #15419]
27044 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27045 internal tests.
27046 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27047
d5e82754
RM
270482013-05-06 Roland McGrath <roland@hack.frob.com>
27049
27050 * elf/dl-writev.h: New file.
27051 * elf/dl-misc.c: Include it.
27052 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27053 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27054
a7548d41
JM
270552013-05-04 Joseph Myers <joseph@codesourcery.com>
27056
b7dab1e4
JM
27057 * math/libm-test.inc (noXFails): Remove variable.
27058 (noXPasses): Likewise.
27059 (BUILD_COMPLEX_INT): Remove macro.
27060 (print_screen): Remove xfail argument.
27061 (print_screen_max_error): Likewise.
27062 (update_stats): Likewise.
27063 (print_max_error): Likewise. Update calls to other affected
27064 functions.
27065 (print_complex_max_error): Likewise.
27066 (test_single_exception): Update calls to print_screen.
27067 (test_single_errno): Likewise.
27068 (check_float_internal): Remove xfail argument. Update calls to
27069 other affected functions.
27070 (check_float): Likewise.
27071 (check_complex): Likewise.
27072 (check_int): Likewise.
27073 (check_long): Likewise.
27074 (check_bool): Likewise.
27075 (check_longlong): Likewise.
27076 (main): Don't print noXFails and noXPasses.
27077 * math/gen-libm-test.pl (top level): Don't mention expected
27078 failure handling in comment.
27079 (new_test): Don't handle expected failures.
27080 (parse_args): Don't mention expected failure handling in comment.
27081 (generate_testfile): Don't handle expected failures.
27082 (parse_ulps): Likewise.
27083 (print_ulps_file): Likewise.
27084 (get_failure): Remove function.
27085 (output_test): Don't handle expected failures.
27086 * make/README.libm-test: Don't mention expected failure handling.
27087
a7548d41
JM
27088 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27089 (minus_zero): Likewise.
27090 (plus_infty): Likewise.
27091 (minus_infty): Likewise.
27092 (qnan_value): Likewise.
27093 (max_value): Likewise.
27094 (min_value): Likewise.
27095 (min_subnorm_value): Likewise.
27096 (initialize): Do not initialize those variables dynamically.
27097
60bfd54c
RM
270982013-05-03 Roland McGrath <roland@hack.frob.com>
27099
cc0e6ed8
RM
27100 * io/open.c (__open_2): Moved to ...
27101 * io/open_2.c: ... this new file.
27102 * io/open64.c (__open64_2): Moved to ...
27103 * io/open64_2.c: ... this new file.
27104 * io/openat.c (__openat_2): Moved to ...
27105 * io/openat_2.c: ... this new file.
27106 * io/openat64.c (__openat64_2): Moved to ...
27107 * io/openat64_2.c: ... this new file.
27108 * io/Makefile (routines): Add them.
27109 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27110 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27111 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27112 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27113 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27114 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27115 (__openat64): Add hidden_ver.
27116 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27117 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27118
60bfd54c
RM
27119 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27120 Separately conditionalize setting of GLRO(dl_sysinfo) so
27121 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27122 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27123
83e7640f
AZ
271242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27125
27126 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27127 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27128 definition.
27129 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27130 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27131 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27132 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27133 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27134
d5dc2af3
JM
271352013-05-03 Joseph Myers <joseph@codesourcery.com>
27136
c31a5b1e
JM
27137 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27138 test signgam value.
27139
d5dc2af3
JM
27140 * math/libm-test.inc (hypot_test): Do not use
27141 IGNORE_ZERO_INF_SIGN.
27142
164fd39d
AJ
271432013-05-03 Andreas Jaeger <aj@suse.de>
27144
27145 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27146 Linux 3.9.
27147 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27148 (PF_MAX): Adjust for VSOCK change.
27149
8237f48c
AZ
271502013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27151
27152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27153
9df02941
CD
271542013-05-02 Carlos O'Donell <carlos@redhat.com>
27155
27156 [BZ #15264]
27157 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27158 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27159 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27160
d422395e
DM
271612013-05-02 David S. Miller <davem@davemloft.net>
27162
27163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27164
a07c5731
OB
271652013-05-01 Ondřej Bílka <neleai@seznam.cz>
27166
27167 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27168
1324e37f
RM
271692013-05-01 Roland McGrath <roland@hack.frob.com>
27170
27171 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27172
0695940b
RS
271732013-05-01 Richard Smith <richard@metafoo.co.uk>
27174
bb5f27ad 27175 [BZ #14952]
0695940b
RS
27176 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27177 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27178 Use __attribute__ ((__gnu_inline__)).
27179 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27180 Don't use __attribute__ ((__gnu_inline__)).
27181
10de07f5
JM
271822013-05-01 Joseph Myers <joseph@codesourcery.com>
27183
27184 [BZ #15423]
27185 * math/s_catan.c (__catan): Handle small real or imaginary part of
27186 input specially to avoid spurious underflow.
27187 * math/s_catanf.c (__catanf): Likewise.
27188 * math/s_catanh.c (__catanh): Likewise.
27189 * math/s_catanhf.c (__catanhf): Likewise.
27190 * math/s_catanhl.c (__catanhl): Likewise.
27191 * math/s_catanl.c (__catanl): Likewise.
27192 * math/libm-test.inc (catan_test): Add more tests.
27193 (catanh_test): Likewise.
27194 * sysdeps/i386/fpu/libm-test-ulps: Update.
27195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27196
cb4d5414
AZ
271972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27198
27199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27200
caf84319
JM
272012013-04-30 Joseph Myers <joseph@codesourcery.com>
27202
27203 [BZ #15416]
27204 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27205 accurately for denominator in atan2.
27206 * math/s_catanf.c (__catanf): Likewise.
27207 * math/s_catanh.c (__catanh): Likewise.
27208 * math/s_catanhf.c (__catanhf): Likewise.
27209 * math/s_catanhl.c (__catanhl): Likewise.
27210 * math/s_catanl.c (__catanl): Likewise.
27211 * math/libm-test.inc (catan_test): Add more tests.
27212 (catanh_test): Likewise.
27213 * sysdeps/i386/fpu/libm-test-ulps: Update.
27214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27215
d569c6ee
SP
272162013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27217
6dbe713d
SP
27218 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27219
f0ee064b
SP
27220 * benchtests/Makefile (bench): Remove slow benchmarks.
27221 * benchtests/atan-inputs: Add slow benchmark inputs.
27222 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27223 (BENCH_FUNC): Accept variant offset.
27224 (VARIANT): Define.
27225 * benchtests/bench-skeleton.c (main): Run benchmark for each
27226 variant.
27227 * benchtests/cos-inputs: Add slow benchmark inputs.
27228 * benchtests/exp-inputs: Likewise.
27229 * benchtests/pow-inputs: Likewise.
27230 * benchtests/sin-inputs: Likewise.
27231 * benchtests/slowatan-inputs: Remove.
27232 * benchtests/slowatan.c: Remove.
27233 * benchtests/slowcos-inputs: Remove.
27234 * benchtests/slowcos.c: Remove.
27235 * benchtests/slowexp-inputs: Remove.
27236 * benchtests/slowexp.c: Remove.
27237 * benchtests/slowpow-inputs: Remove.
27238 * benchtests/slowpow.c: Remove.
27239 * benchtests/slowsin-inputs: Remove.
27240 * benchtests/slowsin.c: Remove.
27241 * benchtests/slowtan-inputs: Remove.
27242 * benchtests/slowtan.c: Remove.
27243 * benchtests/tan-inputs: Add slow benchmark inputs.
27244 * scripts/bench.pl: Parse comments and directives.
27245
d569c6ee
SP
27246 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27247 in CPPFLAGS.
27248 ($(objpfx)bench-%.c): Remove *-ITER.
27249 * benchtests/bench-modf.c: Remove definition of ITER.
27250 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27251 (main): Loop for DURATION seconds instead of fixed number of
27252 iterations.
27253 * scripts/bench.pl: Don't expect iterations in parameters.
27254
a6a242fe
RM
272552013-04-29 Roland McGrath <roland@hack.frob.com>
27256
27257 * io/fchdir.c (__fchdir): Renamed from fchdir.
27258 (fchdir): Define as weak alias.
27259
f2da7793
JM
272602013-04-29 Joseph Myers <joseph@codesourcery.com>
27261
27262 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27263 (ERRNO_EDOM): Likewise.
27264 (ERRNO_ERANGE): Likewise.
27265 (noErrnoTests): New variable.
27266 (init_max_error): Set errno to 0.
27267 (test_single_errno): New function.
27268 (test_errno): Likewise.
27269 (check_float_internal): Call test_errno. Set errno to 0.
27270 (check_complex): Refer to errno tests in comment.
27271 (check_int): Call test_errno. Set errno to 0.
27272 (check_long): Likewise.
27273 (check_bool): Likewise.
27274 (check_longlong): Likewise.
27275 (cos_test): Use ERRNO_* flags for errno tests instead of
27276 check_int.
27277 (expm1_test): Likewise.
27278 (fmod_test): Likewise.
27279 (ilogb_test): Likewise.
27280 (lgamma_test): Likewise.
27281 (pow_test): Likewise.
27282 (remainder_test): Likewise.
27283 (sin_test): Likewise.
27284 (tan_test): Likewise.
27285 (yn_test): Likewise.
27286 (initialize): Set errno to 0.
27287 (main): Print number of errno tests.
27288 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27289
b1a36ceb
AJ
272902013-04-29 Andreas Jaeger <aj@suse.de>
27291
c3ed8088
AJ
27292 [BZ #15084]
27293 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27294 and RES_USEVC.
27295
f1a24198
AJ
27296 [BZ #15085]
27297 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27298 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27299 unimplemented.
27300
9ce3b2cb
AJ
27301 [BZ #15380]
27302 * stdlib/random.c (__initstate): Return NULL if
27303 __initstate fails.
27304
f1a24198 27305 [BZ #15086]
b1a36ceb
AJ
27306 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27307 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27308 RES_SNGLKUPREOP.
27309
7e7b6f36
AZ
273102013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27311
27312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27313
4d14f449
JM
273142013-04-29 Joseph Myers <joseph@codesourcery.com>
27315
27316 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27317 of individual tests.
27318 (casin_test): Likewise.
27319 (casinh_test): Likewise.
27320
5b4217d7
JM
273212013-04-27 Joseph Myers <joseph@codesourcery.com>
27322
27323 [BZ #15409]
27324 * math/s_catan.c (__catan): Handle arguments with large real or
27325 imaginary part separately without squaring.
27326 * math/s_catanf.c (__catanf): Likewise.
27327 * math/s_catanh.c (__catanh): Likewise.
27328 * math/s_catanhf.c (__catanhf): Likewise.
27329 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27330 and redefine.
27331 (__catanhl): Handle arguments with large real or imaginary part
27332 separately without squaring.
27333 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27334 and redefine.
27335 (__catanl): Handle arguments with large real or imaginary part
27336 separately without squaring.
27337 * math/libm-test.inc (catan_test): Add more tests.
27338 (catanh_test): Likewise.
27339 * sysdeps/i386/fpu/libm-test-ulps: Update.
27340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27341
4220c3ef
AJ
273422013-04-27 Andreas Jaeger <aj@suse.de>
27343
27344 [BZ #15007]
27345 * stdlib/stdlib.h: Update guards for qecvt.
27346 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27347 <stdlib.h>.
27348
4721b2d1
AM
273492013-04-27 Allan McRae <allan@archlinux.org>
27350
27351 * sysdeps/i386/fpu/libm-test-ulps: Update.
27352
f0302940
JM
273532013-04-26 Joseph Myers <joseph@codesourcery.com>
27354
9457fd95
JM
27355 [BZ #15406]
27356 * math/s_catan.c: Include <float.h>.
27357 (__catan): Ensure underflow exception occurs for underflowed
27358 result.
27359 * math/s_catanf.c: Include <float.h>.
27360 (__catanf): Ensure underflow exception occurs for underflowed
27361 result.
27362 * math/s_catanh.c: Include <float.h>.
27363 (__catanh): Ensure underflow exception occurs for underflowed
27364 result.
27365 * math/s_catanhf.c: Include <float.h>.
27366 (__catanhf): Ensure underflow exception occurs for underflowed
27367 result.
27368 * math/s_catanhl.c: Include <float.h>.
27369 (__catanhl): Ensure underflow exception occurs for underflowed
27370 result.
27371 * math/s_catanl.c: Include <float.h>.
27372 (__catanl): Ensure underflow exception occurs for underflowed
27373 result.
27374 * math/libm-test.inc (catan_test): Add more tests.
27375 (catanh_test): Likewise.
27376
f0302940
JM
27377 [BZ #15405]
27378 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27379 underflowed result.
27380 * math/s_ccoshf.c (__ccoshf): Likewise.
27381 * math/s_ccoshl.c (__ccoshl): Likewise.
27382 * math/s_csin.c (__csin): Likewise.
27383 * math/s_csinf.c (__csinf): Likewise.
27384 * math/s_csinh.c (__csinh): Likewise.
27385 * math/s_csinhf.c (__csinhf): Likewise.
27386 * math/s_csinhl.c (__csinhl): Likewise.
27387 * math/s_csinl.c (__csinl): Likewise.
27388 * math/libm-test.inc (ccos_test): Add more tests.
27389 (ccosh_test): Likewise.
27390 (csin_test): Likewise.
27391 (csinh_test): Likewise.
27392
aa630f59
AZ
273932013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27394
27395 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27396 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27397 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27398 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27399 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27400 powerpc/power5+/fpu folders.
27401 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27402
27403
1b835983
MT
274042013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27405
27406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27407
73709b26
JM
274082013-04-25 Joseph Myers <joseph@codesourcery.com>
27409
27410 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27411 additions to variable.
27412 [$(config-machine) = x86_64] (modules-names): Likewise.
27413 ($(objpfx)tst-audit3): Remove dependency.
27414 ($(objpfx)tst-audit3.out): Likewise.
27415 ($(objpfx)tst-audit4): Likewise.
27416 ($(objpfx)tst-audit4.out): Likewise.
27417 ($(objpfx)tst-audit5): Likewise.
27418 ($(objpfx)tst-audit5.out): Likewise.
27419 ($(objpfx)tst-audit6): Likewise.
27420 ($(objpfx)tst-audit6.out): Likewise.
27421 ($(objpfx)tst-audit7): Likewise.
27422 ($(objpfx)tst-audit7.out): Likewise.
27423 (tst-audit3-ENV): Remove variable.
27424 (tst-audit4-ENV): Likewise.
27425 (tst-audit5-ENV): Likewise.
27426 (tst-audit6-ENV): Likewise.
27427 (tst-audit7-ENV): Likewise.
27428 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27429 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27430 addition to variable.
27431 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27432 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27433 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27434 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27435 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27436 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27437 tst-audit3, tst-audit4 and tst-audit5.
27438 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27439 tst-audit6 and tst-audit7.
27440 [$(subdir) = elf] (modules-names): Add audit modules for those
27441 tests.
27442 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27443 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27444 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27445 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27446 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27447 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27448 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27449 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27450 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27451 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27452 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27453 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27454 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27455 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27456 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27457 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27458 Likewise.
27459 [$(subdir) = elf && $(config-cflags-avx) = yes]
27460 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27461 [$(subdir) = elf && $(config-cflags-avx) = yes]
27462 (CFLAGS-tst-auditmod4a.c): Likewise.
27463 [$(subdir) = elf && $(config-cflags-avx) = yes]
27464 (CFLAGS-tst-auditmod4b.c): Likewise.
27465 [$(subdir) = elf && $(config-cflags-avx) = yes]
27466 (CFLAGS-tst-auditmod6b.c): Likewise.
27467 [$(subdir) = elf && $(config-cflags-avx) = yes]
27468 (CFLAGS-tst-auditmod6c.c): Likewise.
27469 [$(subdir) = elf && $(config-cflags-avx) = yes]
27470 (CFLAGS-tst-auditmod7b.c): Likewise.
27471 * elf/tst-audit3.c: Move to ...
27472 * sysdeps/x86_64/tst-audit3.c: ... here.
27473 * elf/tst-audit4.c: Move to ...
27474 * sysdeps/x86_64/tst-audit4.c: ... here.
27475 * elf/tst-audit5.c: Move to ...
27476 * sysdeps/x86_64/tst-audit5.c: ... here.
27477 * elf/tst-audit6.c: Move to ...
27478 * sysdeps/x86_64/tst-audit6.c: ... here.
27479 * elf/tst-audit7.c: Move to ...
27480 * sysdeps/x86_64/tst-audit7.c: ... here.
27481 * elf/tst-auditmod3a.c: Move to ...
27482 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27483 * elf/tst-auditmod3b.c: Move to ...
27484 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27485 * elf/tst-auditmod4a.c: Move to ...
27486 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27487 * elf/tst-auditmod4b.c: Move to ...
27488 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27489 * elf/tst-auditmod5a.c: Move to ...
27490 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27491 * elf/tst-auditmod5b.c: Move to ...
27492 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27493 * elf/tst-auditmod6a.c: Move to ...
27494 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27495 * elf/tst-auditmod6b.c: Move to ...
27496 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27497 * elf/tst-auditmod6c.c: Move to ...
27498 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27499 * elf/tst-auditmod7a.c: Move to ...
27500 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27501 * elf/tst-auditmod7b.c: Move to ...
27502 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27503
1ef74943
PP
275042013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27505
27506 [BZ #15366]
27507 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27508 define unconditionally.
27509 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27510 define unconditionally.
27511 (INT8_C, INT16_C, etc.): Likewise.
27512
93fd48c5
MR
275132013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27514
ae9552cf
MR
27515 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27516 __ehdr_start with hidden visibility.
27517
93fd48c5
MR
27518 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27519
418601aa
CD
275202013-04-24 Carlos O'Donell <carlos@redhat.com>
27521
27522 * math/libm-test.inc (cos_test): Use accurate hex constants.
27523 (sincost_test): Likewise.
27524
2f38fbfe
JM
275252013-04-24 Joseph Myers <joseph@codesourcery.com>
27526
5e221800
JM
27527 * math/libm-test.inc (catan_test): Add more tests.
27528 (catanh_test): Likewise.
27529
77f143fd
JM
27530 * math/s_catanf.c (__catanf): Use suffixed floating-point
27531 constants.
27532 * math/s_catanhf.c (__catanhf): Likewise.
27533 * math/s_catanhl.c (__catanhl): Likewise.
27534 * math/s_catanl.c (__catanl): Likewise.
27535
2f38fbfe
JM
27536 [BZ #15394]
27537 * math/s_catan.c (__catan): Calculate imaginary part of result
27538 with log1p not log unless computing log of number close to 0.
27539 * math/s_catanf.c (__catanf): Likewise.
27540 * math/s_catanl.c (__catanl): Likewise.
27541 * math/s_catanh.c (__catanh): Calculate real part of result with
27542 log1p not log unless computing log of number close to 0.
27543 * math/s_catanhf.c (__catanhf): Likewise.
27544 * math/s_catanhl.c (__catanhl): Likewise.
27545 * math/libm-test.inc (catan_test): Add more tests.
27546 (catanh_test): Likewise.
27547 * sysdeps/i386/fpu/libm-test-ulps: Update.
27548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27549
45d69176
SP
275502013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27551
27552 * benchtests/Makefile: Mention files in which fast and slow
27553 paths of math functions are implemented.
27554
87f51853
RM
275552013-04-23 Roland McGrath <roland@hack.frob.com>
27556
27557 * sysdeps/posix/timespec_get.c: New file.
27558
3c026539
AZ
275592013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27560
27561 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27562 POWER.
27563 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27564 for POWER.
27565 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27566 powerpc/power5/fpu folders.
27567 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27568 * benchtests/Makefile: Add modf testcase.
27569 * benchtests/bench-modf.c: New file: Benchmark test for mo
27570
ff491d14
SP
275712013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27572
27573 [BZ #14888]
27574 * time/Makefile (tests): Add tst-strptime-whitespace.
27575 * time/strptime_l.c (get_number): Use ISSPACE.
27576 (__strptime_internal): Likewise.
27577 * time/tst-strptime-whitespace.c: New test case.
27578
7ed3f4e8
AS
275792013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27580
27581 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27582 member.
27583 (_nss_files_init): Set it here.
27584
5c95f7b6
HC
275852013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27586
27587 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27588 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27589 unsigned.
27590
d34c9158
JBG
275912013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27592
27593 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27594
2169712d
SP
275952013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27596
27597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27598 size just once.
27599
29c5de99
DM
276002013-04-21 David S. Miller <davem@davemloft.net>
27601
27602 * po/ru.po: Update Russion translation from translation project.
27603
ccdad15d
AC
276042013-04-17 Adam Conrad <adconrad@0c3.net>
27605
27606 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27607 and setfsgid.
27608
0f122b8d
CD
276092013-04-17 Carlos O'Donell <carlos@redhat.com>
27610
5c5b07da 27611 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 27612 * configure: Regenerate.
5c5b07da 27613 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
27614 Add example to error message.
27615 * sysdeps/i386/configure: Regenerate.
27616
037714dd
SP
276172013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27618
27619 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27620 slowtan.
27621 * benchtests/cos-inputs: New file.
27622 * benchtests/slowcos-inputs: New file.
27623 * benchtests/slowcos.c: New file.
27624 * benchtests/slowtan-inputs: New file.
27625 * benchtests/slowtan.c: New file.
27626 * benchtests/tan-inputs: New file.
27627
e913141d
RM
276282013-04-16 Roland McGrath <roland@hack.frob.com>
27629
27630 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27631 considered kosher.
27632
a2964074
SP
276332013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27634
4856bcd2
SP
27635 * benchtests/Makefile: Include cppflags-iterator.mk to add
27636 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27637
a2964074
SP
27638 * Makefile.in (bench-clean): New target.
27639 * benchtests/Makefile (bench-clean): Likewise.
27640
9fbf9aca
DH
276412013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27642
27643 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27644
207d1e2a
TS
276452013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27646
27647 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27648
306dfba9
AS
276492013-04-15 Andreas Schwab <schwab@suse.de>
27650
27651 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27653 * nscd/pwdcache.c (cache_addpw): Likewise.
27654 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27655 more than recsize.
27656
206a6699
SP
276572013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27658
27659 * benchtests/Makefile (bench): Write all output to
27660 bench-out.tmp together.
27661
0582f6b3
AS
276622013-04-15 Andreas Schwab <schwab@suse.de>
27663
27664 * nscd/nscd.c (main): Don't fork again after closing files.
27665
acb4325f
SP
276662013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27667
5cb26d0a
SP
27668 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27669
acb4325f
SP
27670 * benchtests/Rules (bench-deps): Collect dependencies into a
27671 single variable. Add Makefile to dependencies.
27672 ($(objpfx)bench-%.c): Depend on bench-deps.
27673
47792506
RM
276742013-04-12 Roland McGrath <roland@hack.frob.com>
27675 Xavier Roche <roche+kml2@exalead.com>
27676
27677 [BZ #15361]
27678 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27679 just that it's a file descriptor.
27680 * manual/llio.texi (Synchronizing AIO Operations): Update description
27681 for EBADF error from aio_fsync.
27682
8fc1bee5
SP
276832013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27684
27685 * Rules (bench): Move target definition...
27686 * benchtests/Makefile: ... here.
27687
aba5e333
CD
276882013-04-11 Carlos O'Donell <carlos@redhat.com>
27689
27690 * math/libm-test.inc (cos_test): Fix PI/2 test.
27691 (sincos_test): Likewise.
27692 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27693 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27694
273cdee8
AS
276952013-04-11 Andreas Schwab <schwab@suse.de>
27696
6ecec3b6
AS
27697 [BZ #13988]
27698 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27699 accept exponent character only when digits were seen.
27700 * stdio-common/Makefile (tests): Add bug26.
27701 * stdio-common/bug26.c: New file.
27702
273cdee8
AS
27703 [BZ #14293]
27704 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27705 non-freeable.
27706
8da491f5
SP
277072013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27708
01dc6df9
SP
27709 * Makeconfig (rtld-prefix): Define built linker prefix.
27710 * Rules (run-bench): Use it.
27711 * math/Makefile (run-regen-ulps): Likewise.
27712
8da491f5
SP
27713 * Rules (bench): Remove eval.
27714
abe7f530
SP
277152013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27716 Roland McGrath <roland@hack.frob.com>
27717 Ondrej Bilka <neleai@seznam.cz>
27718
27719 [BZ #15346]
27720 * time/getdate.c: Include ctype.h and alloca.h.
27721 (__getdate_r): Trim leading and trailing spaces of input.
27722 * time/tst-getdate.c (tests): Add tests with leading and
27723 trailing spaces.
27724
61c23e62
RM
277252013-04-08 Roland McGrath <roland@hack.frob.com>
27726
27727 [BZ #14280]
27728 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27729 when computing value.
27730
7208a313
CD
277312013-04-06 Carlos O'Donell <carlos@redhat.com>
27732
085b2d41
CD
27733 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27734 Use testrun.sh to run libm tests.
27735
7208a313
CD
27736 [BZ #15309]
27737 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27738
872c0acd
MM
277392013-04-06 Marko Myllynen <myllynen@redhat.com>
27740
27741 [BZ #15264]
27742 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27743
26510bdd
CD
277442013-04-06 Carlos O'Donell <carlos@redhat.com>
27745
27746 * Makefile.in (regen-ulps): New target.
27747 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27748 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27749 [ifneq (no,$(PERL)] (regen-ulps): New target.
27750 [ifeq (no,$(PERL)] (regen-ulps): New target.
27751 * math/libm-test.inc (ulps_file_name): Define.
27752 (output_dir): New variable.
27753 (options): Add "output-dir" option.
27754 (parse_opt): Handle 'o' case.
27755 (main): If output_dir is non-NULL use it as a prefix
27756 otherwise use "".
27757 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27758
a01f19c8
CD
277592013-04-06 Carlos O'Donell <carlos@redhat.com>
27760
27761 [BZ #10060, #10062]
27762 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27763 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27764 fail configure if __sync_val_compare_and_swap is not inlined.
27765 * sysdeps/i386/configure: Regenerate.
27766 * configure.in: Build for i686 when configured for i386.
27767 * configure: Regenerate.
27768 * README: Remove i386 reference.
27769
b7a329a5
CD
277702013-04-06 Carlos O'Donell <carlos@redhat.com>
27771
27772 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27773 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27774
bf0f50df
TS
277752013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27776
ee091edf
TS
27777 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27778 (lmsnanval): New variables.
27779 (F): Add conversion tests.
27780 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27781 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27782
a8b792d6
TS
27783 * stdio-common/tstdiomisc.c (F): Properly collect individual
27784 tests' results.
27785
a1cbf437
TS
27786 [BZ #14686, #15336]
27787 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27788 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27789 Instead, use input NaN values or generate a qNaN by arithmetic
27790 operation. Also fix bugs to comply with the standard.
27791 * math/libm-test.inc (remainder_test): Add more tests.
27792
8b43a0c9
TS
27793 [BZ #15335, #15342]
27794 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27796 input NaN values or generate a qNaN by arithmetic operation.
27797
d91da4ce
TS
27798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27799 unreachable code.
27800
bf0f50df
TS
27801 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27802 definitions.
27803
05e166c8
JM
278042013-04-03 Joseph Myers <joseph@codesourcery.com>
27805
27806 [BZ #14478]
27807 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27808 underflowed result.
27809 * math/s_cexpf.c (__cexpf): Likewise.
27810 * math/s_cexpl.c (__cexpl): Likewise.
27811 * math/libm-test.inc (cexp_test): Add more tests.
27812
1cef1b19
AS
278132013-04-03 Andreas Schwab <schwab@suse.de>
27814
27815 [BZ #15330]
27816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27817 order arrays from heap if bigger than alloca cutoff.
27818
74d87055
TS
278192013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27820
27821 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27822 (SNAN_TESTS_double): Refer to GCC PR56831.
27823 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27824 GCC PR56828.
27825
d755bba4
SP
278262013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27827
90d5d5bb
SP
27828 * Rules (bench): Move bench.out after the run is complete.
27829
73e0cd5d
SP
27830 * Rules (bench): Echo currently running benchmark.
27831
64aabd4b
SP
27832 * benchtests/Makefile (bench): Add atan and slowatan.
27833 * benchtests/atan-inputs: New file.
27834 * benchtests/slowatan-inputs: New file.
27835 * benchtests/slowatan.c: New file.
27836
c871eccd
SP
27837 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27839 its value.
27840
d755bba4
SP
27841 [BZ #15305]
27842 * sysdeps/unix/sysv/linux/kernel-features.h
27843 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27844 __ASSUME_XFS_RESTRICTED_CHOWN.
27845 * sysdeps/unix/sysv/linux/pathconf.c
27846 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27847 Save and restore errno.
27848
52ce4860
JM
278492013-04-02 Joseph Myers <joseph@codesourcery.com>
27850
27851 [BZ #15327]
27852 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27853 arguments using __kernel_casinh.
27854 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27855 arguments using __kernel_casinhf.
27856 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27857 arguments using __kernel_casinhl.
27858 * math/libm-test.inc (cacosh_test): Add more tests.
27859 * sysdeps/i386/fpu/libm-test-ulps: Update.
27860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27861
81f311c2
SP
278622013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27863
e7906a47
SP
27864 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27866
92e3664b
SP
27867 * bench/Makefile (bench): Add sin and slowsin.
27868 * benchtests/sin-inputs: New file.
27869 * benchtests/slowsin-inputs: New file.
27870 * benchtests/slowsin.c: New file.
27871
81f311c2
SP
27872 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27873 (bench): Add slowexp and slowpow.
27874 (exp-ITER): Increase iterations.
27875 (pow-ITER): Likewise.
27876 * benchtests/exp-inputs: Change input.
27877 * benchtests/pow-inputs: Likewise.
27878 * benchtests/slowexp-inputs: New file.
27879 * benchtests/slowexp.c: New file.
27880 * benchtests/slowpow-inputs: New file.
27881 * benchtests/slowpow.c: New file.
27882
ab0f1aa9
AZ
278832013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27884
27885 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27886 instructions.
27887 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27888 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27889 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27890 * benchtests/Makefile: Add rint benchtest.
27891 * benchtests/rint-inputs: Input for rint benchtest.
27892
57267616
TS
278932013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27894
27895 * Versions.def (libm): Add GLIBC_2.18.
27896 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27897 hidden libm prototypes.
27898 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27899 * math/Makefile (libm-calls): Add s_issignaling.
27900 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27901 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27902 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27903 declaration.
27904 * math/math.h [__USE_GNU] (issignaling): New macro.
27905 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27906 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27908 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27911 * manual/arith.texi (issignaling): New section.
27912 * manual/libm-err-tab.pl (@all_functions): Update comment.
27913 * math/gen-libm-test.pl (parse_args): Apply special handling for
27914 issignaling.
27915 * math/libm-test.inc (print_float, issignaling_test): New
27916 functions.
27917 (check_float_internal): Add issignaling checks.
27918 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27919 default definition.
27920 * sysdeps/powerpc/math-tests.h: New file.
27921 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27922 tests.
27923 * math/test-snan.c (TEST_FUNC): Likewise.
27924
6142896d
DM
279252013-03-30 David S. Miller <davem@davemloft.net>
27926
27927 * po/de.po: Update from translation team.
27928
ccc8cadf
JM
279292013-03-30 Joseph Myers <joseph@codesourcery.com>
27930
27931 [BZ #10357]
27932 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27933 imaginary part less than 1.0 and real part less than 0.5
27934 specially.
27935 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27936 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27937 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27938 (cacos_test): Add more tests.
27939 (casin_test): Likewise.
27940 (casinh_test): Likewise.
27941 * sysdeps/i386/fpu/libm-test-ulps: Update.
27942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27943
0f6a8d4b
SP
279442013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27945
0d1029de
SP
27946 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27947 ONE with its value.
27948
c2d94018
SP
27949 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27950 (__pow_mp): Replace ONE and MONE with their values.
27951 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27953 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27954 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27955 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27956 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27957
27ec37f1
SP
27958 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27959
a64d7e0e
SP
27960 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27961 (__pow_mp): Replace ZERO and MZERO with their values.
27962 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27963 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27964 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27966 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27967 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27968 (__sqr): Likewise.
27969
d26dd3eb
SP
27970 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27971
0f6a8d4b
SP
27972 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27973
e57b0c61
RM
279742013-03-28 Roland McGrath <roland@hack.frob.com>
27975
27976 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27977 Declare with __attribute__ ((weak)).
27978 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27979 Call __call_tls_dtors only if it's not NULL.
27980
356b3480
RM
279812013-03-28 Roland McGrath <roland@hack.frob.com>
27982
288f7d79
RM
27983 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27984 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27985 magic __ehdr_start linker symbol if it's defined.
27986 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27987 them up here if it was already done.
27988
dc0a0263
RM
27989 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27990 (_dl_aux_init): Use const in cast when setting it.
27991 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27992 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27993 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27994
3d3436ae
RM
27995 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27996 Declare them here.
27997 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27998 * csu/libc-tls.c: Nor here.
27999 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28000
356b3480
RM
28001 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28002 (__libc_message): Never call vsyslog.
28003
b0f1246a
AM
280042013-03-28 Alan Modra <amodra@gmail.com>
28005
28006 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28007 Define as empty.
28008 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28009 Likewise.
28010
fbbe2b9a
AZ
280112013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28012
28013 [BZ #15214]
28014 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28015 underflow.
28016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28017
1728ab37
SP
280182013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28019
7a86be6e
SP
28020 [BZ #15304]
28021 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28022 Don't add gid passed as argument.
28023
1728ab37
SP
28024 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28025
3a7182a1
JM
280262013-03-27 Joseph Myers <joseph@codesourcery.com>
28027
28028 [BZ #15307]
28029 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28030 imaginary part between 1.0 and 1.5 and real part less than 0.5
28031 specially.
28032 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28033 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28034 * math/libm-test.inc (cacos_test): Add more tests.
28035 (casin_test): Likewise.
28036 (casinh_test): Likewise.
28037 * sysdeps/i386/fpu/libm-test-ulps: Update.
28038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28039
6f2e90e7
SP
280402013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28041
5739f705
SP
28042 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28043 constants.
28044 (norm): Likewise.
28045 (denorm): Likewise.
28046 (__dbl_mp): Likewise.
28047 (add_magnitudes): Likewise.
28048 (sub_magnitudes): Likewise.
28049 (__add): Likewise.
28050 (__sub): Likewise.
28051 (__mul): Likewise.
28052 (__sqr): Likewise.
28053 (__inv): Likewise.
28054 (__dvd): Likewise.
28055
e375e83d
SP
28056 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28057 commented code.
28058 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28059 (__dubcos): Likewise.
28060 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28061 (__ieee754_acos): Likewise.
28062 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28063 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28064 (__exp1): Likewise.
28065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28067 (log1): Likewise.
28068 (my_log2): Likewise.
28069 (checkint): Likewise.
28070 * sysdeps/ieee754/dbl-64/e_remainder.c
28071 (__ieee754_remainder): Likewise.
28072 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28073 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28074 (bsloww): Likewise.
28075 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28076
6f2e90e7
SP
28077 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28078 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28079 MANTISSA_STORE_T to store computations on mantissa. Use
28080 macros for rounding and division.
28081 (denorm): Likewise.
28082 (__dbl_mp): Likewise.
28083 (add_magnitudes): Likewise.
28084 (sub_magnitudes): Likewise.
28085 (__mul): Likewise.
28086 (__sqr): Likewise.
28087 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28088 powers of two in terms of TWOPOW macro.
28089 (mp_no): Make type of mantissa as MANTISSA_T.
28090 [!RADIXI]: Define RADIXI.
28091 [!TWO52]: Define TWO52.
28092 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28093
fce14d4e
AZ
280942013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28095
28096 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28097 llroundl symbol when building for PPC32.
28098
9ad027fb
MW
280992013-03-24 Mark H Weaver <mhw@netris.org>
28100
28101 * manual/arith.texi (Normalization Functions): Fix prototypes for
28102 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28103
e42a38dd
AZ
281042013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28105
28106 [BZ #13889]
28107 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28108 high value to check if expl overflow.
28109 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28110 to check for underflow and overflow.
28111 * math/libm-test.inc: Add exp test.
28112
2e0fb521
DL
281132013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28114
28115 [BZ #11120]
28116 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28117 with NOT_IN_libc.
28118
b5784d95
AZ
281192013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28120
28121 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28122 symbol.
28123
5aa4a1a1
TS
281242013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28125
bdef0be7
TS
28126 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28127 wrap blocks consisting of several statements.
28128
5aa4a1a1
TS
28129 * sysdeps/generic/math-tests.h: New file.
28130 * sysdeps/i386/fpu/math-tests.h: Likewise.
28131 * math/test-snan.c: Include it.
28132 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28133
98c48fe5
JM
281342013-03-21 Joseph Myers <joseph@codesourcery.com>
28135
28136 [BZ #15285]
28137 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28138 (__ieee754_j0l): Do not improve calculations using cos of twice
28139 input for inputs above LDBL_MAX / 2.0L.
28140 (__ieee754_y0l): Likewise.
28141 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28142 (__ieee754_j1l): Do not improve calculations using cos of twice
28143 input for inputs above LDBL_MAX / 2.0L.
28144 (__ieee754_y1l): Likewise.
28145 * math/libm-test.inc (j0_test): Add another test.
28146 (j1_test): Likewise.
28147 (y0_test): Likewise.
28148 (y1_test): Likewise.
28149 * sysdeps/i386/fpu/libm-test-ulps: Update.
28150
3775a8bc
SP
281512013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28152
28153 * Rules ($(objpfx)bench-%.c): Include code from a C source
28154 file.
28155
0a1b2ae6
JM
281562013-03-21 Joseph Myers <joseph@codesourcery.com>
28157
28158 [BZ #15287]
28159 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28160 imaginary part 1.0 and real part less than 0.5 specially.
28161 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28162 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28163 * math/libm-test.inc (cacos_test): Add more tests.
28164 (casin_test): Likewise.
28165 (casinh_test): Likewise.
28166 * sysdeps/i386/fpu/libm-test-ulps: Update.
28167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28168
b33d4ce4
SP
281692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28170
28171 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28172 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28173
bef0b507
JM
281742013-03-20 Joseph Myers <joseph@codesourcery.com>
28175
28176 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28177 * config.make.in (config-cflags-sse4): Remove variable.
28178 (config-cflags-avx): Likewise.
28179 (config-cflags-sse2avx): Likewise.
28180 (config-cflags-novzeroupper): Likewise.
28181 (config-asflags-i686): Likewise.
28182 (have-mfma4): Likewise.
28183 (have-as-vis3): Likewise.
28184 (MIG): Likewise.
28185 * configure.in (MIG): Do not AC_SUBST.
28186 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28187 (libc_cv_cc_sse4): Do not AC_SUBST.
28188 (libc_cv_cc_avx): Likewise.
28189 (libc_cv_cc_sse2avx): Likewise.
28190 (libc_cv_cc_novzeroupper): Likewise.
28191 (libc_cv_cc_fma4): Likewise.
28192 (libc_cv_as_i686): Likewise.
28193 (libc_cv_sparc_as_vis3): Likewise.
28194 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28195 LIBC_CONFIG_VAR.
28196 (config-asflags-i686): Likewise.
28197 (config-cflags-avx): Likewise.
28198 (config-cflags-sse2avx): Likewise.
28199 (have-mfma4): Likewise.
28200 (config-cflags-novzeroupper): Likewise.
28201 * sysdeps/mach/configure.in (MIG): Likewise.
28202 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28203 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28204 LIBC_CONFIG_VAR.
28205 (config-cflags-avx): Likewise.
28206 (config-cflags-sse2avx): Likewise.
28207 (have-mfma4): Likewise.
28208 (config-cflags-novzeroupper): Likewise.
28209 * configure: Regenerated.
28210 * sysdeps/i386/configure: Likewise.
28211 * sysdeps/mach/configure: Likewise.
28212 * sysdeps/sparc/configure: Likewise.
28213 * sysdeps/x86_64/configure: Likewise.
28214
912cc4b3
RM
282152013-03-20 Roland McGrath <roland@hack.frob.com>
28216
28217 [BZ #14812]
28218 * locale/programs/localedef.c (options): Put N_ translation marker
28219 on argument names, not just descriptions.
28220
04eed2b0
MS
282212013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28222
28223 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28224
a065ceff
OB
282252013-03-20 Ondřej Bílka <neleai@seznam.cz>
28226
9bb2a810 28227 [BZ #14176]
a065ceff
OB
28228 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28229
a600e5ce
RM
282302013-03-19 Roland McGrath <roland@hack.frob.com>
28231
28232 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28233 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28234 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28235 [!BEFORE_ABORT] (before_abort): New function.
28236 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28237 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28238 (writev_for_fatal): New function.
28239 (WRITEV_FOR_FATAL): New macro; call that.
28240 (backtrace_and_maps): New function.
28241 (BEFORE_ABORT): New macro; call that.
28242 (struct str_list): Type removed.
28243 (__libc_message, __libc_fatal): Functions removed.
28244 Include <sysdeps/posix/libc_fatal.c> instead.
28245
6b18bea6
JM
282462013-03-19 Joseph Myers <joseph@codesourcery.com>
28247
28248 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28249 constants.
28250 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28251 double constants.
28252
aaa8cb4b
AS
282532013-03-19 Andreas Schwab <schwab@suse.de>
28254
44673770
AS
28255 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28256 * sysdeps/gnu/configure: Regenerate.
28257
aaa8cb4b
AS
28258 * configure.in: Substitute libc_cv_rtlddir.
28259 * configure: Regenerate.
28260 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28261 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28262 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28263 * elf/Makefile (install-others, CFLAGS-interp.c)
28264 (ldso_install, common-ldd-rewrite): Likewise.
28265 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28266 $(inst_slibdir)/$(rtld-installed-name).
28267 * scripts/rellns-sh: Add -p option.
28268 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28269 for source.
28270
d3cfc668
SP
282712013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28272
28273 * manual/nptl.texi: Renamed to ...
28274 * manual/threads.texi: ... this.
28275 * manual/Makefile (chapters): Update.
28276
0e2b9cdd
RM
282772013-03-18 Roland McGrath <roland@hack.frob.com>
28278
28279 [BZ #14812]
28280 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28281 on argument names, not just descriptions.
0e2b9cdd
RM
28282 * malloc/memusagestat.c (options): Likewise.
28283 * nss/getent.c (options): Likewise.
63270c24
RM
28284
282852013-03-18 Benno Schulenberg <bensberg@justemail.net>
28286
28287 [BZ #14812]
28288 * iconv/iconv_prog.c (options): Put N_ translation marker
28289 on argument names, not just descriptions.
28290 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28291
b2e1393c
OB
282922013-03-18 Ondrej Bilka <neleai@seznam.cz>
28293
28294 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28295 implementation which is faster on all x86_64 architectures.
28296 Tested on AMD, Intel Nehalem, SNB, IVB.
28297 * sysdeps/x86_64/strnlen.S: Likewise.
28298
28299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28300 Remove all multiarch strlen and strnlen versions.
28301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28302 Remove strlen and strnlen related parts.
28303
28304 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28305 Inline strlen part.
28306 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28307
28308 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28309 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28310 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28311 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28312 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28313 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28314
ec4ff04d
CD
283152013-03-17 Carlos O'Donell <carlos@redhat.com>
28316
28317 * manual/memory.texi (Malloc Tunable Parameters):
28318 Sort parameters alphabetically. Add comments for missing entries.
28319
cd18e90a
DM
283202013-03-17 David S. Miller <davem@davemloft.net>
28321
28322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28323
2a185d32
JM
283242013-03-16 Joseph Myers <joseph@codesourcery.com>
28325
d2f9799e
JM
28326 [BZ #15283]
28327 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28328 for arguments at most half maximum finite value.
28329 * math/libm-test.inc (j0_test): Add more tests.
28330 (j1_test): Likewise.
28331 (y0_test): Likewise.
28332 (y1_test): Likewise.
28333 * sysdeps/i386/fpu/libm-test-ulps: Update.
28334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28335
2a185d32
JM
28336 [BZ #14155]
28337 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28338 1 / x and functions P and Q for arguments above 0x1p256L.
28339 (__ieee754_y0l): Likewise.
28340 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28341 (__ieee754_y1l): Likewise.
28342 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28343 (j1_test): Likewise.
28344 (y0_test): Likewise.
28345 (y1_test): Likewise.
28346
6cbec759
TS
283472013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28348
28349 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28350 variable.
28351
bc16e260
RM
283522013-03-15 Roland McGrath <roland@hack.frob.com>
28353
aefc9b8c
RM
28354 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28355 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28356 zero since it's initialized to EXEC_PAGESIZE.
28357
bc16e260
RM
28358 * sysdeps/unix/sysv/linux/ldsodefs.h
28359 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28360 * sysdeps/generic/ldsodefs.h: ... here.
28361
a57da955
TS
283622013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28363
af00a34d
TS
28364 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28365
495ded2c
TS
28366 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28367 math/test-snan.c.
28368 * math/test-snan.c: Renamed from
28369 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28370 * math/Makefile (tests): Add test-snan.
28371 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28372 test-powerpc-snan.
28373
777b0332
TS
28374 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28375 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28376 functions.
28377 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28378 __builtin_nan family of functions.
28379 * math/libm-test.inc (initialize): Initialize qnan_value with
28380 __builtin_nan family of functions.
28381 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28382 Remove variables.
28383 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28384 Remove functions.
28385 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28386 storage class. Initialize qNaN_var and sNaN_var with
28387 __builtin_nan and __builtin_nans families of functions,
28388 respectively.
28389
64d063b8
TS
28390 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28391 (sqrt_test): Remove duplicate test with qNaN input.
28392 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28393 (round_test, signbit_test, significand_test): Note missing +/-Inf
28394 as well as qNaN tests.
28395
67e971f1
TS
28396 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28397 qNaN_var. Fix a few strings, too.
28398 * math/libm-test.inc (nan_value): Rename to qnan_value.
28399 * math/gen-libm-test.pl (%beautify): Adjust to that.
28400 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28401 * math/test-misc.c (main): Likewise.
28402 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28403 to __qnan_bytes, and __qnan_union, respectively.
28404 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28405 Likewise.
28406 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28407 and lqnanval, respectively.
28408 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28409 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28410 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28411 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28412
64487e12
TS
28413 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28414 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28415 doubles.
28416
e015e27b
TS
28417 * math/test-misc.c (main): Fix copy'n'pastos.
28418 * misc/tst-efgcvt.c (special): Likewise.
28419
a57da955
TS
28420 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28421 Remove declarations.
28422
1e380345
SP
284232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28424
28425 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28426 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28427 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28428 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28429
ef26eece
AZ
284302013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28431
28432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28433 macro to return vdso values correctly in IFUNC implementations.
28434 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28435 Optimization by using IFUNC.
28436
8cfdb7e0
SP
284372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28438 Richard Henderson <rth@redhat.com>
28439 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28440
28441 * Makefile.in (bench): New target.
28442 * NEWS: Mention the benchmark framework.
28443 * Rules (bench): Likewise.
28444 (binaries-bench): Generate binaries for functions to
28445 benchmark.
28446 * benchtests/Makefile: New makefile for benchmark tests.
28447 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28448 programs.
28449 * benchtests/exp-inputs: New input file for EXP function.
28450 * benchtests/pow-inputs: New input file for POW function.
28451 * scripts/bench.pl: New script to generate source files for
28452 benchmark programs.
28453
bcda9880
SP
284542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28455
d22ca8cd
SP
28456 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28457 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28458 computations on mantissa. Use macros for rounding and
28459 division.
28460 (denorm): Likewise.
28461 (__dbl_mp): Likewise.
28462 (add_magnitudes): Likewise.
28463 (sub_magnitudes): Likewise.
28464 (__mul): Likewise.
28465 (__sqr): Likewise.
28466 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28467 powers of two in terms of TWOPOW macro.
28468 (mp_no): Make type of mantissa as MANTISSA_T.
28469 [!RADIXI]: Define RADIXI.
28470 [!TWO52]: Define TWO52.
28471 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28472
bcda9880
SP
28473 * manual/nptl.texi (cindex): Modify threads to pthreads.
28474
06d5adfb
JM
284752013-03-15 Joseph Myers <joseph@codesourcery.com>
28476
28477 * sysdeps/x86_64/preconfigure: Regenerated.
28478
41c7328e
JM
284792013-03-14 Joseph Myers <joseph@codesourcery.com>
28480
28481 [BZ #14155]
28482 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28483 0x1p28 and above.
28484 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28485 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28486 0x1p28 and above.
28487 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28488 * math/libm-test.inc (j0_test): Do not allow one spurious
28489 underflow exception.
28490 (y1_test): Likewise.
28491
e25cfa60
SP
284922013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28493
0409959c
SP
28494 * manual/Makefile (chapters): Add nptl.
28495 * manual/debug.texi (Debugging Support): Add link to Threads
28496 chapter.
28497 * manual/nptl.texi: New file.
28498
e25cfa60
SP
28499 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28500
58a1335e
PB
285012013-03-14 Petr Baudis <pasky@ucw.cz>
28502
28503 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28504 for non-NULL pointer before the memory validity test. Pointed
28505 out by Holger Brunck <holger.brunck@keymile.com>.
28506
9dc7c64f
AS
285072013-03-13 Andreas Schwab <schwab@suse.de>
28508
28509 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28510 instead of .os.
28511
54206aa6
JM
285122013-03-13 Joseph Myers <joseph@codesourcery.com>
28513
28514 * timezone/zic.c: Update from tzcode 2013b.
28515
e98cdb38
CD
285162013-03-12 Carlos O'Donell <carlos@redhat.com>
28517
28518 * manual/install.texi (Configuring and compiling):
28519 Mention i686 and i586.
28520 * INSTALL: Regenerate.
28521
9967e003
RM
285222013-03-12 Roland McGrath <roland@hack.frob.com>
28523
28524 * sysdeps/init_array/elf-init.c: New file.
28525 * csu/elf-init.c
28526 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28527 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28528
28529 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28530 __gmon_start__ as global, but as static with a .preinit_array pointer.
28531 * sysdeps/init_array/gmon-start.c: New file. Use that.
28532 * sysdeps/init_array/crti.S: New file, empty except for comments.
28533 * sysdeps/init_array/crtn.S: Likewise.
28534
e6b5a293 285352013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
28536
28537 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28538 definining bcopy.
80f844c9
OB
28539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28540 Remove Prefer_SSE_for_memop.
28541 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28542 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28543 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
28544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28545 memset-x86-64.
80f844c9 28546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 28547 Remove bzero, memset ifunc support.
80f844c9
OB
28548 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28549 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28550 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28551 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28552
fb6b0fcb
AS
285532013-03-11 Andreas Schwab <schwab@suse.de>
28554
28555 [BZ #15234]
28556 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28557 by SHLIB_COMPAT.
28558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28559 (GLIBC_2.16): Remove pthread_atfork.
28560
3e6bd4b1
PP
285612013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28562
28563 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28564 (ptestcases.h): Likewise.
28565
222d7f00
RM
285662013-03-08 Roland McGrath <roland@hack.frob.com>
28567
28568 * Makeconfig ($(common-objpfx)config.status): Depend on
28569 sysdeps/*/preconfigure{,.in} too.
28570
1ba4f030
JM
285712013-03-08 Joseph Myers <joseph@codesourcery.com>
28572
a222d91a
JM
28573 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28574 (__free_hook): Use void * instead of __malloc_ptr_t.
28575 (__malloc_hook): Likewise.
28576 (__realloc_hook): Likewise.
28577 (__memalign_hook): Likewise.
28578 (__after_morecore_hook): Likewise.
28579 * malloc/arena.c (save_malloc_hook): Likewise.
28580 (save_free_hook): Likewise.
28581 * malloc/hooks.c (malloc_hook_ini): Likewise.
28582 (realloc_hook_ini): Likewise.
28583 (memalign_hook_ini): Likewise.
28584 * malloc/malloc.c (malloc_hook_ini): Likewise.
28585 (realloc_hook_ini): Likewise.
28586 (memalign_hook_ini): Likewise.
28587 (__free_hook): Likewise.
28588 (__malloc_hook): Likewise.
28589 (__realloc_hook): Likewise.
28590 (__memalign_hook): Likewise.
28591 (__libc_malloc): Likewise.
28592 (__libc_free): Likewise.
28593 (__libc_realloc): Likewise.
28594 (__libc_memalign): Likewise.
28595 (__libc_valloc): Likewise.
28596 (__libc_pvalloc): Likewise.
28597 (__libc_calloc): Likewise.
28598 (__posix_memalign): Likewise.
28599 * malloc/morecore.c (__sbrk): Likewise.
28600 (__default_morecore): Likewise.
28601
5cc45e10
JM
28602 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28603
dd54b864
JM
28604 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28605 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28606 __malloc_ptrdiff_t.
28607
1ba4f030
JM
28608 * malloc/malloc.h (__malloc_size_t): Remove macro.
28609 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28610 __malloc_size_t.
28611 (old_memalign_hook): Likewise.
28612 (old_realloc_hook): Likewise.
28613 (struct hdr): Likewise.
28614 (flood): Likewise.
28615 (mallochook): Likewise.
28616 (memalignhook): Likewise.
28617 (reallochook): Likewise.
28618 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28619 (tr_old_realloc_hook): Likewise.
28620 (tr_old_memalign_hook): Likewise.
28621 (tr_mallochook): Likewise.
28622 (tr_reallochook): Likewise.
28623 (tr_memalignhook): Likewise.
28624
edf66e57
AZ
286252013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28626
28627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28628 default_ldbl_pack and using as default implementation.
28629 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28630 implementation.
28631 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28632 redundant definition.
28633 (ldbl_insert_mantissa): Likewise.
28634 (ldbl_canonicalize): Likewise.
28635 (ldbl_nearbyint): Likewise.
28636 (ldbl_pack): Rename to ldbl_pack_ppc.
28637 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28638 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28639 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28640
6d9145d8
SP
286412013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28642
28643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28644 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28645 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28646 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28648 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28649 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28650 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28651
4dd4e157
AJ
286522013-03-07 Andreas Jaeger <aj@suse.de>
28653
28654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28655 bits/mman-linux.h.
28656
adbb8027
SP
286572013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28658
ce544b5b
SP
28659 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28660 Include mpa.h and declare __MPEXP.
28661 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28662 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28663 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28664 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28665 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28666 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28667 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28668
4cc149fd
SP
28669 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28670 (__slowpow): Use long double EXPL and LOGL functions to
28671 compute POW.
28672 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28673 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28674 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28675 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28676 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28677 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28678
e6ebd4a7
SP
28679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28680 intermediate variable to calculate exponent.
28681 (__sqr): Likewise.
28682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28683 Likewise.
28684 (__sqr): Likewise.
28685
82a9811d
SP
28686 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28687 [!NO__SQR]: Define __sqr.
28688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28689 and NO__SQR. Remove all code except __mul and __sqr. Include
28690 sysdeps/ieee754/dbl-64/mpa.c.
28691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28692
adbb8027
SP
28693 [BZ #12723]
28694 * posix/Makefile (tests): Add tst-pathconf.
28695 * posix/tst-pathconf.c: New test case.
28696 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28697 _PC_PIPE_BUF.
28698 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28699
39120df9
PF
287002013-03-06 Patsy Franklin <pfrankli@redhat.com>
28701
28702 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28703
67525cb8
AJ
287042013-03-06 Andreas Jaeger <aj@suse.de>
28705
664a9ce4
AJ
28706 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28707 definition via __MAP_ANONYMOUS.
28708
8e39047d
AJ
28709 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28710 it's not part of Linux headers.
28711
67525cb8
AJ
28712 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28713 (MAP_HUGE_MASK): Define.
28714
28715 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28716 Define.
28717 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28718 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28719 Define.
28720 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28721 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28722 Define.
28723 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28724 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28725 Define.
28726 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28727
28728 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28729 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28730 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28731 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28732 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28733 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28734
28735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28736 Handle f2fs.
28737
28738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28739 Handle f2fs and efivarfs.
28740
28741 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28742 f2fs.
28743
28744 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28745 (EFIVARFS_MAGIC): Add.
28746 (F2FS_LINK_MAX): Add.
28747
e1b42695
PP
287482013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28749
28750 * stdio-common/vfprintf.c: Replace __builtin_expect with
28751 __glibc_unlikely.
28752
2d67d91a
JM
287532013-03-06 Joseph Myers <joseph@codesourcery.com>
28754
28755 [BZ #13550]
28756 * sysdeps/generic/bp-sym.h: Remove file.
28757 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28758 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28759 <bp-sym.h> and <bp-asm.h>.
28760 (__longjmp): Don't use BP_SYM.
28761 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28762 and <bp-asm.h>.
28763 (memcpy): Don't use BP_SYM.
28764 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28765 <bp-sym.h> and <bp-asm.h>.
28766 (memcpy): Don't use BP_SYM.
28767 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28768 <bp-asm.h>.
28769 (memcpy): Don't use BP_SYM.
28770 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28771 <bp-asm.h>.
28772 (memset): Don't use BP_SYM.
28773 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28774 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28775 (__bzero): Don't use BP_SYM.
28776 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28777 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28778 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28779 <bp-sym.h> and <bp-asm.h>.
28780 (memcmp): Don't use BP_SYM. Remove comment about bounded
28781 pointers.
28782 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28783 <bp-sym.h> and <bp-asm.h>.
28784 (memcpy): Don't use BP_SYM.
28785 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28786 <bp-sym.h> and <bp-asm.h>.
28787 (memset): Don't use BP_SYM.
28788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28790 (__bzero): Don't use BP_SYM.
28791 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28792 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28793 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28794 <bp-sym.h> and <bp-asm.h>.
28795 (strncmp): Don't use BP_SYM. Remove comment about bounded
28796 pointers.
28797 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28798 <bp-sym.h> and <bp-asm.h>.
28799 (memcpy): Don't use BP_SYM.
28800 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28801 <bp-sym.h> and <bp-asm.h>.
28802 (memset): Don't use BP_SYM.
28803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28805 (__bzero): Don't use BP_SYM.
28806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28808 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28809 <bp-sym.h> and <bp-asm.h>.
28810 (__memchr): Don't use BP_SYM.
28811 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28812 <bp-sym.h> and <bp-asm.h>.
28813 (memcmp): Don't use BP_SYM. Remove comment about bounded
28814 pointers.
28815 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28816 <bp-sym.h> and <bp-asm.h>.
28817 (memcpy): Don't use BP_SYM.
28818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28819 <bp-sym.h> and <bp-asm.h>.
28820 (__mempcpy): Don't use BP_SYM.
28821 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28822 <bp-sym.h> and <bp-asm.h>.
28823 (__memrchr): Don't use BP_SYM.
28824 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28825 <bp-sym.h> and <bp-asm.h>.
28826 (memset): Don't use BP_SYM.
28827 (__bzero): Likewise.
28828 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28829 <bp-sym.h> and <bp-asm.h>.
28830 (__rawmemchr): Don't use BP_SYM.
28831 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28832 <bp-sym.h> and <bp-asm.h>.
28833 (__STRCMP): Don't use BP_SYM.
28834 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28835 <bp-sym.h> and <bp-asm.h>.
28836 (strchr): Don't use BP_SYM.
28837 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28838 <bp-sym.h> and <bp-asm.h>.
28839 (__strchrnul): Don't use BP_SYM.
28840 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28841 <bp-sym.h> and <bp-asm.h>.
28842 (strlen): Don't use BP_SYM.
28843 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28844 <bp-sym.h> and <bp-asm.h>.
28845 (strncmp): Don't use BP_SYM. Remove comment about bounded
28846 pointers.
28847 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28848 <bp-sym.h> and <bp-asm.h>.
28849 (__strnlen): Don't use BP_SYM.
28850 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28851 <bp-sym.h> and <bp-asm.h>.
28852 (__GI__setjmp): Don't use BP_SYM.
28853 (_setjmp): Likewise.
28854 (__sigsetjmp): Likewise.
28855 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28856 (L(start_addresses)): Don't use BP_SYM.
28857 (_start): Likewise.
28858 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28859 <bp-asm.h>.
28860 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28861 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28862 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28863 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28864 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28865 <bp-asm.h>.
28866 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28867 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28868 about bounded pointers.
28869 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28870 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28871 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28872 <bp-asm.h>.
28873 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28874 about bounded pointers. Remove GKM FIXME comments.
28875 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28876 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28877 <bp-asm.h>.
28878 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28879 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28880 Remove GKM FIXME comments.
28881 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28882 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28883 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28884 <bp-asm.h>.
28885 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28886 about bounded pointers. Remove GKM FIXME comment.
28887 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28888 and <bp-asm.h>.
28889 (strncmp): Don't use BP_SYM. Remove comment about bounded
28890 pointers.
28891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28892 <bp-sym.h> and <bp-asm.h>.
28893 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28895 <bp-sym.h> and <bp-asm.h>.
28896 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28897 comment.
28898
cdcf361f
PP
288992013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28900
28901 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28902 call free(NULL).
28903
3c4a2b15
DM
289042013-03-05 David S. Miller <davem@davemloft.net>
28905
28906 * po/es.po: Update from translation team.
28907
cdcf361f 289082013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
28909
28910 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28911 <bits/mman-linux.h>.
28912 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28913 is fine.
28914 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28915 <bits/mman-linux.h> to end of file.
28916 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28917 is fine.
28918 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28919 <bits/mman-linux.h> to end of file.
28920 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28921 is fine.
28922 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28923 <bits/mman-linux.h> to end of file.
28924
28925 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28926 (MCL_CURRENT, MCL_FUTURE): Define here.
28927
5f67c04f
AK
289282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28929
8a4473cc 28930 [BZ #15232]
5f67c04f
AK
28931 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28932 attribute_hidden.
28933 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28934
c3e94a95
AK
289352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28936
28937 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28938 fourth parameter needed for rt_sigprocmask syscall.
28939 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28940 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28941 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28942 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28943 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28944 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28945
cfb6382a
JM
289462013-03-04 Joseph Myers <joseph@codesourcery.com>
28947
28948 [BZ #13550]
28949 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28950 comment about bounded pointers.
28951 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28952 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28953
539d8e01
AJ
289542013-03-04 Andreas Jaeger <aj@suse.de>
28955
28956 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28957 common definitions.
28958
28959 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28960 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28961 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28962 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28963 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
28964 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28965
2e167a70 289662013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
28967
28968 [BZ #15055]
28969 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28970 __ieee754_sqrl instead of __sqrl.
28971
68508633
JM
289722013-03-01 Joseph Myers <joseph@codesourcery.com>
28973
28974 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28975 * sysdeps/powerpc/fpu_control.h: ... here.
28976 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28977 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28978 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28979 * sysdeps/powerpc/bits/mathinline.h: ... here.
28980
7775448e
RM
289812013-03-01 Roland McGrath <roland@hack.frob.com>
28982
28983 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28984 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28985 to just [NEED_DL_SYSINFO_DSO].
28986 * elf/dl-support.c: Likewise.
28987 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28988 * elf/rtld.c (dl_main): Likewise.
28989 * elf/setup-vdso.h (setup_vdso): Likewise.
28990 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28991 * sysdeps/unix/sysv/linux/dl-sysdep.c
28992 (_dl_discover_osversion): Likewise.
28993
4e9b5995
CD
289942013-03-01 Carlos O'Donell <carlos@redhat.com>
28995
28996 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28997 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28998
e23872c8
SP
289992013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29000
e5c74c63
SP
29001 * NEWS: Mention libm performance improvements and non-x86 PI
29002 futex support.
29003
e23872c8
SP
29004 * csu/libc-start.c (__pthread_initialize_minimal): Change
29005 function arguments.
29006 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29007
b5510883
JM
290082013-02-28 Joseph Myers <joseph@codesourcery.com>
29009
29010 [BZ #13550]
29011 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29012 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29013 <bp-sym.h> and <bp-asm.h>.
29014 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29015 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29016 and <bp-asm.h>.
29017 (memcpy): Don't use BP_SYM.
29018 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29019 <bp-asm.h>.
29020 (__mpn_add_n): Don't use BP_SYM.
29021 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29022 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29023 and <bp-asm.h>.
29024 (__mpn_addmul_1): Don't use BP_SYM.
29025 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29026 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29027 <bp-sym.h>.
29028 (_setjmp): Don't use BP_SYM.
29029 (__novmx_setjmp): Likewise.
29030 (__GI__setjmp): Likewise.
29031 (__vmx_setjmp): Likewise.
29032 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29033 <bp-sym.h>.
29034 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29035 (__bzero): Don't use BP_SYM.
29036 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29037 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29038 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29039 <bp-sym.h> and <bp-asm.h>.
29040 (memcpy): Don't use BP_SYM.
29041 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29042 <bp-sym.h> and <bp-asm.h>.
29043 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29044 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29045 <bp-sym.h> and <bp-asm.h>.
29046 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29047 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29048 <bp-asm.h>.
29049 (__mpn_lshift): Don't use BP_SYM.
29050 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29051 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29052 <bp-asm.h>.
29053 (memset): Don't use BP_SYM.
29054 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29055 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29056 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29057 <bp-asm.h>.
29058 (__mpn_mul_1): Don't use BP_SYM.
29059 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29060 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29061 <bp-sym.h> and <bp-asm.h>.
29062 (memcmp): Don't use BP_SYM.
29063 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29064 <bp-sym.h> and <bp-asm.h>.
29065 (memcpy): Don't use BP_SYM.
29066 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29067 <bp-sym.h> and <bp-asm.h>.
29068 (memset): Don't use BP_SYM.
29069 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29070 <bp-sym.h> and <bp-asm.h>.
29071 (strncmp): Don't use BP_SYM.
29072 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29073 <bp-sym.h> and <bp-asm.h>.
29074 (memcpy): Don't use BP_SYM.
29075 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29076 <bp-sym.h> and <bp-asm.h>.
29077 (memset): Don't use BP_SYM.
29078 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29079 <bp-sym.h> and <bp-asm.h>.
29080 (__memchr): Don't use BP_SYM.
29081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29082 <bp-sym.h> and <bp-asm.h>.
29083 (memcmp): Don't use BP_SYM.
29084 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29085 <bp-sym.h> and <bp-asm.h>.
29086 (memcpy): Don't use BP_SYM.
29087 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29088 <bp-sym.h> and <bp-asm.h>.
29089 (__mempcpy): Don't use BP_SYM.
29090 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29091 <bp-sym.h> and <bp-asm.h>.
29092 (__memrchr): Don't use BP_SYM.
29093 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29094 <bp-sym.h> and <bp-asm.h>.
29095 (memset): Don't use BP_SYM.
29096 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29097 <bp-sym.h> and <bp-asm.h>.
29098 (__rawmemchr): Don't use BP_SYM.
29099 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29100 <bp-sym.h> and <bp-asm.h>.
29101 (__STRCMP): Don't use BP_SYM.
29102 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29103 <bp-sym.h> and <bp-asm.h>.
29104 (strchr): Don't use BP_SYM.
29105 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29106 <bp-sym.h> and <bp-asm.h>.
29107 (__strchrnul): Don't use BP_SYM.
29108 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29109 <bp-sym.h> and <bp-asm.h>.
29110 (strlen): Don't use BP_SYM.
29111 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29112 <bp-sym.h> and <bp-asm.h>.
29113 (strncmp): Don't use BP_SYM.
29114 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29115 <bp-sym.h> and <bp-asm.h>.
29116 (__strnlen): Don't use BP_SYM.
29117 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29118 <bp-asm.h>.
29119 (__mpn_rshift): Don't use BP_SYM.
29120 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29121 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29122 <bp-sym.h> and <bp-asm.h>.
29123 (__sigsetjmp): Don't use BP_SYM.
29124 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29125 (L(start_addresses)): Don't use BP_SYM.
29126 (_start): Likewise.
29127 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29128 <bp-asm.h>.
29129 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29130 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29131 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29132 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29133 <bp-asm.h>.
29134 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29135 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29136 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29137 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29138 <bp-asm.h>.
29139 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29140 comments.
29141 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29142 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29143 <bp-asm.h>.
29144 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29145 FIXME comments.
29146 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29147 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29148 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29149 <bp-asm.h>.
29150 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29151 comment.
29152 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29153 and <bp-asm.h>.
29154 (strncmp): Don't use BP_SYM,
29155 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29156 <bp-asm.h>.
29157 (__mpn_sub_n): Don't use BP_SYM.
29158 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29159 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29160 and <bp-asm.h>.
29161 (__mpn_submul_1): Don't use BP_SYM.
29162 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29164 <bp-sym.h> and <bp-asm.h>.
29165 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29167 <bp-sym.h> and <bp-asm.h>.
29168 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29169 comment.
29170
8d19fe64
SP
291712013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29172
29173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29174 Use ZK to minimize writes to Z.
29175 (sub_magnitudes): Simplify code a bit.
29176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29177 Use ZK to minimize writes to Z.
29178 (sub_magnitudes): Simplify code a bit.
29179
85bd816a
RM
291802013-02-27 Roland McGrath <roland@hack.frob.com>
29181
29182 * csu/gmon-start.c: Add special exception to license text.
29183
b5977bf2
RH
291842013-02-27 Richard Henderson <rth@redhat.com>
29185
29186 * scripts/config.guess: Update from config.git.
29187 * scripts/config.sub: Likewise.
29188
11d6e2f2
SP
291892013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29190
09c14ed2
SP
29191 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29192
a688864e
SP
29193 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29194
6295157a
SP
29195 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29196
b8de2202
SP
29197 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29198
11d6e2f2
SP
29199 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29200
7e80ddb8
RM
292012013-02-26 Roland McGrath <roland@hack.frob.com>
29202
29203 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29204 [$(build-shared = yes].
7e80ddb8 29205
7da6d9ed
SP
292062013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29207
45f05884
SP
29208 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29209 (__mul): Reduce iterations for calculating mantissa.
29210
2236d359
SP
29211 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29212 MPTWO.
29213 (__mpranred): Likewise.
29214
7da6d9ed
SP
29215 [BZ #15160]
29216 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29217 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29218
b7688c42
PE
292192013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29220
29221 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29222 Define __attribute__.
29223
53a5c423
SP
292242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29225
29226 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29227 unused.
29228 * posix/regex_internal.h (__attribute): Remove.
29229 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29230 (re_string_context_at): Likewise.
29231 (bitset_not): Use __attribute__ and mark function as possibly
29232 unused.
29233 (bitset_merge): Likewise.
29234 (bitset_mask): Likewise.
29235 (re_string_char_size_at): Likewise.
29236 (re_string_wchar_at): Likewise.
29237 (re_string_elem_size_at): Likewise.
29238
60f5a8b5
SP
292392013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29240
2a983a2e
SP
29241 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29242 code.
29243 (cc32): Likewise.
29244
e69804d1
SP
29245 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29246 (__acr): Likewise.
29247 (__cpy): Likewise.
29248 (norm): Likewise.
29249 (denorm): Likewise.
29250 (__dbl_mp): Likewise.
29251 (add_magnitudes): Likewise.
29252 (sub_magnitudes): Likewise.
29253 (__mul): Likewise.
29254 (__inv): Likewise.
29255
2f22a1e8
SP
29256 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29257 style.
29258
8930ddc7
SP
29259 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29260 style.
29261
dc60cb11
SP
29262 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29263 code.
29264
60f5a8b5
SP
29265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29266 up changes with default code.
29267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29268 Likewise.
29269
b4d1fd33
AM
292702013-02-24 Allan McRae <allan@archlinux.org>
29271
faf6f8bc
AM
29272 * manual/socket.texi (The Internet Namespace): Order menu items
29273 to match that in the file.
29274
b4d1fd33
AM
29275 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29276 node listing of the info page menu.
29277
2366713d
JM
292782013-02-21 Joseph Myers <joseph@codesourcery.com>
29279
29280 [BZ #13550]
29281 * sysdeps/i386/bp-asm.h: Remove file.
29282 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29283 (PARMS): Do not use macros from bp-asm.h.
29284 (S1): Likewise.
29285 (S2): Likewise.
29286 (SIZE): Likewise.
29287 (__mpn_add_n): Do not use BP_SYM
29288 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29289 "bp-asm.h".
29290 (PARMS): Do not use macros from bp-asm.h.
29291 (S1): Likewise.
29292 (SIZE): Likewise.
29293 (__mpn_addmul_1): Do not use BP_SYM
29294 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29295 "bp-asm.h".
29296 (PARMS): Do not use macros from bp-asm.h.
29297 (SIGMSK): Likewise.
29298 (_setjmp): Likewise. Do not use BP_SYM.
29299 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29300 "bp-asm.h".
29301 (PARMS): Do not use macros from bp-asm.h.
29302 (SIGMSK): Likewise.
29303 (setjmp): Likewise. Do not use BP_SYM.
29304 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29305 "bp-asm.h".
29306 (PARMS): Do not use macros from bp-asm.h.
29307 (__frexp): Do not use BP_SYM.
29308 (frexp): Likewise.
29309 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29310 "bp-asm.h".
29311 (PARMS): Do not use macros from bp-asm.h.
29312 (__frexpf): Do not use BP_SYM.
29313 (frexpf): Likewise.
29314 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29315 "bp-asm.h".
29316 (PARMS): Do not use macros from bp-asm.h.
29317 (__frexpl): Do not use BP_SYM.
29318 (frexpl): Likewise.
29319 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29320 "bp-asm.h".
29321 (PARMS): Do not use macros from bp-asm.h.
29322 (__remquo): Do not use BP_SYM.
29323 (remquo): Likewise.
29324 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29325 "bp-asm.h".
29326 (PARMS): Do not use macros from bp-asm.h.
29327 (__remquof): Do not use BP_SYM.
29328 (remquof): Likewise.
29329 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29330 "bp-asm.h".
29331 (PARMS): Do not use macros from bp-asm.h.
29332 (__remquol): Do not use BP_SYM.
29333 (remquol): Likewise.
29334 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29335 "bp-asm.h".
29336 (PARMS): Do not use macros from bp-asm.h.
29337 (DEST): Likewise.
29338 (SRC): Likewise.
29339 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29340 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29341 "bp-asm.h".
29342 (PARMS): Do not use macros from bp-asm.h.
29343 (strlen): Do not use BP_SYM.
29344 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29345 "bp-asm.h".
29346 (PARMS): Do not use macros from bp-asm.h.
29347 (S1): Likewise.
29348 (S2): Likewise.
29349 (SIZE): Likewise.
29350 (__mpn_add_n): Do not use BP_SYM.
29351 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29352 "bp-asm.h".
29353 (PARMS): Do not use macros from bp-asm.h.
29354 (S1): Likewise.
29355 (SIZE): Likewise.
29356 (__mpn_addmul_1): Do not use BP_SYM.
29357 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29358 weak_alias.
29359 (bzero): Likewise.
29360 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29361 "bp-asm.h".
29362 (PARMS): Do not use macros from bp-asm.h.
29363 (S): Likewise.
29364 (SIZE): Likewise.
29365 (__mpn_lshift): Do not use BP_SYM.
29366 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29367 "bp-asm.h".
29368 (PARMS): Do not use macros from bp-asm.h.
29369 (DEST): Likewise.
29370 (SRC): Likewise.
29371 (LEN): Likewise.
29372 (memcpy): Likewise. Do not use BP_SYM.
29373 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29374 libc_hidden_def and weak_alias.
29375 (mempcpy): Do not use BP_SYM in weak_alias.
29376 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29377 "bp-asm.h".
29378 (PARMS): Do not use macros from bp-asm.h.
29379 (DEST): Likewise.
29380 (LEN): Likewise.
29381 [!BZERO_P] (CHR): Likewise.
29382 (memset): Likewise. Do not use BP_SYM.
29383 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29384 "bp-asm.h".
29385 (PARMS): Do not use macros from bp-asm.h.
29386 (S1): Likewise.
29387 (SIZE): Likewise.
29388 (__mpn_mul_1): Do not use BP_SYM.
29389 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29390 "bp-asm.h".
29391 (PARMS): Do not use macros from bp-asm.h.
29392 (S): Likewise.
29393 (SIZE): Likewise.
29394 (__mpn_rshift): Do not use BP_SYM.
29395 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29396 "bp-asm.h".
29397 (PARMS): Do not use macros from bp-asm.h.
29398 (STR): Likewise.
29399 (CHR): Likewise.
29400 (strchr): Likewise. Do not use BP_SYM.
29401 (index): Do not use BP_SYM in weak_alias.
29402 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29403 "bp-asm.h".
29404 (PARMS): Do not use macros from bp-asm.h.
29405 (DEST): Likewise.
29406 (SRC): Likewise.
29407 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29408 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29409 "bp-asm.h".
29410 (PARMS): Do not use macros from bp-asm.h.
29411 (strlen): Do not use BP_SYM.
29412 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29413 "bp-asm.h".
29414 (PARMS): Do not use macros from bp-asm.h.
29415 (S1): Likewise.
29416 (S2): Likewise.
29417 (SIZE): Likewise.
29418 (__mpn_sub_n): Do not use BP_SYM.
29419 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29420 "bp-asm.h".
29421 (PARMS): Do not use macros from bp-asm.h.
29422 (S1): Likewise.
29423 (SIZE): Likewise.
29424 (__mpn_submul_1): Do not use BP_SYM.
29425 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29426 "bp-asm.h".
29427 (PARMS): Do not use macros from bp-asm.h.
29428 (S1): Likewise.
29429 (S2): Likewise.
29430 (SIZE): Likewise.
29431 (__mpn_add_n): Do not use BP_SYM.
29432 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29433 weak_alias.
29434 (bzero): Likewise.
29435 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29436 "bp-asm.h".
29437 (PARMS): Do not use macros from bp-asm.h.
29438 (BLK2): Likewise.
29439 (LEN): Likewise.
29440 (memcmp): Do not use BP_SYM.
29441 (bcmp): Do not use BP_SYM in weak_alias.
29442 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29443 "bp-asm.h".
29444 (PARMS): Do not use macros from bp-asm.h.
29445 (DEST): Likewise.
29446 (SRC): Likewise.
29447 (LEN): Likewise.
29448 (memcpy): Likewise. Do not use BP_SYM.
29449 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29450 "bp-asm.h".
29451 (PARMS): Do not use macros from bp-asm.h.
29452 (DEST): Likewise.
29453 (SRC): Likewise.
29454 (LEN): Likewise.
29455 (memmove): Likewise. Do not use BP_SYM.
29456 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29457 "bp-asm.h".
29458 (PARMS): Do not use macros from bp-asm.h.
29459 (DEST): Likewise.
29460 (SRC): Likewise.
29461 (LEN): Likewise.
29462 (__mempcpy): Likewise. Do not use BP_SYM.
29463 (mempcpy): Do not use BP_SYM in weak_alias.
29464 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29465 "bp-asm.h".
29466 (PARMS): Do not use macros from bp-asm.h.
29467 (DEST): Likewise.
29468 (LEN): Likewise.
29469 [!BZERO_P] (CHR): Likewise.
29470 (memset): Likewise. Do not use BP_SYM.
29471 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29472 "bp-asm.h".
29473 (PARMS): Do not use macros from bp-asm.h.
29474 (STR2): Likewise.
29475 (strcmp): Do not use BP_SYM.
29476 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29477 "bp-asm.h".
29478 (PARMS): Do not use macros from bp-asm.h.
29479 (STR): Likewise.
29480 (DELIM): Likewise.
29481 [USE_AS_STRTOK_R] (SAVE): Likewise.
29482 (FUNCTION): Likewise. Do not use BP_SYM.
29483 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29484 aliases.
29485 (strtok_r): Likewise.
29486 (__GI___strtok_r): Likewise.
29487 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29488 (PARMS): Do not use macros from bp-asm.h.
29489 (S): Likewise.
29490 (SIZE): Likewise.
29491 (__mpn_lshift): Do not use BP_SYM.
29492 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29493 (PARMS): Do not use macros from bp-asm.h.
29494 (STR): Likewise.
29495 (CHR): Likewise.
29496 (__memchr): Do not use BP_SYM.
29497 (memchr): Do not use BP_SYM in weak_alias.
29498 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29499 (PARMS): Do not use macros from bp-asm.h.
29500 (BLK2): Likewise.
29501 (LEN): Likewise.
29502 (memcmp): Do not use BP_SYM.
29503 (bcmp): Do not use BP_SYM in weak_alias.
29504 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29505 (PARMS): Do not use macros from bp-asm.h.
29506 (S1): Likewise.
29507 (SIZE): Likewise.
29508 (__mpn_mul_1): Do not use BP_SYM.
29509 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29510 "bp-asm.h".
29511 (PARMS): Do not use macros from bp-asm.h.
29512 (STR): Likewise.
29513 (CHR): Likewise.
29514 (__rawmemchr): Do not use BP_SYM.
29515 (rawmemchr): Do not use BP_SYM in weak_alias.
29516 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29517 (PARMS): Do not use macros from bp-asm.h.
29518 (S): Likewise.
29519 (SIZE): Likewise.
29520 (__mpn_rshift): Do not use BP_SYM.
29521 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29522 (PARMS): Do not use macros from bp-asm.h.
29523 (SIGMSK): Likewise.
29524 (__sigsetjmp): Likewise. Do not use BP_SYM.
29525 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29526 (_start): Do not use BP_SYM.
29527 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29528 (PARMS): Do not use macros from bp-asm.h.
29529 (DEST): Likewise.
29530 (SRC): Likewise.
29531 (__stpcpy): Likewise. Do not use BP_SYM.
29532 (stpcpy): Do not use BP_SYM in weak_alias.
29533 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29534 "bp-asm.h".
29535 (PARMS): Do not use macros from bp-asm.h.
29536 (DEST): Likewise.
29537 (SRC): Likewise.
29538 (LEN): Likewise.
29539 (__stpncpy): Likewise. Do not use BP_SYM.
29540 (stpncpy): Do not use BP_SYM in weak_alias.
29541 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29542 (PARMS): Do not use macros from bp-asm.h.
29543 (STR): Likewise.
29544 (CHR): Likewise.
29545 (strchr): Likewise. Do not use BP_SYM.
29546 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29547 "bp-asm.h".
29548 (PARMS): Do not use macros from bp-asm.h.
29549 (STR): Likewise.
29550 (CHR): Likewise.
29551 (__strchrnul): Likewise. Do not use BP_SYM.
29552 (strchrnul): Do not use BP_SYM in weak_alias.
29553 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29554 "bp-asm.h".
29555 (PARMS): Do not use macros from bp-asm.h.
29556 (STOP): Likewise.
29557 (strcspn): Do not use BP_SYM.
29558 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29559 "bp-asm.h".
29560 (PARMS): Do not use macros from bp-asm.h.
29561 (STR): Likewise.
29562 (STOP): Likewise.
29563 (strpbrk): Likewise. Do not use BP_SYM.
29564 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29565 "bp-asm.h".
29566 (PARMS): Do not use macros from bp-asm.h.
29567 (STR): Likewise.
29568 (CHR): Likewise.
29569 (strrchr): Likewise. Do not use BP_SYM.
29570 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29571 (PARMS): Do not use macros from bp-asm.h.
29572 (SKIP): Likewise.
29573 (strspn): Do not use BP_SYM.
29574 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29575 (PARMS): Do not use macros from bp-asm.h.
29576 (STR): Likewise.
29577 (DELIM): Likewise.
29578 (SAVE): Likewise.
29579 (FUNCTION): Likewise. Do not use BP_SYM.
29580 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29581 aliases.
29582 (strtok_r): Likewise.
29583 (__GI___strtok_r): Likewise.
29584 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29585 (PARMS): Do not use macros from bp-asm.h.
29586 (S1): Likewise.
29587 (S2): Likewise.
29588 (SIZE): Likewise.
29589 (__mpn_sub_n): Do not use BP_SYM.
29590 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29591 "bp-asm.h".
29592 (PARMS): Do not use macros from bp-asm.h.
29593 (S1): Likewise.
29594 (SIZE): Likewise.
29595 (__mpn_submul_1): Do not use BP_SYM.
29596 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29597 <bp-sym.h>.
29598 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29599 and <bp-asm.h>.
29600 (PARMS): Do not use macros from bp-asm.h.
29601 (FLAGS): Likewise.
29602 (PTID): Likewise.
29603 (TLS): Likewise.
29604 (CTID): Likewise.
29605 (__clone): Do not use BP_SYM.
29606 (clone): Do not use BP_SYM in weak_alias.
29607 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29608 and <bp-asm.h>.
29609 (PARMS): Do not use macros from bp-asm.h.
29610 (LEN): Likewise.
29611 (__mmap64): Do not use BP_SYM.
29612 (mmap64): Do not use BP_SYM in weak_alias.
29613 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29614 <bp-sym.h> and <bp-asm.h>.
29615 (PARMS): Do not use macros from bp-asm.h.
29616 (__posix_fadvise64_l64): Do not use BP_SYM.
29617 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29618 (PARMS): Do not use macros from bp-asm.h.
29619 (NSOPS): Likewise.
29620 (semtimedop): Do not use BP_SYM.
29621 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29622 and <bp-asm.h>.
29623
582a3cff
AM
296242013-02-21 Allan McRae <allan@archlinux.org>
29625
29626 * manual/message.texi (Charset conversion in gettext):
29627 Move @end statement to beginning of line.
29628
bab8a695
SP
296292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29630
80945231
SP
29631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29632 static.
29633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29634 Likewise.
29635
bab8a695
SP
29636 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29637 (denorm): Likewise.
29638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29640
e21d7aa7
AK
296412013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29642
29643 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29644 tail-call to the resolved function if pltexit isn't needed.
29645
4c7a4263
SP
296462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29647
29648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29649 or Y being zero as being unlikely.
29650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29651 Likewise.
29652
41f49342
CD
296532013-02-20 Carlos O'Donell <carlos@redhat.com>
29654
29655 * manual/nss.texi (System Databases and Name Service Switch):
29656 Remove frobnicate @pxref.
29657
50022a93
TS
296582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29659
29660 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29661 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29662
08cbd996
PM
296632013-02-20 Petr Machata <pmachata@redhat.com>
29664
29665 * elf/elf.h (R_ARM_TARGET1): New macro.
29666 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29667 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29668 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29669 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29670 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29671 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29672 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29673 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29674 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29675 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29676 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29677 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29678 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29679 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29680 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29681 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29682 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29683 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29684 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29685 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29686 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29687 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29688 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29689 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29690 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29691 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29692 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29693 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29694 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29695 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29696 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29697 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29698 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29699 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29700 (R_ARM_THM_GOT_BREL12): Likewise.
29701 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29702 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29703 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29704 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29705 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29706 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29707 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29708 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29709 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29710
c7b275d6
TS
297112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29712
29713 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29714 __attribute_used__ to __attribute__ ((unused)).
29715
20cd7fb3
SP
297162013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29717
29718 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29719 powerpc mpa.c.
29720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29721 comment formatting.
29722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29723
92945b52
JM
297242013-02-19 Joseph Myers <joseph@codesourcery.com>
29725
29726 [BZ #13550]
29727 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29728 Remove macro.
29729 (ENTER): Remove both macro definitions.
29730 (LEAVE): Likewise.
29731 (CHECK_BOUNDS_LOW): Likewise.
29732 (CHECK_BOUNDS_HIGH): Likewise.
29733 (CHECK_BOUNDS_BOTH): Likewise.
29734 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29735 (RETURN_BOUNDED_POINTER): Likewise.
29736 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29737 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29738 (POP_ERRNO_LOCATION_RETURN): Likewise.
29739 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29740 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29741 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29742 macros.
29743 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29744 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29745 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29746 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29747 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29748 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29749 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29750 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29751 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29752 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29753 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29754 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29755 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29756 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29757 removed macros.
29758 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29759 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29760 macros.
29761 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29762 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29763 * sysdeps/i386/i586/memset.S (memset): Likewise.
29764 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29765 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29766 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29767 macros.
29768 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29769 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29770 Change uses of L(2) to L(out).
29771 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29772 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29773 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29774 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29775 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29776 removed macros.
29777 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29778 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29779 macros.
29780 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29781 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29782 (RETURN): Do not use macro LEAVE.
29783 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29784 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29785 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29786 * sysdeps/i386/i686/memset.S (memset): Likewise.
29787 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29788 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29789 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29790 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29791 Likewise.
29792 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29793 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29794 L(1_2) and L(1_3) into L(1).
29795 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29796 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29797 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29798 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29799 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29800 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29801 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29802 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29803 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29804 macros.
29805 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29806 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29807 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29808 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29809 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29810 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29811 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29812 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29813 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29814 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29815 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29816 * sysdeps/i386/strspn.S (strspn): Likewise.
29817 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29818 conditional code.
29819 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29820 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29821 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29822 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29823 L(1_3) into L(1_1).
29824 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29825 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29826 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29827 macros.
29828 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29829
2389741a
JJ
298302013-02-19 Jakub Jelinek <jakub@redhat.com>
29831
29832 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29833 macro.
29834
2016b3cd
SP
298352013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29836
e4f22324
SP
29837 * math/atest-exp.c (exp_mpn): Remove ROUND.
29838 * math/atest-exp2.c (exp_mpn): Likewise.
29839 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29840
2016b3cd
SP
29841 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29842 * stdlib/tst-tls-atexit-lib.c: Likewise.
29843 * stdlib/tst-tls-atexit.c: Likewise.
29844
4be9b544
MF
298452013-02-18 Mike Frysinger <vapier@gentoo.org>
29846
29847 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29848 and __attribute_alloc_size__.
29849
2f62b9ee
MF
298502013-02-18 Mike Frysinger <vapier@gentoo.org>
29851
29852 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29853 __attribute_alloc_size__.
29854 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29855 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29856
6ff444c4
MF
298572013-02-18 Mike Frysinger <vapier@gentoo.org>
29858
29859 * include/programs/xmalloc.h: New file.
29860 * catgets/gencat.c: Include it.
29861 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29862 * elf/pldd.c: Likewise.
29863 * iconv/iconv_charmap.c: Likewise.
29864 * iconv/iconvconfig.c: Likewise.
29865 * iconv/strtab.c: Likewise.
29866 * locale/programs/locale.c: Likewise.
29867 * locale/programs/localedef.h: Likewise.
29868 * locale/programs/simple-hash.c: Likewise.
29869 * nscd/nscd.h: Likewise.
29870 * nss/makedb.c: Likewise.
29871 * sysdeps/generic/ldconfig.h: Likewise.
29872
be179c8a
SP
298732013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29874
ba384f6e
SP
29875 * Versions.def: Add GLIBC_2.18.
29876 * include/link.h (struct link_map): New member l_tls_dtor_count.
29877 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29878 (__call_tls_dtors): Likewise.
29879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29880 __cxa_thread_atexit_impl.
29881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29882 Likewise.
29883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29884 Likewise.
29885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29886 Likewise.
29887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29888 Likewise.
29889 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29891 Likewise.
29892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29893 Likewise.
29894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29896 Likewise.
29897 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29898 (tests): Add test case tst-tls-atexit.
29899 (modules-names): Add shared library for tst-tls-atexit.
85891aca 29900 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
29901 (GLIBC_PRIVATE): Add __call_tls_dtors.
29902 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29903 for libstdc++.
29904 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29905 * stdlib/tst-tls-atexit.c: New test case.
29906 * stdlib/tst-tls-atexit-lib.c: New test case.
29907
ffaa74cf 29908 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 29909
be179c8a
SP
29910 * elf/Versions (ld): Add _dl_find_dso_for_object.
29911 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29912 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29913 (dl_open_worker): Use _dl_find_dso_for_object.
29914 * elf/dl-sym.c (do_sym): Likewise.
29915 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29916
f78b5caa
AK
299172013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29918
29919 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29920 Syntactic changes only.
29921 (_dl_runtime_profile): Do a tail-call to the resolved function.
29922
29691210
JM
299232013-02-17 Joseph Myers <joseph@codesourcery.com>
29924
29925 [BZ #13550]
29926 * sysdeps/x86_64/bp-asm.h: Remove file.
29927 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29928 <bp-sym.h> and <bp-asm.h>.
29929 (__clone): Do not use BP_SYM.
29930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29931 <bp-sym.h> and <bp-asm.h>.
29932 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29933 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29934 "bp-asm.h".
29935 (_setjmp): Do not use BP_SYM.
29936 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29937 "bp-asm.h".
29938 (setjmp): Do not use BP_SYM.
29939 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29940 libc_hidden_def.
29941 (mempcpy): Do not use BP_SYM in weak_alias.
29942 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29943 "bp-asm.h".
29944 (strchr): Do not use BP_SYM.
29945 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29946 "bp-asm.h".
29947 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29948 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29949 (_start): Do not use BP_SYM.
29950 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29951 "bp-asm.h".
29952 (strcat): Do not use BP_SYM.
29953 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29954 "bp-asm.h".
29955 (STRCMP): Do not use BP_SYM.
29956 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29957 "bp-asm.h".
29958 (STRCPY): Do not use BP_SYM.
29959 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29960 "bp-asm.h".
29961 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29962 "bp-asm.h".
29963 (FUNCTION): Do not use BP_SYM.
29964 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29965 weak_alias.
29966 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29967
f238fd19
AJ
299682013-02-17 Andreas Jaeger <aj@suse.de>
29969
29970 * time/Versions: Sort entries.
29971 * string/Versions: Likewise.
29972 * resolv/Versions: Likewise.
29973 * posix/Versions: Likewise.
29974 * iconv/Versions: Likewise.
29975 * elf/Versions: Likewise.
29976 * wcsmbs/Versions: Likewise.
29977
bd07f23c 299782013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 29979
22af19f9
SP
29980 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29981 loop termination condition.
29982
4709fe76
SP
29983 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29984 variable to calculate EZ.
29985 (__sqr): Likewise.
2d0e0f29
SP
29986
29987 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29988 the lower precision input.
29989
daaa7713
JM
299902013-02-15 Joseph Myers <joseph@codesourcery.com>
29991
29992 [BZ #13550]
29993 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29994 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29995 (run-via-rtld-prefix): Do not handle %-bp tests.
29996 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29997 (all-object-suffixes): Remove .ob.
29998 (bppfx): Remove variable.
29999 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30000 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30001 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30002 [$(build-bounded) = yes] (libtype.ob): Likewise.
30003 * Makerules (elide-routines.ob): Remove variable.
30004 (do-tests-clean): Do not handle *-bp.out.
30005 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30006 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30007 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30008 (tests): Do not include $(tests-bp.out).
30009 (xtests): Do not include $(xtests-bp.out).
30010 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30011 [$(build-bounded) = yes] ($(addprefix
30012 $(objpfx),$(binaries-bounded))): Remove rule.
30013 ($(objpfx)%-bp.out): Remove rule.
30014 * config.make.in (build-bounded): Remove variable.
30015 * crypt/Makefile [$(build-bounded) = yes]
30016 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30017 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30018 append to variable.
30019 [$(build-bounded) = yes] (install-lib): Likewise.
30020 [$(build-bounded) = yes] (generated): Likewise.
30021 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30022 Remove rule.
30023 * intl/Makefile [$(build-bounded) = yes]
30024 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30025 * math/Makefile [$(build-bounded) = yes]
30026 ($(tests:%=$(objpfx)%-bp): Likewise.
30027 * misc/Makefile [$(build-bounded) = yes]
30028 ($(objpfx)tst-tsearch-bp): Likewise.
30029 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30030 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30031 Remove dependency.
30032 * string/Makefile (o-objects.ob): Remove variable.
30033 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30034 (CFLAGS-.ob): Remove variable.
30035 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30036 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30037 both definitions of variable.
30038 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30039 (ASFLAGS-.ob): Remove variable.
30040
e97ed6dd
JM
300412013-02-14 Joseph Myers <joseph@codesourcery.com>
30042
2bdd4ca6
JM
30043 [BZ #13550]
30044 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30045 Remove __BOUNDED_POINTERS__ from condition.
30046 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30047 * string/bits/string2.h [!__NO_STRING_INLINES &&
30048 !__BOUNDED_POINTERS__]: Likewise.
30049 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30050 Likewise.
30051 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30052 Remove conditional code.
30053 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30054 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30055 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30056 condition.
30057
e97ed6dd
JM
30058 [BZ #13550]
30059 * csu/libc-start.c: Do not include <bp-sym.h>.
30060 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30061 * elf/dl-open.c: Do not include <bp-sym.h>.
30062 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30063 * math/fegetenv.c: Do not include <bp-sym.h>.
30064 (fegetenv): Do not use BP_SYM in versioned symbols.
30065 * nptl/sysdeps/pthread/bits/libc-lockP.h
30066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30067 <bp-sym.h>.
30068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30069 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30071 (__pthread_mutex_destroy): Likewise.
30072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30073 (__pthread_mutex_lock): Likewise.
30074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30075 (__pthread_mutex_trylock): Likewise.
30076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30077 (__pthread_mutex_unlock): Likewise.
30078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30079 (__pthread_mutexattr_init): Likewise.
30080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30081 (__pthread_mutexattr_destroy): Likewise.
30082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30083 (__pthread_mutexattr_settype): Likewise.
30084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30085 (__pthread_rwlock_init): Likewise.
30086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30087 (__pthread_rwlock_destroy): Likewise.
30088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30089 (__pthread_rwlock_rdlock): Likewise.
30090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30091 (__pthread_rwlock_tryrdlock): Likewise.
30092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30093 (__pthread_rwlock_wrlock): Likewise.
30094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30095 (__pthread_rwlock_trywrlock): Likewise.
30096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30097 (__pthread_rwlock_unlock): Likewise.
30098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30099 (__pthread_key_create): Likewise.
30100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30101 (__pthread_setspecific): Likewise.
30102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30103 (__pthread_getspecific): Likewise.
30104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30105 Likewise.
30106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30107 (_pthread_cleanup_push_defer): Likewise.
30108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30109 (_pthread_cleanup_pop_restore): Likewise.
30110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30111 (pthread_setcancelstate): Likewise.
30112 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30113 <bp-sym.h>.
30114 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30115 (memchr): Do not use BP_SYM in weak_alias.
30116 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30117 (fegetenv): Do not use BP_SYM in versioned symbols.
30118 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30119 (fesetenv): Do not use BP_SYM in versioned symbols.
30120 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30121 (feupdateenv): Do not use BP_SYM in versioned symbols.
30122 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30123 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30124 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30125 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30126 (open64): Do not use BP_SYM in weak_alias.
30127 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30128 (fegetenv): Do not use BP_SYM in versioned symbols.
30129 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30130 (fesetenv): Do not use BP_SYM in versioned symbols.
30131 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30132 (feupdateenv): Do not use BP_SYM in versioned symbols.
30133 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30134 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30135 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30136 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30137 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30138 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30139 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30140 <bp-sym.h>.
30141 (__libc_start_main): Do not use BP_SYM.
30142
d6752ccd
SP
301432013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30144
cb57ce60
SP
30145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30146 redundant return line.
30147 (norm): Likewise.
30148 (denorm): Likewise.
30149 (dbl_mp): Likewise.
30150 (sub_magnitudes): Likewise.
30151 (__add): Likewise.
30152 (__sub): Likewise.
30153 (__mul): Likewise.
30154 (__inv): Likewise.
30155 (__dvd): Likewise.
30156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30157 (norm): Likewise.
30158 (denorm): Likewise.
30159 (dbl_mp): Likewise.
30160 (sub_magnitudes): Likewise.
30161 (__add): Likewise.
30162 (__sub): Likewise.
30163 (__mul): Likewise.
30164 (__inv): Likewise.
30165 (__dvd): Likewise.
30166
f414520d
SP
30167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30168 instead of __mul.
30169 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30170 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30171 (cc32): Likewise.
30172
d6752ccd
SP
30173 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30174 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30176 of __mul for squares.
30177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30178 function
30179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30180 Likewise.
30181 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30183
70d9946a
JM
301842013-02-13 Joseph Myers <joseph@codesourcery.com>
30185
30186 [BZ #13550]
30187 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30188 code.
30189 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30190 prototype or function definition. Rename ubp_* variables and
30191 parameters. Remove argv definitions conditional on
30192 [__BOUNDED_POINTERS__].
30193 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30194 * elf/dl-runtime.c (_dl_fixup): Likewise.
30195 * include/set-hooks.h (RUN_HOOK): Likewise.
30196 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30197 definition.
30198 * string/strcpy.c (strcpy): Do not use __unbounded.
30199 * sysdeps/generic/frame.h (struct layout): Likewise.
30200 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30201 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30202 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30203 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30204 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30205 (__backtrace): Likewise.
30206 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30207 use __ptrvalue.
30208 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30209 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30210 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30211 Likewise.
30212 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30213 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30214 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30215 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30216 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30217 Do not use __unbounded.
30218 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30219 Rename __unboundedrlimits parameter to rlimits in prototype.
30220 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30221 Do not use __unbounded.
30222 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30223 not use __ptrvalue.
30224 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30225 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30226 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30227 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30228 __ptrvalue or __unbounded.
30229 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30230 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30231 use __unbounded.
30232 (__new_msgctl): Do not use __ptrvalue.
30233 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30234 __unbounded.
30235 (__libc_msgrcv): Do not use __ptrvalue.
30236 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30237 startup_info): Do not use __unbounded.
30238 (__libc_start_main): Likewise. Rename ubp_* variables and
30239 parameters. Remove argv definitions conditional on
30240 [__BOUNDED_POINTERS__].
30241 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30242 __ptrvalue.
30243 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30244 use __unbounded.
30245 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30246 or __ptrvalue.
30247 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30248 use __unbounded.
30249 (__new_shmctl): Do not use __ptrvalue.
30250 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30251 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30252 Likewise.
30253 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30255 (__libc_sigaction): Likewise.
30256 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30257 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30258 Likewise.
30259 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30260
cc7834d6
OB
302612013-02-13 Ondřej Bílka <neleai@seznam.cz>
30262
ffb1ec7b 30263 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30264
30265 * string/mempcpy.c: Implement by calling memcpy.
30266
bdf02814
SP
302672013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30268
c2af38aa
SP
30269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30270
4e92d59e
SP
30271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30272 evaluation.
30273
909279a5
SP
30274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30275 values in the mantissa.
30276
bdf02814
SP
30277 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30278 minimize writes to Z.
30279 (sub_magnitudes): Simplify code a bit.
30280
cd525923
RM
302812013-02-12 Roland McGrath <roland@hack.frob.com>
30282
30283 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30284 from the message. The linker prefixes all warnings with that already.
30285
7e2f0d2d
AS
302862013-02-12 Andreas Schwab <schwab@suse.de>
30287
a445af0b
AS
30288 [BZ #15078]
30289 * posix/regexec.c (extend_buffers): Add parameter min_len.
30290 (check_matching): Pass minimum needed length.
30291 (clean_state_log_if_needed): Likewise.
30292 (get_subexp): Likewise.
30293 * posix/Makefile (tests): Add bug-regex34.
30294 (bug-regex34-ENV): Define.
30295 * posix/bug-regex34.c: New file.
30296
7e2f0d2d
AS
30297 [BZ #11561]
30298 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30299 elements compare against the byte sequence of it, not its name.
30300 * posix/Makefile (tests): Add bug-regex35.
30301 (bug-regex35-ENV): Define.
30302 * posix/bug-regex35.c: New file.
30303
a175b684
TV
303042013-02-11 Tom de Vries <tom@codesourcery.com>
30305
30306 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30307 comment.
30308 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30309 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30310 (CHECK_EOL): Add undef.
30311
310998fe 303122013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30313
30314 * bits/stdlib-bsearch.h: New file.
30315 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30316 * stdlib/stdlib.h: Likewise.
41eda41d 30317
8ded91fb
RM
303182013-02-11 Roland McGrath <roland@hack.frob.com>
30319
30320 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30321 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30322 declaration.
30323 * manual/search.texi (Array Search Function): Add missing const in
30324 lfind prototype.
30325 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30326 declaration to use rlim_t.
30327 (Basic Scheduling Functions): Remove erroneous const from
30328 sched_getparam prototype. Remove erroneous * from
30329 sched_get_priority_max and sched_get_priority_min prototypes.
30330 (Resource Usage): Fix summary @comment on vtimes to refer to
30331 sys/vtimes.h rather than vtimes.h.
30332 Add missing *s in vtimes prototype.
30333 (Limits on Resources): Fix ulimit prototype to return long int.
30334 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30335 prototypes to use long int rather than double.
30336 (BSD Random): Fix initstate and setstate to use char *, not void *.
30337 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30338 prototype to make second argument 'struct aiocb64 *const[]'.
30339 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30340 (Status of AIO Operations): Remove erroneous const in aio_return and
30341 aio_return64 prototypes.
30342 (Synchronizing I/O): Fix sync prototype to return void.
30343 * manual/startup.texi (Suboptions): Remove an erroneous const in
30344 getsubopt prototype.
30345 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30346 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30347 use size_t rather than int.
30348 (Scanning All Users): Likewise for getpwent_r.
30349 (Setting Groups): Add missing const to setgroups prototype.
30350 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30351 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30352 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30353 'const void *' rather than 'const char *'.
30354 (Host Address Functions): Likewise for inet_ntop.
30355 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30356 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30357 ssize_t for return value.
30358 (Sending Data): Likewise for send, sendto, sendmsg.
30359 (Socket Option Functions): Add a missing const in setsockopt prototype.
30360 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30361 use wchar_t for the argument.
30362 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30363 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30364 take no arguments.
30365 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30366 double/float/long double for second argument.
30367 Fix return types of significand, significandf, significandl.
30368 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30369 argument in fchmod prototype.
30370 (File Owner): Use uid_t and gid_t in fchown prototype.
30371 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30372 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30373 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30374 use 'const struct dirent **' as argument types to CMP function pointer
30375 argument.
30376 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30377 (File Times): Fix summary magic @comment for struct utimbuf and utime
30378 to refer to utime.h, not time.h.
30379 * manual/string.texi (Argz Functions): Add missing const in
30380 argz_extract and argz_next prototypes.
30381 (Finding Tokens in a String): Likewise for basename.
30382 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30383 (Copying and Concatenation): Fix typo in wmemmove prototype.
30384 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30385 (Signal Stack): Remove erroneous const in sigstack prototype.
30386 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30387 prototype.
30388 (Simple Calendar Time): Likewise for stime.
30389 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30390 prototype.
30391 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30392 say sys/sysctl.h instead.
30393 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30394 and vsyslog prototypes.
30395
fe77fe6d
TV
303962013-02-11 Tom de Vries <tom@codesourcery.com>
30397
30398 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30399 Remove.
30400
3a09b620
RM
304012013-02-11 Roland McGrath <roland@hack.frob.com>
30402
30403 * misc/sys/mman.h: Fix typo in mremap comment.
30404
550a0b89
RM
304052013-02-08 Roland McGrath <roland@hack.frob.com>
30406
30407 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30408 the '\0' terminator.
30409
a2da1673
JM
304102013-02-08 Joseph Myers <joseph@codesourcery.com>
30411
30412 [BZ #13550]
30413 * debug/segfault.c: Don't include <bp-checks.h>.
30414 * sysdeps/generic/bp-checks.h: Remove file.
30415 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30416 (__GETDENTS): Don't use CHECK_N.
30417 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30418 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30419 (__getgroups): Don't use CHECK_N.
30420 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30421 (setgroups): Don't use CHECK_N.
30422 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30423 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30424 (__libc_msgrcv): Don't use CHECK_N.
30425 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30426 (__libc_msgsnd): Don't use CHECK_N.
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30428 <bp-checks.h>.
30429 (__libc_pread): Don't use CHECK_N.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30431 include <bp-checks.h>.
30432 (__libc_pread64): Don't use CHECK_N.
30433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30434 include <bp-checks.h>.
30435 (__libc_pwrite): Don't use CHECK_N.
30436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30437 include <bp-checks.h>.
30438 (__libc_pwrite64): Don't use CHECK_N.
30439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30440 <bp-checks.h>.
30441 (__libc_pread): Don't use CHECK_N.
30442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30443 include <bp-checks.h>.
30444 (__libc_pread64): Don't use CHECK_N.
30445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30446 include <bp-checks.h>.
30447 (__libc_pwrite): Don't use CHECK_N.
30448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30449 include <bp-checks.h>.
30450 (__libc_pwrite64): Don't use CHECK_N.
30451 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30452 (do_pread): Don't use CHECK_N.
30453 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30454 (do_pread64): Don't use CHECK_N.
30455 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30456 (do_pwrite): Don't use CHECK_N.
30457 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30458 (do_pwrite64): Don't use CHECK_N.
30459 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30460 (__libc_readv): Don't use CHECK_N.
30461 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30462 (semop): Don't use CHECK_N.
30463 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30464 <bp-checks.h>.
30465 (semtimedop): Don't use CHECK_N.
30466 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30467 (__libc_pread): Don't use CHECK_N.
30468 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30469 <bp-checks.h>.
30470 (__libc_pread64): Don't use CHECK_N.
30471 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30472 <bp-checks.h>.
30473 (__libc_pwrite): Don't use CHECK_N.
30474 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30475 <bp-checks.h>.
30476 (__libc_pwrite64): Don't use CHECK_N.
30477 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30478 <bp-checks.h>.
30479 (__libc_msgrcv): Don't use CHECK_N.
30480 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30481 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30482 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30483 (__libc_writev): Don't use CHECK_N.
30484
b84660a8
RM
304852013-02-08 Roland McGrath <roland@hack.frob.com>
30486
7f3e75f8
RM
30487 * string/strcpy.c: Removed unused variable.
30488
b84660a8
RM
30489 * Makeconfig (+sysdep-includes): Define with := rather than =.
30490 Use an existing include/ subdir of each sysdeps dir before it.
30491
471514d3
CD
304922013-02-08 Carlos O'Donell <carlos@redhat.com>
30493
30494 * nscd/connection.c (register_traced_file): Comment function.
30495 [HAVE_INOTIFY] (union __inev): Define.
30496 [HAVE_INOTIFY] (inotify_check_files): New function.
30497 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30498 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30499 clear_db_cache.
30500 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30501
b2d3c3be
CD
305022013-02-08 Carlos O'Donell <carlos@redhat.com>
30503
30504 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30505 loaded if not already and that a failure is permanent.
30506
b39949d2
CD
305072013-02-08 Carlos O'Donell <carlos@redhat.com>
30508
ddacd1db 30509 [BZ #15006]
b39949d2
CD
30510 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30511 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30512
b2c9eff4
JM
305132013-02-08 Joseph Myers <joseph@codesourcery.com>
30514
f3aae3f3
JM
30515 [BZ #13550]
30516 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30517 (CHECK_1_NULL_OK): Likewise.
30518 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30519 (__fxstat): Do not use CHECK_1.
30520 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30521 <bp-checks.h>.
30522 (___fxstat64): Do not use CHECK_1.
30523 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30524 <bp-checks.h>.
30525 (__fxstatat): Do not use CHECK_1.
30526 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30527 <bp-checks.h>.
30528 (__fxstatat64): Do not use CHECK_1.
30529 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30530 <bp-checks.h>.
30531 (__fxstat): Do not use CHECK_1.
30532 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30533 <bp-checks.h>.
30534 (__fxstatat): Do not use CHECK_1.
30535 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30536 <bp-checks.h>.
30537 (__getresgid): Do not use CHECK_1.
30538 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30539 <bp-checks.h>.
30540 (__getresuid): Do not use CHECK_1.
30541 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30542 <bp-checks.h>.
30543 (__lxstat): Do not use CHECK_1.
30544 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30545 <bp-checks.h>.
30546 (__old_msgctl): Do not use CHECK_1.
30547 (__new_msgctl): Likewise.
30548 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30549 <bp-checks.h>.
30550 (__new_setrlimit): Do not use CHECK_1.
30551 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30552 <bp-checks.h>.
30553 (__old_shmctl): Do not use CHECK_1.
30554 (__new_shmctl): Likewise.
30555 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30556 <bp-checks.h>.
30557 (__xstat): Do not use CHECK_1.
30558 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30559 (__lxstat): Do not use CHECK_1.
30560 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30561 <bp-checks.h>.
30562 (___lxstat64): Do not use CHECK_1.
30563 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30564 (__old_msgctl): Do not use CHECK_1.
30565 (__new_msgctl): Likewise.
30566 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30567 <bp-checks.h>.
30568 (__gettimeofday): Do not use CHECK_1.
30569 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30570 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30571 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30572 <bp-checks.h>.
30573 (__gettimeofday): Do not use CHECK_1.
30574 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30575 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30576 (__new_shmctl): Do not use CHECK_1.
30577 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30578 <bp-checks.h>.
30579 (do_sigtimedwait): Do not use CHECK_1.
30580 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30581 <bp-checks.h>.
30582 (do_sigwaitinfo): Do not use CHECK_1.
30583 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30584 <bp-checks.h>.
30585 (msgctl): Do not use CHECK_1.
30586 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30587 <bp-checks.h>.
30588 (shmctl): Do not use CHECK_1.
30589 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30590 (ustat): Do not use CHECK_1.
30591 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30592 <bp-checks.h>.
30593 (__fxstat): Do not use CHECK_1.
30594 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30595 <bp-checks.h>.
30596 (__fxstatat): Do not use CHECK_1.
30597 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30598 <bp-checks.h>.
30599 (__lxstat): Do not use CHECK_1.
30600 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30601 <bp-checks.h>.
30602 (__xstat): Do not use CHECK_1.
30603 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30604 (__xstat): Do not use CHECK_1.
30605 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30606 (___xstat64): Do not use CHECK_1.
30607
b2c9eff4
JM
30608 [BZ #13550]
30609 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30610 definitions.
30611 (CHECK_BOUNDS_HIGH): Likewise.
30612 * string/strcpy.c: Do not include <bp-checks.h>.
30613 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30614
f1d70dad
RM
306152013-02-07 Roland McGrath <roland@hack.frob.com>
30616
30617 * nscd/nscd-client.h (__nscd_drop_map_ref):
30618 Add __attribute__ ((unused)).
30619 * nis/nss-nisplus.h (niserr2nss): Likewise.
30620
30621 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30622 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30623
30624 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30625 Remove inline keyword.
30626 * include/rounding-mode.h (round_away): Likewise.
30627 * libio/wfileops.c (adjust_wide_data): Likewise.
30628 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30629 (__m128i_strloadu_tolower): Likewise.
30630 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30631 (__m128i_strloadu_tolower): Likewise.
30632 * time/mktime.c (ydhms_diff): Likewise.
30633 * locale/elem-hash.h (elem_hash): Likewise.
30634 * locale/setlocale.c (setdata): Likewise.
30635 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30636 (re_string_wchar_at): Likewise.
30637 (bitset_not, bitset_merge, bitset_mask): Likewise.
30638 [!(__GNUC__ > 3)] (inline): Remove macro.
30639 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30640 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30641 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30642 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30643 * string/memcmp.c (memcmp_bytes): Likewise.
30644 * locale/programs/locarchive.c (compute_hashval): Likewise.
30645 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30646 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30647 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30648 * nss/getent.c (print_rpc, print_protocols): Likewise.
30649 (print_passwd, print_group, print_aliases): Likewise.
30650 * nis/nss-nisplus.h (niserr2nss): Likewise.
30651 * nscd/connections.c (restart_p): Likewise.
30652 Change return type to bool.
30653
eab55bfb
RM
306542013-02-05 Roland McGrath <roland@hack.frob.com>
30655
7bd642f5
RM
30656 * Makeconfig (all-Depend-files): Add existing
30657 $(sorted-subdirs:=/Depend) files.
30658 (all-subdirs): Remove nss.
30659 * sysdeps/unix/inet/Subdirs: Add it here instead.
30660 * hesiod/Depend: New file.
30661
573c29b2
RM
30662 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30663 instead of calling alloca.
30664
b2e25af0
RM
30665 * io/lseek.c (__lseek): Rename to __libc_lseek.
30666 Define __lseek as an alias.
30667
eab55bfb
RM
30668 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30669
9a0d1941
CD
306702013-02-04 Carlos O'Donell <carlos@redhat.com>
30671
30672 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30673 else clause and remove check for non-standard endianness.
30674
b83bbec4
DM
306752013-02-04 David S. Miller <davem@davemloft.net>
30676
30677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30678
6277fdab
JM
306792013-02-04 Joseph Myers <joseph@codesourcery.com>
30680
30681 [BZ #13550]
30682 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30683 (__ubp_memchr): Remove prototype.
30684 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30685 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30686 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30687 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30688 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30689 Remove alias.
30690 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30691 (__ubp_memchr): Likewise.
30692 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30693 (__ubp_memchr): Likewise.
30694 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30695 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30696 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30697 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30698 CHECK_STRING.
30699 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30700 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30701 (__getcwd): Do not use CHECK_STRING.
30702 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30703 <bp-checks.h>.
30704 (__real_chown): Do not use CHECK_STRING.
30705 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30706 <bp-checks.h>.
30707 (fchownat): Do not use CHECK_STRING.
30708 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30709 CHECK_STRING.
30710 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30711 <bp-checks.h>.
30712 (__lchown): Do not use CHECK_STRING.
30713 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30714 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30715 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30716 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30718 include <bp-checks.h>.
30719 (truncate64): Do not use CHECK_STRING.
30720 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30721 <bp-checks.h>.
30722 (__real_chown): Do not use CHECK_STRING.
30723 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30724 <bp-checks.h>.
30725 (__lchown): Do not use CHECK_STRING.
30726 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30727 <bp-checks.h>.
30728 (__chown): Do not use CHECK_STRING.
30729 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30730 <bp-checks.h>.
30731 (truncate64): Do not use CHECK_STRING.
30732 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30733 Likewise.
30734 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30735 (__xmknod): Do not use CHECK_STRING.
30736 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30737 <bp-checks.h>.
30738 (__xmknodat): Do not use CHECK_STRING.
30739 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30740 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30741
903ae060
AS
307422013-02-04 Andreas Schwab <schwab@suse.de>
30743
30744 [BZ #14142]
30745 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30746 * include/netdb.h: Likewise for h_errno.
30747 * elf/tst-stackguard1.c: Include <tls.h>.
30748
542f9466
JK
307492013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30750
30751 * elf/link.h (struct link_map): Extend the l_addr comment.
30752 * include/link.h (struct link_map): Likewise.
30753
e782a927
JM
307542013-02-01 Joseph Myers <joseph@codesourcery.com>
30755
30756 [BZ #13550]
30757 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30758 (BOUNDED_1): Remove macro.
30759 * debug/backtrace.c: Don't include <bp-checks.h>.
30760 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30761 (__backtrace): Likewise.
30762 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30763 <bp-checks.h>.
30764 (__backtrace): Don't use BOUNDED_1.
30765 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30766 <bp-checks.h>.
30767 (__backtrace): Don't use BOUNDED_1.
30768 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30769 (__backtrace): Don't use BOUNDED_1.
30770 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30771 (shmat): Don't use BOUNDED_N.
30772
8cf28c5e
JM
307732013-01-31 Joseph Myers <joseph@codesourcery.com>
30774
3a7ac8a0
JM
30775 [BZ #13550]
30776 * sysdeps/generic/bp-start.h: Remove file.
30777 * csu/libc-start.c: Don't include <bp-start.h>.
30778 (LIBC_START_MAIN): Set up __environ directly instead of using
30779 INIT_ARGV_and_ENVIRON.
30780 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30781 <bp-start.h>.
30782
f3499f95
JM
30783 [BZ #13550]
30784 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30785 definitions.
30786 (CHECK_FCNTL): Likewise.
30787 (CHECK_N_PAGES): Likewise.
30788
32a45bea
JM
30789 [BZ #13550]
30790 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30791 definitions.
30792 (CHECK_SIGSET_NULL_OK): Likewise.
30793 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30794 <bp-checks.h>.
30795 (sigpending): Don't use CHECK_SIGSET.
30796 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30797 <bp-checks.h>.
30798 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30799 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30800 <bp-checks.h>.
30801 (do_sigsuspend): Don't use CHECK_SIGSET.
30802 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30803 use CHECK_SIGSET.
30804 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30805 (do_sigwait): Don't use CHECK_SIGSET.
30806 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30807 use CHECK_SIGSET.
30808 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30809 include <bp-checks.h>.
30810 (sigpending): Don't use CHECK_SIGSET.
30811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30812 include <bp-checks.h>.
30813 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30814 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30815 <bp-checks.h>.
30816 (sigpending): Don't use CHECK_SIGSET.
30817 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30818 <bp-checks.h>.
30819 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30820
2e8a5c8c
JM
30821 [BZ #13550]
30822 * sysdeps/generic/bp-semctl.h: Remove file.
30823 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30824 <bp-checks.h> and <bp-semctl.h>.
30825 (__old_semctl): Don't use CHECK_SEMCTL.
30826 (__new_semctl): Likewise.
30827 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30828 and <bp-semctl.h>.
30829 (__old_semctl): Don't use CHECK_SEMCTL.
30830 (__new_semctl): Likewise.
30831 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30832 <bp-checks.h> and <bp-semctl.h>.
30833 (__old_semctl): Don't use CHECK_SEMCTL.
30834 (__new_semctl): Likewise.
30835 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30836 <bp-checks.h> and <bp-semctl.h>.
30837 (semctl): Don't use CHECK_SEMCTL.
30838
c2d54929
JM
30839 [BZ #13550]
30840 * Makerules (elide-bp-thunks): Remove variable.
30841 (elide-routines.oS): Don't use $(elide-bp-thunks).
30842 (elide-routines.os): Likewise.
30843 (elide-routines.o): Likewise.
30844 (elide-routines.op): Likewise.
30845 (elide-routines.og): Likewise.
30846 (objects): Don't use $(bp-thunks).
30847 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30848 include.
30849 (common-generated): Do not add s-proto-bp.d.
30850 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30851 (int): Likewise.
30852 (typ): Likewise.
30853 Do not generate makefile rules for bounded-pointer thunks.
30854 * sysdeps/generic/bp-thunks.h: Remove file.
30855 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30856 * sysdeps/unix/s-proto-bp.S: Likewise.
30857
8cf28c5e
JM
30858 [BZ #15062]
30859 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30860 parts of result separately when argument is not close to line from
30861 -i to i and one part of argument is small.
30862 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30863 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30864 * math/libm-test.inc (cacos_test): Add more tests.
30865 (casin_test): Likewise.
30866 (casinh_test): Likewise.
30867 * sysdeps/i386/fpu/libm-test-ulps: Update.
30868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30869
c4e33b8d
DM
308702013-01-31 David S. Miller <davem@davemloft.net>
30871
30872 * po/de.po: Update from translation team.
30873
3b60b421
MK
308742013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30875
30876 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30877
bb931195
TS
308782013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30879
b5a5da23
TS
30880 * configure.in (_AC_PROG_CC_C89): New definition.
30881 * configure: Regenerate.
30882
bb931195
TS
30883 * configure.in (AC_PROG_CPP): New definition.
30884 * configure: Regenerate.
30885
8c53a12c
JM
308862013-01-23 Joseph Myers <joseph@codesourcery.com>
30887
30888 * debug/tst-backtrace.h: New file.
30889 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30890 (ret): Remove variable.
30891 (x): Likewise.
30892 (FAIL): Remove macro.
30893 (NO_INLINE): Likewise.
30894 (fn1): Use match function instead of strstr.
30895 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30896 (ret): Remove variable.
30897 (x): Likewise.
30898 (FAIL): Remove macro.
30899 (NO_INLINE): Likewise.
30900 (fn): Use match function instead of strstr.
30901 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30902 (ret): Remove variable.
30903 (x): Likewise.
30904 (FAIL): Remove macro.
30905 (NO_INLINE): Likewise.
30906 (handle_signal): Use match function instead of strstr.
30907 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30908 (ret): Remove variable.
30909 (x): Likewise.
30910 (FAIL): Remove macro.
30911 (NO_INLINE): Likewise.
30912 (handle_signal): Use match function instead of strstr.
30913
4858fa2a
RM
309142013-01-23 Roland McGrath <roland@hack.frob.com>
30915
30916 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30917
bae8e7f5
DM
309182013-01-23 David S. Miller <davem@davemloft.net>
30919
30920 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30921 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30922 argument of CAS if possible.
30923 * sysdeps/sparc/sparc64/bits/atomic.h
30924 (__arch_compare_and_exchange_val_32_acq): Likewise.
30925 (__arch_compare_and_exchange_val_64_acq): Likewise.
30926
9cbbc4ae
PT
309272013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30928
30929 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30930 * sysdeps/posix/ulimit.c: ... this.
92a601b8 30931 Include <limits.h>.
67b3f58c 30932 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 30933
5655a0b5
AC
309342013-01-23 Adam Conrad <adconrad@0c3.net>
30935
30936 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30937 (LDFLAGS-tst-array5): Likewise.
30938
052aff95
JM
309392013-01-23 Joseph Myers <joseph@codesourcery.com>
30940
30941 [BZ #15036]
30942 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30943 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30944 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30945 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30946
7c1e01aa
DM
309472013-01-21 David S. Miller <davem@davemloft.net>
30948
30949 * sysdeps/sparc/backtrace.c: New file.
30950 * sysdeps/sparc/sparc32/backtrace.h: New file.
30951 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30952 * sysdeps/sparc/sparc64/backtrace.h: New file.
30953 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30954 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30955 -funwind-tables.
30956
ab087e0a
AS
309572013-01-21 Andreas Schwab <schwab@suse.de>
30958
30959 [BZ #15020]
30960 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30961 closed its stdout.
30962
ed689c2f
AS
309632013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30964
30965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30966 "mpa2.h".
30967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30968
31d470ac
JM
309692013-01-18 Joseph Myers <joseph@codesourcery.com>
30970 Mark Mitchell <mark@codesourcery.com>
30971 Tom de Vries <tom@codesourcery.com>
30972 Paul Pluzhnikov <ppluzhnikov@google.com>
30973
30974 * debug/tst-backtrace2.c: New file.
30975 * debug/tst-backtrace3.c: Likewise.
30976 * debug/tst-backtrace4.c: Likewise.
30977 * debug/tst-backtrace5.c: Likewise.
30978 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30979 (CFLAGS-tst-backtrace3.c): Likewise.
30980 (CFLAGS-tst-backtrace4.c): Likewise.
30981 (CFLAGS-tst-backtrace5.c): Likewise.
30982 (LDFLAGS-tst-backtrace2): Likewise.
30983 (LDFLAGS-tst-backtrace3): Likewise.
30984 (LDFLAGS-tst-backtrace4): Likewise.
30985 (LDFLAGS-tst-backtrace5): Likewise.
30986 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30987 tst-backtrace4 and tst-backtrace5.
30988
90567f30 309892013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
30990 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30991
30992 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30993 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30994 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30995 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30997 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30998 "+r" and remove output regs list as redundant. Add explicit inline
30999 asm to specify register of return val to work around compiler codegen
31000 bug. Remove (int) cast on return value. Add return type parameter to
31001 use in macro so that this macro does not truncate return value for
31002 64-bit values.
31003 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31004 pass to INTERNAL_VSYSCALL_NCS.
31005 (INLINE_VSYSCALL): Add 'long int' as return type to
31006 INTERNAL_VSYSCALL_NCS macro invocation.
31007 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31008 INTERNAL_VSYSCALL_NCS macro invocation.
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31010
d3b9ea61
SP
310112013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31012
0b57daeb
SP
31013 [BZ #14496]
31014 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31015 Fix application of SIMD FP exception mask.
31016
caa99d06
SP
31017 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31018 mp_no from a power of two.
31019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31020 __mpexp_twomm1. Use __pow_mp.
31021
d3b9ea61
SP
31022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31023 multiplication.
31024
1dbaee3c
DM
310252013-01-17 David S. Miller <davem@davemloft.net>
31026
31027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31028
728d7b43
JM
310292013-01-17 Joseph Myers <joseph@codesourcery.com>
31030
31031 [BZ #15023]
31032 * include/complex.h: Condition contents on [!_COMPLEX_H].
31033 (__kernel_casinhf): New prototype.
31034 (__kernel_casinh): Likewise.
31035 (__kernel_casinhl): Likewise.
31036 * math/Makefile (libm_calls): Add k_casinh.
31037 * math/k_casinh.c: New file.
31038 * math/k_casinhf.c: Likewise.
31039 * math/k_casinhl.c: Likewise.
31040 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31041 finite nonzero arguments.
31042 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31043 finite nonzero arguments.
31044 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31045 finite nonzero arguments.
31046 * math/s_casinh.c: Do not include <float.h>.
31047 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31048 * math/s_casinhf.c: Do not include <float.h>.
31049 (__casinhf): Move code for finite nonzero arguments to
31050 k_casinhf.c.
31051 * math/s_casinhl.c: Do not include <float.h>.
31052 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31053 redefine.
31054 (__casinhl): Move code for finite nonzero arguments to
31055 k_casinhl.c.
31056 * math/libm-test.inc (cacos_test): Add more tests.
31057 * sysdeps/i386/fpu/libm-test-ulps: Update.
31058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31059
2a26ef3a
PT
310602013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31061
31062 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31063 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31064 [!HAVE_MREMAP]: Remove [defined linux] case.
31065 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31066
a897655d
SP
310672013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31068
31069 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31070
881ebe89 310712013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31072
31073 * elf/elf.h (R_386_SIZE32): New relocation.
31074 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31075 R_386_SIZE32.
31076 (elf_machine_rela): Likewise.
31077 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31078 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31079
59981e9b
JM
310802013-01-17 Joseph Myers <joseph@codesourcery.com>
31081
31082 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31083 (FP_FAST_FMA): Do not define.
31084 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31085 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31086 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31087 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31088 !_SOFT_FLOAT]: Likewise.
31089 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31090 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31091 value.
31092 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31093 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31094 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31095 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31096 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31097 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31098 file.
31099
cfa8054f
AS
311002013-01-16 Andreas Schwab <schwab@suse.de>
31101
31102 [BZ #14327]
31103 * include/stdlib.h (__mktemp): Add declaration.
31104 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31105 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31106
dd930cc5
SP
311072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31108
881ebe89
SP
31109 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31110 definitions.
31111 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31112 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31113 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31114 definitions here.
31115 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31116 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31117 definitions.
31118 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31119 and ONE.
31120 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31121 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31122 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31123 definitions.
31124 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31125 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31126 definitions.
31127 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31128
dd930cc5
SP
31129 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31130
c19a9f89
DM
311312013-01-15 David S. Miller <davem@davemloft.net>
31132
1aa61767
DM
31133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31134 trunc{,f} to libm-sysdep_routes.
31135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31137 file.
31138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31140 file.
31141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31142 file.
31143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31145 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31146 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31147 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31148 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31149 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31150 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31151
c42d5e98
DM
31152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31153 nearbyint{,f} to libm-sysdep_routes.
31154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31156 New file.
31157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31158 file.
31159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31160 New file.
31161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31162 file.
31163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31165 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31166 file.
31167 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31168 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31169 file.
31170 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31171 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31172 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31173
c19a9f89
DM
31174 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31175 libc_feholdexcept and libc_fesetenv.
31176
357679d2
MF
311772013-01-15 Mike Frysinger <vapier@gentoo.org>
31178
31179 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31180
65a82e3d
DM
311812013-01-14 David S. Miller <davem@davemloft.net>
31182
8b954ab9
DM
31183 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31184 (SPARC_ASM_VIS2_IFUNC): Likewise.
31185 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31187 use of 'siam' instruction.
31188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31189 Likewise.
31190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31191 Likewise.
31192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31193 Likewise.
31194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31199 file.
31200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31201 file.
31202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31203 file.
31204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31205 file.
31206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31211 new VIS2 routines.
31212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31215 Likewise.
31216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31221 routines to libm-sysdep_routines.
31222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31223
65a82e3d
DM
31224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31225 fdim/fdimf to libm-sysdep_routines.
31226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31227 file.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31230 file.
31231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31234 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31235 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31236 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31237 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31238
e34ab705
SP
312392013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31240
2a91b573
SP
31241 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31242 to optimize copies.
31243
1066a534
SP
31244 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31247
e34ab705
SP
31248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31249 local variable MPTWO.
31250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31251 Likewise.
31252
aba5e596
MF
312532013-01-13 Mike Frysinger <vapier@gentoo.org>
31254
31255 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31256 GLOB_NOESCAPE.
31257
e557e9e5
MF
312582013-01-13 Mike Frysinger <vapier@gentoo.org>
31259
31260 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31261
0428cec9
MF
312622013-01-13 Mike Frysinger <vapier@gentoo.org>
31263
31264 * manual/pattern.texi (glob_t): Document gl_flags.
31265 (glob64_t): Likewise.
31266
8794a964
DM
312672013-01-11 David S. Miller <davem@davemloft.net>
31268
66438c3f
RM
31269 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31270 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31271 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31272 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31273 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31274 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31275 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31276 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31277 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31278 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31279 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31280 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31281 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31282
4ae4244d
DM
31283 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31284 sparc V9 rather than using V8 code.
31285 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31286 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31287
8794a964
DM
31288 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31289 Move to...
31290 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31291 Here.
31292
6270516e
RM
312932013-01-11 Roland McGrath <roland@hack.frob.com>
31294
31295 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31296 not in the main loop.
31297 * configure: Regenerated.
31298
6a57d931
JM
312992013-01-11 Joseph Myers <joseph@codesourcery.com>
31300
31301 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31302 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31303 to just #else.
31304 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31305 [!__GLIBC_HAVE_LONG_LONG] case.
31306 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31307 condition to just #else.
31308 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31309 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31310 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31311 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31312 unconditional.
31313 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31314 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31315 #elif condition to just #else.
31316 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31317 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31318 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31319 #elif condition to just #else.
31320
0e8529e9
SE
313212013-01-11 Steve Ellcey <sellcey@mips.com>
31322
31323 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31324 (EF_MIPS_ARCH_64): Fix value.
31325 (EF_MIPS_ARCH_32R2): New.
31326 (EF_MIPS_ARCH_64R2): New.
31327
740b3dbe
L
313282013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31329
31330 * Makeconfig (+link-pie-before-libc): New.
31331 (+link-pie-after-libc): Likewise.
31332 (+link-pie-tests): Likewise.
31333 (+link-pie): Rewritten.
31334 (link-before-libc): Remove $(config-LDFLAGS).
31335 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31336 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31337 (config-LDFLAGS): Renamed to ...
31338 (rtld-LDFLAGS): This.
31339 (rtld-tests-LDFLAGS): New macro.
31340 (link-libc-rpath-link): Likewise.
31341 (link-libc-tests-rpath-link): Likewise.
31342 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31343 (link-libc): Prepand $(link-libc-rpath-link).
31344 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31345 (test-program-prefix): New macro.
31346 (test-via-rtld-prefix): Likewise.
31347 (test-program-cmd): Likewise.
31348 (host-test-program-cmd): Likewise.
31349 * Makefile ($(common-objpfx)testrun.sh): Replace
31350 $(run-program-prefix) with $(test-program-prefix).
31351 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31352 $(rtld-LDFLAGS).
31353 ($(common-objpfx)shlib.lds): Likewise.
31354 (build-module-helper): Likewise.
31355 ($(common-objpfx)format.lds): Likewise.
31356 * Rules (binaries-pie-tests): New.
31357 (binaries-pie-notests): Likewise.
31358 (binaries-pie): Rewritten.
31359 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31360 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31361 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31362 (make-test-out): Replace $(host-built-program-cmd) with
31363 $(host-test-program-cmd).
31364 * config.make.in (build-hardcoded-path-in-tests): New variable.
31365 * configure.in (--enable-hardcoded-path-in-tests): New configure
31366 option.
31367 (hardcoded_path_in_tests): New AC_SUBST.
31368 * configure: Regenerated.
31369 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31370 $(built-program-cmd) with $(test-program-cmd).
31371 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31372 (test_program_cmd): This.
31373 * elf/Makefile ($(objpfx)order.out): Run test with
31374 $(test-program-prefix).
31375 ($(objpfx)order2.out): Likewise.
31376 ($(objpfx)tst-initorder.out): Likewise.
31377 ($(objpfx)tst-initorder2.out): Likewise.
31378 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31379 $(test-program-cmd).
31380 ($(objpfx)tst-array1-static.out): Likewise.
31381 ($(objpfx)tst-array2.out): Likewise.
31382 ($(objpfx)tst-array3.out): Likewise.
31383 ($(objpfx)tst-array4.out): Likewise.
31384 ($(objpfx)tst-array5.out): Likewise.
31385 ($(objpfx)tst-array5-static.out): Likewise.
31386 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31387 $(test-program-cmd).
31388 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31389 $(run-program-prefix) with $(test-program-prefix).
31390 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31391 (test_program_prefix): This.
31392 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31393 $(run-program-prefix) with $(test-program-prefix).
31394 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31395 (test_program_prefix): This.
31396 * iconvdata/tst-tables.sh: Likewise.
31397 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31398 $(run-program-prefix) with $(test-program-prefix).
31399 ($(objpfx)tst-translit.out): Likewise.
31400 ($(objpfx)tst-gettext2.out): Likewise.
31401 ($(objpfx)tst-gettext4.out): Likewise.
31402 ($(objpfx)tst-gettext6.out): Likewise.
31403 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31404 (test_program_prefix): This.
31405 * intl/tst-gettext2.sh: Likewise.
31406 * intl/tst-gettext4.sh Likewise.
31407 * intl/tst-gettext6.sh: Likewise.
31408 * intl/tst-translit.sh: Likewise.
31409 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31410 with $(test-program-cmd).
31411 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31412 $(run-program-prefix) with $(test-program-prefix).
31413 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31414 (test_program_prefix): This.
31415 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31416 $(run-program-prefix) with $(test-program-prefix).
31417 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31418 (test_program_prefix): This.
31419 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31420 * posix/Makefile ($(objpfx)globtest.out): Replace
31421 $(run-via-rtld-prefix) and $(test-wrapper) with
31422 $(test-program-prefix) and $(test-via-rtld-prefix).
31423 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31424 $(test-program-prefix).
31425 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31426 $(host-test-program-cmd).
31427 (tst-spawn-ARGS): Likewise.
31428 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31429 $(test-program-prefix).
31430 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31431 (test_via_rtld_prefix): This.
31432 (test_wrapper): Renamed to ...
31433 (test_program_prefix): This.
31434 (run_program_prefix): Replaced by test_program_prefix.
31435 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31436 (test_program_prefix): This.
31437 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31438 with $(host-test-program-cmd).
31439 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31440 $(run-program-prefix) with $(test-program-prefix).
31441 ($(objpfx)tst-printf.out): Likewise.
31442 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31443 $(test-program-cmd).
31444 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31445 (test_program_prefix): This.
31446 * stdio-common/tst-unbputc.sh: Likewise.
31447 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31448 $(run-program-prefix) with $(test-program-prefix).
31449 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31450 (test_program_prefix): This.
31451 * string/Makefile ($(objpfx)tst-svc.out): Replace
31452 $(built-program-cmd) with $(test-program-cmd).
31453
c6fe55cf
AJ
314542013-01-11 Andreas Jaeger <aj@suse.de>
31455
31456 [BZ #15003]
31457 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31458 value. Sync with Linux 3.7.
31459
9e6919c8
DM
314602013-01-10 David S. Miller <davem@davemloft.net>
31461
31462 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31463 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31464 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31465
1c9f1a02
RM
314662013-01-10 Roland McGrath <roland@hack.frob.com>
31467
31468 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31469 never set.
31470 * configure: Regenerated.
31471
b9de2dde
DM
314722013-01-10 David S. Miller <davem@davemloft.net>
31473
31474 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31475 sparc V9 rather than using V8 code.
31476 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31477 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31478
e7f68ef4
RM
314792013-01-10 Roland McGrath <roland@hack.frob.com>
31480
31481 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31482 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31483 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31484 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31485 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31486 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31487 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31488 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31489 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31490 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31491 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31492 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31493 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31494 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31495 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31496 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31497 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31498 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31499 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31500 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31501 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31502 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31503 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31504 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31505 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31506 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31507 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31508
5a47cc9c
DM
315092013-01-10 David S. Miller <davem@davemloft.net>
31510
31511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31512
4cf8f209
L
315132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31514
31515 * posix/Makefile (tests-static): New variable.
31516 (tests): Add $(tests-static).
31517 (tst-exec-static-ARGS): New variable.
31518 (tst-spawn-static-ARGS): Likewise.
31519 * posix/tst-exec-static.c: New file.
31520 * posix/tst-spawn-static.c: Likewise.
31521 * posix/tst-exec.c: Support run directly.
31522 * posix/tst-spawn.c: Likewise.
31523
fed0faa1
JM
315242013-01-10 Joseph Myers <joseph@codesourcery.com>
31525
828beb13
JM
31526 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31527 long.
31528 * math/bits/mathcalls.h (llrint): Likewise.
31529 (llround): Likewise.
31530 * stdlib/stdlib.h (struct drand48_data): Likewise.
31531 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31532 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31533 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31534 Likewise.
31535 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31536 Likewise.
31537 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31538 (elf_greg_t): Likewise.
31539 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31540 (__jmp_buf): Likewise.
31541 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31542 definitions.
31543 (llrint): Likewise, for all definitions.
31544 (llrintl): Likewise.
31545
fed0faa1
JM
31546 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31547 Remove [__GNUC__] condition.
31548 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31549 condition to just [__USE_ISOC99].
31550 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31551
1a20cb20
L
315522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31553
31554 [BZ #14200]
31555 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31556 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31557 defined.
31558 (_POSIX_V6_ILP32_OFF32): Likewise.
31559 (_XBS5_ILP32_OFF32): Likewise.
31560 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31561 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31562
751b85f7
SP
315632013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31564
7490eb81
SP
31565 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31566
751b85f7
SP
31567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31568 doubles __mpexp_twomm1. Adjust usage.
31569 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31570 Remove.
31571
988197f0
AS
315722013-01-10 Andreas Schwab <schwab@suse.de>
31573
31574 [BZ #14964]
31575 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31576 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31577
e83d7298
DM
315782013-01-09 David S. Miller <davem@davemloft.net>
31579
034ed64b 31580 [BZ #15003]
57f41c40
AS
31581 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31582 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31583 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31584 (TCP_FASTOPEN): Define.
e83d7298
DM
31585 (tcp_repair_opt): New structure.
31586 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31587 enum values.
57f41c40
AS
31588 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31589 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31590 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
31591 (tcp_cookie_transactions): New structure.
31592
d5e0b9bd
AB
315932013-01-09 Anton Blanchard <anton@samba.org>
31594
31595 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31596 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31597 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31598 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31599
0c07e3ea
JM
316002013-01-09 Joseph Myers <joseph@codesourcery.com>
31601
31602 * include/features.h (__USE_ANSI): Remove.
31603
232f7002
RM
316042013-01-09 Roland McGrath <roland@hack.frob.com>
31605
ad98e30c
RM
31606 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31607
232f7002
RM
31608 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31609
950c99ca
SP
316102013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31611
b5792741
SP
31612 * sysdeps/s390/fpu/libm-test-ulps: Update.
31613
47cf2278
SP
31614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31615
950c99ca
SP
31616 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31617 (__acr): Likewise.
31618 (__cpy): Likewise.
31619 (norm): Likewise.
31620 (denorm): Likewise.
31621 (__mp_dbl): Likewise.
31622 (__dbl_mp): Likewise.
31623 (add_magnitudes): Likewise.
31624 (sub_magnitudes): Likewise.
31625 (__add): Likewise.
31626 (__sub): Likewise.
31627 (__mul): Likewise.
31628 (__inv): Likewise.
31629 (__dvd): Likewise.
31630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31631 (__acr): Likewise.
31632 (__cpy): Likewise.
31633 (norm): Likewise.
31634 (denorm): Likewise.
31635 (__mp_dbl): Likewise.
31636 (__dbl_mp): Likewise.
31637 (add_magnitudes): Likewise.
31638 (sub_magnitudes): Likewise.
31639 (__add): Likewise.
31640 (__sub): Likewise.
31641 (__mul): Likewise.
31642 (__inv): Likewise.
31643 (__dvd): Likewise.
31644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31645 (__acr): Likewise.
31646 (__cpy): Likewise.
31647 (norm): Likewise.
31648 (denorm): Likewise.
31649 (__mp_dbl): Likewise.
31650 (__dbl_mp): Likewise.
31651 (add_magnitudes): Likewise.
31652 (sub_magnitudes): Likewise.
31653 (__add): Likewise.
31654 (__sub): Likewise.
31655 (__mul): Likewise.
31656 (__inv): Likewise.
31657 (__dvd): Likewise.
31658
eede9df9
JM
316592013-01-08 Joseph Myers <joseph@codesourcery.com>
31660
31661 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31662 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31663 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31664 2 && __USE_EXTERN_INLINES]: Likewise.
31665
c40ea3d9
AJ
316662013-01-08 Andreas Jaeger <aj@suse.de>
31667
31668 [BZ# 14985]
31669 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31670 Remove.
31671 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31672 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31673
2ccdea26
AB
316742013-01-07 Anton Blanchard <anton@samba.org>
31675
31676 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31677 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31678 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31679 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31680 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31681 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31682 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31683 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31685 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31686 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31687 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31688 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31689 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31690 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31691 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31692 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31693 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31694 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31695 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31696 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31697 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31698 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31699 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31700 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31701 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31702 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31703 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31704 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31705 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31706 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31708 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31709 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31710 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31711 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31712 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31713 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31714 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31715 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31716 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31717 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31718 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31719
a9708fed
JM
317202013-01-07 Joseph Myers <joseph@codesourcery.com>
31721
375607b9
JM
31722 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31723 (__MALLOC_PMT): Likewise.
31724 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31725 [__GNUC__], only on [_LIBC].
31726 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31727 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31728 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31729 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31730 forward declaration.
31731 (realloc_hook_ini): Likewise.
31732 (memalign_hook_ini): Likewise.
31733 (__libc_memalign): Do not use __MALLOC_PMT in variable
31734 declaration.
31735 (__libc_valloc): Likewise.
31736 (__libc_pvalloc): Likewise.
31737 (__libc_calloc): Likewise.
31738 (__posix_memalign): Likewise.
31739
a9708fed
JM
31740 [BZ #14996]
31741 * math/s_casinh.c: Include <float.h>.
31742 (__casinh): Do not do computation with squaring and square root
31743 for large arguments.
31744 * math/s_casinhf.c: Include <float.h>.
31745 (__casinhf): Do not do computation with squaring and square root
31746 for large arguments.
31747 * math/s_casinhl.c: Include <float.h>.
31748 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31749 (__casinhl): Do not do computation with squaring and square root
31750 for large arguments.
31751 * math/libm-test.inc (casin_test): Add more tests.
31752 (casinh_test): Likewise.
31753 * sysdeps/i386/fpu/libm-test-ulps: Update.
31754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31755
afec409a
L
317562013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31757
31758 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31759 (__x86_64_raw_data_cache_size): Likewise.
31760 (__x86_64_data_cache_size_half): Likewise.
31761 (__x86_64_raw_data_cache_size_half): Likewise.
31762 (__x86_64_shared_cache_size): Likewise.
31763 (__x86_64_raw_shared_cache_size): Likewise.
31764 (__x86_64_shared_cache_size_half): Likewise.
31765 (__x86_64_raw_shared_cache_size_half): Likewise.
31766 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31767 to ...
31768 (__x86_data_cache_size): This.
31769 (__x86_64_raw_data_cache_size): Renamed to ...
31770 (__x86_raw_data_cache_size): This.
31771 (__x86_64_data_cache_size_half): Renamed to ...
31772 (__x86_data_cache_size_half): This.
31773 (__x86_64_raw_data_cache_size_half): Renamed to ...
31774 (__x86_raw_data_cache_size_half): This.
31775 (__x86_64_shared_cache_size): Renamed to ...
31776 (__x86_shared_cache_size): This.
31777 (__x86_64_raw_shared_cache_size): Renamed to ...
31778 (__x86_raw_shared_cache_size): This.
31779 (__x86_64_shared_cache_size_half): Renamed to ...
31780 (__x86_shared_cache_size_half): This.
31781 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31782 (__x86_raw_shared_cache_size_half): This.
31783 * sysdeps/x86_64/memcpy.S: Updated.
31784 * sysdeps/x86_64/memset.S: Likewise.
31785 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31786 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31787 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31788
0b3986d0
DM
317892013-01-04 David S. Miller <davem@davemloft.net>
31790
31791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31792
e47686e9
AS
317932013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31794
d643bac1
AS
31795 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31796 1 to avoid redefinition warning.
31797 (__USE_GNU): Don't define.
31798 (init_signaling_nan): Protoize.
31799
e47686e9
AS
31800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31801
b18decba
SP
318022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31803
fffb407f
SP
31804 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31806 (__cpymn): Likewise.
31807 (norm): Remove commented code.
31808 (denorm): Likewise.
31809 (__mp_dbl): Likewise.
31810 (__inv): Likewise.
31811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31812 (__cpymn): Likewise.
31813 (norm): Remove commented code.
31814 (denorm): Likewise.
31815 (__mp_dbl): Likewise.
31816 (__inv): Likewise.
31817
b18decba
SP
31818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31819 mp_no value for 1.0 and 2.0.
31820 (norm): Use RADIXI instead of radixi.d.
31821 (denorm): Likewise.
31822 (__mul): Use 0.0 instead of zero.d.
31823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31824 mp_no value for 1.0 and 2.0.
31825 (norm): Use RADIXI instead of radixi.d.
31826 (denorm): Likewise.
31827 (__mul): Use 0.0 instead of zero.d.
31828
cdc1c96f
JM
318292013-01-04 Joseph Myers <joseph@codesourcery.com>
31830
31831 [BZ #14994]
31832 * math/s_casinh.c (__casinh): Reduce finite argument to first
31833 quadrant then set signs of results at the end.
31834 * math/s_casinhf.c (__casinhf): Likewise.
31835 * math/s_casinhl.c (__casinhl): Likewise.
31836 * math/libm-test.inc (casin_test): Add more tests.
31837 (casinh_test): Likewise.
31838 * sysdeps/i386/fpu/libm-test-ulps: Update.
31839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31840
302913e1
SP
318412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31842
6420d207
SP
31843 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31844
a9e48ab4
SP
31845 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31846
b7837264
SP
31847 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31848 declarations.
31849 (denorm): Likewise.
31850 (__mp_dbl): Likewise.
31851 (__inv): Likewise.
31852
f8af25d2
SP
31853 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31854 and adjust the header comment.
31855
302913e1
SP
31856 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31857 variable name from declaration.
31858
5d7dd1ca
L
318592013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31860
31861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31862 Initialize COMMON_CPUID_INDEX_7 element.
31863 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31864 (CPUID_RTM): Likewise.
31865 (HAS_RTM): Likewise.
31866 (COMMON_CPUID_INDEX_7): New enum.
31867
2f5f40f4
AS
318682013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31869
31870 [BZ #14981]
31871 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31872 size is zero, record memory as freed.
31873
4056f4a0
AJ
318742013-01-03 Andreas Jaeger <aj@suse.de>
31875
31876 * po/ia.po: Add new Interlingua translation.
31877
ab15736f 318782012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
31879
31880 * locale/programs/localedef.c: Fix description of '--posix' flag.
31881
568035b7
JM
318822013-01-02 Joseph Myers <joseph@codesourcery.com>
31883
e6898b8d
JM
31884 * NEWS: Update dates in second copyright notice.
31885 * README: Update copyright dates in example.
31886 * manual/libc.texinfo: Update copyright dates.
31887 * scripts/test-installation.pl: Update copyright date in --version
31888 output.
31889
0e2f9562
JM
31890 * hurd/ctty-input.c: Fix copyright notice formatting.
31891 * hurd/ctty-output.c: Likewise.
31892 * hurd/dtable.c: Likewise.
31893 * hurd/hurd-raise.c: Likewise.
31894 * hurd/hurdprio.c: Likewise.
31895 * hurd/msgportdemux.c: Likewise.
31896 * misc/sys/file.h: Likewise.
31897 * misc/sys/ioctl.h: Likewise.
31898 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31899 * sysdeps/mach/hurd/chdir.c: Likewise.
31900 * sysdeps/mach/hurd/fchdir.c: Likewise.
31901 * sysdeps/mach/hurd/rename.c: Likewise.
31902 * sysdeps/mach/hurd/rmdir.c: Likewise.
31903 * sysdeps/mach/hurd/seekdir.c: Likewise.
31904 * sysdeps/mach/hurd/setsid.c: Likewise.
31905 * sysdeps/posix/wait3.c: Likewise.
31906
568035b7
JM
31907 * All files with FSF copyright notices: Update copyright dates
31908 using scripts/update-copyrights.
31909 * intl/plural.c: Regenerated.
31910 * locale/programs/charmap-kw.h: Likewise.
31911 * locale/programs/locfile-kw.h: Likewise.
31912
da08f647
SP
319132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31914
0f5477af
SP
31915 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31916 four values.
31917
44e0d4c2
SP
31918 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31919 calculation loop and add branch prediction.
31920
4d55b4e5
SP
31921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31922 check access beyond bounds of m1np.
31923
da08f647
SP
31924 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31925 MPTWO.
31926 (__inv): Remove local variable MPTWO to use the global
31927 constant.
31928 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31930 variable MPTWO.
31931 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31932 MP3HALFS static const.
31933
8e051029
DM
319342013-01-01 David S. Miller <davem@davemloft.net>
31935
31936 * po/ca.po: Update from translation team.
31937
f4cf5f2d
JM
319382013-01-01 Joseph Myers <joseph@codesourcery.com>
31939
31940 * scripts/update-copyrights: New file.
31941 * Makeconfig: Reformat copyright notice.
31942 * ctype/ctype.h: Likewise.
31943 * debug/swprintf_chk.c: Likewise.
31944 * elf/dl-cache.c: Likewise.
31945 * elf/dl-debug.c: Likewise.
31946 * elf/dl-object.c: Likewise.
31947 * grp/initgroups.c: Likewise.
31948 * hurd/Makefile: Likewise.
31949 * hurd/hurd/signal.h: Likewise.
31950 * hurd/hurdfault.c: Likewise.
31951 * hurd/hurdioctl.c: Likewise.
31952 * hurd/hurdlookup.c: Likewise.
31953 * hurd/intr-msg.c: Likewise.
31954 * iconv/gconv_open.c: Likewise.
31955 * libio/swprintf.c: Likewise.
31956 * locale/lc-ctype.c: Likewise.
31957 * locale/nl_langinfo.c: Likewise.
31958 * mach/Machrules: Likewise.
31959 * mach/Makefile: Likewise.
31960 * malloc/obstack.h: Likewise.
31961 * manual/Makefile: Likewise.
31962 * manual/tsort.awk: Likewise.
31963 * misc/bits/stab.def: Likewise.
31964 * nis/nis_print_group_entry.c: Likewise.
31965 * nis/nis_table.c: Likewise.
31966 * nis/nss_compat/compat-pwd.c: Likewise.
31967 * nis/nss_compat/compat-spwd.c: Likewise.
31968 * po/Makefile: Likewise.
31969 * posix/fnmatch.c: Likewise.
31970 * posix/regex.h: Likewise.
31971 * resolv/Makefile: Likewise.
31972 * resolv/nss_dns/dns-network.c: Likewise.
31973 * resolv/res_hconf.c: Likewise.
31974 * scripts/gen-sorted.awk: Likewise.
31975 * soft-fp/soft-fp.h: Likewise.
31976 * stdio-common/printf.h: Likewise.
31977 * stdlib/monetary.h: Likewise.
31978 * stdlib/random.c: Likewise.
31979 * stdlib/random_r.c: Likewise.
31980 * sysdeps/generic/Makefile: Likewise.
31981 * sysdeps/gnu/Makefile: Likewise.
31982 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31984 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31986 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31989 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31992 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31993 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31994 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31995 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32003 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32004 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32005 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32006 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32007 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32008 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32009 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32010 * sysdeps/mach/hurd/errnos.awk: Likewise.
32011 * sysdeps/mach/hurd/fork.c: Likewise.
32012 * sysdeps/mach/hurd/getcwd.c: Likewise.
32013 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32014 * sysdeps/mach/hurd/mmap.c: Likewise.
32015 * sysdeps/mach/hurd/utimes.c: Likewise.
32016 * sysdeps/mach/hurd/xmknod.c: Likewise.
32017 * sysdeps/posix/profil.c: Likewise.
32018 * sysdeps/posix/readdir_r.c: Likewise.
32019 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32020 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32021 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32022 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32024 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32025 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32026 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32028 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32029 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32030 * sysdeps/pthread/lio_listio.c: Likewise.
32031 * sysdeps/sparc/dl-procinfo.h: Likewise.
32032 * sysdeps/unix/i386/sysdep.S: Likewise.
32033 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32034 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32035 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32036 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32038 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32039 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32040 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32041 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32042 * sysdeps/wordsize-32/divdi3.c: Likewise.
32043 * time/sys/time.h: Likewise.
32044 * wcsmbs/Makefile: Likewise.
32045
0549fbba
DM
320462013-01-01 David S. Miller <davem@davemloft.net>
32047
a141f1a7
DM
32048 * po/fr.po: Update from translation team.
32049
0549fbba
DM
32050 * catgets/gencat.c: Update copyright year.
32051 * csu/version.c: Likewise.
32052 * debug/catchsegv.sh: Likewise.
32053 * debug/pcprofiledump.c: Likewise.
32054 * debug/xtrace.sh: Likewise.
32055 * elf/ldconfig.c: Likewise.
32056 * elf/ldd.bash.in: Likewise.
32057 * elf/pldd.c: Likewise.
32058 * elf/sotruss.ksh: Likewise.
32059 * elf/sprof.c: Likewise.
32060 * iconv/iconv_prog.c: Likewise.
32061 * iconv/iconvconfig.c: Likewise.
32062 * locale/programs/locale.c: Likewise.
32063 * locale/programs/localedef.c: Likewise.
32064 * login/programs/pt_chown.c: Likewise.
32065 * malloc/memusage.sh: Likewise.
32066 * malloc/memusagestat.c: Likewise.
32067 * malloc/mtrace.pl: Likewise.
32068 * nscd/nscd.c: Likewise.
32069 * nss/getent.c: Likewise.
32070 * nss/makedb.c: Likewise.
32071 * posix/getconf.c: Likewise.
32072
18ea052c
SP
320732012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32074
32075 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32076 numbers.
32077
9c89fca6
MF
320782012-12-30 Mike Frysinger <vapier@gentoo.org>
32079
32080 * math/bits/mathcalls.h (modf): Use __nonnull.
32081
085ec079
SP
320822012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32083
32084 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32085 (split): Use macro CN instead of the bare value.
32086 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32087 could be used.
32088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32089 instead of the bare value.
32090 (power1): Likewise.
32091
6d9f97e1
SP
320922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32093
d63f73be
SP
32094 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32095 __ATAN_TWOM.
32096 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32097
6d9f97e1
SP
32098 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32099 their values.
32100 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32101 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32102 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32103 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32104
4c4febf5
AJ
321052012-12-28 Andreas Jaeger <aj@suse.de>
32106
af5843ef
AJ
32107 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32108 values are from Linux 3.7.
32109
4c4febf5
AJ
32110 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32111 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32112
99136f82
SP
321132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32114
2f216c3c 32115 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32116 TRUE case.
32117
99136f82
SP
32118 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32119 (norm): Likewise.
32120 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32121 variables with preprocessor constants.
32122 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32123 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32124 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32125
7fffbdff
BH
321262012-12-27 Bruno Haible <bruno@clisp.org>
32127
32128 [BZ #14317]
32129 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32130 only if needed.
32131
b76eb5f0
SP
321322012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32133
31a7fe5c
SP
32134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32135 and use variable directly.
32136 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32137
b76eb5f0
SP
32138 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32139 MPONE.
32140 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32142 variable MPONE.
32143 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32145 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32146 include directive. Remove local variable MPONE.
32147 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32148 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32149 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32150
2c8bfe7d
DM
321512012-12-25 David S. Miller <davem@davemloft.net>
32152
32153 * version.h (RELEASE): Set to "development".
32154 (VERSION): Set to "2.17.90".
32155 * NEWS: Add 2.18 section.
32156
147d03b0
DM
321572012-12-21 David S. Miller <davem@davemloft.net>
32158
32159 * po/hr.po: Update from translation team.
32160
a8ebb2b9
AK
321612012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32162
32163 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32164
95b4f1b6
SE
321652012-12-19 Steve Ellcey <sellcey@mips.com>
32166
b2d94007 32167 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32168
cedb2a90
MS
321692012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32170
32171 * manual/contrib.texi (Contributors): Spelling correction.
32172
bbf527d6
DM
321732012-12-15 David S. Miller <davem@davemloft.net>
32174
32175 * po/ru.po: Update from translation team.
32176
bc38c906
DM
321772012-12-13 David S. Miller <davem@davemloft.net>
32178
85429b1a
DM
32179 * NEWS: Mention IFUNC testsuite enhancements.
32180
d283e353
DM
32181 * po/pl.po: Update from translation team.
32182 * po/bg.po: Likewise.
32183
bc38c906
DM
32184 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32185 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32186
a181b0d7
DM
321872012-12-11 David S. Miller <davem@davemloft.net>
32188
4641d57e
DM
32189 * po/sv.po: Update from translation team.
32190
f7bc6495
DM
32191 * po/vi.po: Update from translation team.
32192
6fc9048f
DM
32193 * po/cs.po: Update from translation team.
32194
a181b0d7
DM
32195 * po/de.po: Update from translation team.
32196 * po/eo.po: Likewise.
32197 * po/nl.po: Likewise.
32198
f70bfe80
SP
321992012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32200
3c8b4190
SP
32201 [BZ #14246]
32202 * manual/argp.texi (Argp Helper Functions): Move node to follow
32203 Argp Parsing State.
32204
f70bfe80
SP
32205 [BZ #14872]
32206 * manual/conf.texi (Limits on File System Capacity): Mention if
32207 terminating null is included in the max size.
32208
188f0adf
AJ
322092012-12-10 Andreas Jaeger <aj@suse.de>
32210
32211 * po/cs.po: Update from translation team.
32212
56e7d3ad
SP
322132012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32214
32215 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32216 void pointer and cast to uintptr_t.
32217 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32218 path.
32219 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32220 * sysdeps/s390/s390-64/memset.S: Likewise.
32221
76f2d2ea 322222012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32223
32224 [BZ #14833]
32225 * menual/message.texi (Message Translation): Fix typos.
32226 (Helper programs for gettext): Likewise.
32227
67cbf9a2
AS
322282012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32229
32230 [BZ #14898]
32231 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32232 Change to -1.
32233
682d0e9a
DM
322342012-12-07 David S. Miller <davem@davemloft.net>
32235
32236 * po/libc.pot: Update.
32237
573cd484
RH
322382012-12-07 Richard Henderson <rth@redhat.com>
32239
7e9da188 32240 [BZ #10114]
573cd484
RH
32241 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32242 normal/normal case to before the switch.
32243 (_FP_DIV): Likewise.
32244
e933a943
MF
322452012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32246 Mike Frysinger <vapier@gentoo.org>
32247
32248 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32249 check for __NR_fadvise64_64.
32250
82123268
CM
322512012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32252
32253 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32254 0, not just to plain "0" as a statement.
32255 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32256 with cw.
32257
d9814526
JM
322582012-12-06 Joseph Myers <joseph@codesourcery.com>
32259
32260 * NEWS: Use sourceware.org in Bugzilla URL.
32261
7728c574
SP
322622012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32263
f16946dd
SP
32264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32265 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32266
5704bbcb
SP
32267 * stdio-common/tst-put-error.c (do_test): Add newline to the
32268 padded test to ensure flush.
32269
17aa0516
JL
322702012-12-05 Jeff Law <law@redhat.com>
32271
32272 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32273
363313b5
JM
322742012-12-05 Joseph Myers <joseph@codesourcery.com>
32275
effbd42a
JM
32276 * README: Don't refer to ports add-on as distributed separately.
32277 Mention AArch64 in list of systems supported in the ports add-on.
32278
87600365
JM
32279 * LICENSES: Add more non-FSF copyright and license notices.
32280
a0d7066a
JM
32281 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32282 ((unused)).
32283
66ca5a5b
JM
32284 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32285
363313b5
JM
32286 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32287 10000 as width of padded output.
32288
b37984ad
JM
322892012-12-04 Joseph Myers <joseph@codesourcery.com>
32290
9003570a
JM
32291 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32292
b37984ad
JM
32293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32294 variable LX with __attribute__ ((unused)).
32295 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32296 Likewise.
32297 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32298 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32299 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32300 with __attribute__ ((unused)).
32301
c8df52ec
DM
323022012-12-04 David S. Miller <davem@abraco.davemloft.net>
32303
32304 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32305
b3b099af
JM
323062012-12-04 Joseph Myers <joseph@codesourcery.com>
32307
c33aa6e3
JM
32308 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32309 (CFLAGS-nldbl-acos.c): New variable.
32310 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32311 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32312 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32313 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32314 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32315 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32316 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32317 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32318 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32319 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32320 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32321 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32322 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32323 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32324 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32325 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32326 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32327 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32328 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32329 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32330 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32331 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32332 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32333 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32334 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32335 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32336 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32337 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32338 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32339 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32340 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32341 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32342 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32343 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32344 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32345 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32346 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32347 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32348 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32349 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32350 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32351 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32352 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32353 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32354 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32355 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32356 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32357 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32358 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32359 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32360 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32361 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32362 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32363 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32364 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32365 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32366 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32367 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32368 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32369 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32370 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32371 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32372 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32373 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32374 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32375 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32376 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32377 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32378 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32379 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32380 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32381 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32382 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32383 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32384 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32385 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32386 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32387 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32388 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32389 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32390 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32391 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32392 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32393 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32394 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32395 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32396 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32397 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32398 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32399 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32400 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32401 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32402 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32403 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32404 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32405 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32406 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32407
20f0018d
JM
32408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32409 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32410
b3b099af
JM
32411 [BZ #14914]
32412 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32413 whole low double instead of just low 47 bits when splitting values
32414 into two parts.
32415
029264d1
AM
324162012-12-03 Allan McRae <allan@archlinux.org>
32417
32418 * manual/stdio.texi (Predefined Printf Handlers): Remove
32419 @hsep and @vsep usage.
32420
c9d6789e
MF
324212012-12-03 Mike Frysinger <vapier@gentoo.org>
32422
32423 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32424 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32425
4b7634a5
JL
324262012-12-03 Jeff Law <law@redhat.com>
32427
32428 * time/sys/time.h (settimeofday): Do not mark TV argument
32429 as __nonnull.
32430
eb6cbd24
MF
324312012-12-01 Mike Frysinger <vapier@gentoo.org>
32432
32433 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32434 when currently writing and seek to current position when not.
32435 * libio/Makefile (tests): Remove bug-fclose1.
32436 * libio/bug-fclose1.c: Delete.
32437
f638872a
JM
324382012-12-01 Joseph Myers <joseph@codesourcery.com>
32439
32440 * manual/arith.texi (feenableexcept): Fix typo.
32441 (fedisableexcept): Likewise.
32442
48085d14
RM
324432012-11-30 Roland McGrath <roland@hack.frob.com>
32444
32445 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32446 second, differently-typed declaration, rather than a cast.
32447
1a538b9f
SP
324482012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32449
32450 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32451 * include/rpc/svc.h: ... here.
32452
d07f2ff1 324532012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
32454
32455 [BZ #13013]
32456 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32457 depending n and resplen2 to catch cases where answer
32458 equals answerp2.
32459
c93ec1f0
CD
324602012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32461
32462 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32463 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32464
37db69de
MF
324652012-11-29 Mike Frysinger <vapier@gentoo.org>
32466
32467 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32468
e10c4e4f
RM
324692012-11-29 Roland McGrath <roland@hack.frob.com>
32470
32471 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32472
2af1b328
JL
324732012-11-28 Jeff Law <law@redhat.com>
32474
32475 [BZ #13761]
32476 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32477 dataset_temporary. Track alloca usage into alloca_used.
32478 If dataset is large allocate and release it via malloc/free.
32479
111db5b1
FW
324802012-06-04 Florian Weimer <fweimer@redhat.com>
32481
f06cc227 32482 [BZ #14197]
111db5b1
FW
32483 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32484
dd694abd
DM
324852012-11-28 David S. Miller <davem@davemloft.net>
32486
32487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32488
9984dd01
JM
324892012-11-28 Joseph Myers <joseph@codesourcery.com>
32490
32491 [BZ #14803]
32492 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32493 of pi/2 rounded to nearest to 64 bits.
32494 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32495 nearest to 64 bits.
32496 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32497 bits.
32498
14bc93a9
JL
324992012-11-28 Jeff Law <law@redhat.com>
32500 Martin Osvald <mosvald@redhat.com>
32501
32502 [BZ #14889]
32503 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32504 * sunrpc/svc.c: Include time.h.
32505 (__svc_accept_failed): New function.
32506 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32507 any reason other than EINTR, call __svc_accept_failed.
32508 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32509 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32510
e3c6aa3a
AS
325112012-11-28 Andreas Schwab <schwab@suse.de>
32512
32513 * scripts/abilist.awk: Also handle indirect functions in .opd
32514 section.
32515
1bead169
JM
325162012-11-28 Joseph Myers <joseph@codesourcery.com>
32517
32518 [BZ #13881]
32519 * sysdeps/x86/fpu/powl_helper.c: New file.
32520 * sysdeps/x86/fpu/Makefile: Likewise.
32521 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32522 (p3): New object.
32523 (__ieee754_powl): Use __powl_helper for finite arguments except
32524 integer exponents below 8.
32525 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32526 (p3): New object.
32527 (__ieee754_powl): Use __powl_helper for finite arguments except
32528 integer exponents below 8.
32529 * math/libm-test.inc (pow_test): Add more tests and enable some
32530 previously disabled tests.
32531 * sysdeps/i386/fpu/libm-test-ulps: Update.
32532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32533
0817d63d
SP
325342012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32535 Carlos O'Donell <carlos_odonell@mentor.com>
32536
32537 * nss/makedb.c (is_prime): Assert that input is odd and greater
32538 than 4. Note that fact in a comment too.
32539 (next_prime): Add 4 to input.
32540
de2fd463
SP
325412012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32542
32543 [BZ #11741]
32544 * libio/Makefile (tests): Add test case tst-fwrite-error.
32545 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32546 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32547 * libio/tst-fwrite-error.c: New test case.
32548
c515fb51
L
325492012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32550
32551 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32552 before casting to void *.
32553 * include/libc-internal.h (__pointer_type): New macro.
32554 (__integer_if_pointer_type_sub): Likewise.
32555 (__integer_if_pointer_type): Likewise.
32556 (cast_to_integer): Likewise.
32557 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32558 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32559 before casting to atomic64_t.
32560 (atomic_exchange_acq): Likewise.
32561 (__arch_exchange_and_add_body): Likewise.
32562 (__arch_add_body): Likewise.
32563 (atomic_add_negative): Likewise.
32564 (atomic_add_zero): Likewise.
32565
4cf77aa9
JM
325662012-11-26 Joseph Myers <joseph@codesourcery.com>
32567
32568 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32569 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32570 (add_fdes): Likewise.
32571 (linear_search_fdes): Likewise.
32572 (binary_search_unencoded_fdes): Likewise.
32573
d260b3b4
AS
325742012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32575
32576 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32577
67060746
AC
325782012-11-24 Adam Conrad <adconrad@0c3.net>
32579
32580 * configure.in: Autodetect C++ header directories.
32581 * configure: Regenerated.
32582
800938a1
MF
325832012-11-23 Mike Frysinger <vapier@gentoo.org>
32584
32585 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32586
4e6e34e6
AS
325872012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32588
32589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32590
7c7feb47
JM
325912012-11-22 Joseph Myers <joseph@codesourcery.com>
32592
7184dcdf
JM
32593 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32594 LDBL_MANT_DIG == 106]: Disable some tests.
32595 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32596 Likewise.
32597 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32598 Likewise.
32599
0a42601f
JM
32600 [BZ #14871]
32601 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32602 input for small inputs. Return +/- pi/2 for large inputs.
32603 * math/libm-test.inc (atan_test): Add more tests.
32604
79c9b9fe
JM
32605 * sysdeps/generic/unwind-dw2-fde-glibc.c
32606 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32607 __attribute__ ((unused)).
32608
c60d3bf2
JM
32609 [BZ #14645]
32610 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32611 x * y if x and y are nonzero and z is zero.
32612
ef1e0867
JM
32613 [BZ #14811]
32614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32615 nonzero exponents with absolute value below 0x1p-117 to +/-
32616 0x1p-117.
32617
1468ded3
JM
32618 [BZ #14869]
32619 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32620 up arguments below 2**-450, not just those below 2**-500.
32621 * math/libm-test.inc (hypot_test): Add another test.
32622
8e27e3cc
JM
32623 [BZ #14868]
32624 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32625 Return a+b for ratio over 2**120, not 2**60.
32626 * math/libm-test.inc (hypot_test): Add another test.
32627
c9c0279b
JM
32628 * math/libm-test.inc (clog_test): Use
32629 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32630 (clog10_test): Likewise.
32631
7c7feb47
JM
32632 [BZ #6778]
32633 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32634
fff1530e
AS
326352012-11-22 Andreas Schwab <schwab@suse.de>
32636
32637 * sysdeps/i386/fpu/libm-test-ulps: Update.
32638
94558d30
PT
326392012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32640
32641 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32642 printf output with newline.
32643
7e1be741
L
326442012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32645
6bfea974
L
32646 [BZ #14865]
32647 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32648 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32649 -z nodlopen, -z initfirst and -z execstack support.
32650 * configure: Regenerated.
32651
7e1be741
L
32652 * elf/elf.h (DF_1_NODIRECT): New macro.
32653 (DF_1_IGNMULDEF): Likewise.
32654 (DF_1_NOKSYMS): Likewise.
32655 (DF_1_NOHDR): Likewise.
32656 (DF_1_EDITED): Likewise.
32657 (DF_1_NORELOC): Likewise.
32658 (DF_1_SYMINTPOSE): Likewise.
32659 (DF_1_GLOBAUDIT): Likewise.
32660 (DF_1_SINGLETON): Likewise.
32661 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32662 DT_1_SUPPORTED_MASK bits.
32663 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32664
105ce2ce
CD
326652012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32666
32667 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32668
123be9de
TS
326692012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32670
d072f3f7
TS
32671 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32672 macro.
32673
123be9de
TS
32674 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32675 (sendmmsg): Move declarations...
32676 * socket/sys/socket.h: ... here.
32677 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32678 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32679 include it from...
32680 * socket/recvmmsg.c: ... this new file.
32681 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32682 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32683 definition of __sendmmsg hidden.
32684 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32685 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32686 Move ENOSYS stub into and include it from...
32687 * socket/sendmmsg.c: ... this new file.
32688 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32689 (sysdep_routines): Move recvmmsg and sendmmsg...
32690 * socket/Makefile (routines): ... here.
32691 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32692 (GLIBC_PRIVATE): Add __sendmmsg.
32693 * include/sys/socket.h (__sendmmsg): Add declarations.
32694 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32695 sendmmsg.
32696
cf9a5d18
JM
326972012-11-20 Joseph Myers <joseph@codesourcery.com>
32698
32699 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32700 variable I1 with __attribute__ ((unused)).
32701 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32702
ecd4caf9
JM
327032012-11-19 Joseph Myers <joseph@codesourcery.com>
32704
be14d48f
JM
32705 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32706 DUMMY variables with __attribute__ ((unused)).
32707
ecd4caf9
JM
32708 * bits/byteswap.h: Include <bits/types.h>.
32709 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32710
986cab95
PT
327112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32712
32713 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32714 string_t. Do not manually set errno.
32715 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32716 length with __strnlen. Make sure to both set errno and return it on
32717 failure.
32718
6d33cc9d
DM
327192012-11-19 David S. Miller <davem@davemloft.net>
32720
32721 With help from Joseph Myers.
32722 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32723 very large arguments properly.
32724 * math/libm-test.inc (atan_test): New tests.
32725 (atan2_test): New tests.
32726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32728
ee663277
JM
327292012-11-19 Joseph Myers <joseph@codesourcery.com>
32730
877f2d8e
JM
32731 [BZ #14856]
32732 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32733 Define to 3.
32734
116fc08a
JM
32735 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32736 [POSIX] (EADDRNOTAVAIL): Likewise.
32737 [POSIX] (EAFNOSUPPORT): Likewise.
32738 [POSIX] (EALREADY): Likewise.
32739 [POSIX] (ECONNABORTED): Likewise.
32740 [POSIX] (ECONNREFUSED): Likewise.
32741 [POSIX] (ECONNRESET): Likewise.
32742 [POSIX] (EDESTADDRREQ): Likewise.
32743 [POSIX] (EDQUOT): Likewise.
32744 [POSIX] (EHOSTUNREACH): Likewise.
32745 [POSIX] (EIDRM): Likewise.
32746 [POSIX] (EISCONN): Likewise.
32747 [POSIX] (ELOOP): Likewise.
32748 [POSIX] (EMULTIHOP): Likewise.
32749 [POSIX] (ENETDOWN): Likewise.
32750 [POSIX] (ENETUNREACH): Likewise.
32751 [POSIX] (ENOBUFS): Likewise.
32752 [POSIX] (ENODATA): Likewise.
32753 [POSIX] (ENOLINK): Likewise.
32754 [POSIX] (ENOMSG): Likewise.
32755 [POSIX] (ENOPROTOOPT): Likewise.
32756 [POSIX] (ENOSR): Likewise.
32757 [POSIX] (ENOSTR): Likewise.
32758 [POSIX] (ENOTCONN): Likewise.
32759 [POSIX] (ENOTSOCK): Likewise.
32760 [POSIX] (EOPNOTSUPP): Likewise.
32761 [POSIX] (EOVERFLOW): Likewise.
32762 [POSIX] (EPROTO): Likewise.
32763 [POSIX] (EPROTONOSUPPORT): Likewise.
32764 [POSIX] (EPROTOTYPE): Likewise.
32765 [POSIX] (ESTALE): Likewise.
32766 [POSIX] (ETIME): Likewise.
32767 [POSIX] (ETXTBSY): Likewise.
32768 [POSIX] (EWOULDBLOCK): Likewise.
32769 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32770 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32771 [POSIX] (SEEK_CUR): Likewise.
32772 [POSIX] (SEEK_END): Likewise.
32773 [POSIX || UNIX98] (mode_t): Do not require.
32774 [POSIX] (off_t): Likewise.
32775 [POSIX] (pid_t): Likewise.
32776 [POSIX] (sys/stat.h): Do not allow header.
32777 [POSIX] (unistd.h): Likewise.
32778 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32779 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32780 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32781 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32782 require.
32783 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32784 sigevent): Specify elements.
32785 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32786 entry.
32787 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32788 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32789
a483863f
JM
32790 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32791 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32792 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32793 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32794 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32795 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32796 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32797 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32798 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32799 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32800 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32801 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32802 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32803 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32804 Likewise.
32805 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32806 Likewise.
32807 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32808 Likewise.
32809 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32810 Likewise.
32811 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32812 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32813 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32814 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32815 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32816 Specify lower bound on value.
32817 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32819 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32820 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32821 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32822 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32823 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32824 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32825 value.
32826 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32827 as optional.
32828 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32829 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32830 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32831 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32832 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32833 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32834 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32835 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32836 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32837 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32838 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32839 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32840 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32841 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32842 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32843 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32844 entry.
32845 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32846 optional.
32847 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32848 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32849 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32850 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32851 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32852 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32853 Likewise.
32854 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32855 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32856 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32857 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32858 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32859 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32860 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32861 as optional.
32862 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32863 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32864 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32865 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32866 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32867 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32868 specify as optional.
32869 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32870 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32871 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32872 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32873 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32874 [XPG3] (NL_LANGMAX): Likewise.
32875 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32876 [POSIX || XPG3] (NL_NMAX): Likewise.
32877 [POSIX || XPG3] (NL_SETMAX): Likewise.
32878 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32879 [XPG3] (NZERO): Likewise.
32880 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32881 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32882 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32883 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32884 (REG_ERANGE): Expect.
32885 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32886 optional-constant.
32887 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32888 Use (void) in prototype.
32889 [POSIX] (*_t): Allow.
32890 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32891 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32892 (WRDE_BADVAL): Expect.
32893
5ba924e3
JM
32894 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32895 expect.
32896 [XPG3 || XPG4] (O_RSYNC): Likewise.
32897 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32898 Likewise.
32899 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32900 [XPG3 || XPG4] (sigqueue): Likewise.
32901 [XPG3 || XPG4] (sigtimedwait): Likewise.
32902 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32903 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32904 [XPG3 || XPG4] (vsnprintf): Likewise.
32905 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32906 Likewise.
32907 [XPG3 || XPG4] (blksize_t): Likewise.
32908 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32909 Likewise.
32910 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32911 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32912 [XPG3 || XPG4] (struct itimerspec): Likewise.
32913 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32914 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32915 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32916 [XPG3 || XPG4] (clockid_t): Likewise.
32917 [XPG3 || XPG4] (timer_t): Likewise.
32918 [XPG3 || XPG4] (clock_getres): Likewise.
32919 [XPG3 || XPG4] (clock_gettime): Likewise.
32920 [XPG3 || XPG4] (clock_settime): Likewise.
32921 [XPG3 || XPG4] (nanosleep): Likewise.
32922 [XPG3 || XPG4] (timer_create): Likewise.
32923 [XPG3 || XPG4] (timer_delete): Likewise.
32924 [XPG3 || XPG4] (timer_gettime): Likewise.
32925 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32926 [XPG3 || XPG4] (timer_settime): Likewise.
32927 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32928 [XPG3 || XPG4] (getlogin_r): Likewise.
32929 [XPG3 || XPG4] (pread): Likewise.
32930 [XPG3 || XPG4] (pthread_atfork): Likewise.
32931 [XPG3 || XPG4] (pwrite): Likewise.
32932
ee663277
JM
32933 [BZ #14835]
32934 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32935 <bits/siginfo.h>.
32936
942caa16
PT
329372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32938
e19af380
PT
32939 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32940 finalizing MALLSTREAM.
32941
942caa16
PT
32942 * sysdeps/mach/hurd/syncfs.c: New file.
32943
cfde9b46
SP
329442012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32945
32946 [BZ #14719]
32947 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32948 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32949 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32950 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32951 (_nss_dns_gethostbyname4_r): Likewise.
32952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32953 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32954
f6da27e5
PH
329552012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32956
32957 [BZ #13763]
32958 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32959
6665d4a2
SM
329602012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32961
1f51ee92
SM
32962 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32963 * elf/cache.c (print_entry): Print ",AArch64" for
32964 FLAG_AARCH64_LIB64
32965
6665d4a2
SM
32966 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32967 * elf/cache.c (print_entry): Print ",hard-float" for
32968 FLAG_ARM_LIBHF.
32969
05b227bd
DM
329702012-11-18 David S. Miller <davem@davemloft.net>
32971
32972 With help from Joseph Myers.
32973 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32974 cutoff to 2**-13.
32975 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32976 cutoff to 2**-25.
32977 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32978 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32979 small.
32980 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32981 * math/libm-test.inc (y0_test): New tests.
32982 (y1_test): New tests.
32983 * sysdeps/i386/fpu/libm-test-ulps: Update.
32984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32986
786b0b67
AS
329872012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32988
32989 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32990 64-bit targets.
32991 * configure: Regenerated.
32992
8e18b86d
DM
329932012-11-17 David S. Miller <davem@davemloft.net>
32994
32995 [BZ #14811]
32996 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32997 nonzero exponents with absolute value below 0x1p-128 to +/-
32998 0x1p-128.
32999
531f1ae0
JM
330002012-11-17 Joseph Myers <joseph@codesourcery.com>
33001
12df29e2
JM
33002 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33003
150dc1a0
JM
33004 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33005
531f1ae0
JM
33006 * posix/getconf-speclist.c: New file.
33007 * posix/posix-envs.def: Likewise.
33008 * posix/confstr.c (START_ENV_GROUP): New macro.
33009 (END_ENV_GROUP): Likewise.
33010 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33011 (KNOWN_PRESENT_ENV_STRING): Likewise.
33012 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33013 (UNKNOWN_ENVIRONMENT): Likewise.
33014 (confstr): Include posix-envs.def instead of handling
33015 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33016 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33017 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33018 (END_ENV_GROUP): Likewise.
33019 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33020 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33021 (UNKNOWN_ENVIRONMENT): Likewise.
33022 (__sysconf): Include posix-envs.def instead of handling associated
33023 cases directly here.
33024 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33025 preprocessing getconf-speclist.c rather than running getconf or
33026 generating empty file.
33027
a93f9cbc
PT
330282012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33029
33030 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33031
d64d9f87
AL
330322012-11-16 Andrej Lajovic <natrij@gmail.com>
33033
33034 [BZ #14672]
33035 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33036
447885eb
DM
330372012-11-16 David S. Miller <davem@davemloft.net>
33038
33039 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33040 smaller than LDBL_EPSILON/2.0L, just return xm1.
33041
bcbf9830
L
330422012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33043
33044 * elf/tst-array1.c (init): Set constructor priority to 1000.
33045 (fini): Set destructor priority to 1000.
33046 * elf/tst-array2dep.c: Likewise.
33047
2b766585
SP
330482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33049
33050 [BZ #11741]
33051 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33052 (_IO_new_file_xsputn): Also return EOF if none of the input
33053 data was written when overflow failed.
33054 * libio/iopadn.c (_IO_padn): Likewise.
33055 * libio/iowpadn.c (_IO_wpadn): Likewise.
33056 * stdio-common/tst-put-error.c: Add copyright notice.
33057 (do_test): Add case for printing padded string.
33058 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33059 _IO_padn returned error.
33060 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33061 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33062 return EOF.
33063
b1848fde
SP
330642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33065
33066 * libio/libioP.h: Add comment note that the references to C++
33067 bits are now obsolete.
33068
2fd89785
MS
330692012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33070
33071 * math/libm-test.inc (check_complex): Use asprintf.
33072
e3ea5409
JM
330732012-11-14 Joseph Myers <joseph@codesourcery.com>
33074
33075 * debug/pcprofiledump.c (print_version): Update copyright year.
33076 * malloc/memusagestat.c (print_version): Likewise.
33077
2e64d265
L
330782012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33079
33080 [BZ #14831]
33081 * elf/Makefile (tests): Add tst-audit8.
33082 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33083 ($(objpfx)tst-audit8.out): New target.
33084 (tst-audit8-ENV): New variable.
33085 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33086 audit if l_reloc_result is NULL.
33087 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33088 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33089 * elf/tst-audit8.c: New file.
33090
c485e4d2
MS
330912012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33092
33093 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33094 * misc/Makefile (CFLAGS-select.c): Define.
33095 * posix/Makefile (CFLAGS-pause.c): Define.
33096
3a0d900a
DM
330972012-11-13 David S. Miller <davem@davemloft.net>
33098
33099 * crypt/Makefile: Move test targets after toplevel Rules
33100 inclusion. Grab any necessary sysdep routines when linking.
33101 * crypt/md5.c (md5_process_block): Remove define, we will always
33102 name it __md5_process_block.
33103 (md5_finish_ctx): Update md5_process_block call.
33104 (md5_stream): Likewise.
33105 (md5_process_bytes): Likewise.
33106 (md5_process_block): Rename to __md5_process_block and move to ...
33107 * crypt/md5-block.c: ... here.
33108 * crypt/sha256.c (sha256_process_block): Move to ...
33109 * crypt/sha256-block.c: ... here.
33110 * crypt/sha512.c (sha512_process_block): Move to ...
33111 * crypt/sha512-block.c: ... here.
33112 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33113 path.
33114 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33115 * sysdeps/sparc/sparc64/multiarch/Makefile
33116 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33117 crypt subdir.
33118 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33119 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33120 multiarch changes.
33121 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33122 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33123 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33124 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33125 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33126 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33127 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33128 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33129 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33130 file.
33131 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33132 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33133 file.
33134 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33135
8ca89318
JM
331362012-11-13 Joseph Myers <joseph@codesourcery.com>
33137
e27d476a
JM
33138 * timezone/tzselect.ksh: Update from tzcode git revision
33139 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33140 * timezone/zdump.c: Likewise.
33141 * timezone/zic.c: Likewise.
33142 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33143 in TZVERSION setting, not $(PKGVERSION).
33144 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33145 REPORT_BUGS_TO settings.
33146
8ca89318
JM
33147 [BZ #14838]
33148 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33149 macro.
33150
47594329
MS
331512012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33152
33153 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33154 detection to immediately after _FP_ROUND().
33155 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33156 bits are 0.
33157
640ac3f1
DM
331582012-11-11 David S. Miller <davem@davemloft.net>
33159
33160 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33161 inttypes.h
33162 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33163 __close rather than their public counterparts.
33164
3d2577bb
JM
331652012-11-10 Joseph Myers <joseph@codesourcery.com>
33166
33167 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33168 file.
33169 [UNIX98] (sem_timedwait): Do not expect.
33170 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33171 [XPG4 || UNIX98] (sockatmark): Do not expect.
33172 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33173 (clock_getcpuclockid): Do not expect.
33174 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33175 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33176 Do not expect.
33177 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33178 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33179 [UNIX98] (vwscanf): Likewise.
33180 [UNIX98] (vswscanf): Likewise.
33181
fb1ae1ee
JM
331822012-11-09 Joseph Myers <joseph@codesourcery.com>
33183
9ec6f8bd
JM
33184 * timezone/version.h: Remove file.
33185 * timezone/README: Do not refer to version.h.
33186 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33187 $(objpfx)version.h.
33188 ($(objpfx)zdump.o): Likewise.
c3f81911 33189 ($(objpfx)version.h): New target.
9ec6f8bd 33190
0aa8f8a1
JM
33191 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33192 2012i.
33193 * timezone/README: Don't mention modification to tzselect.ksh.
33194 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33195 work on unmodified tzselect.ksh. Substitute version numbers in
33196 tzselect.ksh.
33197
4e87147f
JM
33198 * Makefile (format-me): Remove.
33199 (INSTALL): Adjust indentation. Use commands directly instead of
33200 using $(format-me).
33201
8b748aed
JM
33202 * aclocal.m4 (ACX_PKGVERSION): New macro.
33203 (ACX_BUGURL): Likewise.
33204 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33205 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33206 (REPORT_BUGS_TO): Likewise.
33207 * configure: Regenerated.
33208 * config.h.in (PKGVERSION): New macro.
33209 (REPORT_BUGS_TO): Likewise.
33210 * config.make.in (PKGVERSION): New variable.
33211 (PKGVERSION_TEXI): Likewise.
33212 (REPORT_BUGS_TO): Likewise.
33213 (REPORT_BUGS_TEXI): Likewise.
33214 * Makefile (format-me): Use -I$(common-objpfx)manual.
33215 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33216 ($(common-objpfx)manual/%): New target.
33217 (manual/%): Remove target.
33218 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33219 (print_version): Use PKGVERSION.
33220 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33221 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33222 and REPORT_BUGS_TO.
33223 ($(objpfx)xtrace): Likewise.
33224 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33225 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33226 (print_version): Use PKGVERSION.
33227 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33228 (do_version): Use PKGVERSION.
33229 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33230 REPORT_BUGS_TO.
33231 (common-ldd-rewrite): Likewise.
33232 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33233 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33234 (print_version): Use PKGVERSION.
33235 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33236 * elf/pldd.c (argp_program_bug_address): Remove variable.
33237 (more_help): New function.
33238 (argp): Use more_help.
33239 (print_version): Use PKGVERSION.
33240 * elf/sln.c (main): Use PKGVERSION.
33241 (usage): Use REPORT_BUGS_TO.
33242 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33243 (top level): Use PKGVERSION.
33244 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33245 (print_version): Use PKGVERSION.
33246 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33247 (print_version): Use PKGVERSION.
33248 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33249 (print_version): Use PKGVERSION.
33250 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33251 (print_version): Use PKGVERSION.
33252 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33253 (print_version): Use PKGVERSION.
33254 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33255 (print_version): Use PKGVERSION.
33256 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33257 and BUGURL.
33258 ($(objpfx)memusage): Likewise.
33259 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33260 (do_version): Use PKGVERSION.
33261 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33262 (print_version): Use PKGVERSION.
33263 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33264 ($PKGVERSION): New variable.
33265 ($REPORT_BUGS_TO): Likewise.
33266 (usage): Use $REPORT_BUGS_TO.
33267 (top level): Use $PKGVERSION.
33268 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33269 ($(objpfx)pkgvers.texi): New rule.
33270 ($(objpfx)stamp-pkgvers): Likewise.
33271 * manual/install.texi: Include pkgvers.texi.
33272 (--with-pkgversion): Document new configure option.
33273 (--with-bugurl): Likewise.
33274 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33275 than necessarily for this particular distribution. Use
33276 REPORT_BUGS_TO for where to report bugs.
33277 * INSTALL: Regenerated.
33278 * manual/libc.texinfo: Include pkgvers.texi.
33279 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33280 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33281 (print_version): Use PKGVERSION.
33282 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33283 (print_version): Use PKGVERSION.
33284 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33285 (print_version): Use PKGVERSION.
33286 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33287 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33288 macro.
33289 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33290 (print_version): Use PKGVERSION.
33291 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33292 (print_version): Use PKGVERSION.
33293 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33294 and PKGVERSION.
33295
92e4b6a9
JM
33296 * timezone/checktab.awk: Update from tzcode 2012i.
33297 * timezone/ialloc.c: Likewise.
33298 * timezone/private.h: Likewise.
33299 * timezone/scheck.c: Likewise.
33300 * timezone/tzfile.h: Likewise.
33301 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33302 (TZVERSION): Hardcode tzcode version number.
33303 * timezone/zdump.c: Update from tzcode 2012i.
33304 * timezone/zic.c: Likewise.
33305 * timezone/version.h: New file.
33306 * timezone/README: Describe version.h. Update upstream location.
33307
9bde902c
JM
33308 [BZ #14824]
33309 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33310 (mktemp): Enable declaration.
33311 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33315 Likewise.
33316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33317 Likewise.
33318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33319 Likewise.
33320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33321 Likewise.
33322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33323 Likewise.
33324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33325 Likewise.
33326
fb1ae1ee
JM
33327 [BZ #14821]
33328 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33329 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33330 for copies of such integer values.
33331 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33332 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33333
2c1adbcb
AJ
333342012-11-09 Andreas Jaeger <aj@suse.de>
33335
33336 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33337 definitions and declarations that are provided by
33338 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33339
d0f8457e
AK
333402012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33341
3a235abb 33342 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
33343 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33344 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33345 definition.
33346
57241e26
MS
333472012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33348
33349 * elf/elf.h: Update comment before AArch64 relocations.
33350
60e8270d
DM
333512012-11-07 David S. Miller <davem@davemloft.net>
33352
33353 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33354 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33355 (__start_context): Declare.
33356 (__makecontext_ret): Delete.
33357 (__makecontext): Hook up __start_context instead of
33358 __makecontext_ret.
33359 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33360 (sysdep_routines): Add __start_context when in stdlib.
33361
0fbb0fbc
JM
333622012-11-07 Joseph Myers <joseph@codesourcery.com>
33363
33364 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33365 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33366 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33367 hardcoded "nm".
33368 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33369 (READELF): New variable. Use it instead of hardcoded "readelf".
33370
eb48db7e
L
333712012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33372
33373 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33374 * sysdeps/x86/Makefile: Here.
33375 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33376 * sysdeps/x86/tst-xmmymm.sh: This.
33377
05bcf62a
JM
333782012-11-07 Joseph Myers <joseph@codesourcery.com>
33379
c4b6cf53
JM
33380 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33381 expectations.
33382 [UNIX98] (pthread_barrier_t): Do not expect.
33383 [UNIX98] (pthread_barrierattr_t): Likewise.
33384 [UNIX98] (pthread_spinlock_t): Likewise.
33385 [UNIX98] (pthread_barrier_destroy): Likewise.
33386 [UNIX98] (pthread_barrier_init): Likewise.
33387 [UNIX98] (pthread_barrier_wait): Likewise.
33388 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33389 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33390 [UNIX98] (pthread_barrierattr_init): Likewise.
33391 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33392 [UNIX98] (pthread_getcpuclockid): Likewise.
33393 [UNIX98] (pthread_mutex_timedlock): Likewise.
33394 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33395 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33396 [UNIX98] (pthread_sigmask): Likewise.
33397 [UNIX98] (pthread_spin_destroy): Likewise.
33398 [UNIX98] (pthread_spin_init): Likewise.
33399 [UNIX98] (pthread_spin_lock): Likewise.
33400 [UNIX98] (pthread_spin_trylock): Likewise.
33401 [UNIX98] (pthread_spin_unlock): Likewise.
33402 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33403 Do not expect.
33404 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33405 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33406 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33407 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33408 [XPG3 || XPG4] (pthread_key_t): Likewise.
33409 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33410 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33411 [XPG3 || XPG4] (pthread_once_t): Likewise.
33412 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33413 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33414 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33415 [XPG3 || XPG4] (pthread_t): Likewise.
33416
cbe6e120
JM
33417 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33418 not expect.
33419 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33420
1b126443
JM
33421 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33422 Change function return type to int.
33423
b961a573
JM
33424 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33425 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33426 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33427 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33428 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33429 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33430 [!POSIX] (posix_madvise): Likewise.
33431 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33432 && !UNIX98].
33433 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33434 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33435 (mode_t): Likewise.
33436 (posix_mem_offset): Likewise.
33437 (posix_typed_mem_get_info): Likewise.
33438 (posix_typed_mem_open): Likewise.
33439
9e188909
JM
33440 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33441 Change condition to [XOPEN2K8].
33442
05bcf62a
JM
33443 * conform/conformtest.pl: Preprocess allow-header data with -x c
33444 instead of from stdin.
33445 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33446 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33447 [C99-based standards] (cerfc): Likewise.
33448 [C99-based standards] (cexp2): Likewise.
33449 [C99-based standards] (cexpm1): Likewise.
33450 [C99-based standards] (clog10): Likewise.
33451 [C99-based standards] (clog1p): Likewise.
33452 [C99-based standards] (clog2): Likewise.
33453 [C99-based standards] (clgamma): Likewise.
33454 [C99-based standards] (ctgamma): Likewise.
33455 [C99-based standards] (cerff): Likewise.
33456 [C99-based standards] (cerfcf): Likewise.
33457 [C99-based standards] (cexp2f): Likewise.
33458 [C99-based standards] (cexpm1f): Likewise.
33459 [C99-based standards] (clog10f): Likewise.
33460 [C99-based standards] (clog1pf): Likewise.
33461 [C99-based standards] (clog2f): Likewise.
33462 [C99-based standards] (clgammaf): Likewise.
33463 [C99-based standards] (ctgammaf): Likewise.
33464 [C99-based standards] (cerfl): Likewise.
33465 [C99-based standards] (cerfcl): Likewise.
33466 [C99-based standards] (cexp2l): Likewise.
33467 [C99-based standards] (cexpm1l): Likewise.
33468 [C99-based standards] (clog10l): Likewise.
33469 [C99-based standards] (clog1pl): Likewise.
33470 [C99-based standards] (clog2l): Likewise.
33471 [C99-based standards] (clgammal): Likewise.
33472 [C99-based standards] (ctgammal): Likewise.
33473 * conform/data/inttypes.h-data [C99-based standards]: Include
33474 stdint.h-data. Remove all expectations for stdint.h contents.
33475 [C99-based standards] (PRI*): Do not allow.
33476 [C99-based standards] (SCN*): Likewise.
33477 [C99-based standards] (*_t): Likewise.
33478 [C99-based-standards] (PRId8): Expect macro.
33479 [C99-based-standards] (PRIi8): Likewise.
33480 [C99-based-standards] (PRIo8): Likewise.
33481 [C99-based-standards] (PRIu8): Likewise.
33482 [C99-based-standards] (PRIx8): Likewise.
33483 [C99-based-standards] (PRIX8): Likewise.
33484 [C99-based-standards] (SCNd8): Likewise.
33485 [C99-based-standards] (SCNi8): Likewise.
33486 [C99-based-standards] (SCNo8): Likewise.
33487 [C99-based-standards] (SCNu8): Likewise.
33488 [C99-based-standards] (SCNx8): Likewise.
33489 [C99-based-standards] (PRIdLEAST8): Likewise.
33490 [C99-based-standards] (PRIiLEAST8): Likewise.
33491 [C99-based-standards] (PRIoLEAST8): Likewise.
33492 [C99-based-standards] (PRIuLEAST8): Likewise.
33493 [C99-based-standards] (PRIxLEAST8): Likewise.
33494 [C99-based-standards] (PRIXLEAST8): Likewise.
33495 [C99-based-standards] (SCNdLEAST8): Likewise.
33496 [C99-based-standards] (SCNiLEAST8): Likewise.
33497 [C99-based-standards] (SCNoLEAST8): Likewise.
33498 [C99-based-standards] (SCNuLEAST8): Likewise.
33499 [C99-based-standards] (SCNxLEAST8): Likewise.
33500 [C99-based-standards] (PRIdFAST8): Likewise.
33501 [C99-based-standards] (PRIiFAST8): Likewise.
33502 [C99-based-standards] (PRIoFAST8): Likewise.
33503 [C99-based-standards] (PRIuFAST8): Likewise.
33504 [C99-based-standards] (PRIxFAST8): Likewise.
33505 [C99-based-standards] (PRIXFAST8): Likewise.
33506 [C99-based-standards] (SCNdFAST8): Likewise.
33507 [C99-based-standards] (SCNiFAST8): Likewise.
33508 [C99-based-standards] (SCNoFAST8): Likewise.
33509 [C99-based-standards] (SCNuFAST8): Likewise.
33510 [C99-based-standards] (SCNxFAST8): Likewise.
33511 [C99-based-standards] (PRId16): Likewise.
33512 [C99-based-standards] (PRIi16): Likewise.
33513 [C99-based-standards] (PRIo16): Likewise.
33514 [C99-based-standards] (PRIu16): Likewise.
33515 [C99-based-standards] (PRIx16): Likewise.
33516 [C99-based-standards] (PRIX16): Likewise.
33517 [C99-based-standards] (SCNd16): Likewise.
33518 [C99-based-standards] (SCNi16): Likewise.
33519 [C99-based-standards] (SCNo16): Likewise.
33520 [C99-based-standards] (SCNu16): Likewise.
33521 [C99-based-standards] (SCNx16): Likewise.
33522 [C99-based-standards] (PRIdLEAST16): Likewise.
33523 [C99-based-standards] (PRIiLEAST16): Likewise.
33524 [C99-based-standards] (PRIoLEAST16): Likewise.
33525 [C99-based-standards] (PRIuLEAST16): Likewise.
33526 [C99-based-standards] (PRIxLEAST16): Likewise.
33527 [C99-based-standards] (PRIXLEAST16): Likewise.
33528 [C99-based-standards] (SCNdLEAST16): Likewise.
33529 [C99-based-standards] (SCNiLEAST16): Likewise.
33530 [C99-based-standards] (SCNoLEAST16): Likewise.
33531 [C99-based-standards] (SCNuLEAST16): Likewise.
33532 [C99-based-standards] (SCNxLEAST16): Likewise.
33533 [C99-based-standards] (PRIdFAST16): Likewise.
33534 [C99-based-standards] (PRIiFAST16): Likewise.
33535 [C99-based-standards] (PRIoFAST16): Likewise.
33536 [C99-based-standards] (PRIuFAST16): Likewise.
33537 [C99-based-standards] (PRIxFAST16): Likewise.
33538 [C99-based-standards] (PRIXFAST16): Likewise.
33539 [C99-based-standards] (SCNdFAST16): Likewise.
33540 [C99-based-standards] (SCNiFAST16): Likewise.
33541 [C99-based-standards] (SCNoFAST16): Likewise.
33542 [C99-based-standards] (SCNuFAST16): Likewise.
33543 [C99-based-standards] (SCNxFAST16): Likewise.
33544 [C99-based-standards] (PRId32): Likewise.
33545 [C99-based-standards] (PRIi32): Likewise.
33546 [C99-based-standards] (PRIo32): Likewise.
33547 [C99-based-standards] (PRIu32): Likewise.
33548 [C99-based-standards] (PRIx32): Likewise.
33549 [C99-based-standards] (PRIX32): Likewise.
33550 [C99-based-standards] (SCNd32): Likewise.
33551 [C99-based-standards] (SCNi32): Likewise.
33552 [C99-based-standards] (SCNo32): Likewise.
33553 [C99-based-standards] (SCNu32): Likewise.
33554 [C99-based-standards] (SCNx32): Likewise.
33555 [C99-based-standards] (PRIdLEAST32): Likewise.
33556 [C99-based-standards] (PRIiLEAST32): Likewise.
33557 [C99-based-standards] (PRIoLEAST32): Likewise.
33558 [C99-based-standards] (PRIuLEAST32): Likewise.
33559 [C99-based-standards] (PRIxLEAST32): Likewise.
33560 [C99-based-standards] (PRIXLEAST32): Likewise.
33561 [C99-based-standards] (SCNdLEAST32): Likewise.
33562 [C99-based-standards] (SCNiLEAST32): Likewise.
33563 [C99-based-standards] (SCNoLEAST32): Likewise.
33564 [C99-based-standards] (SCNuLEAST32): Likewise.
33565 [C99-based-standards] (SCNxLEAST32): Likewise.
33566 [C99-based-standards] (PRIdFAST32): Likewise.
33567 [C99-based-standards] (PRIiFAST32): Likewise.
33568 [C99-based-standards] (PRIoFAST32): Likewise.
33569 [C99-based-standards] (PRIuFAST32): Likewise.
33570 [C99-based-standards] (PRIxFAST32): Likewise.
33571 [C99-based-standards] (PRIXFAST32): Likewise.
33572 [C99-based-standards] (SCNdFAST32): Likewise.
33573 [C99-based-standards] (SCNiFAST32): Likewise.
33574 [C99-based-standards] (SCNoFAST32): Likewise.
33575 [C99-based-standards] (SCNuFAST32): Likewise.
33576 [C99-based-standards] (SCNxFAST32): Likewise.
33577 [C99-based-standards] (PRId64): Likewise.
33578 [C99-based-standards] (PRIi64): Likewise.
33579 [C99-based-standards] (PRIo64): Likewise.
33580 [C99-based-standards] (PRIu64): Likewise.
33581 [C99-based-standards] (PRIx64): Likewise.
33582 [C99-based-standards] (PRIX64): Likewise.
33583 [C99-based-standards] (SCNd64): Likewise.
33584 [C99-based-standards] (SCNi64): Likewise.
33585 [C99-based-standards] (SCNo64): Likewise.
33586 [C99-based-standards] (SCNu64): Likewise.
33587 [C99-based-standards] (SCNx64): Likewise.
33588 [C99-based-standards] (PRIdLEAST64): Likewise.
33589 [C99-based-standards] (PRIiLEAST64): Likewise.
33590 [C99-based-standards] (PRIoLEAST64): Likewise.
33591 [C99-based-standards] (PRIuLEAST64): Likewise.
33592 [C99-based-standards] (PRIxLEAST64): Likewise.
33593 [C99-based-standards] (PRIXLEAST64): Likewise.
33594 [C99-based-standards] (SCNdLEAST64): Likewise.
33595 [C99-based-standards] (SCNiLEAST64): Likewise.
33596 [C99-based-standards] (SCNoLEAST64): Likewise.
33597 [C99-based-standards] (SCNuLEAST64): Likewise.
33598 [C99-based-standards] (SCNxLEAST64): Likewise.
33599 [C99-based-standards] (PRIdFAST64): Likewise.
33600 [C99-based-standards] (PRIiFAST64): Likewise.
33601 [C99-based-standards] (PRIoFAST64): Likewise.
33602 [C99-based-standards] (PRIuFAST64): Likewise.
33603 [C99-based-standards] (PRIxFAST64): Likewise.
33604 [C99-based-standards] (PRIXFAST64): Likewise.
33605 [C99-based-standards] (SCNdFAST64): Likewise.
33606 [C99-based-standards] (SCNiFAST64): Likewise.
33607 [C99-based-standards] (SCNoFAST64): Likewise.
33608 [C99-based-standards] (SCNuFAST64): Likewise.
33609 [C99-based-standards] (SCNxFAST64): Likewise.
33610 [C99-based-standards] (PRIdMAX): Likewise.
33611 [C99-based-standards] (PRIiMAX): Likewise.
33612 [C99-based-standards] (PRIoMAX): Likewise.
33613 [C99-based-standards] (PRIuMAX): Likewise.
33614 [C99-based-standards] (PRIxMAX): Likewise.
33615 [C99-based-standards] (PRIXMAX): Likewise.
33616 [C99-based-standards] (SCNdMAX): Likewise.
33617 [C99-based-standards] (SCNiMAX): Likewise.
33618 [C99-based-standards] (SCNoMAX): Likewise.
33619 [C99-based-standards] (SCNuMAX): Likewise.
33620 [C99-based-standards] (SCNxMAX): Likewise.
33621 [C99-based-standards] (PRIdPTR): Likewise.
33622 [C99-based-standards] (PRIiPTR): Likewise.
33623 [C99-based-standards] (PRIoPTR): Likewise.
33624 [C99-based-standards] (PRIuPTR): Likewise.
33625 [C99-based-standards] (PRIxPTR): Likewise.
33626 [C99-based-standards] (PRIXPTR): Likewise.
33627 [C99-based-standards] (SCNdPTR): Likewise.
33628 [C99-based-standards] (SCNiPTR): Likewise.
33629 [C99-based-standards] (SCNoPTR): Likewise.
33630 [C99-based-standards] (SCNuPTR): Likewise.
33631 [C99-based-standards] (SCNxPTR): Likewise.
33632 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33633 allow.
33634 * conform/data/stdint.h-data: Update comments to clarify
33635 requirements.
33636 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33637 type.
33638 [C99-based standards] (INT8_MAX): Likewise.
33639 [C99-based standards] (INT16_MIN): Likewise.
33640 [C99-based standards] (INT16_MAX): Likewise.
33641 [C99-based standards] (INT32_MIN): Likewise.
33642 [C99-based standards] (INT32_MAX): Likewise.
33643 [C99-based standards] (INT64_MIN): Likewise.
33644 [C99-based standards] (INT64_MAX): Likewise.
33645 [C99-based standards] (UINT8_MAX): Likewise.
33646 [C99-based standards] (UINT16_MAX): Likewise.
33647 [C99-based standards] (UINT32_MAX): Likewise.
33648 [C99-based standards] (UINT64_MAX): Likewise.
33649 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33650 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33651 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33652 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33653 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33654 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33655 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33656 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33657 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33658 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33659 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33660 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33661 [C99-based standards] (INT_FAST8_MIN): Likewise.
33662 [C99-based standards] (INT_FAST8_MAX): Likewise.
33663 [C99-based standards] (INT_FAST16_MIN): Likewise.
33664 [C99-based standards] (INT_FAST16_MAX): Likewise.
33665 [C99-based standards] (INT_FAST32_MIN): Likewise.
33666 [C99-based standards] (INT_FAST32_MAX): Likewise.
33667 [C99-based standards] (INT_FAST64_MIN): Likewise.
33668 [C99-based standards] (INT_FAST64_MAX): Likewise.
33669 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33670 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33671 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33672 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33673 [C99-based standards] (INTPTR_MIN): Likewise.
33674 [C99-based standards] (INTPTR_MAX): Likewise.
33675 [C99-based standards] (UINTPTR_MAX): Likewise.
33676 [C99-based standards] (INTMAX_MIN): Likewise.
33677 [C99-based standards] (INTMAX_MAX): Likewise.
33678 [C99-based standards] (UINTMAX_MAX): Likewise.
33679 [C99-based standards] (PTRDIFF_MIN): Likewise.
33680 [C99-based standards] (PTRDIFF_MAX): Likewise.
33681 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33682 [C99-based standards] (SIZE_MAX): Likewise.
33683 [C99-based standards] (WCHAR_MAX): Likewise.
33684 [C99-based standards] (WINT_MAX): Likewise.
33685 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33686 constraint on value.
33687 [C99-based standards] (WCHAR_MIN): Likewise.
33688 [C99-based standards] (WINT_MIN): Likewise.
33689 [C99-based standards] (*_t): Allow.
33690 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33691 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33692 Include math.h-data and complex.h-data. Remove all expectations
33693 of math.h and complex.h contents.
33694 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33695 at end of line.
33696 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33697 (struct tm): Expect tag.
33698 [C99-based-standards] (wcstof): Expect function.
33699 [C99-based-standards] (wcstold): Likewise.
33700 [C99-based-standards] (wcstoll): Likewise.
33701 [C99-based-standards] (wcstoull): Likewise.
33702 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33703 macro-int-constant. Specify type.
33704 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33705 constraint on value.
33706 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33707 Specify type.
33708 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33709 Specify value.
33710 [ISO C standards]: Do not allow headers.
33711 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33712 wcs[abcdefghijklmnopqrstuvwxyz]*.
33713 [ISO C standards] (*_t): Do not allow.
33714 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33715 Expect function.
33716 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33717 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33718 Specify type.
33719 [ISO C standards]: Do not allow headers.
33720 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33721 is[abcdefghijklmnopqrstuvwxyz]*.
33722 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33723 to[abcdefghijklmnopqrstuvwxyz]*.
33724 [ISO C standards] (*_t): Do not allow.
33725 * conform/data/stdalign.h-data: New file.
33726 * conform/data/stdbool.h-data: Likewise.
33727 * conform/data/stdnoreturn.h-data: Likewise.
33728
7514feb8
RM
337292012-11-07 Roland McGrath <roland@hack.frob.com>
33730
33731 [BZ #14815]
33732 * manual/filesys.texi (Directory Entries): Typo fix.
33733 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33734
19b2ecfc
MS
337352012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33736
33737 * elf/elf.h (EM_AARCH64): New macro.
33738 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33739 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33740 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33741 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33742 (R_AARCH64_TLSDESC): Likewise.
33743 (NT_ARM_TLS): Likewise.
33744 (NT_ARM_HW_BREAK): Likewise.
33745 (NT_ARM_HW_WATCH): Likewise.
33746
60e235ee
JM
337472012-11-07 Joseph Myers <joseph@codesourcery.com>
33748
33749 [BZ #14811]
33750 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33751 (__ieee754_powl): Saturate nonzero exponents with absolute value
33752 below 0x1p-79 to +/- 0x1p-79.
33753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33754 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33755 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33756 nonzero exponents with absolute value below 0x1p-32 to +/-
33757 0x1p-32.
33758 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33759 (__ieee754_powl): Saturate nonzero exponents with absolute value
33760 below 0x1p-79 to +/- 0x1p-79.
33761 * math/libm-test.inc (pow_test): Add more tests.
33762
0ab234b7
AK
337632012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33764
33765 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33766 _dl_s390_cap_flags with kernel. Increase string length.
33767 (_dl_s390_platforms): Add z196 and zEC12.
33768
45832f74
JM
337692012-11-07 Joseph Myers <joseph@codesourcery.com>
33770
33771 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33772 Change XOPEN21K to XOPEN2K.
33773
19218757
MK
337742012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33775
33776 * string/memmove.c: Use memcpy when possible.
33777
c5f45721
AJ
337782012-11-06 Andreas Jaeger <aj@suse.de>
33779
33780 * po/eo.po: Update from translation team.
33781
82477c28
JM
337822012-11-06 Joseph Myers <joseph@codesourcery.com>
33783
33784 [BZ #14793]
33785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33786 exponent and small x and y exponents, scale x or y up. Increase
33787 by 2 the exponent used in scaling up.
33788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33790 * math/libm-test.inc (fma_test): Add more tests.
33791 (fma_test_towardzero): Likewise.
33792 (fma_test_downward): Likewise.
33793 (fma_test_upward): Likewise.
33794
99252c8c
JM
337952012-11-05 Joseph Myers <joseph@codesourcery.com>
33796
acfa885f
JM
33797 [BZ #14805]
33798 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33799 fenv_t *.
33800
99252c8c
JM
33801 [BZ #14801]
33802 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33803 namespace for names of struct fields.
33804 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33805 fenv_t fields.
33806 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33807 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33808
d6d98dea
ST
338092012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33810
33811 [BZ #3665]
33812 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33813
e10bb107
TS
338142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33815
33816 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33817 PTR_DEMANGLE.
33818
33819 [BZ #5246]
33820 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33821 PTR_DEMANGLE.
33822
a0c2940d
JM
338232012-11-04 Joseph Myers <joseph@codesourcery.com>
33824
33825 [BZ #14797]
33826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33827 definitely overflow as x * y not x * y + z.
33828 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33829 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33830 * math/libm-test.inc (fma_test): Add more tests.
33831 (fma_test_towardzero): Likewise.
33832 (fma_test_downward): Likewise.
33833 (fma_test_upward): Likewise.
33834
b830319d
TS
338352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33836
33837 [BZ #157]
33838
33839 * include/stub-tag.h: Remove file.
33840 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33841 '#include' of it.
33842 * manual/maint.texi (Porting): Don't reference it.
33843 * Makerules ($(objpfx)stubs): Likewise.
33844 * dirent/closedir.c: Don't include <stub-tag.h>.
33845 * dirent/dirfd.c: Likewise.
33846 * dirent/fdopendir.c: Likewise.
33847 * dirent/getdents.c: Likewise.
33848 * dirent/getdents64.c: Likewise.
33849 * dirent/opendir.c: Likewise.
33850 * dirent/readdir.c: Likewise.
33851 * dirent/readdir64.c: Likewise.
33852 * dirent/readdir64_r.c: Likewise.
33853 * dirent/readdir_r.c: Likewise.
33854 * dirent/rewinddir.c: Likewise.
33855 * dirent/seekdir.c: Likewise.
33856 * dirent/telldir.c: Likewise.
33857 * gmon/profil.c: Likewise.
33858 * grp/setgroups.c: Likewise.
33859 * inet/if_index.c: Likewise.
33860 * io/access.c: Likewise.
33861 * io/chdir.c: Likewise.
33862 * io/chmod.c: Likewise.
33863 * io/chown.c: Likewise.
33864 * io/close.c: Likewise.
33865 * io/dup.c: Likewise.
33866 * io/dup2.c: Likewise.
33867 * io/dup3.c: Likewise.
33868 * io/euidaccess.c: Likewise.
33869 * io/faccessat.c: Likewise.
33870 * io/fchdir.c: Likewise.
33871 * io/fchmod.c: Likewise.
33872 * io/fchmodat.c: Likewise.
33873 * io/fchown.c: Likewise.
33874 * io/fchownat.c: Likewise.
33875 * io/fcntl.c: Likewise.
33876 * io/flock.c: Likewise.
33877 * io/fstatfs.c: Likewise.
33878 * io/fstatfs64.c: Likewise.
33879 * io/fstatvfs.c: Likewise.
33880 * io/fstatvfs64.c: Likewise.
33881 * io/futimens.c: Likewise.
33882 * io/fxstat.c: Likewise.
33883 * io/fxstat64.c: Likewise.
33884 * io/fxstatat.c: Likewise.
33885 * io/fxstatat64.c: Likewise.
33886 * io/getcwd.c: Likewise.
33887 * io/isatty.c: Likewise.
33888 * io/lchmod.c: Likewise.
33889 * io/lchown.c: Likewise.
33890 * io/link.c: Likewise.
33891 * io/linkat.c: Likewise.
33892 * io/lseek.c: Likewise.
33893 * io/lseek64.c: Likewise.
33894 * io/lxstat64.c: Likewise.
33895 * io/mkdir.c: Likewise.
33896 * io/mkdirat.c: Likewise.
33897 * io/mkfifo.c: Likewise.
33898 * io/mkfifoat.c: Likewise.
33899 * io/open.c: Likewise.
33900 * io/open64.c: Likewise.
33901 * io/openat.c: Likewise.
33902 * io/openat64.c: Likewise.
33903 * io/pipe.c: Likewise.
33904 * io/pipe2.c: Likewise.
33905 * io/poll.c: Likewise.
33906 * io/posix_fadvise.c: Likewise.
33907 * io/posix_fadvise64.c: Likewise.
33908 * io/posix_fallocate.c: Likewise.
33909 * io/posix_fallocate64.c: Likewise.
33910 * io/read.c: Likewise.
33911 * io/readlink.c: Likewise.
33912 * io/readlinkat.c: Likewise.
33913 * io/rmdir.c: Likewise.
33914 * io/sendfile.c: Likewise.
33915 * io/sendfile64.c: Likewise.
33916 * io/statfs.c: Likewise.
33917 * io/statfs64.c: Likewise.
33918 * io/statvfs.c: Likewise.
33919 * io/statvfs64.c: Likewise.
33920 * io/symlink.c: Likewise.
33921 * io/symlinkat.c: Likewise.
33922 * io/ttyname.c: Likewise.
33923 * io/ttyname_r.c: Likewise.
33924 * io/umask.c: Likewise.
33925 * io/unlink.c: Likewise.
33926 * io/unlinkat.c: Likewise.
33927 * io/utime.c: Likewise.
33928 * io/utimensat.c: Likewise.
33929 * io/write.c: Likewise.
33930 * io/xmknod.c: Likewise.
33931 * io/xmknodat.c: Likewise.
33932 * io/xstat.c: Likewise.
33933 * io/xstat64.c: Likewise.
33934 * login/getpt.c: Likewise.
33935 * login/grantpt.c: Likewise.
33936 * login/unlockpt.c: Likewise.
33937 * math/e_acoshl.c: Likewise.
33938 * math/e_acosl.c: Likewise.
33939 * math/e_asinl.c: Likewise.
33940 * math/e_atan2l.c: Likewise.
33941 * math/e_atanhl.c: Likewise.
33942 * math/e_coshl.c: Likewise.
33943 * math/e_expl.c: Likewise.
33944 * math/e_fmodl.c: Likewise.
33945 * math/e_gammal_r.c: Likewise.
33946 * math/e_hypotl.c: Likewise.
33947 * math/e_j0l.c: Likewise.
33948 * math/e_j1l.c: Likewise.
33949 * math/e_jnl.c: Likewise.
33950 * math/e_lgammal_r.c: Likewise.
33951 * math/e_log10l.c: Likewise.
33952 * math/e_log2l.c: Likewise.
33953 * math/e_logl.c: Likewise.
33954 * math/e_powl.c: Likewise.
33955 * math/e_rem_pio2l.c: Likewise.
33956 * math/e_sinhl.c: Likewise.
33957 * math/e_sqrtl.c: Likewise.
33958 * math/fclrexcpt.c: Likewise.
33959 * math/fedisblxcpt.c: Likewise.
33960 * math/feenablxcpt.c: Likewise.
33961 * math/fegetenv.c: Likewise.
33962 * math/fegetexcept.c: Likewise.
33963 * math/fegetround.c: Likewise.
33964 * math/feholdexcpt.c: Likewise.
33965 * math/fesetenv.c: Likewise.
33966 * math/fesetround.c: Likewise.
33967 * math/feupdateenv.c: Likewise.
33968 * math/fgetexcptflg.c: Likewise.
33969 * math/fraiseexcpt.c: Likewise.
33970 * math/fsetexcptflg.c: Likewise.
33971 * math/ftestexcept.c: Likewise.
33972 * math/k_cosl.c: Likewise.
33973 * math/k_rem_pio2l.c: Likewise.
33974 * math/k_sinl.c: Likewise.
33975 * math/k_tanl.c: Likewise.
33976 * math/s_asinhl.c: Likewise.
33977 * math/s_atanl.c: Likewise.
33978 * math/s_cbrtl.c: Likewise.
33979 * math/s_erfl.c: Likewise.
33980 * math/s_expm1l.c: Likewise.
33981 * math/s_log1pl.c: Likewise.
33982 * math/s_tanhl.c: Likewise.
33983 * misc/acct.c: Likewise.
33984 * misc/brk.c: Likewise.
33985 * misc/chflags.c: Likewise.
33986 * misc/chroot.c: Likewise.
33987 * misc/fchflags.c: Likewise.
33988 * misc/fgetxattr.c: Likewise.
33989 * misc/flistxattr.c: Likewise.
33990 * misc/fremovexattr.c: Likewise.
33991 * misc/fsetxattr.c: Likewise.
33992 * misc/fsync.c: Likewise.
33993 * misc/ftruncate.c: Likewise.
33994 * misc/futimes.c: Likewise.
33995 * misc/futimesat.c: Likewise.
33996 * misc/getdomain.c: Likewise.
33997 * misc/getdtsz.c: Likewise.
33998 * misc/gethostid.c: Likewise.
33999 * misc/gethostname.c: Likewise.
34000 * misc/getloadavg.c: Likewise.
34001 * misc/getpagesize.c: Likewise.
34002 * misc/getsysstats.c: Likewise.
34003 * misc/getxattr.c: Likewise.
34004 * misc/gtty.c: Likewise.
34005 * misc/ioctl.c: Likewise.
34006 * misc/lgetxattr.c: Likewise.
34007 * misc/listxattr.c: Likewise.
34008 * misc/llistxattr.c: Likewise.
34009 * misc/lremovexattr.c: Likewise.
34010 * misc/lsetxattr.c: Likewise.
34011 * misc/lutimes.c: Likewise.
34012 * misc/madvise.c: Likewise.
34013 * misc/mincore.c: Likewise.
34014 * misc/mlock.c: Likewise.
34015 * misc/mlockall.c: Likewise.
34016 * misc/mmap.c: Likewise.
34017 * misc/mprotect.c: Likewise.
34018 * misc/msync.c: Likewise.
34019 * misc/munlock.c: Likewise.
34020 * misc/munlockall.c: Likewise.
34021 * misc/munmap.c: Likewise.
34022 * misc/preadv.c: Likewise.
34023 * misc/preadv64.c: Likewise.
34024 * misc/ptrace.c: Likewise.
34025 * misc/pwritev.c: Likewise.
34026 * misc/pwritev64.c: Likewise.
34027 * misc/readv.c: Likewise.
34028 * misc/reboot.c: Likewise.
34029 * misc/remap_file_pages.c: Likewise.
34030 * misc/removexattr.c: Likewise.
34031 * misc/revoke.c: Likewise.
34032 * misc/select.c: Likewise.
34033 * misc/setdomain.c: Likewise.
34034 * misc/setegid.c: Likewise.
34035 * misc/seteuid.c: Likewise.
34036 * misc/sethostid.c: Likewise.
34037 * misc/sethostname.c: Likewise.
34038 * misc/setregid.c: Likewise.
34039 * misc/setreuid.c: Likewise.
34040 * misc/setxattr.c: Likewise.
34041 * misc/sstk.c: Likewise.
34042 * misc/stty.c: Likewise.
34043 * misc/swapoff.c: Likewise.
34044 * misc/swapon.c: Likewise.
34045 * misc/sync.c: Likewise.
34046 * misc/syncfs.c: Likewise.
34047 * misc/syscall.c: Likewise.
34048 * misc/truncate.c: Likewise.
34049 * misc/ualarm.c: Likewise.
34050 * misc/usleep.c: Likewise.
34051 * misc/ustat.c: Likewise.
34052 * misc/utimes.c: Likewise.
34053 * misc/vhangup.c: Likewise.
34054 * misc/writev.c: Likewise.
34055 * posix/_exit.c: Likewise.
34056 * posix/alarm.c: Likewise.
34057 * posix/execve.c: Likewise.
34058 * posix/fexecve.c: Likewise.
34059 * posix/fork.c: Likewise.
34060 * posix/fpathconf.c: Likewise.
34061 * posix/getaddrinfo.c: Likewise.
34062 * posix/getegid.c: Likewise.
34063 * posix/geteuid.c: Likewise.
34064 * posix/getgid.c: Likewise.
34065 * posix/getgroups.c: Likewise.
34066 * posix/getlogin.c: Likewise.
34067 * posix/getlogin_r.c: Likewise.
34068 * posix/getpgid.c: Likewise.
34069 * posix/getpid.c: Likewise.
34070 * posix/getppid.c: Likewise.
34071 * posix/getresgid.c: Likewise.
34072 * posix/getresuid.c: Likewise.
34073 * posix/getsid.c: Likewise.
34074 * posix/getuid.c: Likewise.
34075 * posix/glob64.c: Likewise.
34076 * posix/nanosleep.c: Likewise.
34077 * posix/pathconf.c: Likewise.
34078 * posix/pause.c: Likewise.
34079 * posix/posix_madvise.c: Likewise.
34080 * posix/pread.c: Likewise.
34081 * posix/pread64.c: Likewise.
34082 * posix/pwrite.c: Likewise.
34083 * posix/pwrite64.c: Likewise.
34084 * posix/sched_getaffinity.c: Likewise.
34085 * posix/sched_getp.c: Likewise.
34086 * posix/sched_gets.c: Likewise.
34087 * posix/sched_primax.c: Likewise.
34088 * posix/sched_primin.c: Likewise.
34089 * posix/sched_rr_gi.c: Likewise.
34090 * posix/sched_setaffinity.c: Likewise.
34091 * posix/sched_setp.c: Likewise.
34092 * posix/sched_sets.c: Likewise.
34093 * posix/sched_yield.c: Likewise.
34094 * posix/setgid.c: Likewise.
34095 * posix/setlogin.c: Likewise.
34096 * posix/setpgid.c: Likewise.
34097 * posix/setresgid.c: Likewise.
34098 * posix/setresuid.c: Likewise.
34099 * posix/setsid.c: Likewise.
34100 * posix/setuid.c: Likewise.
34101 * posix/sleep.c: Likewise.
34102 * posix/spawni.c: Likewise.
34103 * posix/sysconf.c: Likewise.
34104 * posix/times.c: Likewise.
34105 * posix/wait.c: Likewise.
34106 * posix/wait3.c: Likewise.
34107 * posix/wait4.c: Likewise.
34108 * posix/waitpid.c: Likewise.
34109 * resolv/gai_sigqueue.c: Likewise.
34110 * resource/getpriority.c: Likewise.
34111 * resource/getrlimit.c: Likewise.
34112 * resource/getrusage.c: Likewise.
34113 * resource/nice.c: Likewise.
34114 * resource/setpriority.c: Likewise.
34115 * resource/setrlimit.c: Likewise.
34116 * resource/ulimit.c: Likewise.
34117 * rt/aio_cancel.c: Likewise.
34118 * rt/aio_fsync.c: Likewise.
34119 * rt/aio_read.c: Likewise.
34120 * rt/aio_sigqueue.c: Likewise.
34121 * rt/aio_suspend.c: Likewise.
34122 * rt/aio_write.c: Likewise.
34123 * rt/clock_getres.c: Likewise.
34124 * rt/clock_gettime.c: Likewise.
34125 * rt/clock_nanosleep.c: Likewise.
34126 * rt/clock_settime.c: Likewise.
34127 * rt/lio_listio.c: Likewise.
34128 * rt/mq_close.c: Likewise.
34129 * rt/mq_getattr.c: Likewise.
34130 * rt/mq_notify.c: Likewise.
34131 * rt/mq_open.c: Likewise.
34132 * rt/mq_receive.c: Likewise.
34133 * rt/mq_send.c: Likewise.
34134 * rt/mq_setattr.c: Likewise.
34135 * rt/mq_timedreceive.c: Likewise.
34136 * rt/mq_timedsend.c: Likewise.
34137 * rt/mq_unlink.c: Likewise.
34138 * rt/shm_open.c: Likewise.
34139 * rt/shm_unlink.c: Likewise.
34140 * rt/timer_create.c: Likewise.
34141 * rt/timer_delete.c: Likewise.
34142 * rt/timer_getoverr.c: Likewise.
34143 * rt/timer_gettime.c: Likewise.
34144 * rt/timer_settime.c: Likewise.
34145 * setjmp/__longjmp.c: Likewise.
34146 * setjmp/setjmp.c: Likewise.
34147 * signal/kill.c: Likewise.
34148 * signal/killpg.c: Likewise.
34149 * signal/raise.c: Likewise.
34150 * signal/sigaction.c: Likewise.
34151 * signal/sigaltstack.c: Likewise.
34152 * signal/sigblock.c: Likewise.
34153 * signal/sigignore.c: Likewise.
34154 * signal/sigintr.c: Likewise.
34155 * signal/signal.c: Likewise.
34156 * signal/sigpause.c: Likewise.
34157 * signal/sigpending.c: Likewise.
34158 * signal/sigqueue.c: Likewise.
34159 * signal/sigreturn.c: Likewise.
34160 * signal/sigset.c: Likewise.
34161 * signal/sigsetmask.c: Likewise.
34162 * signal/sigstack.c: Likewise.
34163 * signal/sigsuspend.c: Likewise.
34164 * signal/sigtimedwait.c: Likewise.
34165 * signal/sigvec.c: Likewise.
34166 * signal/sigwait.c: Likewise.
34167 * signal/sigwaitinfo.c: Likewise.
34168 * signal/sysv_signal.c: Likewise.
34169 * socket/accept.c: Likewise.
34170 * socket/accept4.c: Likewise.
34171 * socket/bind.c: Likewise.
34172 * socket/connect.c: Likewise.
34173 * socket/getpeername.c: Likewise.
34174 * socket/getsockname.c: Likewise.
34175 * socket/getsockopt.c: Likewise.
34176 * socket/isfdtype.c: Likewise.
34177 * socket/listen.c: Likewise.
34178 * socket/recv.c: Likewise.
34179 * socket/recvfrom.c: Likewise.
34180 * socket/recvmsg.c: Likewise.
34181 * socket/send.c: Likewise.
34182 * socket/sendmsg.c: Likewise.
34183 * socket/sendto.c: Likewise.
34184 * socket/setsockopt.c: Likewise.
34185 * socket/shutdown.c: Likewise.
34186 * socket/sockatmark.c: Likewise.
34187 * socket/socket.c: Likewise.
34188 * socket/socketpair.c: Likewise.
34189 * stdio-common/ctermid.c: Likewise.
34190 * stdio-common/cuserid.c: Likewise.
34191 * stdio-common/remove.c: Likewise.
34192 * stdio-common/rename.c: Likewise.
34193 * stdio-common/renameat.c: Likewise.
34194 * stdio-common/tempname.c: Likewise.
34195 * stdlib/getcontext.c: Likewise.
34196 * stdlib/makecontext.c: Likewise.
34197 * stdlib/setcontext.c: Likewise.
34198 * stdlib/swapcontext.c: Likewise.
34199 * stdlib/system.c: Likewise.
34200 * streams/fattach.c: Likewise.
34201 * streams/fdetach.c: Likewise.
34202 * streams/getmsg.c: Likewise.
34203 * streams/getpmsg.c: Likewise.
34204 * streams/putmsg.c: Likewise.
34205 * streams/putpmsg.c: Likewise.
34206 * sysdeps/unix/bsd/getpt.c: Likewise.
34207 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34208 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34209 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34211 Likewise.
34212 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34213 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34214 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34215 * sysvipc/msgctl.c: Likewise.
34216 * sysvipc/msgget.c: Likewise.
34217 * sysvipc/msgrcv.c: Likewise.
34218 * sysvipc/msgsnd.c: Likewise.
34219 * sysvipc/semctl.c: Likewise.
34220 * sysvipc/semget.c: Likewise.
34221 * sysvipc/semop.c: Likewise.
34222 * sysvipc/semtimedop.c: Likewise.
34223 * sysvipc/shmat.c: Likewise.
34224 * sysvipc/shmctl.c: Likewise.
34225 * sysvipc/shmdt.c: Likewise.
34226 * sysvipc/shmget.c: Likewise.
34227 * termios/tcdrain.c: Likewise.
34228 * termios/tcflow.c: Likewise.
34229 * termios/tcflush.c: Likewise.
34230 * termios/tcgetattr.c: Likewise.
34231 * termios/tcgetpgrp.c: Likewise.
34232 * termios/tcsendbrk.c: Likewise.
34233 * termios/tcsetattr.c: Likewise.
34234 * termios/tcsetpgrp.c: Likewise.
34235 * time/adjtime.c: Likewise.
34236 * time/clock.c: Likewise.
34237 * time/getitimer.c: Likewise.
34238 * time/gettimeofday.c: Likewise.
34239 * time/setitimer.c: Likewise.
34240 * time/settimeofday.c: Likewise.
34241 * time/stime.c: Likewise.
34242 * time/time.c: Likewise.
34243
342442012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34245
a20492cf
PT
34246 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34247 /usr/old/bin.
34248
72e182e3
PT
34249 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34250 instead of spaces.
34251 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34252
fbeafede
JM
342532012-11-03 Joseph Myers <joseph@codesourcery.com>
34254
5b5b04d6
JM
34255 [BZ #14796]
34256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34257 FE_TONEAREST before applying Dekker multiplication and Knuth
34258 addition. Clear inexact exceptions and check for exact zero
34259 results afterwards.
34260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34261 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34263 * math/libm-test.inc (fma_test): Add more tests.
34264 (fma_test_towardzero): Likewise.
34265 (fma_test_downward): Likewise.
34266 (fma_test_upward): Likewise.
34267 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34268 function.
34269 (libc_fesetround): New macro.
34270 (libc_fesetroundf): Likewise.
34271 (libc_fesetroundl): Likewise.
34272 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34273 function.
34274 (libc_fesetround_387): Likewise.
34275 (libc_fesetroundf): New macro.
34276 (libc_fesetround): Likewise.
34277 (libc_fesetroundl): Likewise.
34278 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34279 function.
34280 (libc_fesetroundf): New macro.
34281 (libc_fesetround): Likewise.
34282 (libc_fesetroundl): Likewise.
34283 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34284 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34285 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34286 libm_hidden_ver.
34287 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34288 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34289 libm_hidden_def.
34290 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34291 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34292 libm_hidden_ver.
34293 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34294 libm_hidden_def.
34295
fbeafede
JM
34296 [BZ #3439]
34297 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34298 integer constant usable in #if and use that to give value to enum
34299 constant.
34300 (FE_DIVBYZERO): Likewise.
34301 (FE_UNDERFLOW): Likewise.
34302 (FE_OVERFLOW): Likewise.
34303 (FE_INVALID): Likewise.
34304 (FE_INVALID_SNAN): Likewise.
34305 (FE_INVALID_ISI): Likewise.
34306 (FE_INVALID_IDI): Likewise.
34307 (FE_INVALID_ZDZ): Likewise.
34308 (FE_INVALID_IMZ): Likewise.
34309 (FE_INVALID_COMPARE): Likewise.
34310 (FE_INVALID_SOFTWARE): Likewise.
34311 (FE_INVALID_SQRT): Likewise.
34312 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34313 (FE_TONEAREST): Likewise.
34314 (FE_TOWARDZERO): Likewise.
34315 (FE_UPWARD): Likewise.
34316 (FE_DOWNWARD): Likewise.
34317 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34318 (FE_DIVBYZERO): Likewise.
34319 (FE_OVERFLOW): Likewise.
34320 (FE_UNDERFLOW): Likewise.
34321 (FE_INEXACT): Likewise.
34322 (FE_TONEAREST): Likewise.
34323 (FE_DOWNWARD): Likewise.
34324 (FE_UPWARD): Likewise.
34325 (FE_TOWARDZERO): Likewise.
34326 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34327 (FE_UNDERFLOW): Likewise.
34328 (FE_OVERFLOW): Likewise.
34329 (FE_DIVBYZERO): Likewise.
34330 (FE_INVALID): Likewise.
34331 (FE_TONEAREST): Likewise.
34332 (FE_TOWARDZERO): Likewise.
34333 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34334 (FE_OVERFLOW): Likewise.
34335 (FE_UNDERFLOW): Likewise.
34336 (FE_DIVBYZERO): Likewise.
34337 (FE_INEXACT): Likewise.
34338 (FE_TONEAREST): Likewise.
34339 (FE_TOWARDZERO): Likewise.
34340 (FE_UPWARD): Likewise.
34341 (FE_DOWNWARD): Likewise.
34342 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34343 (FE_DIVBYZERO): Likewise.
34344 (FE_OVERFLOW): Likewise.
34345 (FE_UNDERFLOW): Likewise.
34346 (FE_INEXACT): Likewise.
34347 (FE_TONEAREST): Likewise.
34348 (FE_DOWNWARD): Likewise.
34349 (FE_UPWARD): Likewise.
34350 (FE_TOWARDZERO): Likewise.
34351
105ca950
CM
343522012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34353
34354 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34355
a542b389
AS
343562012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34357
34358 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34359 commands. Quote $PWD.
34360 (blacklist_exports): Don't use remove_newlines. Replace "declare
34361 -x" by "export".
34362 (remove_newlines): Remove.
34363
f62c8abc
L
343642012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34365
34366 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34367 * stdlib/stdlib.h (atof): Moved to ...
34368 * include/bits/stdlib-float.h: Here. New file.
34369 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34370 * stdlib/bits/stdlib-float.h: New file.
34371 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34372 -mno-sse -mno-mmx.
34373 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34374 <xmmintrin.h>.
34375
0155d5b2
JM
343762012-11-02 Joseph Myers <joseph@codesourcery.com>
34377
a68d0680
JM
34378 * conform/conformtest.pl (@headers): Add fenv.h.
34379 * conform/data/fenv.h-data: New file.
34380 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34381 include of <math/fenv.h>.
34382
caf7f573
JM
34383 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34384 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34385 && !UNIX98]. Enables tests for XOPEN2K8.
34386 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34387 POSIX2008]: Likewise.
34388
6c073ad6
JM
34389 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34390 (struct rusage): Do not expect type or its members.
34391
0155d5b2
JM
34392 [BZ #3439]
34393 * math/math.h (FP_NAN): Define macro to integer constant usable in
34394 #if and use that to give value to enum constant.
34395 (FP_INFINITE): Likewise.
34396 (FP_ZERO): Likewise.
34397 (FP_SUBNORMAL): Likewise.
34398 (FP_NORMAL): Likewise.
34399
b5dcacb4
AS
344002012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34401
34402 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34403 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34404 arguments.
34405
f7934be8
RM
344062012-11-02 Roland McGrath <roland@hack.frob.com>
34407
34408 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34409 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34410 autoconf-time if not.
34411 * configure.in: Remove AC_PREREQ.
34412
d7d08bde
TMQMF
344132012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34414
34415 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34416 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34417 of the internal implementation.
34418
dcdae19a
JM
344192012-11-02 Joseph Myers <joseph@codesourcery.com>
34420
34421 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34422 except include of <misc/sys/syslog.h>.
34423
d6cffd3e
AS
344242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34425
34426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34427 function returns with a NULL context exit with zero.
34428
b3563932
TMQMF
344292012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34430
34431 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34432
b288a93d
L
344332012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34434
34435 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34436 (run_program_cmd): This.
34437 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34438 (tst_langinfo): New variable. Use it.
34439
a2421a68
SAS
344402012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34441
34442 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34443 floating point opcodes.
34444
6f796e1b
TS
344452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34446
7402596b
TS
34447 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34448 variable.
34449
d0d4f868
TS
34450 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34451
6f796e1b
TS
34452 * sysdeps/mach/hurd/powerpc: Remove directory.
34453 * sysdeps/mach/powerpc: Likewise.
34454
4da224a2
AS
344552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34456
34457 * scripts/check-local-headers.sh: Ignore c++ headers.
34458
341dd673
TS
344592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34460
34461 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34462 __libc_cleanup_region_start argument.
34463
473611b2
JM
344642012-11-01 Joseph Myers <joseph@codesourcery.com>
34465
34466 [BZ #14784]
34467 [BZ #14785]
34468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34469 x * y using scaling, not as x * y + z.
34470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34471 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34472 * math/libm-test.inc (fma_test): Add more tests.
34473 (fma_test_towardzero): Likewise.
34474 (fma_test_downward): Likewise.
34475 (fma_test_upward): Likewise.
34476
4078da3d
TS
344772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34478
34479 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34480
903252aa
JM
344812012-10-31 Joseph Myers <joseph@codesourcery.com>
34482
34483 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34484 New variable.
34485
cbc818d0
TS
344862012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34487
34488 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34489
5a03cb1e
AS
344902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34491
34492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34493 Fix sort order.
34494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34495 Likewise.
34496
90aff2ff
TMQMF
344972012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34498
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34500 Fix the order of the list for glibc 2.17.
34501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34502 Likewise.
34503
1818fcb7
AS
345042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34505
34506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34507
ef82f4da
JM
345082012-10-31 Joseph Myers <joseph@codesourcery.com>
34509
16a0e2ec
JM
34510 [BZ #14610]
34511 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34512 for low part of x being zero before using __atanl (y).
34513 * math/libm-test.inc (atan2_test): Add another test.
34514
0eb69512
JM
34515 * manual/install.texi (Configuring and compiling): Document
34516 general use of test-wrapper and test-wrapper-env.
34517 * INSTALL: Regenerated.
34518
ef82f4da
JM
34519 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34520 (__fma): Do not extract and scale down low bits on after-rounding
34521 systems when result rounded to normal precision would have normal
34522 exponent.
34523 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34524 (__fmal): Do not extract and scale down low bits on after-rounding
34525 systems when result rounded to normal precision would have normal
34526 exponent.
34527 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34528 (__fmal): Do not extract and scale down low bits on after-rounding
34529 systems when result rounded to normal precision would have normal
34530 exponent.
34531 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34532 macro.
34533 (fma_test): Add more tests.
34534 (fma_test_towardzero): Likewise.
34535 (fma_test_downward): Likewise.
34536 (fma_test_upward): Likewise.
34537
954ef0d9
L
345382012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34539
34540 * sysdeps/i386/tininess.h: Renamed to ...
34541 * sysdeps/x86/tininess.h: This.
34542 * sysdeps/x86_64/tininess.h: Removed.
34543
df61ffb2
JM
345442012-10-30 Joseph Myers <joseph@codesourcery.com>
34545
34546 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34547 input. Use $(build-program-cmd).
34548 ($(objpfx)tst-array1-static.out): Likewise.
34549 ($(objpfx)tst-array2.out): Likewise.
34550 ($(objpfx)tst-array3.out): Likewise.
34551 ($(objpfx)tst-array4.out): Likewise.
34552 ($(objpfx)tst-array5.out): Likewise.
34553 ($(objpfx)tst-array5-static.out): Likewise.
34554
01767843
CM
345552012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34556
47cc1490
CM
34557 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34558 if defined.
34559
01767843
CM
34560 * nss/nsswitch.h (nss_interface_function): Provide new
34561 macro for use with NSS functions.
34562 * grp/initgroups.c: Use new macro.
34563 * nss/getXXbyYY.c: Likewise.
34564 * nss/getXXbyYY_r.c: Likewise.
34565 * nss/getXXent.c: Likewise.
34566 * nss/getXXent_r.c: Likewise.
34567 * sysdeps/posix/getaddrinfo.c: Likewise.
34568
8321aa97
AJ
345692012-10-30 Andreas Jaeger <aj@suse.de>
34570
34571 * po/ru.po: Update Russion translation from translation project.
34572
2a27fd6d
JM
345732012-10-30 Joseph Myers <joseph@codesourcery.com>
34574
8627a232
JM
34575 [BZ #14152]
34576 [BZ #14783]
34577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34578 result and shift together with sticky bit instead of replicating
34579 round-to-nearest rounding.
34580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34582 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34583 missing underflow exceptions.
34584 (fma_test_towardzero): Add more tests.
34585 (fma_test_downward): Likewise.
34586 (fma_test_upward): Likewise.
34587
2a27fd6d
JM
34588 [BZ #14047]
34589 * sysdeps/generic/tininess.h: New file.
34590 * sysdeps/i386/tininess.h: Likewise.
34591 * sysdeps/sh/tininess.h: Likewise.
34592 * sysdeps/x86_64/tininess.h: Likewise.
34593 * stdlib/tst-strtod-underflow.c: Likewise.
34594 * stdlib/tst-tininess.c: Likewise.
34595 * stdlib/strtod_l.c: Include <tininess.h>.
34596 (round_and_return): Do not set errno for exact underflow cases.
34597 Force an underflow exception when setting errno for underflow.
34598 Determine underflow based on rounding to normal precision if
34599 TININESS_AFTER_ROUNDING.
34600 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34601 ERANGE for exact underflow cases.
34602 * stdlib/Makefile (tests): Add tst-tininess and
34603 tst-strtod-underflow.
34604 ($(objpfx)tst-tininess): Use $(link-libm).
34605 ($(objpfx)tst-strtod-underflow): Likewise.
34606
e7170363
AJ
346072012-10-30 Andreas Jaeger <aj@suse.de>
34608
e5088dc6
AJ
34609 [BZ#14767]
34610 * elf/Makefile (tests): Remove conditional for have-initfini-array
34611 since this is now always required and the variable does not exist
34612 anymore.
34613 (tests-static): Likewise.
34614 (modules-names): Likewise.
34615
e7170363 34616 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
34617
34618 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34619 merged with constructor/destructor.
34620 (init_array): Likewise.
34621 * elf/tst-array2dep.c (fini_array): Likewise.
34622 (init_array): Likewise.
34623
60457d8a
MF
346242012-10-29 Mike Frysinger <vapier@gentoo.org>
34625
34626 * manual/message.texi: Delete @cartouche tags.
34627
8bece752
PT
346282012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34629
94ce799f
PT
34630 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34631 EOPNOTSUPP.
34632 * sysdeps/mach/hurd/fsync.c: Likewise.
34633
8bece752
PT
34634 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34635 [_POSIX_REALTIME_SIGNALS]: Change condition to
34636 [_POSIX_REALTIME_SIGNALS > 0].
34637
86ebe6b1
AJ
346382012-10-27 Andreas Jaeger <aj@suse.de>
34639
34640 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34641 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34643 [__WORDSIZE != 64]: Likewise.
34644
54399c08
L
346452012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34646
34647 * iconvdata/tst-table.sh: Remove ${SHELL}.
34648 * iconvdata/tst-tables.sh: Likewise.
34649
e2211bed
DM
346502012-10-25 David S. Miller <davem@davemloft.net>
34651
34652 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34653 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34654 of strtoull.
34655
f303f97c
DM
34656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34657 ifunc-impl-list.c
34658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34659 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34660 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34661 file.
34662
1e9d84cd
RM
346632012-10-25 Roland McGrath <roland@hack.frob.com>
34664
34665 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34666 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34667 __getdirentries.
34668
df381762
JM
346692012-10-25 Joseph Myers <joseph@codesourcery.com>
34670 Jim Blandy <jimb@codesourcery.com>
34671
34672 * scripts/cross-test-ssh.sh: New file.
34673 * manual/install.texi (Configuring and compiling): Document use of
34674 cross-test-ssh.sh.
34675 * INSTALL: Regenerated.
34676
bff64913
PT
346772012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34678
34679 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34680 EOPNOTSUPP.
34681
25fe8932
JM
346822012-10-25 Joseph Myers <joseph@codesourcery.com>
34683
34684 * Makeconfig (run-program-prefix): Fix comment.
34685
cc1290d0
JM
346862012-10-24 Joseph Myers <joseph@codesourcery.com>
34687 Jim Blandy <jimb@codesourcery.com>
34688
34689 * Makeconfig (test-wrapper): New variable,
34690 (test-wrapper-env): Likewise.
34691 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34692 (run-built-tests): Define to yes.
34693 (run-program-prefix): Use $(test-wrapper).
34694 (built-program-cmd): Likewise.
34695 * Rules (make-test-out): Use $(test-wrapper-env) and
34696 $(host-built-program-cmd).
34697 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34698 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34699 tst-pathopt.sh.
34700 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34701 $(test-wrapper-env) to tst-rtld-load-self.sh.
34702 ($(objpfx)order2.out): Use $(test-wrapper).
34703 ($(objpfx)tst-initorder.out): Likewise.
34704 ($(objpfx)tst-initorder2.out): Likewise.
34705 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34706 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34707 (test_wrapper_env): New variable. Use it to run ld.so.
34708 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34709 Use it to run ld.so.
34710 (test_wrapper_env): Likewise.
34711 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34712 $(test-wrapper) to run-iconv-test.sh.
34713 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34714 (ICONV): Use $test_wrapper.
34715 * posix/Makefile ($(objpfx)globtest.out): Pass
34716 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34717 globtest.sh, not $(run-program-prefix).
34718 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34719 (test_wrapper): Likewise.
34720 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34721 set together with run_via_rtld_prefix.
34722 (run_program_prefix): Define in terms of test_wrapper and
34723 run_via_rtld_prefix.
34724
6e6249d0
RM
347252012-10-24 Roland McGrath <roland@hack.frob.com>
34726
34727 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34728 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34729 Targets removed.
34730
34731 [BZ #14743]
34732 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34733 Declare __clock_getres, __clock_gettime, __clock_settime,
34734 __clock_nanosleep, and __clock_getcpuclockid.
34735 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34736 Remove librt_hidden_def (clock_gettime).
34737 * sysdeps/unix/clock_gettime.c: Likewise.
34738 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34739 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34740 * rt/clock_getres.c: Define __clock_getres as an alias.
34741 * sysdeps/posix/clock_getres.c: Likewise.
34742 * rt/clock_settime.c: Define __clock_settime as an alias.
34743 * sysdeps/unix/clock_settime.c: Likewise.
34744 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34745 * sysdeps/unix/clock_nanosleep.c: Likewise.
34746 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34747 * rt/clock-compat.c: New file.
34748 * rt/Makefile (librt-routines): Add clock-compat and move
34749 $(clock-routines) to ...
34750 (routines): ... here, new variable.
34751 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34752 Don't add get_clockfreq here.
34753 * rt/Versions (libc: GLIBC_2.17): New version set.
34754 Add clock_* symbols here.
34755 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34756 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34757 (GLIBC_2.17): Add clock_* symbols.
34758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34762 Likewise.
34763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34764 Likewise.
34765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34769 * NEWS: Mention the move.
34770
34771 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34772 Use __open, __read, __close rather than their public counterparts.
34773 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34774 (__get_clockfreq_via_cpuinfo): Likewise.
34775 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34776 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34777
34778 * config.h.in (HAVE_IFUNC): New #undef.
34779 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34780 was successful.
34781 * configure: Regenerated.
34782
0cae3f4b
MF
347832012-10-24 Mike Frysinger <vapier@gentoo.org>
34784
34785 * configure.in: Move READELF check to start of file.
34786 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34787 libc_cv_asm_gnu_indirect_function in the process.
34788 * configure: Regenerated.
34789
8175a253
MF
347902012-10-24 Mike Frysinger <vapier@gentoo.org>
34791
34792 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34793 send the output to /dev/null.
34794 (libc_cv_cc_with_libunwind): Likewise.
34795 (libc_cv_as_noexecstack): Likewise.
34796 * configure: Regenerate.
34797
0708a7d1
JM
347982012-10-24 Joseph Myers <joseph@codesourcery.com>
34799
10b40d85
JM
34800 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34801
0708a7d1
JM
34802 * posix/globtest.sh (TMPDIR): Do not set.
34803 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34804 (testout): Likewise.
34805
9fddec1a
AJ
348062012-10-24 Andreas Jaeger <aj@suse.de>
34807
3a8db22f
AJ
34808 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34809 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34810 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34811 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34812 posix_fadvise64, posix_fallocate64.
34813
9fddec1a
AJ
34814 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34815 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34816 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34817 Likewise.
34818 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34819 Likewise.
34820 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34821
34822 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34823 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34824 <bits/fcntl-linux.h>.
34825 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34826
34827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34828 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34829 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34830 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34831 [__WORDSIZE != 64]: Likewise.
34832
ebfd1bbd
JM
348332012-10-23 Joseph Myers <joseph@codesourcery.com>
34834
03ac099f
JM
34835 * Makeconfig (run-built-tests): New variable.
34836 * Rules [$(cross-compiling) = yes]: Change condition to
34837 [$(run-built-tests) = no].
34838 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34839 to [$(run-built-tests) = yes].
34840 * elf/Makefile [$(cross-compiling) = no]: Likewise
34841 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34842 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34843 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34844 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34845 * io/Makefile [$(cross-compiling) = no]: Likewise.
34846 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34847 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34848 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34849 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34850 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34851 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34852 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34853 * string/Makefile [$(cross-compiling) = no]: Likewise.
34854
ebfd1bbd
JM
34855 * posix/Makefile ($(objpfx)globtest.out): Pass
34856 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34857 $(rtld-installed-name).
34858 * posix/globtest.sh (elf_objpfx): Remove variable.
34859 (rtld_installed_name): Likewise.
34860 (library_path): Likewise.
34861 (run_program_prefix): New variable. Use for running globtest
34862 binary.
34863
166bca24
JB
348642012-10-23 Jim Blandy <jimb@codesourcery.com>
34865 Joseph Myers <joseph@codesourcery.com>
34866
34867 * Makeconfig (host-built-program-cmd): New variable.
34868 * elf/Makefile (tst-stackguard1-ARGS): Use
34869 $(host-built-program-cmd).
34870 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34871 (tst-spawn-ARGS): Likewise.
34872 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34873
88866099
JM
348742012-10-23 Joseph Myers <joseph@codesourcery.com>
34875 Jim Blandy <jimb@codesourcery.com>
34876
34877 * Makeconfig (run-via-rtld-prefix): New variable.
34878 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34879 (built-program-cmd): Likewise.
34880
b4b4c296
AJ
348812012-10-22 Andreas Jaeger <aj@suse.de>
34882
34883 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34884 __O_RSYNC if it exists, otherwise to O_SYNC.
34885
6fb54a22
JB
348862012-10-22 Jim Blandy <jimb@codesourcery.com>
34887 Joseph Myers <joseph@codesourcery.com>
34888
34889 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34890 /dev/null.
34891 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34892 from /dev/null
34893 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34894 /dev/null.
34895
481b90b9
AJ
348962012-10-22 Andreas Jaeger <aj@suse.de>
34897
2a0e2669
AJ
34898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34899 Define always.
34900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34901
76e38f9a
AJ
34902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34903 bits/fcntl-linux.h.
34904
7cd37b43
AJ
34905 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34906 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34907
481b90b9
AJ
34908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34909 to __O_LARGEFILE.
34910 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34911 to __O_LARGEFILE.
34912
aba75984
JB
349132012-10-21 Jim Blandy <jimb@codesourcery.com>
34914 Joseph Myers <joseph@codesourcery.com>
34915
34916 * config.make.in (NM): New variable.
34917
88d4247f
AJ
349182012-10-21 Andreas Jaeger <aj@suse.de>
34919
34920 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34921 definitions and declarations that are provided by
34922 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34923
f2eed205
L
349242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34925
34926 [BZ #14683]
34927 * elf/Makefile (tests-static): Add tst-leaks1-static.
34928 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34929 ($(objpfx)tst-leaks1-static): New rule.
34930 ($(objpfx)tst-leaks1-static-mem): Likewise.
34931 (tst-leaks1-static-ENV): New macro.
34932 * elf/dl-open.c (dl_open_worker): Check the main application
34933 only if SHARED is defined.
34934 * elf/tst-leaks1-static.c: New file.
34935
335e6931
AJ
349362012-10-20 Andreas Jaeger <aj@suse.de>
34937
34938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34939 generic values for Linux.
34940 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34941 and declarations that are provided by <bits/fcntl-linux.h> and
34942 include <bits/fcntl-linux.h>.
34943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34945
ac5c94d3
RM
349462012-10-20 Roland McGrath <roland@hack.frob.com>
34947
34948 * io/fcntl.h: Move include of <bits/types.h> to the top and
34949 include it unconditionally.
34950
de54b33a
L
349512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34952
228cfb01
L
34953 * wcsmbs/Makefile (tests-ifunc): New variable.
34954 (tests): Add $(tests-ifunc).
34955 * wcsmbs/test-wcschr-ifunc.c: New file.
34956 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34957 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34958 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34959 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34960 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34961
69f07e5f
L
34962 * string/Makefile (tests-ifunc): New variable.
34963 (tests): Add $(tests-ifunc).
34964 * string/test-memccpy.c (TEST_NAME): New macro.
34965 * string/test-memchr.c (TEST_NAME): Likewise.
34966 * string/test-memcmp.c (TEST_NAME): Likewise.
34967 * string/test-memcpy.c (TEST_NAME): Likewise.
34968 * string/test-memmem.c (TEST_NAME): Likewise.
34969 * string/test-memmove.c (TEST_NAME): Likewise.
34970 * string/test-memset.c (TEST_NAME): Likewise.
34971 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34972 * string/test-stpcpy.c (TEST_NAME): Likewise.
34973 * string/test-stpncpy.c (TEST_NAME): Likewise.
34974 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34975 * string/test-strcasestr.c (TEST_NAME): Likewise.
34976 * string/test-strcat.c (TEST_NAME): Likewise.
34977 * string/test-strchr.c (TEST_NAME): Likewise.
34978 * string/test-strcmp.c(TEST_NAME): Likewise.
34979 * string/test-strcpy.c (TEST_NAME): Likewise.
34980 * string/test-strcspn.c (TEST_NAME): Likewise.
34981 * string/test-strlen.c (TEST_NAME): Likewise.
34982 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34983 * string/test-strncmp.c (TEST_NAME): Likewise.
34984 * string/test-strncpy.c (TEST_NAME): Likewise.
34985 * string/test-strnlen.c (TEST_NAME): Likewise.
34986 * string/test-strpbrk.c (TEST_NAME): Likewise.
34987 * string/test-strrchr.c (TEST_NAME): Likewise.
34988 * string/test-strspn.c (TEST_NAME): Likewise.
34989 * string/test-strstr.c (TEST_NAME): Likewise.
34990 * string/test-bcopy-ifunc.c: New file.
34991 * string/test-bzero-ifunc.c: Likewise.
34992 * string/test-memccpy-ifunc.c: Likewise.
34993 * string/test-memchr-ifunc.c: Likewise.
34994 * string/test-memcmp-ifunc.c: Likewise.
34995 * string/test-memcpy-ifunc.c: Likewise.
34996 * string/test-memmem-ifunc.c: Likewise.
34997 * string/test-memmove-ifunc.c: Likewise.
34998 * string/test-mempcpy-ifunc.c: Likewise.
34999 * string/test-memset-ifunc.c: Likewise.
35000 * string/test-rawmemchr-ifunc.c: Likewise.
35001 * string/test-stpcpy-ifunc.c: Likewise.
35002 * string/test-stpncpy-ifunc.c: Likewise.
35003 * string/test-strcasecmp-ifunc.c: Likewise.
35004 * string/test-strcasestr-ifunc.c: Likewise.
35005 * string/test-strcat-ifunc.c: Likewise.
35006 * string/test-strchr-ifunc.c: Likewise.
35007 * string/test-strchrnul-ifunc.c: Likewise.
35008 * string/test-strcmp-ifunc.c: Likewise.
35009 * string/test-strcpy-ifunc.c: Likewise.
35010 * string/test-strcspn-ifunc.c: Likewise.
35011 * string/test-strlen-ifunc.c: Likewise.
35012 * string/test-strncasecmp-ifunc.c: Likewise.
35013 * string/test-strncat-ifunc.c: Likewise.
35014 * string/test-strncmp-ifunc.c: Likewise.
35015 * string/test-strncpy-ifunc.c: Likewise.
35016 * string/test-strnlen-ifunc.c: Likewise.
35017 * string/test-strpbrk-ifunc.c: Likewise.
35018 * string/test-strrchr-ifunc.c: Likewise.
35019 * string/test-strspn-ifunc.c: Likewise.
35020 * string/test-strstr-ifunc.c: Likewise.
35021
de54b33a
L
35022 * debug/Makefile (tests-ifunc): New variable.
35023 (tests): Add $(tests-ifunc).
35024 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35025 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35026 * debug/test-stpcpy_chk-ifunc.c: New file.
35027 * debug/test-strcpy_chk-ifunc.c: Likewise.
35028
88481c16
SP
350292012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35030
35031 [BZ #13601]
35032 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35033 header is not read in.
35034
135948bd
JM
350352012-10-19 Joseph Myers <joseph@codesourcery.com>
35036
89f1c388
JM
35037 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35038 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35039 directly. Pass built executable to script as
35040 $(built-program-cmd).
35041 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35042 $testprogram without using LD_LIBRARY_PATH and $ldso.
35043
e40a0d21
JM
35044 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35045 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35046 $(rtld-installed-name).
35047 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35048 (rtld_installed_name): Likewise.
35049 (library_path): Likewise.
35050 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35051 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35052 $(run-program-prefix) to tst-tables.sh.
35053 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35054 it to run tst-table-from and tst-table-to.
35055 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35056 Pass it to tst-table.sh.
35057 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35058 $(run-program-prefix) to tst-gettext.sh.
35059 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35060 tst-translit.sh.
35061 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35062 tst-gettext2.sh.
35063 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35064 to run tst-gettext.
35065 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35066 to run tst-gettext2.
35067 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35068 to run tst-translit.
35069 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35070 $(run-program-prefix) to tst-mtrace.sh.
35071 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35072 to run tst-mtrace.
35073 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35074 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35075 $(rtld-installed-name).
35076 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35077 (rtld_installed_name): Likewise.
35078 (run_program_prefix): New variable. Use it to run wordexp-test.
35079
728e272a
JM
35080 * Makeconfig (ARCH): Remove all definitions.
35081 (machine): Likewise.
35082 [ARCH]: Remove conditional code.
35083 [!objdir]: Give error.
35084 [!objdir] (objpfx): Remove.
35085 [!objdir] (common-objpfx): Likewise.
35086 [!objdir] (common-objdir): Likewise.
35087 * configure.in (config_makefile): Remove. Hardcode Makefile in
35088 AC_CONFIG_FILES call.
35089 * configure: Regenerated.
35090
d528cdcf
JM
35091 [BZ #13888]
35092 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35093 or TMPDIR.
35094 (testout): Likewise.
35095
135948bd
JM
35096 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35097 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35098 $(rtld-installed-name).
35099 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35100 (rtld_installed_name): Likwise.
35101 (runit): Remove function.
35102 (run_getconf): New variable, Use it for running getconf binary.
35103
38c78296
L
351042012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35105
35106 [BZ #14716]
35107 * string/test-memmem.c (check_result): New function.
35108 (do_one_test): Use it.
35109 (check1): New function.
35110 (test_main): Use it.
35111
d077f65f
MT
351122012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35113
35114 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35115
ced52c71
JM
351162012-10-18 Joseph Myers <joseph@codesourcery.com>
35117
35118 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35119 (_G_LSEEK64): Likewise.
35120 (_G_MMAP64): Likewise.
35121 (_G_FSTAT64): Likewise.
35122 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35123 (_G_LSEEK64): Likewise.
35124 (_G_MMAP64): Likewise.
35125 (_G_FSTAT64): Likewise.
35126 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35127 unconditional. Call __mmap64 directly.
35128 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35129 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35130 __lseek64 directly.
35131 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35132 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35133 __mmap64 directly.
35134 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35135 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35136 __lseek64 directly.
35137 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35138 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35139 __lseek64 directly.
35140 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35141 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35142 __lseek64 directly.
35143 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35144 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35145 __fxstat64 directly.
35146 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35147 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35148 unconditional.
35149 (freopen64) [!_G_OPEN64]: Remove conditional code.
35150 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35151 unconditional.
35152 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35153 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35154 unconditional.
35155 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35156 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35157 unconditional.
35158 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35159 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35160 unconditional.
35161 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35162 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35163 unconditional.
35164 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35165 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35166 unconditional.
35167 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35168 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35169 unconditional.
35170 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35171
b741de23
SP
351722012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35173
35174 [BZ #12140]
35175 * manual/memory.texi (Malloc Tunable Parameters): Add note
35176 about free list pointers overwriting some perturb bytes.
35177 Wording suggested by Roland McGrath.
35178
f9b9d9c9
JM
351792012-10-17 Joseph Myers <joseph@codesourcery.com>
35180
35181 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35182 (lgamma_test): Likewise.
35183 (tgamma_test): Likewise.
35184
172a631a
FW
351852012-10-16 Florian Weimer <fweimer@redhat.com>
35186
35187 [BZ #14700]
35188 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35189 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35190
e9f37252
MK
351912012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35192
35193 * NEWS: Mention BZ #14716.
35194 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35195 when removing AVAILABLE1_USES_J macro.
35196
d394eb74
L
351972012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35198
35199 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35200 (__bswap_64): __uint64_t for unsigned 64-bit int.
35201
ca38dc17
AS
352022012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35203
35204 * include/string.h (memmem): Declare libc hidden alias.
35205 * string/memmem.c (memmem): Define libc hidden alias.
35206 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35207 __read, __close instead of open, read, close.
35208
9a387d1f
L
352092012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35210
ac49ecaf
L
35211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35212 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35213 global and hidden.
35214 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35215 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35216 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35217 Likewise.
35218 (__rawmemchr_sse2): Likewise.
35219 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35220 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35221 (__strchr_sse2): Likewise.
35222 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35223 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35224 (__strcasecmp_sse2): Likewise.
35225 (__strncasecmp_sse2): Likewise.
35226 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35227 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35228 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35229 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35230 (__strrchr_sse2): Likewise.
35231 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35232 ifunc-impl-list.c.
35233 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35234 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35235 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35236 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35237 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35238 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35239 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35240 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35241 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35242 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35243 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35244 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35245 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35246 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35247 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35248 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35249 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35250 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35251 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35252 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35253 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35254 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35255 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35256 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35257 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35258 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35259 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35260 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35261 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35262 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35263
b090e8ea
L
35264 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35265 global and hidden.
35266 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35267 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35268 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35269 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35270 Likewise.
35271 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35272 Likewise.
35273 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35274 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35275 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35276 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35277 ifunc-impl-list.c.
35278 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35279 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35280 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35281 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35282 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35283 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35284 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35285 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35286 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35287 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35288 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35289 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35290 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35291 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35292 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35293 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35294 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35295 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35296 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35297 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35298 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35299 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35300 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35301 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35302 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35303 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35304 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35305 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35306 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35307 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35308 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35309 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35310 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35311 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35312 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35313 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35314 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35315 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35316 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35317 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35318 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35319
11dd4af6
L
35320 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35321 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35322 * include/ifunc-impl-list.h: New file.
35323 * misc/ifunc-impl-list.c: Likewise.
35324 * misc/Makefile (routines): Add ifunc-impl-list.
35325 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35326 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35327 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35328 TEST_NAME]: New variables.
11dd4af6
L
35329 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35330 are defined.
35331 (test_init): Call __libc_ifunc_impl_list to initialize
35332 func_list if TEST_IFUNC and TEST_NAME are defined.
35333
9a387d1f
L
35334 * string/Makefile (strop-tests): Add bcopy and bzero.
35335 * string/test-bcopy.c: New file.
35336 * string/test-bzero.c: Likewise.
35337 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35338 defined.
35339 * string/test-memset.c: Support bzero test if TEST_BZERO is
35340 defined.
35341 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35342 __libc_memmove.
35343 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35344 __libc_memset.
35345 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35346 of memset.
35347
472371b9
JM
353482012-10-10 Joseph Myers <joseph@codesourcery.com>
35349
1e4a9536
JM
35350 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35351 * configure: Regenerated.
35352
d173d12e
JM
35353 * Makeconfig (+link-static-before-libc): Don't include
35354 $(link-static-libc).
35355
472371b9
JM
35356 * libio/libio.h (_IO_pos_t): Remove.
35357
89a3ad0b
AO
353582012-10-10 Alexandre Oliva <aoliva@redhat.com>
35359
35360 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35361 McGrath.
35362
e7451425
AO
353632012-10-10 Alexandre Oliva <aoliva@redhat.com>
35364
35365 * crypt/crypt-entry.c: Include fips-private.h.
35366 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35367 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35368 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35369 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35370
4ba74a35
AO
353712012-10-10 Alexandre Oliva <aoliva@redhat.com>
35372
35373 * crypt/crypt-private.h: Include stdbool.h.
35374 (_ufc_setup_salt_r): Return bool.
35375 * crypt/crypt-entry.c: Include errno.h.
35376 (__crypt_r): Return NULL with EINVAL for bad salt.
35377 * crypt/crypt_util.c (bad_for_salt): New.
35378 (_ufc_setup_salt_r): Check that salt is long enough and within
35379 the specified alphabet.
35380 * crypt/badsalttest.c: New file.
35381 * crypt/Makefile (tests): Add it.
35382 ($(objpfx)badsalttest): New.
35383
f96f1242
MK
353842012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35385
35386 * NEWS: Add entry for BZ #14602.
35387
0e8e0c1c
JM
353882012-10-09 Joseph Myers <joseph@codesourcery.com>
35389
35390 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35391 type-generic.
35392 * math/libm-test.inc: Update comment listing what functions and
35393 macros are tested.
35394 (isgreater_test): New function.
35395 (isgreaterequal_test): Likewise.
35396 (isless_test): Likewise.
35397 (islessequal_test): Likewise.
35398 (islessgreater_test): Likewise.
35399 (isunordered_test): Likewise.
35400 (main): Call the new functions.
35401
273edc5e
RM
354022012-10-09 Roland McGrath <roland@hack.frob.com>
35403
b8493de0
RM
35404 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35405 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35406 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35407 * sysdeps/i386/configure: Regenerated.
35408 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35409 * sysdeps/mach/configure: Regenerated.
35410 * sysdeps/mach/hurd/configure: Regenerated.
35411 * sysdeps/powerpc/configure: Regenerated.
35412 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35413 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35414 * sysdeps/s390/s390-32/configure: Regenerated.
35415 * sysdeps/s390/s390-64/configure: Regenerated.
35416 * sysdeps/sh/configure: Regenerated.
35417 * sysdeps/sparc/configure: Regenerated.
35418 * sysdeps/unix/sysv/linux/configure: Regenerated.
35419 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35420 * sysdeps/x86_64/configure: Regenerated.
35421
273edc5e
RM
35422 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35423 defined. Don't check if MAP is NULL.
35424
c8450f70
JM
354252012-10-09 Joseph Myers <joseph@codesourcery.com>
35426
35427 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35428 (_G_stat64): Likewise.
35429 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35430 (_G_stat64): Likewise.
35431 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35432 instead of struct _G_stat64.
35433 * libio/fileops.c (mmap_remap_check): Likewise.
35434 (decide_maybe_mmap): Likewise.
35435 (_IO_new_file_seekoff): Likewise.
35436 (_IO_file_stat): Likewise.
35437 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35438 _G_off64_t.
35439 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35440 instead of struct _G_stat64.
35441 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35442
57e605ba
MK
354432012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35444
35445 [BZ #14602]
35446 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35447 Replace with ...
35448 (CHECK_EOL): New macro.
35449 (two_way_short_needle): Check beginning of haystack for EOL. Use
35450 CHECK_EOL.
35451 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35452 Replace with CHECK_EOL.
35453 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35454 Replace with CHECK_EOL.
35455
ef1bb361
JM
354562012-10-08 Joseph Myers <joseph@codesourcery.com>
35457
35458 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35459 type-generic.
35460 * math/libm-test.inc: Update comment listing what functions and
35461 macros are tested.
35462 (finite_test): New function.
35463 (isinf_test): Likewise.
35464 (isnan_test): Likewise.
35465 (fpclassify_test): Test subnormal input.
35466 (isfinite_test): Likewise.
35467 (isnormal_test): Likewise.
35468 (main): Call the new functions.
35469
55f11534
JN
354702012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35471
35472 [BZ #14660]
35473 * Makerules (%.dynsym): Force C locale when running
35474 $(OBJDUMP) --dynamic-syms.
35475
1ab29350
AS
354762012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35477
35478 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35479 <stdint.h>.
35480
f1ecb7ef
DM
354812012-10-06 David S. Miller <davem@davemloft.net>
35482
35483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35484 upper 32-bits of the length value in %o2 since we use branch-on-register
35485 tests which consider the entire 64-bit register.
35486
5d41d91a
L
354872012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35488
35489 * string/test-strstr.c (check2): Add a test for page boundary.
35490
3baddb72
DM
354912012-10-05 David S. Miller <davem@davemloft.net>
35492
35493 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35494 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35495 file.
35496 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35497 sysdep_routines.
35498 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35499 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35500 and bzero when HWCAP_SPARC_CRYPTO is present.
35501
9cee5585
L
355022012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35503
d7e0dab9
L
35504 [BZ #14602]
35505 * string/test-strstr.c (check2): New function.
35506 (test_main): Call check2.
35507
03759f47
L
35508 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35509 and bug-strchr1.
35510 * string/bug-strcasestr1.c (do_test): Moved to ...
35511 * string/test-strcasestr.c (check1): Here. New function.
35512 (do_one_test): Break out result checking code into ...
35513 (check_result): This. New function.
35514 (do_one_test): Call check_result.
35515 (test_main): Call check1.
35516 * string/bug-strchr1.c (do_test): Moved to ...
35517 * string/test-strchr.c (check1): Here. New function.
35518 (do_one_test): Break out result checking code into ...
35519 (check_result): This. New function.
35520 (do_one_test): Call check_result.
35521 (test_main): Call check1.
35522 * string/bug-strstr1.c (main): Moved to ...
046f153e 35523 * string/test-strstr.c (check1): Here. New function.
03759f47
L
35524 (do_one_test): Break out result checking code into ...
35525 (check_result): This. New function.
35526 (do_one_test): Call check_result.
35527 (test_main): Call check1.
35528 * string/bug-strcasestr1.c: Removed.
35529 * string/bug-strchr1.c: Likewise.
35530 * string/bug-strstr1.c: Likewise.
35531
53cea63e
L
35532 * elf/Makefile (dl-routines): Add hwcaps.
35533 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35534 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35535 (_dl_important_hwcaps): Moved to ...
35536 * elf/dl-hwcaps.c: Here. New file.
35537 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35538
9cee5585 35539 [BZ #14557]
bb859b06
L
35540 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35541 if IS_IN_rtld isn't defined.
35542
9cee5585
L
35543 * elf/dl-support.c (_dl_sysinfo_map): New.
35544 Include "get-dynamic-info.h" and "setup-vdso.h".
35545 (_dl_non_dynamic_init): Call setup_vdso.
35546 * elf/dynamic-link.h: Don't include <assert.h>.
35547 (elf_get_dynamic_info): Moved to ...
35548 * elf/get-dynamic-info.h: Here. New file.
35549 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35550 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35551 * elf/setup-vdso.h: Here. New file.
35552 * elf/rtld.c: Include "setup-vdso.h".
35553 (dl_main): Call setup_vdso.
35554
23c31b76
JM
355552012-10-05 Joseph Myers <joseph@codesourcery.com>
35556
28234b07
JM
35557 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35558 creal in comment listing functions tested. List finite, isinf,
35559 isnan, isless, islessequal, isgreater, isgreaterequal,
35560 islessgreater, isunordered, lgamma_r and pow10 as functions and
35561 macros not tested. Mention which functions not tested are aliases
35562 for other functions. Fix typo. Note that signs of NaNs are not
35563 tested.
35564
23c31b76
JM
35565 * scripts/config.guess: Update from config.git.
35566 * scripts/config.sub: Likewise.
35567
9043e228
RM
355682012-10-04 Roland McGrath <roland@hack.frob.com>
35569
35570 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35571 * misc/madvise.c (madvise): Renamed to __madvise.
35572 Make madvise a weak alias.
35573 * include/sys/mman.h: Declare __madvise.
35574 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35575 * sysdeps/unix/syscalls.list
35576 (madvise): Make __madvise the strong name, and madvise a weak alias.
35577 * sysdeps/unix/sysv/linux/syscalls.list
35578 (madvise, mmap): Remove redundant entries.
35579 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35580 * malloc/malloc.c (mtrim): Likewise.
35581 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35582
f57f8055
RM
355832012-10-03 Roland McGrath <roland@hack.frob.com>
35584
35585 * sysdeps/mach/hurd/dl-cache.c: File removed.
35586 * config.h.in (USE_LDCONFIG): New #undef.
35587 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35588 * configure: Regenerated.
35589 * elf/Makefile (dl-routines): Add dl-cache only under
35590 [$(use-ldconfig) = yes].
35591 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35592 cache on [USE_LDCONFIG].
35593 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35594 [USE_LDCONFIG].
35595 * elf/rtld.c (dl_main): Likewise.
35596
5bb0c10a
PT
355972012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35598
35599 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35600 _SC_LEVEL4_CACHE_LINESIZE.
35601
010188c6
RM
356022012-10-03 Roland McGrath <roland@hack.frob.com>
35603
35604 * sysdeps/unix/bsd/confstr.h: File removed.
35605
b6c5ec07
AO
356062012-10-02 Alexandre Oliva <aoliva@redhat.com>
35607
35608 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35609 sys/sdt-config.h.
35610
408223d4
RM
356112012-10-02 Roland McGrath <roland@hack.frob.com>
35612
35613 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35614 Make 'mapoff' field ElfW(Off) rather than off_t.
35615
bb9510dc
DL
356162012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35617
fc997c6e
DL
35618 * nscd/Makefile: Remove nscd-cflags and all its users.
35619 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35620 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35621
bb9510dc
DL
35622 [BZ #10631]
35623 * malloc.c (malloc_printerr): Clarify error message.
35624
05699367
L
356252012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35626
35627 [BZ #14648]
35628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35629 Set bit_FMA_Usable if FMA is supported.
35630 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35631 macro.
35632 (bit_FMA4_Usable): Updated.
35633 (index_FMA_Usable): New macro.
35634 (CPUID_FMA): Likewise
35635 (HAS_FMA): Defined with bit_FMA_Usable.
35636
51367701
RM
356372012-10-01 Roland McGrath <roland@hack.frob.com>
35638
35639 * bits/types.h (__swblk_t): Type removed.
35640 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35641 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35643 (__SWBLK_T_TYPE): Likewise.
35644 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35645 (__SWBLK_T_TYPE): Likewise.
35646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35647 (__SWBLK_T_TYPE): Likewise.
35648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35649 (__SWBLK_T_TYPE): Likewise.
35650
4d57bf63 356512012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 35652 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
35653
35654 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35655 (xdr_mapname): Use YPMAXMAP as maxsize.
35656 (xdr_peername): Use YPMAXPEER as maxsize.
35657 (xdr_keydat): Use YPAXRECORD as maxsize.
35658 (xdr_valdat): Use YPMAXRECORD as maxsize.
35659
93c65d43
RM
356602012-10-01 Roland McGrath <roland@hack.frob.com>
35661
497a03d6
RM
35662 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35663
93c65d43
RM
35664 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35665 * csu/init-first.c: ... here.
35666 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35667 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35668 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35669 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35670 * sysdeps/i386/init-first.c: File removed.
35671 * sysdeps/sh/init-first.c: File removed.
35672
bec749fd
JM
356732012-10-01 Joseph Myers <joseph@codesourcery.com>
35674
35675 [BZ #14645]
35676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35677 if x * y might underflow to zero and z is zero.
35678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35680 * math/libm-test.inc (min_subnorm_value): New variable.
35681 (fma_test): Add more tests.
35682 (fma_test_towardzero): Likewise.
35683 (fma_test_downward): Likewise
35684 (fma_test_upward): Likewise.
35685 (initialize): Set min_subnorm_value.
35686
8ec5b013
JM
356872012-09-29 Joseph Myers <joseph@codesourcery.com>
35688
35689 [BZ #14638]
35690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35691 0 + 0.
35692 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35693 mode for addition resulting in exact zero.
35694 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35696 exact 0 + 0.
35697 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35698 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35699 * math/libm-test.inc (fma_test): Add more tests.
35700 (fma_test_towardzero): New function.
35701 (fma_test_downward): Likewise.
35702 (fma_test_upward): Likewise.
35703 (main): Call the new functions.
35704
b1fa802e
DM
357052012-09-28 David S. Miller <davem@davemloft.net>
35706
35707 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35708
d3b9fd9e
RM
357092012-09-28 Roland McGrath <roland@hack.frob.com>
35710
ea4d37b3
RM
35711 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35712 instead of SIGALRM.
35713
ac51c949
RM
35714 * sysdeps/gnu/_G_config.h: Moved to ...
35715 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35716 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35717 * sysdeps/generic/_G_config.h: ... here.
35718
28c195f7
RM
35719 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35720
848917f9
RM
35721 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35722
6bacf05b
RM
35723 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35724 Conditionalize target on [libnss_test1.so-version].
35725
91363dbb
RM
35726 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35727
cc87f7d8
RM
35728 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35729 (elfobjdir): Move out of conditionals.
35730
b1c608fe
RM
35731 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35732 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35733 (__nss_lookup_function): Conditionalize label remove_from_tree on
35734 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 35735
1d9a6d96
DM
357362012-09-28 David S. Miller <davem@davemloft.net>
35737
35738 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35739 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35740 file.
35741 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35742 sysdep_routines.
35743 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35745 when HWCAP_SPARC_CRYPTO is present.
35746
72581615
PT
357472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35748
35749 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35750
715a900c
JL
357512012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35752
35753 [BZ #6530]
35754 * stdio-common/vfprintf.c (process_string_arg): Revert
35755 2000-07-22 change.
35756
357572011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35758
35759 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35760 for testcase.
35761 * stdio-common/tst-sprintf.c: Include <locale.h>
35762 (main): Test sprintf's handling of incomplete multibyte
35763 characters.
35764
9bac1d86
L
357652012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35766
35767 * elf/dl-runtime.c (VERSYMIDX): Removed.
35768 * elf/dl-version.c (VERSYMIDX): Likewise.
35769 * elf/do-rel.h (VERSYMIDX): Likewise.
35770 (VALIDX): Likewise.
35771 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35772 * elf/rtld.c (VALIDX): Likewise.
35773 (ADDRIDX): Likewise.
9bac1d86
L
35774 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35775 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35776 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
35777 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35778 (VALIDX): Likewise.
35779 (ADDRIDX): Likewise.
9bac1d86 35780
b31606c0
PT
357812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35782
35783 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35784
11541177
JL
357852012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35786
35787 [BZ #11438]
35788 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35789 to global scope.
35790 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35791 addresses are in the same scope as 192.0.2/24.
35792 * posix/gai.conf: Document new scope table defaults.
35793
adb26fae
SP
357942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35795
35796 [BZ #5298]
35797 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35798 for ftell. Compute offsets from write pointers instead.
35799 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35800
4573c6b0
SP
358012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35802
35803 [BZ #14543]
35804 * libio/Makefile (tests): New test case tst-fseek.
35805 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35806 combination works in wide mode.
35807 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35808 state when the external buffer state changes.
35809
aa9bbfe6
DM
358102012-09-27 David S. Miller <davem@davemloft.net>
35811
35812 [BZ #14376]
35813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35814 pass reloc->r_addend in as the 'high' argument to
35815 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35816
784421e7
DM
35817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35818
c39bc8b8
PT
358192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35820
35821 * rt/tst-aio2.c: Include <pthread.h>.
35822 * rt/tst-aio3.c: Likewise.
35823
1ccc2399
SE
358242012-09-27 Steve Ellcey <sellcey@mips.com>
35825
35826 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35827
31ed4153
L
358282012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35829
25f5f885
L
35830 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35831 contents on [SHARED].
31ed4153 35832
b7bfe116
MP
358332012-09-26 Marek Polacek <polacek@redhat.com>
35834
35835 [BZ #14530]
35836 [BZ #13741]
35837 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35838 for C++ and GCC <4.3 as well as for non GCC compilers.
35839
43c4edba
MT
358402012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35841
35842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35843
6a1bf82f
RM
358442012-09-25 Roland McGrath <roland@hack.frob.com>
35845
35846 * Makefile.in (all, install): Declare with .PHONY.
35847 Reported by Michael Hope <michael.hope@linaro.org>.
35848
8ad11b9a
TMQMF
358492012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35850
35851 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35852 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35853 system header.
35854 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35855 Likewise.
35856 (sydep_routines): Add the new and the internal functions.
35857 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35858 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35860 (GLIBC_2.17): Add the new function.
35861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35862 (GLIBC_2.17): Likewise.
35863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35864 (GLIBC_2.17): Likewise.
35865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35866 (GLIBC_2.17): Likewise.
35867 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35868
7e2fca8d
AM
358692012-09-25 Alan Modra <amodra@gmail.com>
35870
35871 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35872 Add release barrier before setting once_control to say
35873 initialisation is done. Add hints on lwarx. Use macro in
35874 place of isync.
35875 (clear_once_control): Add release barrier.
35876
b87c4b24
JM
358772012-09-25 Joseph Myers <joseph@codesourcery.com>
35878
d032e0d2
JM
35879 [BZ #13629]
35880 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35881 specially.
35882 * math/s_clog10.c (__clog10): Likewise.
35883 * math/s_clog10f.c (__clog10f): Likewise.
35884 * math/s_clog10l.c (__clog10l): Likewise.
35885 * math/s_clogf.c (__clogf): Likewise.
35886 * math/s_clogl.c (__clogl): Likewise.
35887 * math/Makefile (libm-calls): Add x2y2m1.
35888 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35889 (__x2y2m1): Likewise.
35890 (__x2y2m1l): Likewise.
35891 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35892 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35895 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35896 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35897 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35898 * sysdeps/i386/fpu/libm-test-ulps: Update.
35899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35900
b87c4b24
JM
35901 [BZ #14621]
35902 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35903 int as type of variable DEPTH.
35904 (glob): Use size_t instead of int as type of variables NEWCOUNT
35905 and OLD_PATHC.
35906
6d3bf199
LD
359072012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35908
22bf5c17
LD
35909 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35910 Add s_sincosf-sse2.
35911 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35912 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35913 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35914 macros for using routine as __sincosf_ia32.
35915 Use macro for function declaration and weak_alias.
35916 * sysdeps/i386/fpu/libm-test-ulps: Update.
35917
35918 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35920
35921 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
35922 subnormal argument.
35923 * math/s_cexpf.c (__cexpf): Likewise.
35924 * math/s_csinf.c (__csinf): Likewise.
35925 * math/s_csinhf.c (__csinhf): Likewise.
35926 * math/s_ctanf.c (__ctanf): Likewise.
35927 * math/s_ctanhf.c (__ctanhf): Likewise.
35928 * math/s_ccosh.c (__ccoshf): Likewise.
35929 * math/s_cexp.c (__cexpl): Likewise.
35930 * math/s_csin.c (__csin): Likewise.
35931 * math/s_csinh.c (__csinh): Likewise.
35932 * math/s_ctan.c (__ctan): Likewise.
35933 * math/s_ctanh.c (ctanh): Likewise.
35934 * math/s_ccoshl.c (__ccoshl): Likewise.
35935 * math/s_cexpl.c (__cexpl): Likewise.
35936 * math/s_csinl.c (__csinl): Likewise.
35937 * math/s_csinhl.c (__csinhl): Likewise.
35938 * math/s_ctanl.c (__ctanl): Likewise.
35939 * math/s_ctanhl.c (__ctanhl): Likewise.
35940
203e5603
JM
359412012-09-25 Joseph Myers <joseph@codesourcery.com>
35942
35943 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35944 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35945 (_IO_off_t): Define to __off_t, not _G_off_t.
35946 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35947 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35948 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35949 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35950 type of __dummy and __dummy2 fields.
35951 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35952 (_G_ssize_t): Likewise.
35953 (_G_off_t): Likewise.
35954 (_G_pid_t): Likewise.
35955 (_G_uid_t): Likewise.
35956 (_G_wchar_t): Likewise.
35957 (_G_wint_t): Likewise.
35958 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35959 (_G_ssize_t): Likewise.
35960 (_G_off_t): Likewise.
35961 (_G_pid_t): Likewise.
35962 (_G_uid_t): Likewise.
35963 (_G_wchar_t): Likewise.
35964 (_G_wint_t): Likewise.
35965 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35966 (_G_ssize_t): Likewise.
35967 (_G_off_t): Likewise.
35968 (_G_pid_t): Likewise.
35969 (_G_uid_t): Likewise.
35970 (_G_wchar_t): Likewise.
35971 (_G_wint_t): Likewise.
35972
9fab36eb
SP
359732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35974
35975 * malloc/arena.c: Include malloc-sysdep.h.
35976 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35977 is sufficient to shrink the heap or an unmap is needed.
35978 * sysdeps/generic/malloc-sysdep.h: New file. Define
35979 new function check_may_shrink_heap.
35980 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35981 new function check_may_shrink_heap.
35982
2b4f00d1
SP
359832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35984
35985 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35986 comments.
35987
9a9028b1
DL
359882012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35989
57c69bef
DL
35990 * catgets/test-gencat.sh: Add "set -e".
35991 * elf/tst-pathopt.sh: Likewise.
35992 * grp/tst_fgetgrent.sh: Likewise.
35993 * iconvdata/run-iconv-test.sh: Likewise.
35994 * intl/tst-gettext.sh: Likewise.
35995 * intl/tst-gettext2.sh: Likewise.
35996 * intl/tst-gettext4.sh: Likewise.
35997 * intl/tst-gettext6.sh: Likewise.
35998 * intl/tst-translit.sh: Likewise.
35999 * io/ftwtest-sh: Likewise.
36000 * libio/test-freopen.sh: Likewise.
36001 * malloc/tst-mtrace.sh: Likewise.
36002 * posix/globtest.sh: Likewise.
36003 * posix/tst-getconf.sh: Likewise.
36004 * posix/wordexp-tst.sh: Likewise.
36005 * stdio-common/tst-printf.sh: Likewise.
36006 * stdio-common/tst-unbputc.sh: Likewise.
36007 * stdlib/tst-fmtmsg.sh: Likewise.
36008 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36009 * catgets/Makefile: Do not specify -e option when running
36010 testsuite shell scripts.
36011 * elf/Makefile: Likewise.
36012 * grp/Makefile: Likewise.
36013 * iconvdata/Makefile: Likewise.
36014 * intl/Makefile: Likewise.
36015 * io/Makefile: Likewise.
36016 * libio/Makefile: Likewise.
36017 * malloc/Makefile: Likewise.
36018 * posix/Makefile: Likewise.
36019 * stdio-common/Makefile: Likewise.
36020 * stdlib/Makefile: Likewise.
36021 * sysdeps/x86_64/Makefile: Likewise.
36022
9a9028b1
DL
36023 * io/ftwtest-sh: Add copyright header.
36024 * posix/globtest.sh: Likewise.
36025 * posix/tst-getconf.sh: Likewise.
36026 * posix/wordexp-tst.sh: Likewise.
36027 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36028
ced6f16e
L
360292012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36030
94b32c39
L
36031 [BZ #13679]
36032 * Makeconfig (+link): Defined as $(+link-static) if
36033 $(build-shared) isn't yes.
36034 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36035 isn't yes.
36036 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36037
189e935b
L
36038 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36039
ced6f16e
L
36040 [BZ #14562]
36041 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36042 new chunk size with MALLOC_ALIGN_MASK.
36043
a9f8e53a
JM
360442012-09-24 Joseph Myers <joseph@codesourcery.com>
36045
36046 [BZ #5044]
36047 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36048 <rounding-mode.h>.
36049 (__printf_fphex): Determine rounding using get_rounding_mode and
36050 round_away.
36051 * stdio-common/tst-printf-round.c (struct hex_test): New
36052 structure.
36053 (hex_tests): New variable.
36054 (test_hex_in_one_mode): New function.
36055 (do_test): Also run tests for hex float output.
36056
43153109
JM
360572012-09-21 Joseph Myers <joseph@codesourcery.com>
36058
36059 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36060 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36061 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36062 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36063 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36064 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36065 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36066 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36067
8a26625d
JM
360682012-09-20 Joseph Myers <joseph@codesourcery.com>
36069
36070 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36071 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36072 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36073 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36074
f3fd569c
DL
360752012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36076
36077 [BZ #14579]
36078 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36079 mode only.
36080 * elf/tst-rtld-load-self.sh: New test.
36081 * elf/Makefile: Run it.
36082
63bbedd4
JM
360832012-09-18 Joseph Myers <joseph@codesourcery.com>
36084
36085 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36086 (tst-writev-ENV): Remove.
36087 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36088
626f8b6a
CM
360892012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36090
36091 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36092
b7aaa4d6
JM
360932012-09-17 Joseph Myers <joseph@codesourcery.com>
36094
36095 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36096 unconditional.
36097 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36098 Likewise.
36099 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36100 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36101 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36102 Likewise.
36103
65513990
L
361042012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36105
36106 [BZ #14587]
36107 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36108 * config.make.in (have-cpp-asm-debuginfo): Removed.
36109 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36110 * configure: Regenerated.
36111
784761be
JM
361122012-09-14 Joseph Myers <joseph@codesourcery.com>
36113
36114 [BZ #5044]
36115 * stdio-common/printf_fp.c: Include <stdbool.h> and
36116 <rounding-mode.h>.
36117 (___printf_fp): Determine rounding using get_rounding_mode and
36118 round_away.
36119 * stdio-common/tst-printf-round.c: New file.
36120 * stdio-common/Makefile (tests): Add tst-printf-round.
36121 (link-libm): New variable.
36122 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36123
9503345f
L
361242012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36125
36126 [BZ #14576]
36127 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36128 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36129 Likewise.
36130 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36131 Likewise.
36132
ad35fc00
JM
361332012-09-13 Joseph Myers <joseph@codesourcery.com>
36134
36135 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36136 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36137 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36138 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36139
6c9b0f68
JM
361402012-09-12 Joseph Myers <joseph@codesourcery.com>
36141
36142 [BZ #14518]
36143 * include/rounding-mode.h: New file.
36144 * sysdeps/generic/get-rounding-mode.h: Likewise.
36145 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36146 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36147 (MAX_VALUE): New macro.
36148 (MIN_VALUE): Likewise.
36149 (overflow_value): New function.
36150 (underflow_value): Likewise.
36151 (round_and_return): Use overflow_value and underflow_value to
36152 determine return values in overflow and underflow cases. Use
36153 round_away to determine rounding depending on rounding mode.
36154 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36155 determine return values in overflow and underflow cases.
36156 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36157 (struct test_results): New structure.
36158 (struct test): Use struct test_results to store expected results
36159 for all rounding modes.
36160 (TEST): Include expected results for all rounding modes.
36161 (test_in_one_mode): New function.
36162 (do_test): Use test_in_one_mode to compute and check results.
36163 Check results for all rounding modes.
36164 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36165 $(link-libm).
36166
19fcedd5
AM
361672012-12-09 Allan McRae <allan@archlinux.org>
36168
1e9d84cd 36169 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36170
8bbfd2f1
JM
361712012-09-11 Joseph Myers <joseph@codesourcery.com>
36172
36173 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36174 (_G_int32_t): Likewise.
36175 (_G_uint16_t): Likewise.
36176 (_G_uint32_t): Likewise.
36177 (_G_HAVE_BOOL): Likewise.
36178 (_G_HAVE_ATEXIT): Likewise.
36179 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36180 (_G_HAVE_IO_FILE_OPEN): Likewise.
36181 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36182 (_G_int32_t): Likewise.
36183 (_G_uint16_t): Likewise.
36184 (_G_uint32_t): Likewise.
36185 (_G_HAVE_BOOL): Likewise.
36186 (_G_HAVE_ATEXIT): Likewise.
36187 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36188 (_G_HAVE_IO_FILE_OPEN): Likewise.
36189 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36190 (_G_int32_t): Likewise.
36191 (_G_uint16_t): Likewise.
36192 (_G_uint32_t): Likewise.
36193 (_G_HAVE_BOOL): Likewise.
36194 (_G_HAVE_ATEXIT): Likewise.
36195 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36196 (_G_HAVE_IO_FILE_OPEN): Likewise.
36197
b1dc5912
L
361982012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36199
36200 * csu/libc-tls.c: Update copyright years.
36201
0e886ef9
JM
362022012-09-10 Joseph Myers <joseph@codesourcery.com>
36203
28361c5e
JM
36204 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36205 [!_G_USING_THUNKS]: Remove conditional code.
36206 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36207 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36208
0e886ef9
JM
36209 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36210 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36211 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36212 (_G_VTABLE_LABEL_PREFIX): Likewise.
36213 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36214 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36215 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36216 (_G_VTABLE_LABEL_PREFIX): Likewise.
36217 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36218 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36219 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36220 (_G_VTABLE_LABEL_PREFIX): Likewise.
36221 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36222
bcba7aa2
L
362232012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36224
36225 * libio/Makefile: Include ../Makeconfig before tests.
36226 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36227 only if $(build-shared) is yes.
36228
06585ee8
L
36229 * iconv/gconv_db.c: Update copyright years.
36230
80ccd52c
LD
362312012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36232
36233 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36234 unwind info if defined PIC. Fix special cases description.
36235 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36236
36237 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36238 DP_HI_MASK entry.
36239 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36240
691bc9c1
L
362412012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36242
3d9b46b3
L
36243 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36244
de2139a9
L
36245 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36246 is NULL.
36247
5ca78dd0
L
36248 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36249 (LDLIBS-tst-chk4): This.
36250 (LDFLAGS-tst-chk5): Renamed to ...
36251 (LDLIBS-tst-chk5): This.
36252 (LDFLAGS-tst-chk6): Renamed to ...
36253 (LDLIBS-tst-chk6): This.
36254 (LDFLAGS-tst-lfschk4): Renamed to ...
36255 (LDLIBS-tst-lfschk4): This.
36256 (LDFLAGS-tst-lfschk5): Renamed to ...
36257 (LDLIBS-tst-lfschk5): This.
36258 (LDFLAGS-tst-lfschk6): Renamed to ...
36259 (LDLIBS-tst-lfschk6): This.
36260
691bc9c1
L
36261 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36262 on $(common-objpfx)soversions.mk.
36263
65cafb1c
JM
362642012-09-07 Joseph Myers <joseph@codesourcery.com>
36265
36266 [BZ #10014]
36267 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36268 example host name.
36269
c78ab094
SP
362702012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36271
36272 * malloc/arena.c (arena_get_retry): New function that gets
36273 another arena for the caller to try its request on.
36274 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36275 current arena cannot fulfill the request.
36276 (__libc_memalign): Likewise.
36277 (__libc_memalign): Likewise.
36278 (__libc_pvalloc): Likewise.
36279 (__libc_calloc): Likewise.
36280
01f49f59
JT
362812012-09-05 John Tobey <john.tobey@gmail.com>
36282
36283 [BZ #13542]
36284 * manual/arith.texi (Operations on Complex): Fix description
36285 of carg branch cut.
36286
4c23fed5
JM
362872012-09-06 Joseph Myers <joseph@codesourcery.com>
36288
1d3c8572
JM
36289 [BZ #10014]
36290 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36291 host name.
36292
4c23fed5
JM
36293 [BZ #10038]
36294 * manual/memory.texi (Memory): Make order of menu items match
36295 order of sections.
36296
04570aaa
L
362972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36298
36299 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36300 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36301 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36302
b80af2f4
L
363032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36304
36305 * csu/libc-tls.c (static_dtv): Renamed to ...
36306 (_dl_static_dtv): This. Make it global.
36307 (_dl_initial_dtv): Removed.
36308 (__libc_setup_tls): Updated.
36309 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36310 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36311 DL_INITIAL_DTV.
36312
2abe9f15
PM
363132012-09-06 Petr Machata <pmachata@redhat.com>
36314
36315 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36316 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36317 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36318 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36319
0948c3af
L
363202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36321
36322 [BZ #14545]
36323 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36324 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36325 freeing dtv[-1].
36326
a5055ad1
L
363272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36328
36329 [BZ #14544]
36330 * Makeconfig (link-static-before-libc): Replace $(+prector)
36331 with $(+prectorT).
36332 (link-static-after-libc): Replace $(+postctor) with
36333 $(+postctorT).
36334 (link-bounded): Replace $(+prector)/$(+postctor) with
36335 $(+prectorT)/$(+postctorT).
36336 (+prectorT): New macro.
36337 (+postctorT): Likewise.
36338
ed8c2ecd
JM
363392012-09-06 Joseph Myers <joseph@codesourcery.com>
36340
36341 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36342 (round_str): Handle values above the maximum for IBM long double
36343 as inexact.
36344 * stdlib/tst-strtod-round.c (tests): Regenerated.
36345
14c996c8
AK
363462012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36347
36348 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36349 assembler flag.
36350 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36351 zarch_nohighgprs around the zarch optimized routines.
36352 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36353 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36354 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36355 for zarch.
36356
430d6ce6
DM
363572012-09-05 David S. Miller <davem@davemloft.net>
36358
36359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36360
57f41c40
AS
36361 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36362 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
36363 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36364 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36365 entries.
36366
24d4e01b
AO
363672012-09-05 Alexandre Oliva <aoliva@redhat.com>
36368
36369 * malloc/arena.c: Fold copyright years.
36370 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36371
61d58174
AO
363722012-09-05 Alexandre Oliva <aoliva@redhat.com>
36373
36374 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36375
20196a5e
AO
363762012-09-05 Alexandre Oliva <aoliva@redhat.com>
36377
36378 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36379
5c447383
AO
363802012-09-05 Alexandre Oliva <aoliva@redhat.com>
36381
36382 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36383 change internal state upon failure.
36384
fad64255
AO
363852012-09-05 Alexandre Oliva <aoliva@redhat.com>
36386
36387 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36388 * malloc/memusage.c (mmap): Likewise.
36389 (mmap64, mremap): Likewise. Adjust name in comment.
36390
1ffb8c90
SP
363912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36392
36393 * libio/fileops.c: Fix typos in comments.
36394 * libio/oldfileops.c: Likewise.
36395 * libio/wfileops.c: Likewise.
36396
6ef9cc37
SP
363972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36398
36399 [BZ #1349]
36400 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36401 (tst-malloc-usable-ENV): Set environment for test case.
36402 * malloc/hooks.c (malloc_check_get_size): New function to get
36403 requested size.
36404 * malloc/malloc.c (musable): Use malloc_check_get_size.
36405 * malloc/tst-malloc-usable.c: New test case.
36406
4d038ae3
AS
364072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36408
36409 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36410
c4e85184
AM
364112012-09-05 Allan McRae <allan@archlinux.org>
36412
b9dafc56 36413 [BZ #13966]
c4e85184
AM
36414 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36415 determine header location.
36416 * configure: Regenerated.
36417
e1343020
AS
364182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36419
36420 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36421 float format.
36422 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
36423 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36424 format.
e1343020
AS
36425 (test): Regenerate.
36426
0a9f1987
DM
364272012-09-04 David S. Miller <davem@davemloft.net>
36428
36429 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36430 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36431 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36432
29237804
FW
364332012-09-04 Florian Weimer <fweimer@redhat.com>
36434
36435 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36436 failures.
36437
edb3cb88
FW
36438 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36439
60160d83
JM
364402012-09-04 Joseph Myers <joseph@codesourcery.com>
36441
36442 [BZ #9914]
36443 * libio/iogetdelim.c: Include <limits.h>.
36444 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36445 + len + 1 would overflow.
36446
bcd6c8dc
AJ
364472012-09-03 Andreas Jaeger <aj@suse.de>
36448
36449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36450 * sysdeps/i386/fpu/libm-test-ulps: Update.
36451
4ffffbd2
LD
364522012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36453
36454 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36455 Add s_sinf-sse2, s_conf-sse2.
36456
36457 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36458 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36459 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36460 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36461
36462 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36463 for using routine as __sinf_ia32.
36464 Use macro for function declaration and weak_alias.
36465 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36466 for using routine as __cosf_ia32.
36467 Use macro for function declaration and weak_alias.
36468
36469 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36470 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36471
36472 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36473 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36475
36476 * math/libm-test.inc (cos_test): Add more test cases.
36477 (sin_test): Likewise.
36478 (sincos_test): Likewise.
36479
511fa286
AK
364802012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36481
36482 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36483 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36484 hidden.
36485 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36486
5f30cfec
L
364872012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36488
36489 [BZ #14538]
36490 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36491 first element of the GOT.
36492 (elf_machine_load_address): Return the difference between
36493 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36494
0786794f
AM
364952012-09-01 Allan McRae <allan@archlinux.org>
36496
5f30cfec
L
36497 [BZ #13412]
36498 * configure.in (AWK): Require gawk version 3.0 or later.
36499 * configure: Regenerated.
0786794f 36500
26889eac
JM
365012012-09-01 Joseph Myers <joseph@codesourcery.com>
36502
36503 * sysdeps/unix/sysv/linux/kernel-features.h
36504 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36505 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36506 [__NR_clock_getres]: Make code unconditional.
36507 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36508 (clock_getcpuclockid): Remove code left unreachable by removal of
36509 conditionals.
36510 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36511 code unconditional.
36512 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36513 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36514 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36515 Make code unconditional.
36516 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36517 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36518 * sysdeps/unix/sysv/linux/clock_settime.c
36519 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36520 conditional code.
36521 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36522 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36523
d22e28b0
L
365242012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36525
36526 [BZ #14476]
36527 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36528 scripts/test-installation.pl.
36529
36530 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36531 and $ld_so_version if it is set.
36532
050af9c4
SP
365332012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36534
36535 [BZ #14516]
36536 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36537 failure if reading from procfs failed.
36538 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36539
ad845c0b
JM
365402012-08-27 Joseph Myers <joseph@codesourcery.com>
36541
36542 * sysdeps/unix/sysv/linux/kernel-features.h
36543 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36544 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36545 Remove conditional code.
36546 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36547 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36548 Remove conditional code.
36549 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36550 * sysdeps/unix/sysv/linux/i386/fxstat.c
36551 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36552 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36553 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36554 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36555 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36556 * sysdeps/unix/sysv/linux/i386/lxstat.c
36557 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36558 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36559 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36560 Remove conditional code.
36561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36562 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36563 Remove conditional code.
36564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36565 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36566 <kernel-features.h>.
36567 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36568 Remove.
36569 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36570 Remove conditional code.
36571 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36572 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36573 Remove conditional.
36574
5dbf56af
MF
365752012-08-27 Mike Frysinger <vapier@gentoo.org>
36576
36577 [BZ #5400]
36578 * NEWS: Add fixed bug number.
36579
d6e70f43
JM
365802012-08-27 Joseph Myers <joseph@codesourcery.com>
36581
7efb4737
JM
36582 [BZ #14519]
36583 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36584 underflowing exponent in case of negative sign.
36585 * stdlib/tst-strtod-round-data: Add more tests.
36586 * stdlib/tst-strtod-round.c (tests): Regenerated.
36587
af92131a
JM
36588 [BZ #3479]
36589 * stdlib/strtod_l.c (NDIG): Remove.
36590 (HEXNDIG): Likewise.
36591 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36592 smallest representable value.
36593 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36594 lie within an exact representation of 1/2 ulp of the result.
36595 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36596 unconditionally.
36597 (TENS_P9_IDX): Define unconditionally.
36598 (TENS_P9_SIZE): Likewise.
36599 (TENS_P10_IDX): Likewise.
36600 (TENS_P10_SIZE): Likewise.
36601 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36602 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36603 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36604 entries for 10^2^13 and 10^2^14.
36605 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36606 (TENS_P13_IDX): Define.
36607 (TENS_P13_SIZE): Likewise.
36608 (TENS_P14_IDX): Likewise.
36609 (TENS_P14_SIZE): Likewise.
36610 (_fpioconst_pow10): Change array size to
36611 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36612 unconditional.
36613 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36614 1024]: Add entries for 10^2^13 and 10^2^14.
36615 [LAST_POW10 > _LAST_POW10]: Remove #error.
36616 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36617 (_fpioconst_pow10): Change array size to
36618 FPIOCONST_POW10_ARRAY_SIZE.
36619 * stdlib/gen-fpioconst.c: New file.
36620 * stdlib/gen-tst-strtod-round.c: Likewise.
36621 * stdlib/tst-strtod-round-data: Likewise.
36622 * stdlib/tst-strtod-round.c: Likewise.
36623 * stdlib/Makefile (tests): Add tst-strtod-round.
36624
d6e70f43
JM
36625 [BZ #14459]
36626 * stdlib/strtod_l.c: Include <stdint.h>.
36627 (NDEBUG): Do not define.
36628 (round_and_return): Change EXPONENT parameter to type intmax_t.
36629 Rearrange calculations to avoid internal overflow possibilities.
36630 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36631 Rearrange calculations to avoid internal overflow possibilities.
36632 Assert that number fits inside MPNSIZE limbs.
36633 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36634 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36635 calculations and add assertions to avoid internal overflow
36636 possibilities. Add casts to avoid signed/unsigned operations.
36637 * stdlib/tst-strtod-overflow.c: New file.
36638 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36639
1f529f7d
MP
366402012-08-25 Marek Polacek <polacek@redhat.com>
36641
36642 * time/time.h: Fix some typos in comments.
36643
59a629f1
RM
366442012-08-23 Roland McGrath <roland@hack.frob.com>
36645
36646 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36647 * posix/tst-rfc3484-2.c: Likewise.
36648 * posix/tst-rfc3484-3.c: Likewise.
36649
d3bafbc9
SM
366502012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36651
36652 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36653 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36654
4efcc022
JM
366552012-08-23 Joseph Myers <joseph@codesourcery.com>
36656
36657 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36658 #include of fxstatat64.c.
36659
3cc3ef96
RM
366602012-08-22 Roland McGrath <roland@hack.frob.com>
36661
f04e2132
RM
36662 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36663 * shadow/getspent_r.c: Likewise.
36664 * shadow/getspnam.c: Likewise.
36665 * shadow/getspnam_r.c: Likewise.
36666 * gshadow/getsgent.c: Likewise.
36667 * gshadow/getsgent_r.c: Likewise.
36668 * gshadow/getsgnam.c: Likewise.
36669 * gshadow/getsgnam_r.c: Likewise.
36670 * inet/getnetbyad.c: Likewise.
36671 * inet/getnetbyad_r.c: Likewise.
36672 * inet/getnetbynm.c: Likewise.
36673 * inet/getnetbynm_r.c: Likewise.
36674 * inet/getnetent.c: Likewise.
36675 * inet/getnetent_r.c: Likewise.
36676 * inet/getproto.c: Likewise.
36677 * inet/getproto_r.c: Likewise.
36678 * inet/getprtent.c: Likewise.
36679 * inet/getprtent_r.c: Likewise.
36680 * inet/getprtname.c: Likewise.
36681 * inet/getprtname_r.c: Likewise.
36682 * inet/getrpcbyname.c: Likewise.
36683 * inet/getrpcbyname_r.c: Likewise.
36684 * inet/getrpcbynumber.c: Likewise.
36685 * inet/getrpcbynumber_r.c: Likewise.
36686 * inet/getrpcent.c: Likewise.
36687 * inet/getrpcent_r.c: Likewise.
36688 * inet/getaliasent.c: Likewise.
36689 * inet/getaliasent_r.c: Likewise.
36690 * inet/getaliasname.c: Likewise.
36691 * inet/getaliasname_r.c: Likewise.
36692 * nscd/getgrgid_r.c: Likewise.
36693 * nscd/getgrnam_r.c: Likewise.
36694 * nscd/gethstbyad_r.c: Likewise.
36695 * nscd/gethstbynm3_r.c: Likewise.
36696 * nscd/getpwnam_r.c: Likewise.
36697 * nscd/getpwuid_r.c: Likewise.
36698 * nscd/getsrvbynm_r.c: Likewise.
36699 * nscd/getsrvbypt_r.c: Likewise.
36700 * nscd/gai.c: Likewise.
36701
c53d909c
RM
36702 * configure.in (build_nscd): New substituted variable, set
36703 by --disable-build-nscd and defaults to $use_nscd.
36704 * configure: Regenerated.
36705 * config.make.in (build-nscd): New substituted variable.
36706 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36707 Change conditional to require [$(build-nscd) = yes] as well.
36708 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36709
3cc3ef96
RM
36710 [BZ# 13696]
36711 * configure.in (use_nscd): New substituted variable, set by
36712 --disable-nscd. If enabled, define USE_NSCD.
36713 * configure: Regenerated.
36714 * config.h.in: Add USE_NSCD.
36715 * config.make.in (use-nscd): New substituted variable.
36716 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36717 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36718 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36719 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36720 (CFLAGS-getgrnam_r.c): Likewise.
36721 (CFLAGS-initgroups.c): Likewise.
36722 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36723 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36724 Variables removed.
36725 * inet/getnetgrent_r.c
36726 (nscd_setnetgrent): New function, broken out of ...
36727 (setnetgrent): ... here. Call it.
36728 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36729 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36730 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36731 * nscd/Makefile (routines, aux): Move definitions after include of
36732 Makeconfig. Conditionalize on [$(use-nscd) != no].
36733 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36734 Conditionalize on [USE_NSCD].
36735 (is_nscd, nscd_init_cb): Likewise.
36736 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36737 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36738 * nss/nss_db/db-init.c: Likewise.
36739 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36740 [USE_NSCD].
36741 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36742 (make_request): Use it.
36743 (cache_valid_p): New function.
36744 (__check_pf): Use it.
36745 * NEWS: Add item for --disable-nscd.
36746
07e51550
DL
367472012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36748
36749 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36750 to support sed >= 4.2.1-20-ga9bf076.
36751 * configure: Regenerated.
36752
35a5b08b
RM
367532012-08-22 Roland McGrath <roland@hack.frob.com>
36754
36755 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36756 Conditionalize whole body on [IREL].
36757
8479f23a
JL
367582012-08-22 Jeff Law <law@redhat.com>
36759
36760 [BZ #14505]
36761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36762 if the family is PF_UNSPEC.
36763
48da0b21
MF
367642012-08-22 Mike Frysinger <vapier@gentoo.org>
36765
36766 * Makerules (lib-version): Rename from V.
36767 (install-lib-nosubdir): Change V to lib-version.
36768
15d0da8c
WS
367692012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36770
36771 [BZ #14252]
36772 * powerpc32/power6/wcschr.c: New file.
36773 * powerpc32/power6/wcscpy.c: New file.
36774 * powerpc32/power6/wcsrchr.c: New file.
36775 * powerpc64/power6/wcschr.c: New file.
36776 * powerpc64/power6/wcscpy.c: New file.
36777 * powerpc64/power6/wcsrchr.c: New file.
36778
bcca0895
MK
367792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36780
36781 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36782 (two_way_short_needle): Use it.
5a4aaa33
RM
36783 * string/strstr.c (AVAILABLE1_USES_J): Define.
36784 * string/strcasestr.c: Likewise.
99677e57
MK
36785
36786 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36787 array references.
36788 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36789
400726de
MK
36790 [BZ #11607]
36791 * NEWS: Add an entry.
36792 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36793 define their defaults.
36794 (two_way_short_needle): Detect end-of-string on-the-fly.
36795 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36796 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36797 * string/bug-strcasestr1.c: New test.
36798 * string/Makefile: Run it.
36799
20a71f2c
MK
368002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36801
36802 [BZ #11607]
36803 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36804 the first character.
36805
21ad0558
RM
368062012-08-21 Roland McGrath <roland@hack.frob.com>
36807
36808 * csu/elf-init.c (__libc_csu_irel): Function removed.
36809 * csu/libc-start.c (apply_irel): New function.
36810 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36811
0e1d9911
JM
368122012-08-21 Joseph Myers <joseph@codesourcery.com>
36813
36814 * sysdeps/unix/sysv/linux/kernel-features.h
36815 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36816 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36817 <kernel-features.h>.
36818 [__NR_fadvise64_64]: Make code unconditional.
36819 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36820 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36821 !__NR_fadvise64_64)]: Likewise.
36822 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36823 !__NR_fadvise64_64))]: Likewise.
36824 [__NR_fadvise64]: Make code unconditional.
36825 [!__NR_fadvise64]: Remove conditional code.
36826 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36827 <kernel-features.h>.
36828 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36829 unconditional.
36830 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36831 conditional code.
36832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36833 not include <kernel-features.h>.
36834 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36835 unconditional.
36836 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36837 conditional code.
36838 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36839 include <kernel-features.h>.
36840 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36841 unconditional.
36842 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36843 conditional code.
36844
14a50c9d
WS
368452012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36846
36847 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36848 slight instruction rearrangements per scrollpipe analysis.
36849 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36850
c0f4faf0
RM
368512012-08-20 Roland McGrath <roland@hack.frob.com>
36852
696da859
RM
36853 * manual/syslog.texi (syslog; vsyslog, closelog):
36854 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36855 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36856
c0f4faf0
RM
36857 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36858 DSOCAPS to match condition on defining it.
36859
348363b2
JM
368602012-08-20 Joseph Myers <joseph@codesourcery.com>
36861
a35cbf28
JM
36862 * sysdeps/unix/sysv/linux/kernel-features.h
36863 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36865 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36866 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36868 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36869 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36871 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36872 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36873
445f7ecd
JM
36874 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36875 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36876
348363b2
JM
36877 * sysdeps/unix/sysv/linux/kernel-features.h
36878 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36879 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36880 unconditional.
36881 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36882 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36883 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36884 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36885 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36886 Make code unconditional.
36887 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36888 (__mmap64) [!__NR_mmap2]: Likewise.
36889 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36890 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36891 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36892 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36893 [__NR_mmap2]: Make code unconditional.
36894 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36895 (__mmap64) [!__NR_mmap2]: Likewise.
36896
bc5bc0e5
AK
368972012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36898
36899 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36900
88d506de
AJ
369012012-08-18 Andreas Jaeger <aj@suse.de>
36902
36903 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36904
493387d2
MF
369052012-08-18 Mike Frysinger <vapier@gentoo.org>
36906
36907 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36908 * include/unistd.h (__have_sock_cloexec): Likewise.
36909 (__have_pipe2): Likewise.
36910 (__have_dup3): Likewise.
36911
a277af22
MF
369122012-08-18 Mike Frysinger <vapier@gentoo.org>
36913
36914 [BZ #9685]
36915 * include/unistd.h (__have_pipe2): Change define into an extern int.
36916 (__have_dup3): Likewise.
36917 * socket/have_sock_cloexec.c: Include fcntl.h.
36918 (__have_pipe2): New variable.
36919 (__have_dup3): Likewise.
36920
fdab8fd3
MF
369212012-08-17 Mike Frysinger <vapier@gentoo.org>
36922
36923 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36924
31035e80
MP
369252012-08-17 Marek Polacek <polacek@redhat.com>
36926
36927 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36928 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36929
3bd9e993
RM
369302012-08-17 Roland McGrath <roland@hack.frob.com>
36931
c91c505f
RM
36932 * configure.in: Add AC_SUBST for sysheaders.
36933 * configure: Regenerated.
36934 * config.make.in (sysheaders): New substituted variable.
36935
7c6f9d53
RM
36936 * sysdeps/unix/mkfifo.c: Moved ...
36937 * sysdeps/posix/mkfifo.c: ... here.
36938 * sysdeps/unix/mkfifoat.c: Moved ...
36939 * sysdeps/posix/mkfifoat.c: ... here.
36940
36941 * sysdeps/unix/utime.c: Moved ...
36942 * sysdeps/posix/utime.c: ... here.
36943
36944 * sysdeps/unix/time.c: Moved ...
36945 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
36946 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36947 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
36948
36949 * sysdeps/unix/nice.c: Moved ...
36950 * sysdeps/posix/nice.c: ... here.
36951
36952 * sysdeps/unix/alarm.c: Moved ...
36953 * sysdeps/posix/alarm.c: ... here.
36954
3bd9e993
RM
36955 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36956
d1f09384
JL
369572012-08-17 Jeff Law <law@redhat.com>
36958
36959 * intl/Makefile (codeset_mo): New variable.
36960 ($(codeset_mo)): New target.
36961 (tst-codeset.out): Depend on that. Remove explicit rule.
36962 (tst-gettext3.out, tst-gettext5.out): Likewise.
36963 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36964 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36965 * intl/tst-codeset.sh: Remove.
36966 * intl/tst-gettext3.sh: Likewise.
36967 * intl/tst-gettext5.sh: Likewise.
36968
2ae1ae5c
RM
369692012-08-17 Roland McGrath <roland@hack.frob.com>
36970
c31fdb83
RM
36971 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36972 * sysdeps/unix/syscalls.list: ... here.
36973
a0844057
RM
36974 * sysdeps/posix/getaddrinfo.c
36975 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36976 (gaiconf_init, gaiconf_reload): Use them.
36977 [!_STATBUF_ST_NSEC]
36978 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36979 Define using time_t rather than struct timespec.
36980
750c1f2a
RM
36981 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36982 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36983 Macros removed.
36984 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36985 [!NO_THREADS].
36986 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36987 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36988 Likewise.
36989
2ae1ae5c
RM
36990 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36991 __libc_cleanup_push argument.
36992
e66a42f5
RM
36993 * bits/param.h: New file.
36994 * misc/sys/param.h: New file.
36995 * include/sys/param.h: New file.
36996 * misc/Makefile (headers): Add bits/param.h.
36997 * sysdeps/generic/sys/param.h: File removed.
36998 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36999 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37000 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37001 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37002
b7c08a66
RM
37003 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37004 last change.
37005
b2e1c562
RM
37006 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37007 [_IO_MTSAFE_IO].
37008 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37009 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37010 New macros.
37011
c75ccd4c
RM
37012 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37013 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37014 rather than -D_IO_MTSAFE_IO conditionally.
37015 * stdio-common/Makefile (CPPFLAGS): Likewise.
37016 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37017 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37018 Use $(libio-mtsafe).
37019 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37020 of -D_IO_MTSAFE_IO.
37021 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37022 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37023 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37024 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37025 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37026 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37027 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37028 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37029 (CFLAGS-fread_u_chk.c): Likewise.
37030 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37031 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37032 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37033 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37034 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37035 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37036 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37037 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37038 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37039
37040 * libio/Makefile: Test [$(libc-reentrant) = yes]
37041 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37042
37043 * Makeconfig
37044 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37045 * sysdeps/pthread/configure: File removed.
37046 * sysdeps/pthread/Makeconfig: New file.
37047 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37048 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37049
d9195db8
GB
370502012-08-16 Gary Benson <gbenson@redhat.com>
37051
37052 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37053 unmapping the first object in a namespace.
37054
86466cd9
RM
370552012-08-16 Roland McGrath <roland@hack.frob.com>
37056
37057 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37058 (__internal_setnetgrent): ... this. Add internal_function to
37059 definition. Add libc_hidden_def.
37060 (setnetgrent): Update caller.
37061 (internal_endnetgrent): Renamed to ...
37062 (__internal_endnetgrent): ... this. Add internal_function to
37063 definition. Add libc_hidden_def.
37064 (endnetgrent): Update caller.
37065 (internal_getnetgrent_r): Renamed to ...
37066 (__internal_getnetgrent_r): ... this. Add internal_function to
37067 definition. Add libc_hidden_def.
37068 (__getnetgrent_r): Update caller.
37069 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37070
c3c8283c
JM
370712012-08-16 Joseph Myers <joseph@codesourcery.com>
37072
37073 * stdlib/longlong.h: Update from GCC.
37074
db1ee0a8
RM
370752012-08-16 Roland McGrath <roland@hack.frob.com>
37076
37077 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37078 on _QL, which is set by umul_ppmm but never used.
37079 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37080 variables, which are set by GMP macros but never used.
37081 * stdio-common/_itowa.c (_itowa): Likewise.
37082 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37083 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37084
30f69637
CD
370852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37086
37087 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37088 struct La_sh_regs is not constant.
37089 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37090 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37091 and struct La_sparc64_regs are not constant.
37092
93a78ac4
JM
370932012-08-16 Joseph Myers <joseph@codesourcery.com>
37094
37095 * sysdeps/unix/sysv/linux/kernel-features.h
37096 (__ASSUME_POSIX_TIMERS): Remove.
37097 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37098 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37099 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37100 Make code unconditional.
37101 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37102 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37103 Make code unconditional.
37104 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37105 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37106 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37107 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37108 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37109 Make code unconditional.
37110 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37111 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37112 (__libc_missing_posix_timers): Remove.
37113
dd924cd7
RM
371142012-08-15 Roland McGrath <roland@hack.frob.com>
37115
4b4f2771
RM
37116 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37117 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37118
601c888b
RM
37119 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37120
176790a7
RM
37121 * elf/dl-sym.c: Include <stdlib.h>.
37122
329bc018
RM
37123 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37124 constants, which avoids warnings in 32-bit builds.
37125
e04e272d
RM
37126 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37127 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37128
952bf94a
RM
37129 * misc/lseek.c: File moved to ...
37130 * io/lseek.c: ... here.
37131
7c99b50a
RM
37132 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37133
dd924cd7
RM
37134 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37135 shifting LEN more than 31 bits at once.
37136
b3f479a8
LD
371372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37138
37139 [BZ #14195]
8c4ae0d4
RM
37140 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37141 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37142 * string/test-strncasecmp.c (check1): Renamed to...
37143 (bz12205): ...this.
37144 (bz14195): Add new testcase for two empty input strings and N > 0.
37145 (test_main): Call new testcase, adapt for renamed function.
37146
9c55864e
AJ
371472012-08-15 Andreas Jaeger <aj@suse.de>
37148
37149 [BZ #14090]
37150 * crypt/md5test2.c: New test, based on test supplied by Serge
37151 Belyshev <belyshev@depni.sinp.msu.ru>.
37152 * crypt/Makefile (xtests): Add md5test-giant..
37153 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37154
02dcb6c5
PE
371552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37156
37157 [BZ #14090]
37158 * crypt/md5.c (md5_process_block): Don't assume the buffer
37159 length is less than 2**32.
37160 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37161 length is less than 2**64.
37162
a3f95dcc
RM
371632012-08-15 Roland McGrath <roland@hack.frob.com>
37164
be75d758
RM
37165 * string/str-two-way.h: Include <sys/param.h>.
37166 (MAX): Macro removed.
37167
7312ca90
RM
37168 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37169 Move #define and #undef of memmove to just before and after
37170 including <string.h>.
37171
9a0a5486
RM
37172 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37173 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37174 and after including <string.h>. Move declarations of
37175 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37176 to before #include "string/memmove.c".
37177
67cc348d
RM
37178 * include/dirent.h: Declare __getdirentries.
37179
a3f95dcc
RM
37180 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37181 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37182
ca98e171
MF
371832012-08-14 Mike Frysinger <vapier@gentoo.org>
37184
37185 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37186 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37187 * sysdeps/i386/configure: Regenerated.
37188 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37189 STABS_CURRENT_FILE, and STABS_FUN.
37190 (END): Remove call to STABS_FUN_END.
37191 (STABS_CURRENT_FILE1): Delete.
37192 (STABS_CURRENT_FILE): Likewise.
37193 (STABS_FUN): Likewise.
37194 (STABS_FUN_END): Likewise.
37195 (STABS_FUN2): Likewise.
37196 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37197 * sysdeps/x86_64/configure: Regenerated.
37198
5908bf46
RM
371992012-08-14 Roland McGrath <roland@hack.frob.com>
37200
37201 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37202 * elf/dl-lookup.c: Likewise.
5908bf46 37203
f2c05b9e
JM
372042012-08-14 Joseph Myers <joseph@codesourcery.com>
37205
37206 * sysdeps/unix/sysv/linux/kernel-features.h
37207 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37208 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37209 unconditionally.
37210 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37211 unconditionally.
37212 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37213 condition on __ASSUME_CLONE_THREAD_FLAGS.
37214
e11f5155
AJ
372152012-08-14 Andreas Jaeger <aj@suse.de>
37216
37217 * sysdeps/i386/fpu/libm-test-ulps: Update.
37218
51a9ba86
MK
372192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37220
2fdd4f78
AJ
37221 * include/atomic.h (atomic_exchange_and_add): Split into ...
37222 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37223 New atomic macros.
51a9ba86 37224
ba6cba9e
MT
372252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37226
37227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37228
42443a47
JL
372292012-08-13 Jeff Law <law@redhat.com>
37230
37231 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37232 null byte in the output string.
37233
121dce05
JM
372342012-08-10 Joseph Myers <joseph@codesourcery.com>
37235
37236 * sysdeps/unix/sysv/linux/kernel-features.h
37237 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37238 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37239 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37240 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37241 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37242 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37243 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37244
bf51f568
JL
372452012-08-09 Jeff Law <law@redhat.com>
37246
37247 [BZ #13939]
37248 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37249 When avoid_arena is set, don't retry in the that arena. Pick the
37250 next one, whatever it might be.
37251 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37252 (arena_lock): Pass in new parameter to arena_get2.
37253 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37254 arena_get2.
37255 (__libc_malloc): Unify retrying after main arena failure with
37256 __libc_memalign version.
37257 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37258
f85fa270
L
372592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37260
37261 [BZ #14166]
37262 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37263 to __redirect_strstr.
37264 (__strstr_sse42): Use typeof __redirect_strstr.
37265 (__strstr_ia32): Likewise.
37266 (__libc_strstr): New prototype.
37267 (strstr): Renamed to ...
37268 (__libc_strstr): This.
37269 (strstr): New strong alias of __libc_strstr.
37270 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37271 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37272 __redirect_time.
37273 Include <time.h>.
37274 (__libc_time): New prototype.
37275 (time_ifunc): Replace time with __libc_time.
37276 (time): New strong alias and hidden definition of __libc_time.
37277 (__GI_time): Remove strong alias.
37278 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37279 Include <stddef.h>.
37280 (memmove): Redefined to __redirect_memmove.
37281 (__memmove_sse2): Use typeof __redirect_memmove.
37282 (__memmove_ssse3): Likewise.
37283 (__memmove_ssse3_back): Likewise.
37284 (__libc_memmove): New prototype.
37285 (memmove): Renamed to ...
37286 (__libc_memmove): This.
37287 (memmove): New strong alias of __libc_memmove.
37288
33b4a91e
MS
372892012-08-08 Mark Salter <msalter@redhat.com>
37290
37291 * elf/elf.h
37292 (R_MN10300_TLS_GD): Define.
37293 (R_MN10300_TLS_LD): Likewise.
37294 (R_MN10300_TLS_LDO): Likewise.
37295 (R_MN10300_TLS_GOTIE): Likewise.
37296 (R_MN10300_TLS_IE): Likewise.
37297 (R_MN10300_TLS_LE): Likewise.
37298 (R_MN10300_TLS_DTPMOD): Likewise.
37299 (R_MN10300_TLS_DTPOFF): Likewise.
37300 (R_MN10300_TLS_TPOFF): Likewise.
37301 (R_MN10300_SYM_DIFF): Likewise.
37302 (R_MN10300_ALIGN): Likewise.
37303 (R_MN10300_NUM): Update.
37304
b36137f1
JM
373052012-08-08 Joseph Myers <joseph@codesourcery.com>
37306
37307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37308 Remove.
37309
cdd915fd
RM
373102012-08-08 Roland McGrath <roland@hack.frob.com>
37311
a2433aac
RM
37312 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37313
cdd915fd
RM
37314 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37315 sysdeps/unix -> sysdeps/posix move.
37316 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37317
bf9b740a
AM
373182012-08-07 Allan McRae <allan@archlinux.org>
37319
37320 [BZ #14303]
37321 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37322 (SUNOS_CPP): Likewise.
37323 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37324 not found.
37325 (open_input): Call CPP using execvp.
37326
93df14ee
JM
373272012-08-07 Joseph Myers <joseph@codesourcery.com>
37328
37329 * sysdeps/unix/sysv/linux/kernel-features.h
37330 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37331 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37332 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37333 (__ASSUME_WAITID_SYSCALL): Likewise.
37334 * sysdeps/unix/sysv/linux/dl-execstack.c
37335 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37336 code unconditional.
37337 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37338 conditional code.
37339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37340 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37341 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37342 code.
37343 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37344 unconditional.
37345 [__ASSUME_WAITID_SYSCALL]: Likewise.
37346 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37347
d34689de
RM
373482012-08-07 Roland McGrath <roland@hack.frob.com>
37349
a281decc
RM
37350 * sysdeps/unix/closedir.c: Renamed to ...
37351 * sysdeps/posix/closedir.c: ... here.
37352 * sysdeps/unix/dirfd.c: Renamed to ...
37353 * sysdeps/posix/dirfd.c: ... here.
37354 * sysdeps/unix/dirstream.h: Renamed to ...
37355 * sysdeps/posix/dirstream.h: ... here.
37356 * sysdeps/unix/fdopendir.c: Renamed to ...
37357 * sysdeps/posix/fdopendir.c: ... here.
37358 * sysdeps/unix/opendir.c: Renamed to ...
37359 * sysdeps/posix/opendir.c: ... here.
37360 * sysdeps/unix/readdir.c: Renamed to ...
37361 * sysdeps/posix/readdir.c: ... here.
37362 * sysdeps/unix/readdir_r.c: Renamed to ...
37363 * sysdeps/posix/readdir_r.c: ... here.
37364 * sysdeps/unix/rewinddir.c: Renamed to ...
37365 * sysdeps/posix/rewinddir.c: ... here.
37366 * sysdeps/unix/seekdir.c: Renamed to ...
37367 * sysdeps/posix/seekdir.c: ... here.
37368 * sysdeps/unix/telldir.c: Renamed to ...
37369 * sysdeps/posix/telldir.c: ... here.
37370 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37371 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37372 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37373 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37374
22895b47
RM
37375 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37376 * bits/fcntl.h: ... here.
37377
707a53b6
RM
37378 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37379 not 0.
37380 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37381 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37382 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37383 (struct flock): Move l_start, l_len to the beginning.
37384 Use __pid_t for l_pid.
37385 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37386 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37387 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37388 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37389 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37390 [__USE_LARGEFILE64] (struct flock64): New type.
37391 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37392
f0bd3e25
RM
37393 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37394 * bits/dirent.h: ... here.
37395
d34689de
RM
37396 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37397 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37398
6dad2c06
JM
373992012-08-07 Joseph Myers <joseph@codesourcery.com>
37400
37401 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37402 Change from 2.6.0 to 2.6.16.
37403 * sysdeps/unix/sysv/linux/configure: Regenerated.
37404 * sysdeps/unix/sysv/linux/kernel-features.h
37405 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37406 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37407 version.
37408 (__ASSUME_UTIMES): Likewise.
37409 (__ASSUME_CLONE_STOPPED): Remove.
37410 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37411 architectures, not kernel version.
37412 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37413 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37414 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37415 (__ASSUME_WAITID_SYSCALL): Likewise.
37416 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37417 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37418 * README: State 2.6.16 as minimum Linux kernel version. Do not
37419 refer to older versions.
37420
03af9520
RM
374212012-08-06 Roland McGrath <roland@hack.frob.com>
37422
8e49df1d
RM
37423 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37424 Define alphasort64 as an alias.
37425 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37426 Define versionsort64 as an alias.
37427 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37428 Define scandir64 as an alias.
37429 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37430 Define scandirat64 as an alias.
37431 * dirent/alphasort64.c (alphasort64):
37432 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37433 * dirent/versionsort64.c: Likewise.
37434 * dirent/scandir64.c: Likewise.
37435 * dirent/scandirat64.c: Likewise.
37436 * sysdeps/wordsize-64/alphasort.c: File removed.
37437 * sysdeps/wordsize-64/alphasort64.c: File removed.
37438 * sysdeps/wordsize-64/scandir.c: File removed.
37439 * sysdeps/wordsize-64/scandir64.c: File removed.
37440 * sysdeps/wordsize-64/scandirat.c: File removed.
37441 * sysdeps/wordsize-64/scandirat64.c: File removed.
37442 * sysdeps/wordsize-64/versionsort.c: File removed.
37443 * sysdeps/wordsize-64/versionsort64.c: File removed.
37444 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37445 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37446 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37447 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37448 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37449 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37450 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37451 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37452
37453 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37455 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37457 [defined __arch64__ || defined __sparcv9]
37458 (__INO_T_MATCHES_INO64_T): New macro.
37459 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37460 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37461 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37462 * sysdeps/unix/sysv/linux/bits/dirent.h
37463 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37464 (_DIRENT_MATCHES_DIRENT64): New macro.
37465
03af9520
RM
37466 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37467 Define lockf64 as an alias.
37468 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37469 Define fseeko64 as an alias.
37470 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37471 Define ftello64 as an alias.
37472 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37473 Define _IO_fgetpos64 and fgetpos64 as aliases.
37474 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37475 Define _IO_fsetpos64 and fsetpos64 as aliases.
37476 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37477 Conditionalize body on this.
37478 * libio/fseeko64.c: Likewise.
37479 * libio/ftello64.c: Likewise.
37480 * libio/iofgetpos64.c: Likewise.
37481 * libio/iofsetpos64.c: Likewise.
37482 * sysdeps/wordsize-64/lockf.c: File removed.
37483 * sysdeps/wordsize-64/lockf64.c: File removed.
37484 * sysdeps/wordsize-64/fseeko.c: File removed.
37485 * sysdeps/wordsize-64/fseeko64.c: File removed.
37486 * sysdeps/wordsize-64/ftello.c: File removed.
37487 * sysdeps/wordsize-64/ftello64.c: File removed.
37488 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37489 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37490 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37491 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37492 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37493 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37494 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37495 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37496 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37497 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37498 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37499 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37500 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37501 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37502
37503 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37505 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37507 [defined __arch64__ || defined __sparcv9]
37508 (__OFF_T_MATCHES_OFF64_T): New macro.
37509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37510 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37511 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37512 (__OFF_T_MATCHES_OFF64_T): New macro.
37513
c5757acd
L
375142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37515
37516 * stdlib/secure-getenv.c (__secure_getenv): Replace
37517 GLIBC_2_16 with GLIBC_2_17.
37518
3a31811e
L
375192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37520
37521 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37523
faa2bccb
DM
375242012-08-03 David S. Miller <davem@davemloft.net>
37525
37526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37527
85fe1997
JM
375282012-08-03 Joseph Myers <joseph@codesourcery.com>
37529
37530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37531 Remove.
37532 (__ASSUME_CORRECT_SI_PID): Likewise.
37533 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37534 (__ASSUME_TMPFS_NAME): Likewise.
37535 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37536 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37537 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37538 (HAVE_AUX_SECURE): Make definition unconditional.
37539 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37540 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37541
4f75b7a0
RM
375422012-08-03 Roland McGrath <roland@hack.frob.com>
37543
37544 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37545 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37546 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37547 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37548 __eloop_threshold instead of SYMLOOP_MAX.
37549
37550 * sysdeps/generic/eloop-threshold.h: New file.
37551 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37552 of MAXSYMLINKS.
37553 * elf/chroot_canon.c (chroot_canon): Likewise.
37554
7aab07e4
JM
375552012-08-03 Joseph Myers <joseph@codesourcery.com>
37556
37557 [BZ #13717]
37558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37559 Change to 2.6.0 everywhere.
37560 * sysdeps/unix/sysv/linux/configure: Regenerated.
37561 * sysdeps/unix/sysv/linux/kernel-features.h
37562 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37563 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37564 kernel versions.
37565 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37566 (__ASSUME_FUTEX_REQUEUE): Remove.
37567 (__ASSUME_STATFS64): Define unconditionally.
37568 (__ASSUME_AT_SECURE): Likewise.
37569 (__ASSUME_CORRECT_SI_PID): Likewise.
37570 (__ASSUME_TGKILL): Define without depending on kernel version for
37571 i386.
37572 (__ASSUME_UTIMES): Likewise.
37573 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37574 kernel version.
37575 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37576 (__ASSUME_TMPFS_NAME): Likewise.
37577 * README: Update reference to Linux kernel versions.
37578
b67e9372
MP
375792012-08-02 Marek Polacek <polacek@redhat.com>
37580
1f529f7d 37581 [BZ# 14150]
b67e9372
MP
37582 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37583 libc_cv_asm_type_prefix with %.
37584 * configure: Regenerated.
d2441631
RM
37585 * include/libc-symbols.h: Remove comment about
37586 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
37587 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37588 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37589 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37590 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37591 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37592 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37593 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37594 * elf/tst-unique2mod1.c: Likewise.
37595 * elf/tst-unique1mod2.c: Likewise.
37596 * elf/tst-unique1mod1.c: Likewise.
37597 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37598 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37599 Replace ASM_TYPE_DIRECTIVE with .type.
37600 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37601 * sysdeps/i386/sysdep.h: Likewise.
37602 * sysdeps/x86_64/sysdep.h: Likewise.
37603 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
37604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37605 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 37606 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
37607 * sysdeps/powerpc/powerpc32/sysdep.h:
37608 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
37609 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37610 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37611 * sysdeps/i386/fpu/e_powf.S: Likewise.
37612 * sysdeps/i386/fpu/e_expl.S: Likewise.
37613 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37614 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37615 * sysdeps/i386/fpu/e_pow.S: Likewise.
37616 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37617 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37618 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37619 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37620 * sysdeps/i386/fpu/e_log2.S: Likewise.
37621 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37622 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37623 * sysdeps/i386/fpu/e_powl.S: Likewise.
37624 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37625 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37626 * sysdeps/i386/fpu/e_logl.S: Likewise.
37627 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37628 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37629 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37630 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37631 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37632 * sysdeps/i386/fpu/e_log.S: Likewise.
37633 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37634 * sysdeps/i386/fpu/e_logf.S: Likewise.
37635 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37636 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37637 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37638 * sysdeps/i386/fpu/e_log10.S: Likewise.
37639 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37640 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37641 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37642 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37643 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37644 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37645 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37646 * sysdeps/i386/i686/strtok.S: Likewise.
37647 * sysdeps/i386/i386-mcount.S: Likewise.
37648 * sysdeps/i386/strtok.S: Likewise.
37649 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37650 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37651 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37652 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37653 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37654 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37655 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37656 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37657 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37658 * sysdeps/x86_64/_mcount.S: Likewise.
37659 * sysdeps/x86_64/strtok.S: Likewise.
37660 * sysdeps/sh/_mcount.S: Likewise.
37661
2747bf9a
RM
376622012-08-01 Roland McGrath <roland@hack.frob.com>
37663
37664 * libio/iofopen.c: Include <fcntl.h>.
37665 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37666 (_IO_fopen64, fopen64): Define as aliases.
37667 * libio/iofopen64.c: Include <fcntl.h>.
37668 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37669 Conditionalize body on this.
37670 * sysdeps/wordsize-64/iofopen.c: File removed.
37671 * sysdeps/wordsize-64/iofopen64.c: File removed.
37672
3fb791b8
MP
376732012-08-01 Marek Polacek <polacek@redhat.com>
37674
37675 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37676 Use dlfcn directly instead of a variable.
37677 (binfmt-subdir): Do not define.
37678 (dlfcn): Likewise.
37679
a9f1039f
JM
376802012-08-01 Joseph Myers <joseph@codesourcery.com>
37681
23bddc06
JM
37682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37683 Remove all definitions.
37684 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37685 <kernel-features.h>.
37686 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37687 (miss_F_GETOWN_EX): Remove all definitions.
37688 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37689 macro definition.
37690 [!__ASSUME_FCNTL64]: Remove conditional code.
37691 [__ASSUME_FCNTL64]: Make code unconditional.
37692 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37693 <kernel-features.h>.
37694 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37695 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37696 (lockf64) [__NR_fcntl64]: Make code unconditional.
37697 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37698
a9f1039f
JM
37699 * sysdeps/unix/sysv/linux/kernel-features.h
37700 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37701 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37702 Make code unconditional.
37703 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37704 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37706 [__NR_vfork]: Make code unconditional.
37707 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37708 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37710 [__NR_vfork]: Make code unconditional.
37711 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37712 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37713
09c0ee5f
RM
377142012-08-01 Roland McGrath <roland@hack.frob.com>
37715
48aec5b9
RM
37716 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37717 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37718
cd97c966
RM
37719 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37720 Define mkstemp64 as an alias.
3f55550c
RM
37721 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37722 Define mkstemps64 as an alias.
cd97c966
RM
37723 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37724 Define mkostemp64 as an alias.
b8625cfc
RM
37725 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37726 Define mkostemps64 as an alias.
cd97c966
RM
37727 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37728 Conditionalize body on this.
37729 * misc/mkostemp64.c: Likewise.
b8625cfc 37730 * misc/mkostemps64.c: Likewise.
3f55550c 37731 * misc/mkstemps64.c: Likewise.
cd97c966
RM
37732 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37733 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37734 * sysdeps/wordsize-64/mkostemp.c: File removed.
37735 * sysdeps/wordsize-64/mkstemp.c: File removed.
37736 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37737 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37738 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37739 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37740
09c0ee5f
RM
37741 [BZ #14138]
37742 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37743 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37744 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37745 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37746
37747 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37748 compat_symbol macros from <shlib-compat.h> rather than the underlying
37749 default_symbol_version and symbol_version macros, so that DEFAULT
37750 lines in shlib-versions are respected.
37751 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37752
7e66ee51
FW
377532012-08-01 Florian Weimer <fweimer@redhat.com>
37754
37755 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37756 Declare with warn_unused_result.
37757 (setgid, setregid, setegid, setresgid): Likewise.
37758 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37759 Likewise.
37760 * WUR-REPORT: Remove set*id functions.
37761
d2a54255
PT
377622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37763
37764 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37765
7ecdb005
RM
377662012-07-31 Roland McGrath <roland@hack.frob.com>
37767
b4180a5e 37768 [BZ #10191]
789bd351
RM
37769 * include/sys/socket.h (__libc_accept, __libc_accept4):
37770 Add attribute_hidden.
37771 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37772
40ce302d
RM
37773 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37774 use of PTR_MANGLE.
37775 * inet/getnetgrent_r.c (setup): Likewise.
37776
7ecdb005
RM
37777 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37778
e2eabb2c
DM
377792012-07-31 David S. Miller <davem@davemloft.net>
37780
37781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37782
d0419dbf
JM
377832012-07-31 Joseph Myers <joseph@codesourcery.com>
37784
37785 [BZ #13629]
37786 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37787 value between 1.0 and 2.0 and smaller part has absolute value less
37788 than 1.0.
37789 * math/s_clog10.c (__clog10): Likewise.
37790 * math/s_clog10f.c (__clog10f): Likewise.
37791 * math/s_clog10l.c (__clog10l): Likewise.
37792 * math/s_clogf.c (__clogf): Likewise.
37793 * math/s_clogl.c (__clogl): Likewise.
37794 * math/libm-test.inc (clog_test): Add more tests.
37795 (clog10_test): Likewise.
37796 * sysdeps/i386/fpu/libm-test-ulps: Update.
37797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37798
2bc13872
FW
377992012-07-31 Florian Weimer <fweimer@redhat.com>
37800
37801 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37802 Exit with zero in case no suitable GID is found, and write a
37803 message to standard error.
37804
bea9b193
RM
378052012-07-30 Roland McGrath <roland@hack.frob.com>
37806
37807 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37808 rather than to 1.
37809 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37810 (MAXPATHLEN): Removed.
37811 (NOGROUP, NODEV): New macros.
37812 (setbit, clrbit, isset, isclr): New macros.
37813 (howmany, roundup, powerof2): New macros.
37814 (DEV_BSIZE): New macro.
37815
37816 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37817 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37818
37819 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37820 definition on [!__NO_LONG_DOUBLE_MATH].
37821
37822 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37823 PTR_MANGLE and PTR_DEMANGLE.
37824
37825 * socket/accept4.c (accept4): Rename to __libc_accept4.
37826 Define accept4 as a weak alias.
37827
37828 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37829 on [_DIRENT_HAVE_D_TYPE].
37830 * io/ftw.c (ftw_dir): Likewise.
37831
37832 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37833
37834 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37835
37836 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37837 Use the BSD numbers rather than the arbitrary ones we had.
37838 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37839 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37840 (SIGXCPU, SIGXFSZ): New macros.
37841 (_NSIG): Now 32.
37842
37843 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37844 initializer on [_LIBC_REENTRANT].
37845
37846 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37847 definitions inside [_POSIX_MAPPED_FILES].
37848
37849 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37850
37851 * dirent/opendir.c: Include <fcntl.h>.
37852
37853 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37854 (__libc_getspecific): Likewise.
37855 (__libc_key_create): Likewise.
37856
37857 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37858 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37859 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37860 (tmpfile64): Define as alias.
37861 * sysdeps/wordsize-64/tmpfile.c: File removed.
37862 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37864 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37865
37866 * stdio-common/vfscanf.c: Include <stdbool.h>.
37867 * nss/makedb.c: Likewise.
37868 * stdio-common/_i18n_number.h: Likewise.
37869 * argp/argp-help.c: Likewise.
37870 * posix/wordexp.c: Likewise.
37871 * sysdeps/posix/spawni.c: Likewise.
37872 * nss/nss_files/files-initgroups.c: Likewise.
37873 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37874 * nss/nss_files/files-initgroups.c: Likewise.
37875 * nss/nss_db/db-netgrp.c: Likewise.
37876 * nss/nss_db/db-initgroups.c: Likewise.
37877 * io/fchmodat.c: Include <sys/stat.h>.
37878
37879 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37880 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37881
37882 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37883 [HAVE_MMAP].
37884
37885 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37886 Add multiple inclusion protection.
37887
e5abc686
DM
378882012-07-27 David S. Miller <davem@davemloft.net>
37889
37890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37891
815e6fa3
GB
378922012-07-27 Gary Benson <gbenson@redhat.com>
37893
37894 [BZ #14298]
37895 * elf/rtld.c: Include <stap-probe.h>.
37896 (dl_main): Added static probes "init_start" and "init_complete".
37897 * elf/dl-load.c: Include <stap-probe.h>.
37898 (lose): Take new parameter "nsid".
37899 Added static probe "map_failed".
37900 (_dl_map_object_from_fd): Pass namespace id to lose.
37901 Added static probe "map_start".
37902 (open_verify): Pass namespace id to lose.
37903 * elf/dl-open.c: Include <stap-probe.h>.
37904 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37905 and "reloc_complete".
37906 * elf/dl-close.c: Include <stap-probe.h>.
37907 (_dl_close_worker): Added static probes "unmap_start" and
37908 "unmap_complete".
37909 * elf/rtld-debugger-interface.txt: New file documenting the above.
37910
9f98c16c
RM
379112012-07-26 Roland McGrath <roland@hack.frob.com>
37912
37913 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37914 rather than a string variable.
37915 * sunrpc/rpc_main.c (h_output): Likewise.
37916 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37917
f3c22df3
PT
379182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37919
37920 * inet/check_native.c: New file.
37921
3129cfc6
JM
379222012-07-26 Joseph Myers <joseph@codesourcery.com>
37923
da865e95
JM
37924 [BZ #13629]
37925 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37926 if larger part has absolute value 1.0.
37927 * math/s_clog10.c (__clog10): Likewise.
37928 * math/s_clog10f.c (__clog10f): Likewise.
37929 * math/s_clog10l.c (__clog10l): Likewise.
37930 * math/s_clogf.c (__clogf): Likewise.
37931 * math/s_clogl.c (__clogl): Likewise.
37932 * math/libm-test.inc (clog_test): Add more tests.
37933 (clog10_test): Likewise.
37934 * sysdeps/i386/fpu/libm-test-ulps: Update.
37935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37936
3129cfc6
JM
37937 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37938 (pltexit): Likewise.
37939 (La_regs): Likewise.
37940 (La_retval): Likewise.
37941 (int_retval): Likewise.
37942 Update #error for removed macros to refer only to definitions in
37943 tst-audit.h.
37944 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37945 macro.
37946 (pltexit): Likewise.
37947 (La_regs): Likewise.
37948 (La_retval): Likewise.
37949 (int_retval): Likewise.
37950 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37951 macro.
37952 (pltexit): Likewise.
37953 (La_regs): Likewise.
37954 (La_retval): Likewise.
37955 (int_retval): Likewise.
37956 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37957 macro.
37958 (pltexit): Likewise.
37959 (La_regs): Likewise.
37960 (La_retval): Likewise.
37961 (int_retval): Likewise.
37962 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37963 macro.
37964 (pltexit): Likewise.
37965 (La_regs): Likewise.
37966 (La_retval): Likewise.
37967 (int_retval): Likewise.
37968 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37969 macro.
37970 (pltexit): Likewise.
37971 (La_regs): Likewise.
37972 (La_retval): Likewise.
37973 (int_retval): Likewise.
37974 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37975 macro.
37976 (pltexit): Likewise.
37977 (La_regs): Likewise.
37978 (La_retval): Likewise.
37979 (int_retval): Likewise.
37980 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37981 macro definitions in tst-audit.h.
37982 * sysdeps/i386/tst-audit.h: New file.
37983 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37984 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37985 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37986 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37987 * sysdeps/sh/tst-audit.h: Likewise.
37988 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37989 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37990 * sysdeps/x86_64/tst-audit.h: Likewise.
37991
bfc07087
AJ
379922012-07-26 Andreas Jaeger <aj@suse.de>
37993
b1b2aaf8
AJ
37994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37995 ptrace.
37996
37997 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37998 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37999 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38000 PTRACE_O_MASK.
38001 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38002 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38003 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38004
bfc07087
AJ
38005 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38006 value.
38007
38008 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38009 _sigsys.
38010 (si_call_addr, si_syscall, si_arch): Define new macro.
38011 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38012 _sigsys.
38013 (si_call_addr, si_syscall, si_arch): Define new marcro.
38014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38015 _sigsys.
38016 (si_call_addr, si_syscall, si_arch): Define new macro.
38017 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38018 _sigsys.
38019 (si_call_addr, si_syscall, si_arch): Define new macro.
38020
89b4b02f
JM
380212012-07-25 Joseph Myers <joseph@codesourcery.com>
38022
38023 [BZ #13717]
38024 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38025 Change to 2.4.21 where previously 2.4.1.
38026 * sysdeps/unix/sysv/linux/configure: Regenerated.
38027 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38028 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38029 Linux kernel version.
38030 (__ASSUME_STD_AUXV): Remove.
38031 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38032 kernel version.
38033 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38034 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38035 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38036 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38037 (__ASSUME_NETLINK_SUPPORT): Likewise.
38038 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38039 (__no_netlink_support): Remove conditional definition.
38040 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38041 Remove.
38042 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38043 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38044 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38045 (if_nameindex_ioctl): Remove.
38046 (if_nameindex_netlink): Do not handle __no_netlink_support.
38047 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38048 code.
38049 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38050 Remove conditional code.
38051 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38052 code.
38053 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38054 unconditional.
38055 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38056 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38057 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38058 Remove.
38059 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38060 [!__ASSUME_STD_AUXV]: Remove conditional code.
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38062 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38063 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38065 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38066 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38067 code.
38068 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38070 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38071 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38072 conditional code.
38073 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38075 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38076 code.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38078 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38079 conditional code.
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38081 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38082 code unconditional.
38083 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38084 conditional code.
38085 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38086 unconditional.
38087 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38088 conditional code.
38089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38090 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38091 unconditional.
38092 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38093 conditional code.
38094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38095 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38096 code unconditional.
38097 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38098 conditional code.
38099 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38100 unconditional.
38101 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38102 conditional code.
38103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38104 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38105 code unconditional.
38106 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38107 conditional code.
38108 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38109 unconditional.
38110 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38111 conditional code.
38112
842a39cd
AS
381132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38114
38115 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38116 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38117 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38118 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38119 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38120 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38121 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38122 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38123 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38124 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38125 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38126 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38127 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38128 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38129 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38130 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38131 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38133 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38135 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38136 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38138
84b3fd84
FW
381392012-07-25 Florian Weimer <fweimer@redhat.com>
38140
38141 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38142 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38143 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38144 Introduce __libc_secure_getenv.
0c7936d5
FW
38145 * stdlib/Versions (2.17): Add secure_getenv
38146 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38147 * stdlib/secure-getenv.c: Rename __secure_getenv to
38148 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38149 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38150 * stdlib/tst-secure-getenv.c: New.
38151 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38152 * manual/startup.texi (Environment Access): Document
38153 secure_getenv.
84b3fd84
FW
38154 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38155 __libc_secure_getenv.
38156 * inet/ruserpass.c (ruserpass): Likewise.
38157 * malloc/mtrace.c (mtrace): Likewise.
38158 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38159 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38160 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38161 * sysdeps/posix/tempname.c: Likewise. Evaluate
38162 HAVE_SECURE_GETENV.
38163 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38164 __secure_getenv to __libc_secure_getenv.
84b3fd84 38165 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38167 Likewise.
38168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38169 Likewise.
38170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38177
56e49b71
JM
381782012-07-25 Joseph Myers <joseph@codesourcery.com>
38179
38180 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38181 (struct La_i86_retval): Likewise.
38182 (struct La_x86_64_regs): Likewise.
38183 (struct La_x86_64_retval): Likewise.
38184 (struct La_x32_regs): Likewise.
38185 (struct La_x32_retval): Likewise.
38186 (struct La_ppc32_regs): Likewise.
38187 (struct La_ppc32_retval): Likewise.
38188 (struct La_ppc64_regs): Likewise.
38189 (struct La_ppc64_retval): Likewise.
38190 (struct La_sh_regs): Likewise.
38191 (struct La_sh_retval): Likewise.
38192 (struct La_s390_32_regs): Likewise.
38193 (struct La_s390_32_retval): Likewise.
38194 (struct La_s390_64_regs): Likewise.
38195 (struct La_s390_64_retval): Likewise.
38196 (struct La_sparc32_regs): Likewise.
38197 (struct La_sparc32_retval): Likewise.
38198 (struct La_sparc64_regs): Likewise.
38199 (struct La_sparc64_retval): Likewise.
38200 (struct audit_ifaces): Remove architecture-specific pltenter and
38201 pltexit members.
38202 * sysdeps/i386/ldsodefs.h: New file.
38203 * sysdeps/powerpc/ldsodefs.h: Likewise.
38204 * sysdeps/s390/ldsodefs.h: Likewise.
38205 * sysdeps/sh/ldsodefs.h: Likewise.
38206 * sysdeps/sparc/ldsodefs.h: Likewise.
38207 * sysdeps/x86_64/ldsodefs.h: Likewise.
38208
354691b7
MP
382092012-07-25 Marek Polacek <polacek@redhat.com>
38210
38211 [BZ #6808]
38212 * math/libm-test.inc (yn_test): Add another test.
38213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38214 to ERANGE when the result is +-Inf.
38215 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38216 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38217 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38218 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38219
bf9e2071
JM
382202012-07-24 Joseph Myers <joseph@codesourcery.com>
38221
38222 * conform/data/time.h-data (NULL): Use macro-constant. Require
38223 equal to 0.
38224 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38225 clock_t.
38226 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38227
57633811
TS
382282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38229
38230 * configure.in <sysdeps resolving>: Correct printing
38231 Implies_before.
38232 * configure: Regenerate.
38233
c23c33b0
TS
382342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38235
38236 * math/w_ilogb.c: Include <limits.h>.
38237 * math/w_ilogbl.c: Likewise.
38238
b5982523
JM
382392012-07-20 Joseph Myers <joseph@codesourcery.com>
38240
38241 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38242 va_copy. Document allowing for unavailable va_copy only as
38243 pre-C99 compatibility.
38244 * manual/string.texi (Copying and Concatenation): Use va_copy
38245 instead of __va_copy in concat example.
38246
ac4ea442
PT
382472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38248
38249 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38250 (__sendto): Use create_address_port. Initialize APORT and deallocate
38251 it if not null.
38252
f98eafbd
PT
38253 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38254 with O_NOLINK passed to __file_name_lookup.
38255
898c7aab
PT
38256 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38257 with O_NOLINK passed to __file_name_lookup.
38258
0ced335a
PT
38259 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38260 negative N or less than NGIDS.
38261
b3404dbd
PT
38262 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38263 type to string_t. Set ERANGE as errno and return it if NAME is not big
38264 enough. Use memcpy instead of strncpy.
38265
0f48659e
JM
382662012-07-20 Joseph Myers <joseph@codesourcery.com>
38267
38268 * elf/Makefile (check-data): Remove.
38269 (localplt.data): New vpath directive.
38270 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38271 instead of $(check-data).
38272 * scripts/data/localplt-generic.data: Move to ...
38273 * sysdeps/generic/localplt.data: ... here.
38274 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38275 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38276 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38278 ... here.
38279 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38281 ... here.
38282 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38284 ... here.
38285 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38287 ... here.
38288 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38290 ... here.
38291 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38293 ... here.
38294
d37cbdaa
AZ
382952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38296
38297 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38298 PPC32 and PPC64 files.
38299 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38300 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38301
46f85fc2
AK
383022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38303
38304 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38305 __makecontext_ret to ...
38306 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38307 ... here and call exit if uc_link is NULL. New file.
38308 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38309 __makecontext_ret.S.
38310 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38311 __makecontext_ret to ...
38312 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38313 ... here and call exit if uc_link is NULL. New file.
38314 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38315 __makecontext_ret.S.
38316
08f43f9b
AK
383172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38318
38319 * elf/elf.h (R_390_IRELATIVE): New definition.
38320 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38321 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38322 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38323 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38324 (elf_machine_lazy_rel): Likewise.
38325 * sysdeps/s390/dl-irel.h: New file.
38326 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38327 * sysdeps/s390/s390-64/memset.S: New asm code.
38328 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38329 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38330 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38331 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38332 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38333 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38334 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38335 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38336 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38337 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38338 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38339 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38340 * sysdeps/s390/s390-32/memset.S: New asm code.
38341 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38342
3b05db33
MP
383432012-07-17 Marek Polacek <polacek@redhat.com>
38344
38345 [BZ #14349]
38346 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38347 * sysdeps/s390/s390-64/configure.in: Likewise.
38348 * sysdeps/sparc/configure.in: Likewise.
38349 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38350 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38351 * sysdeps/i386/configure.in: Likewise.
38352 * sysdeps/x86_64/configure.in: Likewise.
38353 * sysdeps/sh/configure.in: Likewise.
38354 * sysdeps/s390/s390-32/configure: Regenerated.
38355 * sysdeps/s390/s390-64/configure: Likewise.
38356 * sysdeps/x86_64/configure: Likewise.
38357 * sysdeps/sh/configure: Likewise.
38358 * sysdeps/powerpc/powerpc64/configure: Likewise.
38359 * sysdeps/powerpc/powerpc32/configure: Likewise.
38360 * sysdeps/sparc/configure: Likwise.
38361 * sysdeps/i386/configure: Likewise.
38362
a66877c6
MP
38363 * elf/dl-open.c: Comment fixes.
38364
cfc82fd8
JM
383652012-07-17 Joseph Myers <joseph@codesourcery.com>
38366
bd29910a
JM
38367 * Makefile [CXX] (check-data): Remove.
38368 [CXX] (c++-types.data): New vpath directive.
38369 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38370 vpath. Do not allow for C++ type data being missing.
38371 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38372 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38373 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38374 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38375 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38376 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38377 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38379 ... here.
38380 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38382 ... here.
38383 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38385 ... here.
38386 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38388 ... here.
38389 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38391 ... here.
38392 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38394 ... here.
38395 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38397 ... here.
38398 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38400
cfc82fd8
JM
38401 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38402 definitions to architecture-specific files.
38403 (TLS_IE): Likewise.
38404 (TLS_LD): Likewise.
38405 (TLS_GD): Likewise.
38406 * sysdeps/i386/tls-macros.h: New file.
38407 * sysdeps/powerpc/tls-macros.h: Likewise.
38408 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38409 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38410 * sysdeps/sh/tls-macros.h: Likewise.
38411 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38412 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38413 * sysdeps/x86_64/tls-macros.h: Likewise.
38414
f7db3170
TS
384152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38416
07cbfc23
TS
38417 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38418 zero value for regular exit case.
38419
f7db3170
TS
38420 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38421 (__start_context): Preserve zero value for regular exit case.
38422
dc97c227
TS
384232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38424 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38425
38426 * manual/setjmp.texi (setcontext): Clarify normal process
38427 termination when uc_link is the null pointer.
38428 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38429 exit call.
38430
d0cd7d02
AS
384312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38432
38433 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38434 preprocessor. Test for each exception mask separately.
38435
dd318934
AJ
384362012-07-16 Andreas Jaeger <aj@suse.de>
38437
38438 * po/ru.po: Update from translation team.
38439
8048311a
JM
384402012-07-15 Joseph Myers <joseph@codesourcery.com>
38441
38442 * conform/data/string.h-data (NULL): Use macro-constant. Require
38443 equal to 0.
38444 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38445 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38446 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38447 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38449
b637d46e
AJ
384502012-07-13 Andreas Jaeger <aj@suse.de>
38451
38452 * po/fr.po: Update from translation team.
38453
541428fe
MP
384542012-07-12 Marek Polacek <polacek@redhat.com>
38455
38456 [BZ #14173]
38457 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38458 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38459 loop condition.
38460
ec332e94
JM
384612012-07-12 Joseph Myers <joseph@codesourcery.com>
38462
38463 [BZ #13717]
38464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38465 Change to 2.4.1 where previously 2.4.0.
38466 * sysdeps/unix/sysv/linux/configure: Regenerated.
38467 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38468 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38469 version.
38470 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38471 (__ASSUME_AT_CLKTCK): Remove.
38472 (__ASSUME_AT_PAGESIZE): Likewise.
38473 (__ASSUME_AT_XID): Likewise.
38474 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38475 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38476 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38477 unconditionally.
38478 (HAVE_AUX_PAGESIZE): Likewise.
38479 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38480 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38481 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38482
7b6e99be
JB
384832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38484
38485 [BZ #14307]
38486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38487 the temporary buffer used to invoke __gethostbyname2_r,
38488 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38489 host_data / struct gaih_addrtuple.
38490 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38491 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38492 header file nss/nsswitch.h.
38493 * nss/nsswitch.h (global scope): Add definition of implementation
38494 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38495 resolv/nss_dns/dns-host.c).
38496
608404eb
AJ
384972012-07-11 Andreas Jaeger <aj@suse.de>
38498
38499 * po/fr.po: Update from translation team.
38500
71220aca
AJ
38501 * po/sv.po: Update from translation team
38502 * po/fr.po: Another update from translation team.
38503
28cfe843
AZ
385042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38505
38506 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38507 for subnormals or multiply small sinh result by itself.
38508 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38510
6b90f981
DM
385112012-07-11 David S. Miller <davem@davemloft.net>
38512
38513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38514
c6825772
AS
385152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38516
38517 [BZ #14347]
38518 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38519 (INTERNAL_MARK): Shift it here.
38520
7b8e0d49
MP
385212012-07-10 Marek Polacek <polacek@redhat.com>
38522
38523 [BZ #14151]
38524 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38525 libc_cv_asm_global_directive with .globl.
38526 * configure: Regenerated.
38527 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38528 with .globl.
38529 * sysdeps/i386/configure: Regenerated.
38530 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38531 with .globl.
38532 * sysdeps/x86_64/configure: Regenerated.
38533 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38534 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38535 * elf/tst-unique2mod2.c: Likewise.
38536 * elf/tst-unique2mod1.c: Likewise.
38537 * elf/tst-unique1mod2.c: Likewise.
38538 * elf/tst-unique1mod1.c: Likewise.
38539 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38540 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38542 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38543 * sysdeps/mach/sysdep.h: Likewise.
38544 * sysdeps/i386/sysdep.h: Likewise.
38545 * sysdeps/i386/i386-mcount.S: Likewise.
38546 * sysdeps/x86_64/_mcount.S: Likewise.
38547 * sysdeps/x86_64/sysdep.h: Likewise.
38548 * sysdeps/sh/_mcount.S: Likewise.
38549 * sysdeps/sh/sysdep.h: Likewise.
38550 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38551 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38552 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38553 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38554 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38555 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38556 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38557 * locale/localeinfo.h: Likewise.
38558 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38559 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38560
6c55cda3
RM
385612012-07-09 Roland McGrath <roland@hack.frob.com>
38562
38563 [BZ #14336]
38564 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38565 system".
38566 * manual/message.texi (The Uniforum approach): Likewise.
38567 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38568 (glibc iconv Implementation): Likewise.
38569
638a572e
JM
385702012-07-09 Joseph Myers <joseph@codesourcery.com>
38571
38572 [BZ #14337]
38573 * math/s_clog.c (__clog): Avoid scaling a value down where that
38574 could result in underflow.
38575 * math/s_clog10.c (__clog10): Likewise.
38576 * math/s_clog10f.c (__clog10f): Likewise.
38577 * math/s_clog10l.c (__clog10l): Likewise.
38578 * math/s_clogf.c (__clogf): Likewise.
38579 * math/s_clogl.c (__clogl): Likewise.
38580 * math/libm-test.inc (clog_test): Add more tests.
38581 (clog10_test): Likewise.
38582 * sysdeps/i386/fpu/libm-test-ulps: Update.
38583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38584
261f4859
AS
385852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38586
0abaf3e4
AS
38587 [BZ #14283]
38588 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38589 by 7 not 8 to examine high bit of fractional part.
38590
261f4859
AS
38591 [BZ #14042]
38592 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38593 for call to __mcount_internal.
38594 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38595 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38596 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38597
f17ac40d
JM
385982012-07-06 Joseph Myers <joseph@codesourcery.com>
38599
9ad63c23
JM
38600 [BZ #14154]
38601 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38602 approximation for values within 0x1p-13f of an odd multiple of
38603 pi/4.
38604 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38605 exception. Add more tests.
38606 * sysdeps/i386/fpu/libm-test-ulps: Update.
38607
f17ac40d
JM
38608 [BZ #6778]
38609 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38610 inputs and return -1 for them. Do not check for +Inf in case not
38611 reachable for +Inf.
38612 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38613 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38614 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38615 and return -1 for them. Do not check for +Inf in case not
38616 reachable for +Inf.
38617 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38618 define.
38619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38620 and return -1 for them. Do not check for +Inf in case not
38621 reachable for +Inf.
38622 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38623 spurious underflow.
38624 * sysdeps/i386/fpu/libm-test-ulps: Update.
38625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38626
fb21f89b
MF
386272012-07-06 Mike Frysinger <vapier@gentoo.org>
38628
38629 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38630
cdfe2c5e
JM
386312012-07-05 Joseph Myers <joseph@codesourcery.com>
38632
38633 [BZ #14157]
38634 [BZ #14331]
38635 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38636 could result in spurious underflow. Scale down values above
38637 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38638 * math/s_csqrtf.c (__csqrtf): Likewise.
38639 * math/s_csqrtl.c (__csqrtl): Likewise.
38640 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38641 spurious underflow.
38642 * sysdeps/i386/fpu/libm-test-ulps: Update.
38643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38644
70d35b67
AS
386452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38646
704bc459
AS
38647 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38648 xopen-msg.sed.
38649 * catgets/xopen-msg.awk: New file.
38650 * catgets/xopen-msg.sed: Removed.
38651
70d35b67
AS
38652 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38653 po2text.sed.
38654 * intl/po2test.awk: New file.
38655 * intl/po2test.sed: Removed.
38656
ca61cf32
JM
386572012-07-04 Joseph Myers <joseph@codesourcery.com>
38658
38659 [BZ #14328]
38660 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38661 or multiply small sinh result by itself.
38662 * math/s_ctanf.c (__ctanf): Likewise.
38663 * math/s_ctanh.c (__ctanh): Likewise.
38664 * math/s_ctanhf.c (__ctanhf): Likewise.
38665 * math/s_ctanhl.c (__ctanhl): Likewise.
38666 * math/s_ctanl.c (__ctanl): Likewise.
38667 * math/libm-test.inc (ctan_test_tonearest): New function.
38668 (ctan_test_towardzero): Likewise.
38669 (ctan_test_downward): Likewise.
38670 (ctan_test_upward): Likewise.
38671 (ctanh_test_tonearest): Likewise.
38672 (ctanh_test_towardzero): Likewise.
38673 (ctanh_test_downward): Likewise.
38674 (ctanh_test_upward): Likewise.
38675 (main): Call these new functions.
38676 * sysdeps/i386/fpu/libm-test-ulps: Update.
38677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38678
ca48a46a
MF
386792012-07-03 Mike Frysinger <vapier@gentoo.org>
38680
38681 * .gitignore: Delete /ports entry.
38682
9d63d37d
AJ
386832012-07-03 Andreas Jaeger <aj@suse.de>
38684
38685 * po/bg.po: Update from translation team.
38686 * po/cs.po: Likewise.
38687 * po/de.po: Likewise.
38688 * po/hr.po: Likewise.
38689 * po/nl.pl: Likewise.
38690 * po/pl.po: Likewise.
38691 * po/vi.po: Likewise.
38692
370ca3d2
JM
386932012-07-03 Joseph Myers <joseph@codesourcery.com>
38694
95f5a9a8
JM
38695 * Makeconfig [!+link] (+link-before-libc): New variable.
38696 [!+link] (+link-after-libc): Likewise.
38697 [!+link] (+link-tests): Likewise.
38698 [!+link] (+link): Define in terms of $(+link-before-libc) and
38699 $(+link-after-libc).
38700 [!+link-static] (+link-static-before-libc): New variable.
38701 [!+link-static] (+link-static-after-libc): Likewise.
38702 [!+link-static] (+link-static-tests): Likewise.
38703 [!+link-static] (+link-static): Define in terms of
38704 $(+link-static-before-libc) and $(+link-static-after-libc).
38705 [build-shared] (link-libc-before-gnulib): New variable.
38706 [build-shared] (link-libc-tests): Likewise.
38707 [build-shared] (link-libc): Define in terms of
38708 $(link-libc-before-gnulib).
38709 [!build-shared] (link-libc-tests): New variable.
38710 (link-libc-static-tests): New variable.
38711 [!gnulib] (gnulib-arch): New variable.
38712 [!gnulib] (gnulib-tests): Likewise.
38713 [!gnulib] (static-gnulib-arch): Likewise.
38714 [!gnulib] (static-gnulib-tests): Likewise.
38715 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38716 Define with "=" instead of ":=".
38717 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38718 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38719 * Rules (binaries-all-notests): New variable.
38720 (binaries-all-tests): Likewise.
38721 (binaries-static-notests): Likewise.
38722 (binaries-static-tests): Likewise.
38723 (binaries-all): Define using $(binaries-all-notests) and
38724 $(binaries-all-tests).
38725 (binaries-static): Define using $(binaries-static-notests) and
38726 $(binaries-static-tests).
38727 (binaries-shared-tests): New variable.
38728 (binaries-shared-notests): Likewise.
38729 (binaries-shared): Remove variable.
38730 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38731 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38732 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38733 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38734 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38735 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38736 * elf/Makefile (sln-modules): New variable.
38737 (extra-objs): Add $(sln-modules:=.o).
38738 (ldconfig-modules): Add static-stubs.
38739 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38740 * elf/static-stubs.c: New file.
38741
7a845b2c
JM
38742 [BZ #14283]
38743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38744 by 7 not 8 to examine high bit of fractional part. Use volatile
38745 variables when splitting into final array of floats if
38746 __FLT_EVAL_METHOD__ != 0.
38747 * math/libm-test.inc (cos_test): Add another test.
38748 (sin_test): Likewise.
38749 * sysdeps/i386/fpu/libm-test-ulps: Update.
38750
e2283f38
JM
38751 [BZ #14273]
38752 * math/libm-test.inc (cosh_test): Add more tests.
38753
370ca3d2
JM
38754 * version.h (RELEASE): Set to "development".
38755 (VERSION): Set to "2.16.90".
38756
ee9247c3
CD
387572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38758
38759 * NEWS: Update copyright. Remove last-updated date.
38760 Mention math library bug fixes and timezone data changes.
38761 * README: Mention GNU/Hurd, x32, and HPPA support status.
38762
4648c381
TS
387632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38764
38765 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38766
aac78a43
AJ
387672012-06-27 Andreas Jaeger <aj@suse.de>
38768
38769 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38770
ed3dbfad
AJ
387712012-06-25 Andreas Jaeger <aj@suse.de>
38772
38773 * sysdeps/s390/fpu/libm-test-ulps: Update.
38774
4d0ee855
AS
387752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38776 Thomas Schwinge <thomas@codesourcery.com>
38777
38778 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38779 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38781 fanotify_mark.
38782
af1bce34
TS
387832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38784
a9fa33ba
TS
38785 * sysdeps/mach/start.c: Remove file.
38786 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38787 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38788 * sysdeps/sh/init-first.c: Likewise.
38789
58f902b8
TS
38790 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38791 registers for frame unwinding purposes, add CFI directives.
38792 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38793 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38794 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38795 Likewise.
38796
1518f58b
TS
38797 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38798 __fortify_fail returning.
38799 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38800
db9b5059
TS
38801 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38802 sysdeps/sh/____longjmp_chk.S.
38803 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38804 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38805 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38806 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38807
967705fe
TS
38808 * sysdeps/sh/abort-instr.h: New file.
38809 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38810 process in case exit returns.
38811
a9def8c4
TS
38812 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38813 initialize the GOT register before use.
38814
2a649725
TS
38815 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38816 calculation of ARGC > 4.
38817
af1bce34
TS
38818 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38819 meaningful names to some local labels.
38820
d230f50a
KK
388212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38822 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38823
38824 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38825 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38826 (__arch_compare_and_exchange_val_16_acq): Likewise.
38827 (__arch_compare_and_exchange_val_32_acq): Likewise.
38828 (atomic_exchange_and_add): Fix gUSA sequence.
38829 (atomic_add): Likewise.
38830 (atomic_add_negative): Likewise.
38831 (atomic_add_zero): Likewise.
38832 (atomic_bit_test_set): Likewise.
38833
0479b305
AS
388342012-06-22 Andreas Schwab <schwab@redhat.com>
38835
38836 [BZ #13579]
38837 * include/link.h (struct link_map): Add l_free_initfini.
38838 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38839 l_initfini.
38840 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38841 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38842 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38843 set.
38844
0e3933b9
CD
388452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38846
38847 * configure.in: Use AC_LANG_SOURCE.
38848 * configure: Regenerate.
38849
4248b1b1
RM
388502012-06-22 Roland McGrath <roland@hack.frob.com>
38851
38852 * configure.in (libc_cv_localstatedir): New substituted variable.
38853 * configure: Regenerated.
38854 * config.make.in (localstatedir): New variable, substituted from
38855 libc_cv_localstatedir.
38856 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38857 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38858 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38859 * sysdeps/gnu/configure: Regenerated.
38860
006dd861
JL
388612012-06-21 Jeff Law <law@redhat.com>
38862
38863 [BZ #14277]
38864 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38865 free. Simplify list management for _LIBC case.
38866
79662d42
JM
388672012-06-21 Joseph Myers <joseph@codesourcery.com>
38868
b7abb4bf
JM
38869 [BZ #14273]
38870 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38871 Clear sign bit of 64-bit integer value before comparing against
38872 overflow value.
38873
79662d42
JM
38874 * sysdeps/mach/configure: Regenerated.
38875
1f150908
L
388762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38877
38878 [BZ #14278]
38879 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38880
28363bbf
JL
388812012-06-21 Jeff Law <law@redhat.com>
38882
38883 [BZ #13882]
38884 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38885 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 38886 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
38887 * elf/dl-open.c (dl_open_worker): Likewise.
38888
09615db4
CD
388892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38890
38891 * scripts/list-sources.sh: Scan PORTS for translations.
38892 * po/libc.pot: Regenerated.
38893
2174c6dd
AJ
388942012-06-21 Andreas Jaeger <aj@suse.de>
38895
38896 [BZ #12194]
38897 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38898 warning.
38899 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38900 * bits/byteswap-16.h (__bswap_16): Likewise.
38901 * bits/byteswap.h (__bswap_constant_16): Likewise.
38902
3ee947b1
L
389032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38904
38905 [BZ #14117]
a2f34833
L
38906 * sysdeps/i386/fpu_control.h: Removed.
38907 * sysdeps/x86_64/fpu_control.h: Moved to ...
38908 * sysdeps/x86/fpu_control.h: Here.
38909
3ee947b1
L
38910 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38911 (_FPU_SETCW): Likewise.
38912
ed1825f8
L
389132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38914
25f1282a
L
38915 [BZ #14117]
38916 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38917 * sysdeps/x86/fpu/bits/mathinline.h: This.
38918 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38919
ed1825f8
L
38920 [BZ #14050]
38921 [BZ #14117]
38922 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38923 functions if __x86_64__ is defined.
38924
36d54b74
CLT
389252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38926
38927 * string/endian.h: Add !__ASSEMBLER__ condition for including
38928 conversion interfaces.
38929
10285c21
JM
389302012-06-15 Joseph Myers <joseph@codesourcery.com>
38931
38932 [BZ #14241]
38933 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38934 of ABS(x) in calculating zero to negative powers other than odd
38935 integers.
38936 * math/libm-test.inc (pow_test): Add more tests.
38937
06c5abbd
AJ
389382012-06-15 Andreas Jaeger <aj@suse.de>
38939
38940 * manual/contrib.texi (Contributors): Update entry of Liubov
38941 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38942 Machado Filho.
38943
a3aeac40
CH
389442012-06-15 Cyril Hrubis <metan@ucw.cz>
38945
38946 * string/string.h: Add __wur to GNU version of strerror_r.
38947
49bdf4c1
L
389482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38949
38950 [BZ #14229]
38951 * string/Makefile (tests): Add tst-strtok_r.
38952 * string/tst-strtok_r.c: New file.
38953 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38954 RAX_LP/RDX_LP on SAVE_PTR.
38955
834f9b8d
RM
389562012-06-14 Roland McGrath <roland@hack.frob.com>
38957
38958 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38959
75fa1921
JM
389602012-06-14 Joseph Myers <joseph@codesourcery.com>
38961
38962 * libm_test.inc (csqrt_test): Allow more spurious underflow
38963 exceptions.
38964 (j0_test): Likewise.
38965 (j1_test): Likewise.
38966 (y0_test): Likewise.
38967 (y1_test): Likewise.
38968
771766df
CD
389692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38970
38971 * po/Makefile (libc.pot): Use UTF-8 charset.
38972
ceb9e56b
PP
389732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38974
38975 [BZ #14210]
38976 Suppress sign-conversion warning from FD_SET.
38977 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38978 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38979 not unsigned long int.
38980 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38981
ddb28975
L
389822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38983
38984 [BZ #14050]
38985 [BZ #14117]
38986 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38987 __extern_always_inline instead of __extern_inline.
38988 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38989 (__signbit): Likewise.
38990 (__signbitl): Support C++ namespace.
38991 (lrintf): New inline function.
38992 (lrint): Likewise.
38993 (llrintf): Likewise.
38994 (llrint): Likewise.
38995 (fmaxf): Likewise.
38996 (fmax): Likewise.
38997 (fminf): Likewise.
38998 (fmin): Likewise.
38999 (rint): Likewise.
39000 (rintf): Likewise.
39001 (ceil): Likewise.
39002 (ceilf): Likewise.
39003 (floor): Likewise.
39004 (floorf): Likewise.
39005 (nearbyint): Likewise.
39006 (nearbyintf): Likewise.
39007
d7b4fb26
TS
390082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39009
39010 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39011 non-default versions.
39012
eb55f5c2
RM
390132012-06-11 Roland McGrath <roland@hack.frob.com>
39014
39015 [BZ #14218]
39016 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39017
366af02c
TS
390182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39019
99ff6e5c
TS
39020 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39021 (FE_UPWARD, FE_DOWNWARD): Don't define.
39022 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39023 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39024
366af02c
TS
39025 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39026 reading it.
39027 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39028 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39029
793ea851
KK
390302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39031
39032 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39034 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39035 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39036
a728a38f
L
390372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39038
39039 [BZ #14117]
c08010c7
L
39040 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39041 * sysdeps/i386/fpu/Implies: New file.
39042 * sysdeps/x86_64/fpu/Implies: Likewise.
39043 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39044 * sysdeps/x86/fpu/bits/fenv.h: This.
39045
a728a38f
L
39046 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39047 __SSE_MATH__.
39048
6e230d11
SP
390492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39050
39051 [BZ #14134]
39052 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39053 character 0xffff that matches the last element of the
39054 conversion table.
39055
1b671feb
AZ
390562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39057
39058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39059 fmodl commit.
39060
6043738b
AZ
390612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39062
39063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39064 values higher than 25.6283.
39065
34ae0b32
AZ
390662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39067
39068 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39069 subnormal exponent extraction and add some __builtin_expect.
39070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39071 Fix for subnormal mantissa calculation.
39072
1214ec8f
MF
390732012-06-04 Mike Frysinger <vapier@gentoo.org>
39074
39075 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39076 cpu2 is -1 and errno is not ENOSYS.
39077
f3d1f93c
L
390782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39079
39080 [BZ #14117]
0e4a3cd7
L
39081 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39082 * sysdeps/x86/bits/string.h: This.
39083 * sysdeps/x86_64/bits/string.h: Removed.
39084
6704c645
L
39085 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39086 if not compiling for x86-64, but compiling for >= i486.
39087
48495318
L
39088 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39089 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39090
14adcbfc
L
39091 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39092 New macro from Linux kernel 3.4.0.
39093 (FP_XSTATE_MAGIC2): Likewise.
39094 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39095 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39096 (struct _fpx_sw_bytes): New struct.
39097 (struct _xsave_hdr): Likewise.
39098 (struct _ymmh_state): Likewise.
39099 (struct _xstate): Likewise.
39100
68e408ab
L
39101 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39102 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39103 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39104 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39105 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39106 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39107
f3d1f93c
L
39108 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39109 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39110 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39111 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39112 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39113 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39114
d9dc34cd
TMQMF
391152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39116
39117 [BZ #13743]
39118 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39119 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39120 (sysdep_headers): Include sys/platform/ppc.h.
39121 * sysdeps/powerpc/test-gettimebase.c: Test for
39122 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39123 * manual/Makefile (appendices): Include platform.texi.
39124 * manual/contrib.texi (Contributors): Update @node pointers.
39125 * manual/maint.texi (Maintenance): Likewise.
39126 (Platform): New node.
39127 * manual/platform.texi: New file. Document the new features.
39128
4af3879c
SP
391292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39130 Jakub Jelinek <jakub@redhat.com>
39131
39132 [BZ #14188]
39133 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39134 where __builtin_expect is unavailable.
39135
2fd6ff13
DM
391362012-06-03 David S. Miller <davem@davemloft.net>
39137
39138 * stdlib/longlong.h: Updated from GCC.
39139
173f7220
AS
391402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39141
39142 [BZ #14042]
39143 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39144 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39145 __mcount_internal.
39146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39147 (GLIBC_2.16): Likewise.
39148
f34a1c6f
L
391492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39150
39151 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39152
88a4576f
JM
391532012-06-01 Joseph Myers <joseph@codesourcery.com>
39154
ea32bcdd
JM
39155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39156 (default-abi): New variable.
39157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39158 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39159 variable.
39160 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39161 Likewise.
39162 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39163 Likewise.
39164 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39165 Likewise.
39166
88a4576f
JM
39167 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39168 definition. Document in comment.
39169
402fe938
DM
391702012-06-01 David S. Miller <davem@davemloft.net>
39171
39172 * stdlib/longlong.h: Updated from GCC.
39173
3553723f
L
391742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39175
39176 [BZ #14117]
3bd872c4
L
39177 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39178 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39179 sys/debugreg.h sys/io.h here.
39180 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39181 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39182 sys/io.h.
39183 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39184 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39185 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39186 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39187 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39188 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39189
3553723f
L
39190 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39191 Define only if __x86_64__ is defined.
39192
4842e4fe
JM
391932012-06-01 Joseph Myers <joseph@codesourcery.com>
39194
c5bfe3d5
JM
39195 [BZ #14048]
39196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39197 Use int64_t for variable i.
39198 * math/libm-test.inc (fmod_test): Add more tests.
39199
4842e4fe
JM
39200 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39201 z computation is not scheduled after fetestexcept.
39202 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39203 Use math_force_eval instead of asm to ensure calculation scheduled
39204 before exception test.
39205 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39206 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39207
efb73488
AJ
392082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39209
39210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39211 computation is not scheduled after fetestexcept.
39212
29bcce7c
L
392132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39214
39215 [BZ #14117]
39216 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39217 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39218
73a68f94
AZ
392192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39220
39221 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39222 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39223
67b6df78
L
392242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39225
edf2933a 39226 [BZ #14117]
ebc64a18
L
39227 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39228 <bits/wordsize.h>.
39229 (__WCHAR_MIN): Support __WORDSIZE == 64.
39230 (__WCHAR_MAX): Likewise.
39231
edf2933a
L
39232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39233 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39234
57c6cf40
L
39235 [BZ #14183]
39236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39237 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39238
67b6df78 39239 [BZ #14117]
8eb6281e
L
39240 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39241 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39242
aac639f4
L
39243 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39244 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39245
67b6df78
L
39246 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39247 Defined to 1 if __x86_64__ isn't defined.
39248 (_STAT_VER_LINUX_OLD): New.
39249 (st_atime): Remove duplicate.
39250 (st_mtime): Likewise.
39251 (st_ctime): Likewise.
39252
1c2cfe81
DM
392532012-05-31 David S. Miller <davem@davemloft.net>
39254
39255 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39256 entries.
39257
5be8418c
AS
392582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39259
e7725326
AS
39260 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39261 gen-libm-test.pl.
39262
5be8418c
AS
39263 [BZ #14132]
39264 * elf/dl-reloc.c: Include <_itoa.h>.
39265 (_dl_reloc_bad_type): Remove use of INTUSE.
39266 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39267 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39268 * stdio-common/psiginfo.c (psiginfo): Likewise.
39269 * stdio-common/psignal.c (psignal): Likewise.
39270 * string/strsignal.c (strsignal): Likewise.
39271 * include/signal.h (_sys_siglist): Declare hidden proto.
39272 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39273 INTVARDEF with libc_hidden_data_def.
39274 * stdio-common/itoa-udigits.c: Likewise.
39275 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39276 (_itoa_lower_digits_internal): Remove declaration.
39277 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39278 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39279 (_sys_sigabbrev_internal): Remove aliases.
39280 (_sys_siglist): Define hidden alias.
39281
507352f1
MT
392822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39283
39284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39285 bits/sysctl.h.
39286
42bbb1c3
L
392872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39288
39289 [BZ #14117]
6bd784b6
L
39290 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39291 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39292
8bca20f0
L
39293 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39294 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39295 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39296 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39298 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39299
f9e890a9
L
39300 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39301 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39302 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39303
471101a1
L
39304 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39305 with __addr.
39306 (insw): Likewise.
39307 (insl): Likewise.
39308 (outsb): Likewise.
39309 (outsw): Likewise.
39310 (outsl): Likewise.
39311
6451c862
L
39312 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39313 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39314 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39315
a254b8c9
L
39316 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39317 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39318 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39319 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39320 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39321 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39322
b8dfdd92
L
39323 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39324 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39325
578cd270
L
39326 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39327 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39328
de662f5f
L
39329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39330 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39331 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39332
25653439
L
39333 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39334 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39335 to ...
39336 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39337
6bad24a0
L
39338 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39339 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39340 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39341
42bbb1c3
L
39342 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39343 for x86-64.
39344 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39345
2d10d547
JM
393462012-05-31 Joseph Myers <joseph@codesourcery.com>
39347
39348 * math/math.h (M_El): Use two more decimal places.
39349 (M_LOG2El): Likewise.
39350 (M_LOG10El): Likewise.
39351 (M_LN2l): Likewise.
39352 (M_LN10l): Likewise.
39353 (M_PIl): Likewise.
39354 (M_PI_2l): Likewise.
39355 (M_PI_4l): Likewise.
39356 (M_1_PIl): Likewise.
39357 (M_2_PIl): Likewise.
39358 (M_2_SQRTPIl): Likewise.
39359 (M_SQRT2l): Likewise.
39360 (M_SQRT1_2l): Likewise.
39361
f230c29b
DM
393622012-05-31 David S. Miller <davem@davemloft.net>
39363
39364 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39365 values between float registers.
39366 * sysdeps/sparc/sparc64/memset.S: Likewise.
39367 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39368
fed806c3
MF
393692012-05-31 Mike Frysinger <vapier@gentoo.org>
39370
39371 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39372 -D_FORTIFY_SOURCE=1.
39373 (CPPFLAGS-tst-longjmp_chk.c): Define.
39374 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39375 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39376 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39377 CFLAGS-tst-wchar-h.c.
39378
30917259
MP
393792012-05-31 Marek Polacek <polacek@redhat.com>
39380
39381 [BZ #14132]
39382 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39383 __endmntent_internal): Remove declaration.
39384 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39385 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39386 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39387
1c58d5dc
DM
393882012-05-30 David S. Miller <davem@davemloft.net>
39389
39390 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39391 (___Q_simulate_exceptions): Use real FP ops rather than writing
39392 into the %fsr.
39393 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39394 Likewise.
39395
7dc00e0d
L
393962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39397
39398 [BZ #14117]
0bd53985
L
39399 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39400 * sysdeps/x86/bits/xtitypes.h: This.
39401
3a257e66
L
39402 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39403 * sysdeps/x86/bits/wordsize.h: This.
39404
62f62904
L
39405 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39406 * sysdeps/x86/bits/huge_vall.h: This.
39407
404fe9d9
L
39408 * sysdeps/i386/bits/select.h: Removed.
39409 * sysdeps/x86_64/bits/select.h: Renamed to ...
39410 * sysdeps/x86/bits/select.h: This.
39411
d48d0446
L
39412 * sysdeps/i386/bits/setjmp.h: Removed.
39413 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39414 * sysdeps/x86/bits/setjmp.h: This.
39415
7dc00e0d
L
39416 * sysdeps/i386/bits/mathdef.h: Removed.
39417 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39418 * sysdeps/x86/bits/mathdef.h: This.
39419
03277f8f
AS
394202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39421
39422 [BZ #14132]
39423 * include/sys/socket.h (__connect_internal)
39424 (__libc_sa_len_internal): Remove declaration.
39425 (__connect, __libc_sa_len): Declare hidden_proto.
39426 (SA_LEN): Remove use of INTUSE.
39427 * socket/connect.c: Add libc_hidden_def.
39428 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39429 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39430 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39431 alias.
39432 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39433 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39434 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39435 of adding _internal alias.
39436
13764867
L
394372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39438
39439 [BZ #14117]
6bd97696
L
39440 * sysdeps/i386/bits/link.h: Removed.
39441 * sysdeps/i386/bits/linkmap.h: Likewise.
39442 * sysdeps/x86_64/bits/link.h: Renamed to ...
39443 * sysdeps/x86/bits/link.h: This.
39444 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39445 * sysdeps/x86/bits/linkmap.h: This.
39446
f726f0bb
L
39447 * sysdeps/i386/bits/endian.h: Removed.
39448 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39449 * sysdeps/x86/bits/endian.h: This.
39450
13764867
L
39451 * sysdeps/i386/bits/byteswap.h: Removed.
39452 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39453 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39454 * sysdeps/x86/bits/byteswap.h: This.
39455 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39456 * sysdeps/x86/bits/byteswap-16.h: This.
39457 * sysdeps/i386/Implies: Add x86.
39458 * sysdeps/x86_64/Implies: Likewise.
39459
ae251b0b
DM
394602012-05-30 David S. Miller <davem@davemloft.net>
39461
39462 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39463 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39464 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39465 (FP_TRAPPING_EXCEPTIONS): Define.
39466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39467 (FP_TRAPPING_EXCEPTIONS): Define.
39468 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39469 subnormals only when inexact has been signalled or underflow
39470 exceptions are enabled.
39471 (_FP_PACK_CANONICAL): Likewise.
39472
d5c90867
L
394732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39474
39475 [BZ #14183]
39476 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39477 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39478
63f1549e
RH
394792012-05-30 Richard Henderson <rth@twiddle.net>
39480
8d8f2279
RH
39481 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39482 with #ifndef NOT_IN_libc.
39483
63f1549e
RH
39484 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39485 marked to avoid plt entry.
39486
0ab0291b
L
394872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39488
39489 [BZ #14112]
39490 * Makeconfig (default-abi): New macro.
39491 (abi-includes): Likewise.
39492 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39493 $(abi-$(default-abi)-lib-soname) for soname if defined.
39494 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39495 abi-variants.
39496 * Makefile (installed-stubs): Likewise.
39497 * include/stubs-biarch.h: Removed.
39498 * scripts/lib-names.awk: Only handle one library at a time.
39499 * scripts/soversions.awk: Remove WORDSIZE support.
39500 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39501 entries.
39502 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39503 Removed.
39504 (syscall-list-default-condition): Likewise.
39505 (syscall-list-default-condition): Likewise.
39506 (syscall-list-includes): Likewise.
39507 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39508 syscall-list-* with abi-*. Handle undefined abi-variants.
39509 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39510 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39511 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39512 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39513 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39514 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39515 Removed.
39516 (syscall-list-32-options): Likewise.
39517 (syscall-list-32-condition): Likewise.
39518 (syscall-list-64-options): Likewise.
39519 (syscall-list-64-condition): Likewise.
39520 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39521 macro.
39522 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39523 Renamed to ...
39524 (abi-*): This.
39525 (abi-64-ld-soname): New macro.
39526 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39527 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39528 Renamed to ...
39529 (abi-*): This.
39530 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39531 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39532
4da0431d
JM
395332012-05-30 Joseph Myers <joseph@codesourcery.com>
39534
3a85279c
JM
39535 * sysdeps/unix/sysv/linux/kernel-features.h
39536 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39537 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39538 include <kernel-features.h>.
39539 [!__NR_ftruncate64]: Remove conditional code.
39540 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39541 [__NR_ftruncate64]: Make code unconditional.
39542 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39543 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39544 include <kernel-features.h>.
39545 [!__NR_ftruncate64]: Remove conditional code.
39546 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39547 [__NR_ftruncate64]: Make code unconditional.
39548 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39550 include <kernel-features.h>.
39551 [!__NR_ftruncate64]: Remove conditional code.
39552 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39553 [__NR_ftruncate64]: Make code unconditional.
39554 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39556 include <kernel-features.h>.
39557 [!__NR_ftruncate64]: Remove conditional code.
39558 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39559 [__NR_ftruncate64]: Make code unconditional.
39560 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39561
4da0431d
JM
39562 * configure.in (libc_cv_fpie): Weaken to a compile test using
39563 LIBC_TRY_CC_OPTION.
39564 * configure: Regenerated.
39565
11ef492c
AK
395662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39567
39568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39572 Refreshed.
39573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39579 Refreshed.
39580
d66ef399
DM
395812012-05-27 David S. Miller <davem@davemloft.net>
39582
39583 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39584 (___Q_zero): New.
39585 (__Q_simulate_exceptions): Return void. Change to simulate
39586 exceptions by writing into the %fsr.
39587 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39588 (__Qp_handle_exceptions): Likewise.
39589 (numbers): Delete.
39590 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39591 __Qp_handle_exceptions.
39592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39593 __Qp_handle_exceptions.
39594 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39595 as unused and give dummy FP_RND_NEAREST initializer.
39596 (FP_INHIBIT_RESULTS): Define.
39597 (___Q_simulate_exceptions): Update declaration.
39598 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39599 formatting.
39600 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39601 as unused and give dummy FP_RND_NEAREST initializer.
39602 (__Qp_handle_exceptions): Update declaration.
39603 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39604 formatting.
39605
04fb54b5
TS
396062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39607
39608 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39609 the temporary FPU control word.
39610 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39611 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39612 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39613 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39614 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39615 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39616 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39617 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39618 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39619 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39620 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39621
3f99608f
KK
396222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39623
39624 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39625 fields.
39626
65a4de4e
CLT
396272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39628
39629 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39630 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39631 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39632 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39633 Likewise.
39634 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39635 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39636 Likewise.
39637
15749d40
UD
396382012-05-27 Ulrich Drepper <drepper@gmail.com>
39639
39640 * po/h.po: Update from translation team.
39641
25dbcb27
AS
396422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39643
3d3f8e55
AS
39644 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39645
25dbcb27
AS
39646 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39647 handling of denormals.
39648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39649 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39650 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39651 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39655 Likewise.
39656
7ad47a80 396572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
39658
39659 [BZ #14152]
39660 * math/libm-test.inc (fma_test): Don't always expect underflow
39661 exception.
39662
9c6ea9fa
SP
396632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39664
39665 [BZ #12416]
39666 * elf/tst-execstack.c: Include stackinfo.h.
39667 (do_test): Adjust test case to ensure that pthread_getattr_np
39668 behaviour remains the same after marking stack executable.
39669
a8239222
JM
396702012-05-25 Joseph Myers <joseph@codesourcery.com>
39671
39672 * sysdeps/unix/sysv/linux/kernel-features.h
39673 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39674 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39675 kernel-features.h.
39676 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39677 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39678 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39679 kernel-features.h.
39680 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39681 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39682
918b5606
L
396832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39684
39685 * configure.in: Define the default includes to being none.
39686 * configure: Regenerated.
39687
3a097cc7
RM
396882012-05-25 Roland McGrath <roland@hack.frob.com>
39689
8422c9a5
RM
39690 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39691 * sysdeps/x86_64/setjmp.S: Likewise.
39692 * sysdeps/i386/bsd-setjmp.S: Likewise.
39693 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39694 * sysdeps/i386/setjmp.S: Likewise.
39695 * sysdeps/i386/__longjmp.S: Likewise.
39696 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39697 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39698
3a097cc7
RM
39699 * include/stap-probe.h: New file.
39700 * configure.in: Handle --enable-systemtap.
39701 * configure: Regenerated.
39702 * config.h.in (USE_STAP_PROBE): New #undef.
39703 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39704 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39705 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39706
21708942
JM
397072012-05-25 Joseph Myers <joseph@codesourcery.com>
39708
39709 [BZ #13717]
39710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39711 to 2.4.0 where earlier.
39712 * sysdeps/unix/sysv/linux/configure: Regenerated.
39713 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39714 <kernel-features.h>.
39715 [__ASSUME_32BITUIDS]: Make code unconditional.
39716 [!__ASSUME_32BITUIDS]: Remove conditional code.
39717 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39718 <kernel-features.h>.
39719 [__ASSUME_32BITUIDS]: Make code unconditional.
39720 [!__ASSUME_32BITUIDS]: Remove conditional code.
39721 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39722 [__ASSUME_32BITUIDS]: Make code unconditional.
39723 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39724 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39725 <kernel-features.h>.
39726 [__ASSUME_32BITUIDS]: Make code unconditional.
39727 [!__ASSUME_32BITUIDS]: Remove conditional code.
39728 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39729 <kernel-features.h>.
39730 [__ASSUME_32BITUIDS]: Make code unconditional.
39731 [!__ASSUME_32BITUIDS]: Remove conditional code.
39732 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39733 <kernel-features.h>.
39734 [__ASSUME_32BITUIDS]: Make code unconditional.
39735 [!__ASSUME_32BITUIDS]: Remove conditional code.
39736 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
39745 <kernel-features.h>.
39746 [__ASSUME_32BITUIDS]: Make code unconditional.
39747 [!__ASSUME_32BITUIDS]: Remove conditional code.
39748 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39749 <kernel-features.h>.
39750 [__ASSUME_32BITUIDS]: Make code unconditional.
39751 [!__ASSUME_32BITUIDS]: Remove conditional code.
39752 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39753 <kernel-features.h>.
39754 [__ASSUME_32BITUIDS]: Make code unconditional.
39755 [!__ASSUME_32BITUIDS]: Remove conditional code.
39756 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39757 <kernel-features.h>.
39758 [__ASSUME_32BITUIDS]: Make code unconditional.
39759 [!__ASSUME_32BITUIDS]: Remove conditional code.
39760 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39761 <kernel-features.h>.
39762 [__ASSUME_32BITUIDS]: Make code unconditional.
39763 [!__ASSUME_32BITUIDS]: Remove conditional code.
39764 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39765 <kernel-features.h>.
39766 [__NR_setresgid] (__setresgid): Do not declare.
39767 [__ASSUME_32BITUIDS]: Make code unconditional.
39768 [!__ASSUME_32BITUIDS]: Remove conditional code.
39769 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39770 <kernel-features.h>.
39771 [__NR_setresuid] (__setresuid): Do not declare.
39772 [__ASSUME_32BITUIDS]: Make code unconditional.
39773 [!__ASSUME_32BITUIDS]: Remove conditional code.
39774 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39775 <kernel-features.h>.
39776 [__ASSUME_32BITUIDS]: Make code unconditional.
39777 [!__ASSUME_32BITUIDS]: Remove conditional code.
39778 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39779 <kernel-features.h>.
39780 [__ASSUME_32BITUIDS]: Make code unconditional.
39781 [!__ASSUME_32BITUIDS]: Remove conditional code.
39782 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39783 <kernel-features.h>.
39784 [__ASSUME_32BITUIDS]: Make code unconditional.
39785 [!__ASSUME_32BITUIDS]: Remove conditional code.
39786 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39787 <kernel-features.h>.
39788 [__ASSUME_32BITUIDS]: Make code unconditional.
39789 [!__ASSUME_32BITUIDS]: Remove conditional code.
39790 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39791 <kernel-features.h>.
39792 [__ASSUME_32BITUIDS]: Make code unconditional.
39793 [!__ASSUME_32BITUIDS]: Remove conditional code.
39794 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39795 <kernel-features.h>.
39796 [__ASSUME_32BITUIDS]: Make code unconditional.
39797 [!__ASSUME_32BITUIDS]: Remove conditional code.
39798 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39799 <kernel-features.h>.
39800 [__ASSUME_32BITUIDS]: Make code unconditional.
39801 [!__ASSUME_32BITUIDS]: Remove conditional code.
39802 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39803 <kernel-features.h>.
39804 [__ASSUME_32BITUIDS]: Make code unconditional.
39805 [!__ASSUME_32BITUIDS]: Remove conditional code.
39806 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39807 <kernel-features.h>.
39808 [__ASSUME_32BITUIDS]: Make code unconditional.
39809 [!__ASSUME_32BITUIDS]: Remove conditional code.
39810 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39811 <kernel-features.h>.
39812 [__ASSUME_32BITUIDS]: Make code unconditional.
39813 [!__ASSUME_32BITUIDS]: Remove conditional code.
39814 * sysdeps/unix/sysv/linux/kernel-features.h
39815 (__ASSUME_SETRESUID_SYSCALL): Remove.
39816 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39817 (__ASSUME_32BITUIDS): Likewise.
39818 (__ASSUME_LDT_WORKS): Likewise.
39819 (__ASSUME_O_DIRECTORY): Likewise.
39820 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39821 architecture but not kernel version.
39822 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39823 (__ASSUME_MMAP2_SYSCALL): Likewise.
39824 (__ASSUME_STAT64_SYSCALL): Likewise.
39825 (__ASSUME_IPC64): Likewise.
39826 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39827 <kernel-features.h>.
39828 [__ASSUME_32BITUIDS]: Make code unconditional.
39829 [!__ASSUME_32BITUIDS]: Remove conditional code.
39830 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39831 <kernel-features.h>.
39832 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39833 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39834 132096]: Remove conditional code.
39835 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39836 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39837 <kernel-features.h>.
39838 [__ASSUME_32BITUIDS]: Make code unconditional.
39839 [!__ASSUME_32BITUIDS]: Remove conditional code.
39840 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39841 <kernel-features.h>.
39842 [__ASSUME_32BITUIDS]: Make code unconditional.
39843 [!__ASSUME_32BITUIDS]: Remove conditional code.
39844 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39845 <kernel-features.h>.
39846 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39847 unconditional.
39848 (__setresgid): Do not declare.
39849 [__ASSUME_32BITUIDS]: Make code unconditional.
39850 [!__ASSUME_32BITUIDS]: Remove conditional code.
39851 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39852 <kernel-features.h>.
39853 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39854 unconditional.
39855 (__setresuid): Do not declare.
39856 [__ASSUME_32BITUIDS]: Make code unconditional.
39857 [!__ASSUME_32BITUIDS]: Remove conditional code.
39858 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39859 <kernel-features.h>.
39860 [__ASSUME_32BITUIDS]: Make code unconditional.
39861 [!__ASSUME_32BITUIDS]: Remove conditional code.
39862 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39863 <kernel-features.h>.
39864 [__ASSUME_32BITUIDS]: Make code unconditional.
39865 [!__ASSUME_32BITUIDS]: Remove conditional code.
39866
a386f1cc
RH
398672012-05-25 Richard Henderson <rth@twiddle.net>
39868
39869 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39870 dl_hwcap to ifunc resolver.
39871 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39872 elf_ifunc_invoke.
39873 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39874 dl_hwcap to ifunc resolver.
39875 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39876
b6550497
JM
398772012-05-24 Joseph Myers <joseph@codesourcery.com>
39878
39879 [BZ #14153]
39880 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39881 for |x| <= 2**-26, not 2**-57.
39882 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39883 exception.
39884
b0bc23a1
JL
398852012-05-24 Jeff Law <law@redhat.com>
39886
39887 * stdio-common/Makefile (tests): Add bug25.
39888 * stdio-common/bug25.c: New test.
39889
347c92e9
L
398902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39891
39892 [BZ #13576]
39893 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39894 multiple of MALLOC_ALIGNMENT in size.
39895 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39896
6bcc8b3f
JM
398972012-05-24 Joseph Myers <joseph@codesourcery.com>
39898
39899 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39900 Require >= 256.
39901 (FILENAME_MAX): Use macro-int-constant.
39902 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39903 (_IOFBF): Use macro-int-constant.
39904 (_IOLBF): Likewise.
39905 (_IONBF): Likewise.
39906 (SEEK_CUR): Likewise.
39907 (SEEK_END): Likewise.
39908 (SEEK_SET): Likewise.
39909 (TMP_MAX): Likewise.
39910 (EOF): Use macro-int-constant. Require < 0.
39911 (NULL): Use macro-constant. Require == 0.
39912 (stdin): Require type to be FILE *.
39913 (stdout): Likewise.
39914 (stderr): Likewise.
39915 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39916 macro-int-constant.
39917 (EXIT_SUCCESS): Likewise.
39918 (NULL): Use macro-constant. Require == 0.
39919 (RAND_MAX): Use macro-int-constant.
39920 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39921 [C99-based standards] (strtof): Require function.
39922 [C99-based standards] (strtold): Likewise.
39923 [C99-based standards] (strtoll): Likewise.
39924 [C99-based standards] (strtoull): Likewise.
39925 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39926 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39927 [ISO || ISO99 || ISO11] (math.h): Likewise.
39928 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39929 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39930 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39931
d18ea0c5
AS
399322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39933
39934 [BZ #14132]
56d25bb8
AS
39935 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39936 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39937 * intl/dgettext.c (DCGETTEXT): Likewise.
39938 * intl/gettext.c (DCGETTEXT): Likewise.
39939 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39940 * posix/regex_internal.h (gettext): Likewise.
39941 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39942 Remove declaration.
39943 * include/argz.h (__argz_count_internal)
39944 (__argz_stringify_internal): Remove declaration.
39945 (__argz_count, __argz_stringify): Declare hidden proto.
39946 * intl/dcgettext.c: Remove use of INTDEF.
39947 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39948 * string/argz-stringify.c: Likewise.
39949 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39950 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39951 Declare hidden proto.
d18ea0c5
AS
39952 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39953 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39954 Declare hidden proto.
39955 * include/stdio.h (__asprintf_internal): Don't declare.
39956 (__asprintf): Don't define as macro. Declare hidden proto.
39957 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39958 (__fsetlocking): Declare hidden proto.
39959 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39960 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39961 hidden proto.
39962 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39963 (_IO_setlinebuf): Remove use of INTUSE.
39964 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39965 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39966 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39967 Remove declaration.
39968 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39969 (_IO_do_flush): Remove use of INTUSE.
39970 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39971 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39972 (_IO_adjust_column, _IO_least_wmarker)
39973 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39974 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39975 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39976 (_IO_default_doallocate, _IO_wdefault_doallocate)
39977 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39978 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39979 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39980 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39981 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39982 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39983 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39984 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39985 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39986 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39987 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39988 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39989 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39990 proto.
39991 (_IO_flush_all_internal, _IO_adjust_column_internal)
39992 (_IO_default_uflow_internal, _IO_default_finish_internal)
39993 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39994 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39995 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39996 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39997 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39998 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39999 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40000 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40001 (_IO_file_close_internal, _IO_file_close_it_internal)
40002 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40003 (_IO_file_init_internal, _IO_file_attach_internal)
40004 (_IO_file_fopen_internal, _IO_file_read_internal)
40005 (_IO_file_sync_internal, _IO_file_seek_internal)
40006 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40007 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40008 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40009 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40010 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40011 (_IO_list_all_internal, _IO_link_in_internal)
40012 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40013 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40014 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40015 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40016 (_IO_do_write_internal, _IO_padn_internal)
40017 (_IO_getline_info_internal, _IO_getline_internal)
40018 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40019 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40020 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40021 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40022 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40023 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40024 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40025 with libc_hidden_ver, remove use of INTUSE.
40026 * libio/genops.c: Likewise.
40027 * libio/freopen.c: Likewise.
40028 * libio/freopen64.c: Likewise.
40029 * libio/iofclose.c: Likewise.
40030 * libio/iofdopen.c: Likewise.
40031 * libio/iofflush.c: Likewise.
40032 * libio/iofflush_u.c: Likewise.
40033 * libio/iofgets.c: Likewise.
40034 * libio/iofgets_u.c: Likewise.
40035 * libio/iofopen.c: Likewise.
40036 * libio/iofopncook.c: Likewise.
40037 * libio/iofread.c: Likewise.
40038 * libio/iofread_u.c: Likewise.
40039 * libio/ioftell.c: Likewise.
40040 * libio/iofwrite.c: Likewise.
40041 * libio/iogetline.c: Likewise.
40042 * libio/iogets.c: Likewise.
40043 * libio/iogetwline.c: Likewise.
40044 * libio/iopadn.c: Likewise.
40045 * libio/iopopen.c: Likewise.
40046 * libio/ioseekoff.c: Likewise.
40047 * libio/ioseekpos.c: Likewise.
40048 * libio/iosetbuffer.c: Likewise.
40049 * libio/iosetvbuf.c: Likewise.
40050 * libio/ioungetc.c: Likewise.
40051 * libio/ioungetwc.c: Likewise.
40052 * libio/iovdprintf.c: Likewise.
40053 * libio/iovsprintf.c: Likewise.
40054 * libio/iovsscanf.c: Likewise.
40055 * libio/memstream.c: Likewise.
40056 * libio/obprintf.c: Likewise.
40057 * libio/oldfileops.c: Likewise.
40058 * libio/oldiofclose.c: Likewise.
40059 * libio/oldiofdopen.c: Likewise.
40060 * libio/oldiofopen.c: Likewise.
40061 * libio/oldiopopen.c: Likewise.
40062 * libio/oldstdfiles.c: Likewise.
40063 * libio/putc.c: Likewise.
40064 * libio/setbuf.c: Likewise.
40065 * libio/setlinebuf.c: Likewise.
40066 * libio/stdfiles.c: Likewise.
40067 * libio/strops.c: Likewise.
40068 * libio/vasprintf.c: Likewise.
40069 * libio/vscanf.c: Likewise.
40070 * libio/vsnprintf.c: Likewise.
40071 * libio/vswprintf.c: Likewise.
40072 * libio/wfiledoalloc.c: Likewise.
40073 * libio/wfileops.c: Likewise.
40074 * libio/wgenops.c: Likewise.
40075 * libio/wmemstream.c: Likewise.
40076 * libio/wstrops.c: Likewise.
40077 * libio/__fpurge.c: Likewise.
40078 * libio/__fsetlocking.c: Likewise.
40079 * assert/assert.c: Likewise.
40080 * debug/fgets_chk.c: Likewise.
40081 * debug/fgets_u_chk.c: Likewise.
40082 * debug/fread_chk.c: Likewise.
40083 * debug/fread_u_chk.c: Likewise.
40084 * debug/gets_chk.c: Likewise.
40085 * debug/obprintf_chk.c: Likewise.
40086 * debug/vasprintf_chk.c: Likewise.
40087 * debug/vdprintf_chk.c: Likewise.
40088 * debug/vsnprintf_chk.c: Likewise.
40089 * debug/vsprintf_chk.c: Likewise.
40090 * malloc/mtrace.c: Likewise.
40091 * misc/error.c: Likewise.
40092 * misc/syslog.c: Likewise.
40093 * stdio-common/asprintf.c: Likewise.
40094 * stdio-common/fxprintf.c: Likewise.
40095 * stdio-common/getw.c: Likewise.
40096 * stdio-common/isoc99_fscanf.c: Likewise.
40097 * stdio-common/isoc99_scanf.c: Likewise.
40098 * stdio-common/isoc99_vfscanf.c: Likewise.
40099 * stdio-common/isoc99_vscanf.c: Likewise.
40100 * stdio-common/isoc99_vsscanf.c: Likewise.
40101 * stdio-common/printf-prs.c: Likewise.
40102 * stdio-common/printf_fp.c: Likewise.
40103 * stdio-common/printf_fphex.c: Likewise.
40104 * stdio-common/printf_size.c: Likewise.
40105 * stdio-common/putw.c: Likewise.
40106 * stdio-common/scanf.c: Likewise.
40107 * stdio-common/sprintf.c: Likewise.
40108 * stdio-common/tmpfile.c: Likewise.
40109 * stdio-common/vfprintf.c: Likewise.
40110 * stdio-common/vfscanf.c: Likewise.
40111 * stdlib/strfmon_l.c: Likewise.
40112 * sunrpc/openchild.c: Likewise.
40113 * sunrpc/xdr_stdio.c: Likewise.
40114 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40115 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40116
d6c33fda
RM
401172012-05-24 Roland McGrath <roland@hack.frob.com>
40118
c1487492
RM
40119 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40120
40121 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40122 in the third column, to generate for the shared library an IFUNC
40123 that uses _dl_vdso_vsym.
40124 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40125 * Makeconfig (object-suffixes-noshared): New variable.
40126
40127 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40128 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40129 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40130 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40131
d6c33fda
RM
40132 [BZ #14132]
40133 * include/sys/time.h (__gettimeofday): Remove macro.
40134 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40135 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40136 Remove INTDEF.
40137 (__gettimeofday): Add libc_hidden_def.
40138 (gettimeofday): Add libc_hidden_weak.
40139 * sysdeps/mach/gettimeofday.c: Likewise.
40140 * sysdeps/posix/gettimeofday.c: Likewise.
40141 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40142 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40144 (__gettimeofday_internal): Remove strong_alias.
40145 (__gettimeofday): Add libc_hidden_def.
40146 (gettimeofday): Add libc_hidden_weak.
40147 * sysdeps/unix/syscalls.list (gettimeofday):
40148 Remove __gettimeofday_internal alias.
40149
b5a2bbe6
L
401502012-05-24 Daniel Jacobowitz <drow@false.org>
40151 H.J. Lu <hongjiu.lu@intel.com>
40152
40153 [BZ #12495]
40154 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40155 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40156 (largebin_index_32_big): New.
40157 (largebin_index): Use it for 16-byte alignment.
40158 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40159 correction with front_misalign.
40160
cfba4fda
L
401612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40162
7f907421
L
40163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40165 Likewise.
40166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40167 Likewise.
40168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40169 Likewise.
40170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40171 Likewise.
40172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40173 Likewise.
40174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40175 Likewise.
40176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40177 Likewise.
40178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40179 Likewise.
40180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40181 Likewise.
40182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40183 Likewise.
40184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40185 Likewise.
40186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40187 Likewise.
40188
cfba4fda
L
40189 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40190 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40191
80bad0cc
JM
401922012-05-24 Joseph Myers <joseph@codesourcery.com>
40193
7a25eb06
JM
40194 [BZ #10846]
40195 [BZ #14036]
40196 * math/libm-test.inc (exp_test): Add test from bug 14036.
40197 (pow_test): Add test from bug 10846.
40198
795405f9
JM
40199 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40200 and other flags.
40201 (special_function): Do not include flags in test name.
40202 (parse_args): Likewise.
40203 * sysdeps/i386/fpu/libm-test-ulps: Update.
40204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40205 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40206 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40208
80bad0cc
JM
40209 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40210 exceptions.
40211 * math/libm-test.inc ("Philosophy"): Update comment about
40212 exception testing.
40213 (UNDERFLOW_EXCEPTION): New macro.
40214 (UNDERFLOW_EXCEPTION_OK): Likewise.
40215 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40216 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40217 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40218 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40219 (INVALID_EXCEPTION_OK): Update value.
40220 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40221 (OVERFLOW_EXCEPTION_OK): Likewise.
40222 (IGNORE_ZERO_INF_SIGN): Likewise.
40223 (test_exceptions): Handle underflow exceptions.
40224 (acos_test): Update for underflow exception expectations.
40225 (cexp_test): Likewise.
40226 (clog_test): Likewise.
40227 (clog10_test): Likewise.
40228 (csqrt_test): Likewise.
40229 (ctan_test): Likewise.
40230 (ctanh_test): Likewise.
40231 (exp_test): Likewise.
40232 (exp10_test): Likewise.
40233 (exp2_test): Likewise.
40234 (expm1_test): Likewise.
40235 (fma_test): Likewise.
40236 (j0_test): Likewise.
40237 (jn_test): Likewise.
40238 (nexttoward_test): Likewise.
40239 (pow_test): Likewise.
40240 (scalbn_test): Likewise.
40241 (scalbln_test): Likewise.
40242 (tan_test): Likewise.
40243 (y1_test): Likewise.
40244 * sysdeps/i386/fpu/libm-test-ulps: Update.
40245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40246
9e0e3d0b
DM
402472012-05-23 David S. Miller <davem@davemloft.net>
40248
40249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40250 (__libc_sigaction): Remove unused local variables.
40251
ccd0a08f
L
402522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40253
40254 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40255
62bdf9a6
PE
402562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40257
f8591f80
PE
40258 mktime: avoid signed integer overflow
40259 * time/mktime.c (__mktime_internal): Do not mishandle the case
40260 where diff == INT_MIN.
40261
94c7d826
PE
40262 mktime: simplify computation of average
40263 * time/mktime.c (ranged_convert): Use new time_t_avg function
40264 instead of rolling our own (probably-slower) code.
40265
ce73d683
PE
40266 mktime: do not assume signed right shift propagates sign bit
40267 * time/mktime.c (isdst_differ): New static function.
40268 (__mktime_internal): No need to normalize tm_isdst now.
40269 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40270 tm_isdst values.
40271
72a22e59
PE
40272 mktime: merge another wrapv change from gnulib
40273 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40274 from some compilers.
40275
68605433
PE
40276 mktime: remove incorrect attempt at unusual arithmetics
40277 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40278 The code didn't really work on such machines anyway.
40279 (TYPE_MINIMUM): Assume two's complement.
40280 (twos_complement_arithmetic): Verify that long_int and time_t
40281 are two's complement (or unsigned, in the latter case).
40282
03cf7fe3
PE
40283 mktime: check signed shifts on long_int and time_t, too
40284 * time/mktime.c (SHR): Check that shifts work as desired
40285 on the types long_int and time_t too, as SHR is used on
40286 such types.
40287
f04dfbc2
PE
40288 mktime: do not assume 'long' is wide enough
40289 * time/mktime.c (verify): Move decl up.
40290 (long_int): New type.
40291 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40292 to remove assumption in the code that 'long' is wide enough to
40293 store year values. This assumption is not true on x32 and on
40294 some non-glibc platforms.
40295
62bdf9a6
PE
40296 mktime: merge wrapv change from gnulib
40297 * time/mktime.c (WRAPV): New macro.
40298 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40299 (guess_time_tm, __mktime_internal): Do not assume that signed
40300 integer overflow wraps around; modern compilers generate code
40301 where this assumption is no longer valid.
40302
5e292e4f
L
403032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40304
40305 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40306 Replace "jmp L(pseudo_end)" with "ret".
40307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40308 Likewise.
40309
8caf8c87
AJ
403102012-05-23 Andreas Jaeger <aj@suse.de>
40311
40312 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40313 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40314
1a09dc56
AJ
403152012-05-23 Andreas Jaeger <aj@suse.de>
40316 Maximilian Attems <max@stro.at>
40317
40318 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40319 New macros.
40320
1c87aba0
L
403212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40322
40323 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40324 code so that pseudo_end is just ret and the stack pointer is
40325 correct also for static library in error case.
40326
40e45bd5
JM
403272012-05-23 Joseph Myers <joseph@codesourcery.com>
40328
c2670533
JM
40329 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40330 move to syscalls.list.
40331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40335
40e45bd5
JM
40336 * manual/install.texi (Running make install): Do not mention Linux
40337 kernel version for which pt_chown is not needed.
40338 (Linux): Do not mention problems with nscd with 2.0 kernels.
40339 * INSTALL: Regenerated.
40340
be08eda5
AJ
403412012-05-23 Andreas Jaeger <aj@suse.de>
40342
40343 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40344 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40345 macro.
40346 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40348 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40349 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40350 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40351 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40352 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40353 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40354 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40355 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40356 * sysdeps/unix/sysv/linux/bits/in.h
40357 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40358
a6a056bb
RM
403592012-05-22 Roland McGrath <roland@hack.frob.com>
40360
40361 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40362 (PREPARE_VERSION): Just use assert instead, it will be elided
40363 under [NDEBUG] anyway.
40364
c9009328
L
403652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40366
40367 * sysdeps/unix/sysv/linux/Makefile: Include
40368 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 40369 (sysdep_routines): Remove sysctl.
c9009328
L
40370 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40371 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40372 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40373 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40374 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40375
73338355
AJ
403762012-05-22 Andreas Jaeger <aj@suse.de>
40377
40378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40379 that pseudo_end is just ret and the stack pointer is correct also
40380 for static library in error case.
40381
d44638b0
PP
403822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40383
40384 [BZ #14122]
40385 * nss/nsswitch.c (defconfig_entries): New variable.
40386 (__nss_database_lookup): Don't leak defconfig entries.
40387 (nss_parse_service_list): Don't leak on error paths.
40388 (free_database_entries): New function.
40389 (free_defconfig): New function.
40390 (free_mem): Move common code to free_database_entries.
40391
31a39bd8
L
403922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40393
da0331a8
L
40394 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40395 Add arch_prctl.
40396 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40397
31a39bd8
L
40398 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40399 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40401 New macro.
40402 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40403 (INTERNAL_SYSCALL_TYPES): Likewise.
40404 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40405 (LOAD_REGS_TYPES_[1-6]): Likewise.
40406 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40407 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40408
45470df3
AZ
404092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40410
40411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40412 copysignl for GLIBC_2_0.
40413 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40414 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40416 logbl for GLIBC_2_0.
40417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40418 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40419
98a61bcb
L
404202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40421
a4f6e481
L
40422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40423 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40424
f63d5db6
L
40425 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40426 Use "neg %eax".
40427
98a61bcb
L
40428 * time/mktime.c: Update copyright years.
40429
95770f14
PE
404302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40431
6226efbd
PE
40432 mktime: merge comment-quoting-style change from gnulib
40433 * time/mktime.c: Quote 'like this' in comments.
40434 The GNU coding standards suggest that we no longer quote `like this',
40435 as "`" and "'" are typically rendered asymmetrically nowadays.
40436 The typical gnulib style is to quote 'like this' when quoting
40437 code, and "like this" when quoting English.
40438
b99e4f78
PE
40439 * time/mktime.c (compile-command): Add "-I.".
40440
643e01e6
PE
40441 mktime: merge mktime-internal.h change from gnulib
40442 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40443
2554247d
PE
40444 mktime: merge time_r change from gnulib
40445 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40446
826dd0ab
PE
40447 mktime: merge DEBUG change from gnulib
40448 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40449 case system <time.h> has a #define.
40450
bd83aabe
PE
40451 mktime: merge <sys/types.h> change from gnulib
40452 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40453 since <time.t> is now guaranteed to define time_t.
40454
95770f14
PE
40455 mktime: merge HAVE_CONFIG_H change from gnulib
40456 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40457
5e1a27a9
L
404582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40459
0e44a77e
L
40460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40461 Use "neg %eax".
40462
5e1a27a9
L
40463 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40464 __rlim_t cast.
40465 (struct rusage): Use anonymous union to pad each field to
40466 __syscall_slong_t.
40467
46259bec
DM
404682012-05-21 David S. Miller <davem@davemloft.net>
40469
40470 * Makefules (o-iterator): Remove .s cases.
40471 (compile-command.s): Delete.
40472 (COMPILE.s): Delete.
40473 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40474
59f0c22e
JM
404752012-05-21 Joseph Myers <joseph@codesourcery.com>
40476
40477 * configure.in (libc_cv_predef_stack_protector): Only consider
40478 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40479 * configure: Regenerated.
40480
20c07380
L
404812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40482
bbb3154b
L
40483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40484 New macro. Use R*LP on int and pointer.
40485 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
40486 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40487 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
40488 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40489
20c07380
L
40490 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40491 [__WORDSIZE_TIME64_COMPAT32] instead of
40492 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40493 (struct utmp): Likewise.
40494 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40495 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40496 Renamed to ...
40497 (__WORDSIZE_TIME64_COMPAT32): This.
40498 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40499 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40500 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40501 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40502 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40503 (__WORDSIZE_TIME64_COMPAT32): New macro.
40504
d8d1017e
AJ
405052012-05-21 Andreas Jaeger <aj@suse.de>
40506
40507 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40508 only if [SHARED]. Add prototype for __wcschr_ia32.
40509
6c7fb145
RM
405102012-05-21 Roland McGrath <roland@hack.frob.com>
40511
40512 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40513 of %rbp unmolested in the jmp_buf while mangling the low bits.
40514 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40515 unmolested high bits of %rbp while demangling the low bits.
40516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40517
66274218
AJ
405182012-05-21 Andreas Jaeger <aj@suse.de>
40519
07c58f8f
AJ
40520 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40521 * sunrpc/svc_simple.c: Use it for registerrpc.
40522 * sunrpc/xcrypt.c: Use it for passwd2des.
40523
66274218
AJ
40524 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40525
61f65140
L
405262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40527
40528 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40529 Don't define if [__SYSCALL_WORDSIZE != 32].
40530 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40531 New macro.
40532
5fefb436
AJ
405332012-05-21 Bruno Haible <bruno@clisp.org>
40534 Andreas Jaeger <aj@suse.de>
40535
40536 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40537 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40538 inptr and inend for must_buffer_ch.
40539 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40540 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40541 * stdio-common/Makefile (tests): Remove bug15.
40542 (bug15-ENV): Remove macro.
40543 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40544 anymore.
40545
d8e272ab
AJ
405462012-05-19 Andreas Jaeger <aj@suse.de>
40547 Roland McGrath <roland@hack.frob.com>
40548
40549 * manual/contrib.texi: Completely rewritten. It contains now an
40550 alphabetical list of contributors and their contributions.
40551
4a56a162
RH
405522012-05-21 Richard Henderson <rth@twiddle.net>
40553
40554 * misc/getauxval.c (__getauxval): Use unsigned long int.
40555 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40556 (getauxval): Use unsigned long int.
40557
d024d23c
L
405582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40559
40560 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40561
cbc00a03
RM
405622012-05-21 Roland McGrath <roland@hack.frob.com>
40563
40564 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40565 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40566 __alignof__ (long double).
40567
478143fa
AZ
405682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40569
40570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40571
c7683a6d
RH
405722012-05-20 Richard Henderson <rth@twiddle.net>
40573
40574 * misc/getauxval.c: New file.
40575 * misc/sys/auxv.h: New file.
40576 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40577 (routines): Add getauxval.
40578 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40579 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40580 * elf/dl-sysdep.c (_dl_auxv): Remove.
40581 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40582 * elf/dl-support.c (_dl_auxv): New variable.
40583 (_dl_aux_init): Initialize it.
40584 * manual/startup.texi (Auxiliary Vector): New node.
40585 * sysdeps/generic/bits/hwcap.h: New file.
40586 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40587 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40588 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40589 * sysdeps/sparc/sysdep.h: ... here. Include it.
40590 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
40592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40593 Update.
c7683a6d
RH
40594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40597 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40602
a6f1845d
AZ
406032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40604
40605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40606
cbcbe830
DM
406072012-05-19 David S. Miller <davem@davemloft.net>
40608
40609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40610
e0b16cc2
JM
406112012-05-19 Joseph Myers <joseph@codesourcery.com>
40612
40613 [BZ #14123]
40614 * math/s_ccosh.c: Include <float.h>
40615 (__ccosh): Avoid internal overflow calculating sinh and cosh
40616 values before multiplying by sin and cos values.
40617 * math/s_ccoshf.c: Likewise.
40618 * math/s_ccoshl.c: Likewise.
40619 * math/s_csin.c: Likewise.
40620 * math/s_csinf.c: Likewise.
40621 * math/s_csinl.c: Likewise.
40622 * math/s_csinh.c: Likewise.
40623 * math/s_csinhf.c: Likewise.
40624 * math/s_csinhl.c: Likewise.
40625 * math/libm-test.inc (ccos_test): Add more tests.
40626 (ccosh_test): Likewise.
40627 (csin_test): Likewise.
40628 (csinh_test): Likewise.
40629 * sysdeps/i386/fpu/libm-test-ulps: Update.
40630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40631
6ad13e08
L
406322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40633
f66f0ce8
L
40634 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40635 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40636
6ad13e08
L
40637 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40638
b1d072a7
JM
406392012-05-19 Joseph Myers <joseph@codesourcery.com>
40640
40641 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40642 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40643 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40644 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40645 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40646 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40647 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40648 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40649 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40650 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40651 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40652 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40653 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40654 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40655 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40656 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40657 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40658 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40659 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40660 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40661 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40662 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40663 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40664 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40665 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40666 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40667 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40668 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40669 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40670 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40671 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40672
9eae47cb
AJ
406732012-05-18 Andreas Jaeger <aj@suse.de>
40674
40675 * csu/.gitignore: Delete.
40676
bb07f69f
L
406772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40678
40679 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40680 (timex): Use __syscall_slong_t.
40681
e6bdb741
AJ
406822012-05-18 Andreas Jaeger <aj@suse.de>
40683 Carlos O'Donell <carlos_odonell@mentor.com>
40684
40685 * manual/install.texi (Configuring and compiling): Update
40686 description about files modified in the source directory.
d6c33fda 40687 * INSTALL: Regenerated.
e6bdb741 40688
1b74487e
L
406892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40690
40691 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40692 value. Use "or" to set return value to -1.
40693 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40694 negate return value.
40695
a88b64b9
TMQMF
406962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40697
57f41c40
AS
40698 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40699 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
40700 failure if the compiler has Graphite support disabled.
40701 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40702 Likewise.
57f41c40
AS
40703 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40704 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
40705 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40706 Likewise.
40707
3707636e
L
407082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40709
610b8622
L
40710 * sysdeps/x86_64/x32/_itoa.h: New file.
40711
7cd195df
L
40712 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40713 getdents system call only if kernel and user dirents have the
40714 same d_ino and d_off.
40715
94b07d20
L
40716 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40717 LLONG_MAX != LONG_MAX.
40718 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40719 (_fitoa_word): Likewise.
40720
18298070
L
40721 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40722 years.
40723 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40724 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40725 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40726
553c7ea4
L
40727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40728 include <bits/wordsize.h>. Check __x86_64__ instead of
40729 __WORDSIZE.
40730 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40731 if __x86_64__ is defined. Use anonymous union on fpstate.
40732
3707636e
L
40733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40734 anonymous union.
40735
b53ef01a
AS
407362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40737
37fb1dc0
AS
40738 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40739 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40740 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40741 Refer to _rtld_local_ro instead of _rtld_global_ro.
40742 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40743 Likewise.
40744 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40745 Likewise.
40746 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40747 Likewise.
40748 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40749 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40750 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40751
b53ef01a
AS
40752 * sysdeps/powerpc/powerpc32/dl-machine.c
40753 (__elf_machine_runtime_setup) [PROF]: Don't reference
40754 _dl_prof_resolve.
40755
7a185db2
AJ
407562012-05-18 Andreas Jaeger <aj@suse.de>
40757
40758 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40759 function only available for GCCs before 3.4 since GCC 3.4
40760 introduced a builtin.
40761 (lrint): Likewise.
40762 (llrintf): Likewise.
40763 (llrint): Likewise.
40764 (fmaxf): Likewise.
40765 (fmax): Likewise.
40766 (fminf): Likewise.
40767 (fmin): Likewise.
40768 (rint): Likewise.
40769 (rintf): Likewise.
40770 (nearbyint): Likewise.
40771 (nearbyintf): Likewise.
40772 (ceil): Likewise.
40773 (ceilf): Likewise.
40774 (floor): Likewise.
40775 (floorf): Likewise.
40776
3e5aef87
L
407772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40778
428bd707
L
40779 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40780 on both fields and cast pointer to __syscall_ulong_t.
40781
3e5aef87
L
40782 * bits/types.h (__fsword_t): New type.
40783 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40784 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40785 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40786 (__FSWORD_T_TYPE): Likewise.
40787 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40788 (__FSWORD_T_TYPE): Likewise.
40789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40790 (__FSWORD_T_TYPE): Likewise.
40791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40792 (__FSWORD_T_TYPE): Likewise.
40793 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40794 __SWORD_TYPE with __fsword_t.
40795 (statfs64): Likewise.
40796
1ba7c3dc
DM
407972012-05-17 David S. Miller <davem@davemloft.net>
40798
40799 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40800
59910343
AJ
408012012-05-17 Andreas Jaeger <aj@suse.de>
40802
40803 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40804 warning.
40805
2e4c1e9e
L
408062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40807
40808 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40809
de7f5ce7
AJ
408102012-05-17 Andreas Jaeger <aj@suse.de>
40811
40812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40813 when it is used.
40814
286abc3d
CM
408152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40816
40817 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40818
477cc68e
L
408192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40820
40821 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40822 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40823
1a0994f5
CD
408242012-05-17 Andreas Jaeger <aj@suse.de>
40825 Carlos O'Donell <carlos_odonell@mentor.com>
40826
40827 [BZ #14059]
40828 * sysdeps/x86_64/multiarch/init-arch.h
40829 (bit_YMM_Usable): Rename to...
40830 (bit_AVX_Usable): ... this.
40831 (bit_FMA4_Usable): New macro.
40832 (bit_XMM_state): New macro.
40833 (bit_YMM_state): New macro.
40834 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40835 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40836 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40837 (CPUID_OSXSAVE): New macro.
40838 (CPUID_AVX): New macro.
40839 (CPUID_FMA4): New macro.
40840 (index_YMM_Usable): Rename to...
40841 (index_AVX_Usable): ... this.
40842 (HAS_AVX): Use HAS_ARCH_FEATURE.
40843 (HAS_FMA4): Likewise.
40844 (HAS_YMM_USABLE): Remove.
40845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40846 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40847 are present.
40848 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40849 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40850 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40851 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40852 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40853
0af797de
CM
408542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40855
40856 * math/libm-test.c: Support platforms without multiple rounding modes.
40857 * math/bug-nextafter.c: Support platforms without FP exceptions.
40858 * math/bug-nexttoward.c: Likewise.
40859 * math/test-fenv.c: Likewise.
40860 * math/test-misc.c: Likewise.
40861 * stdlib/bug-getcontext.c: Likewise.
40862
e39745ff
AJ
408632012-05-17 Andreas Jaeger <aj@suse.de>
40864
40865 * manual/examples/search.c (critter_cmp): Change signature to
40866 avoid warnings.
40867 * manual/string.texi (Collation Functions): Likewise.
40868
48970aba
L
408692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40870
40871 * bits/types.h: Fold copyright years.
40872 * bits/typesizes.h: Likewise.
40873 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40877 * time/time.h: Likewise.
40878
bedee953
PP
408792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40880
40881 [BZ #208]
40882 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40883 in instead of returning them. Return void.
40884 (__libc_mallinfo): Accumulate over all arenas.
40885 (__malloc_stats): Adjust for change in int_mallinfo interface.
40886
61653dfb
RM
408872012-05-16 Roland McGrath <roland@hack.frob.com>
40888
30b99d79
RM
40889 [BZ #10375]
40890 * configure.in (NM): Add AC_CHECK_TOOL for it.
40891 (libc_extra_cflags): New substituted variable.
40892 Check for -fstack-protector being used implicitly.
40893 * configure: Regenerated.
40894 * config.make.in (config-extra-cflags): New variable,
40895 gets @libc_extra_cflags@.
40896 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40897
61653dfb
RM
40898 [BZ #10375]
40899 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40900 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40901 * configure: Regenerated.
40902 * config.make.in (CPPUNDEFS): New substituted variable.
40903 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40904 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40905 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40906
661768bb
L
409072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40908
40909 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40910 (mq_attr): Use __syscall_slong_t.
40911
d4261567
L
409122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40913
40914 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40915 Check __x86_64__ instead of __WORDSIZE.
40916 (_STAT_VER_LINUX): Likewise.
40917 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40918 __syscall_ulong_t and __syscall_slong_t.
40919 (stat64): Likewise.
40920
cf3ff365
L
409212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40922
40923 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40924
76cf3e4d
L
409252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40926
40927 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40928
a637753a
L
409292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40930
40931 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40932 __syscall_ulong_t.
40933
d5e05119
L
40934 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40935 include <bits/wordsize.h>. Check __x86_64__ instead of
40936 __WORDSIZE.
40937 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40938 defined.
40939 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40940
f62ee380
L
40941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40942 include <bits/wordsize.h>. Check __x86_64__ instead of
40943 __WORDSIZE.
40944 (user_regs_struct): Use "__extension__ unsigned long long"
40945 instead of "unsigned long" if __x86_64__ is defined.
40946 (user): Likewise. Pad after pointer field if __ILP32__ is
40947 defined.
40948
4e124ced
JM
409492012-05-16 Joseph Myers <joseph@codesourcery.com>
40950
6a3951a0
JM
40951 * configure.in (makeinfo): Require version 4.5 or later. Allow
40952 versions 5 to 9.
40953 * configure: Regenerated.
40954 * manual/install.texi (texinfo): Increase version requirement to
40955 4.5 or later.
40956 * INSTALL: Regenerated.
40957
4e124ced
JM
40958 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40959
953ca31a
L
409602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40961
40962 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40963
617aca05
L
40964 * sysdeps/x86_64/x32/ffs.c: New file.
40965
5762f7ae
L
40966 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40967 __syscall_ulong_t.
40968 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40969 defined. Use __syscall_ulong_t.
40970 (shminfo): Use __syscall_ulong_t.
40971 (shm_info): Likewise.
40972
a26b6856
L
40973 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40974 __syscall_ulong_t.
40975
cb2b9ef7
L
40976 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40977 <bits/wordsize.h>.
40978 (msgqnum_t): Use __syscall_ulong_t.
40979 (msglen_t): Likewise.
40980 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40981 __syscall_ulong_t.
40982
34683bb0
L
40983 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40984 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40985
84a68786
L
40986 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40987
48baa5f1
L
40988 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40989 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40990
180be88b
L
40991 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40992 __syscall_slong_t.
40993
5e90c8ad
L
40994 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40995 include <bits/wordsize.h>. Check __x86_64__ instead of
40996 __WORDSIZE.
40997
23dfb58b
L
40998 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40999 "unsigned long long int" if __x86_64__ is defined.
41000 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41001
ce5d54b0
L
41002 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41003 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41004 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41005
13dc9eac
L
41006 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41007 <stdint.h>.
41008 (GET_PC): Cast to uintptr_t first.
41009 (GET_FRAME): Likewise.
41010 (GET_STACK): Likewise.
41011
a7895d15
L
41012 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41018 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41019 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41020 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41021 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41022 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41023 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41024 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41025 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41026 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41027 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41029 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41030 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41031 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41034 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41036 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41039 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41040 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41041
656416c9
AS
410422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41043
5bd66283
AS
41044 * Makerules (+depfiles): Also collect depfiles from .oS in
41045 $(extra-objs).
41046 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41047 .oS, $(libnldbl-routines)).
41048
656416c9
AS
41049 * Makerules (native-compile-mkdep-flags): Define.
41050 * sunrpc/Makefile (extra-objs): Add $(addprefix
41051 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41052 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41053 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41054 calling $(make-target-directory).
41055
a46f2169
L
410562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41057
41058 * bits/types.h (__snseconds_t): Removed.
41059 * time/time.h (struct timespec): Replace __snseconds_t with
41060 __syscall_slong_t.
41061 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41062 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41063 Likewise.
41064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41065 (__SNSECONDS_T_TYPE): Likewise.
41066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41067 (__SNSECONDS_T_TYPE): Likewise.
41068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41069 (__SNSECONDS_T_TYPE): Likewise.
41070
6af6528b
L
410712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41072
41073 * sysdeps/mach/hurd/bits/typesizes.h
41074 (__SYSCALL_SLONG_TYPE): New macro.
41075 (__SYSCALL_ULONG_TYPE): Likewise.
41076
de986b56
L
410772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41078
41079 * bits/types.h (__syscall_slong_t): New type.
41080 (__syscall_ulong_t): Likewise.
41081
41082 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41083 (__SYSCALL_ULONG_TYPE): Likewise.
41084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41085 (__SYSCALL_SLONG_TYPE): Likewise.
41086 (__SYSCALL_ULONG_TYPE): Likewise.
41087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41088 (__SYSCALL_SLONG_TYPE): Likewise.
41089 (__SYSCALL_ULONG_TYPE): Likewise.
41090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41091 (__SYSCALL_SLONG_TYPE): Likewise.
41092 (__SYSCALL_ULONG_TYPE): Likewise.
41093
85736dc7
L
410942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41095
41096 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41097 Add sigaltstack-offsets.sym.
41098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41099 <sigaltstack-offsets.h>.
41100 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41101 longjmp_msg pointer.
41102 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41103 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41104 signal stack.
41105 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41106
cc03b296
JM
411072012-05-15 Joseph Myers <joseph@codesourcery.com>
41108
a9538892
JM
41109 * elf/stackguard-macros.h: Remove file.
41110 * sysdeps/generic/stackguard-macros.h: New file.
41111 * sysdeps/i386/stackguard-macros.h: Likewise.
41112 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41113 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41114 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41115 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41116 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41117 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41118 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41119 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41120 <elf/stackguard-macros.h>.
41121
cc03b296
JM
41122 [BZ #14109]
41123 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41124 __aligned__ in attribute.
41125 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41126 (gregset_t): Likewise.
41127
93171016
L
411282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41129
41130 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41131 * sysdeps/x86_64/64/Implies-after: Here. New file.
41132 * sysdeps/x86_64/x32/Implies-after: New file.
41133
d86813a0
L
411342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41135
41136 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41137 and access return value for _dl_profile_fixup. Use R10_LP to
41138 load frame size.
41139
2953ec75
L
411402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41141
41142 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41143
3b550e9e
L
411442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41145
41146 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41147 * sysdeps/x86_64/x32/sysdep.h: New file.
41148
eda41706
L
411492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41150
41151 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41152 * sysdeps/x86_64/setjmp.S: Likewise.
41153
9ea01d93
AZ
411542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41155
41156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41158 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41159 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41160 remove unused global constant.
41161
02a91938
CM
411622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41163
41164 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41165 include of <not-cancel.h>.
41166
6540185f
RM
411672012-05-15 Roland McGrath <roland@hack.frob.com>
41168
41169 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41170
509072a0
AJ
411712012-05-15 Jeff Law <law@redhat.com>
41172 Andreas Jaeger <aj@suse.de>
41173
41174 [BZ #13594]
41175 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41176 out from...
41177 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41178 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41179 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41180 code changing __hst_map_handle.map.
41181
ba75122d
RM
411822012-05-15 Roland McGrath <roland@hack.frob.com>
41183
41184 * configure.in (sysnames): Look for Implies-before and Implies-after
41185 files.
41186 * configure: Regenerated.
41187
890d8bd8
L
411882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41189
41190 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41191 8-byte data alignment with LP_SIZE alignment.
41192
f6ee6623
L
411932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41194
41195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41196 into R10_LP.
41197
ea2626f6
L
411982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41199
41200 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41201
085f715e
L
412022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41203
41204 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41205 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41206 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41207 Likewise.
41208 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41209
be8498fc
L
412102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41211
41212 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41213 (stackinfo_sub_sp): Likewise.
41214
70bc83b9
L
412152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41216
41217 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41218 RAX_LP.
41219
9bc0b730
L
412202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41221
41222 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41223 into R*_LP.
41224
6d2850e7
L
412252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41226
41227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41228 sizes into R*_LP.
41229
3cb84561
L
412302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41231
41232 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41233
54e2ed81
L
412342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41235
41236 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41237 into R11_LP and load __x86_64_shared_cache_size_half into
41238 R8_LP.
41239
8a17f349
L
412402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41241
41242 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41243 R8_LP.
41244
777b1eea
AZ
412452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41246
41247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41248 logb for POWER7.
41249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41250 logbf for POWER7.
41251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41252 logbl for POWER7.
41253 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41254 powerpc32/power7/fpu/s_logb.c via #include.
41255 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41256 powerpc32/power7/fpu/s_logbf.c via #include.
41257 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41258 powerpc32/power7/fpu/s_logbl.c via #include.
41259
d20d4ac2
JM
412602012-05-15 Joseph Myers <joseph@codesourcery.com>
41261
41262 * README.libm: Remove file.
41263
6cdef1ab
L
412642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41265
41266 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41267 count for x32. Use R*_LP and omit operand-size suffix.
41268
0b254d8f
L
412692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41270
41271 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41272 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41273 * sysdeps/x86_64/x32/shlib-versions: New file.
41274
ceb809dc
RM
412752012-05-14 Roland McGrath <roland@hack.frob.com>
41276
41277 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41278 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41279 Use _dl_fatal_printf instead.
41280
37f1abd4
JM
412812012-05-14 Joseph Myers <joseph@codesourcery.com>
41282
41283 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41284 set if not set by the user. Do not allow for being unset.
41285 * sysdeps/unix/sysv/linux/configure: Regenerated.
41286
11de3a33
L
412872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41288
41289 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41290 the `q' suffix from lea and replace .quad with ASM_ADDR.
41291
e02f153a
L
412922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41293
41294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41295 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41296 instead of $17.
41297 (PTR_DEMANGLE): Likewise.
41298
520ae0fd
L
412992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41300
41301 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41302 (LP_OP): Likewise.
41303 (ASM_ADDR): Likewise.
41304 (RAX_LP): Likewise.
41305 (RBP_LP): Likewise.
41306 (RBX_LP): Likewise.
41307 (RCX_LP): Likewise.
41308 (RDI_LP): Likewise.
41309 (RSI_LP): Likewise.
41310 (RSP_LP): Likewise.
41311 (R8_LP): Likewise.
41312 (R9_LP): Likewise.
41313 (R10_LP): Likewise.
41314 (R10_LP): Likewise.
41315 (R11_LP): Likewise.
41316 (R12_LP): Likewise.
41317 (R13_LP): Likewise.
41318 (R14_LP): Likewise.
41319 (R15_LP): Likewise.
41320
b985be81
L
413212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41322
41323 * sysdeps/x86_64/x32/dl-machine.h: New file.
41324
6a4888ff
AJ
413252012-05-14 Andreas Jaeger <aj@suse.de>
41326
41327 * manual/Makefile (subdir): Remove export of subdir.
41328 (all): Remove target.
41329 (.PHONY): Remove all from list.
41330 (mkinstalldirs): Remove.
41331 (.PHONY): Remove installdirs from list.
41332 ($(inst_infodir)/libc.info): Use make-target-directory.
41333 (installdirs): Remove.
41334 (subdir_%): Remove.
41335 (glibc-targets): Remove.
41336 (lib): Remove.
41337 (stubs): Remove.
41338 ($(objpfx)stubs ../po/manual.pot): Remove.
41339 ($(objpfx)stamp%): Remove.
41340 (make-target-directory): Remove.
41341 (subdir_install): Remove.
41342 (routines): Remove.
41343 (aux): Remove.
41344 (sources): Remove.
41345 (objects): Remove.
41346 (headers): Remove.
41347
41348 [BZ #13750]
41349 * manual/.gitignore: Remove, it's not needed anymore.
41350 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41351 all files in it.
41352 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41353 directory.
41354 (texis): Renamed to $(objpfx)texis.
41355 (texis-path): New, contains path to generated files.
41356 (chapters.%): Use texis-path for complete path, add extra argument
41357 libc-texinfo.sh.
41358 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41359 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41360 (summary,texi, stamp-summary): Use complete path of
41361 files. Generate files in build dir.
41362 (dir-add.texi): Build in build dir.
41363 (libm-err.texi,stamp-libm-err): Likewise.
41364 (version.texi, stamp-version): Likewise.
41365 (.%c.texi): Likewise.
41366 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41367 (mostlyclean): Remove target.
41368 (realclean): Remove target.
41369 (generated): Add new variable with contents from mostlyclean and
41370 realclean, remove entries duplicated in common-mostlyclean, add
41371 stamp-libm-err and stamp-version.
41372 (generated-dirs): Add libc directory.
41373 ($(inst_infodir)/libc.info): Install files from build dir.
41374
41375 * manual/install.texi (Configuring and compiling): Adjust since
41376 the info files are not part of the tar ball anymore.
41377
7ac77294
AJ
413782012-05-14 Andreas Jaeger <aj@suse.de>
41379
41380 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41381 variable.
41382
ffb7875d
JM
413832012-05-14 Joseph Myers <joseph@codesourcery.com>
41384
41385 [BZ #13717]
41386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41387 to 2.2.0 where earlier.
41388 * sysdeps/unix/sysv/linux/configure: Regenerated.
41389 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41390 Remove conditional code.
41391 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41392 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41393 Remove conditional code.
41394 [!__NR_lchown]: Likewise.
41395 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41396 [__NR_lchown]: Likewise.
41397 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41398 comment referencing __ASSUME_LCHOWN_SYSCALL.
41399 * sysdeps/unix/sysv/linux/i386/sigaction.c
41400 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41401 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41402 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41403 Remove conditional code.
41404 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41405 (__protocol_available): Remove #if 0 code.
41406 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41407 conditional code.
41408 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41409 * sysdeps/unix/sysv/linux/kernel-features.h
41410 (__ASSUME_GETCWD_SYSCALL): Don't define.
41411 (__ASSUME_REALTIME_SIGNALS): Likewise.
41412 (__ASSUME_PREAD_SYSCALL): Likewise.
41413 (__ASSUME_PWRITE_SYSCALL): Likewise.
41414 (__ASSUME_POLL_SYSCALL): Likewise.
41415 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41416 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41417 non-SPARC.
41418 (__ASSUME_SIOCGIFNAME): Don't define.
41419 (__ASSUME_MSG_NOSIGNAL): Likewise.
41420 (__ASSUME_SENDFILE): Define unconditionally.
41421 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41422 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41423 conditional code.
41424 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41425 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41426 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41427 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41428 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41429 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41430 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41432 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41435 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41438 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41441 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41442 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41444 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41447 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41448 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41450 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41453 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41454 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41455 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41456 Remove conditional code.
41457 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41458 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41459 Remove conditional code.
41460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41461 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41462 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41463 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41464 Remove conditional code.
41465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41466 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41467 Remove conditional code.
41468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41469 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41470 Remove conditional code.
41471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41472 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41473 Remove conditional code.
41474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41475 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41476 Remove conditional code.
41477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41478 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41481 * sysdeps/unix/sysv/linux/sigaction.c
41482 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41483 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41484 * sysdeps/unix/sysv/linux/sigpending.c
41485 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41486 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41487 * sysdeps/unix/sysv/linux/sigprocmask.c
41488 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41489 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41490 * sysdeps/unix/sysv/linux/sigsuspend.c
41491 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41492 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41493 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41494 (__libc_missing_rt_sigs): Remove.
41495 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41496 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41497 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41498 Remove conditional code.
41499 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41500 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41501 return 1.
41502 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41503 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41504 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41505 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41506
1bfb7291
AJ
415072012-05-14 Andreas Jaeger <aj@suse.de>
41508
caae5a81
AJ
41509 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41510 it's not used in glibc.
41511 (__coshm1): Likewise.
41512 (__acosh1p): Likewise.
41513 (__sgn): Likewise.
41514
1bfb7291
AJ
41515 * manual/string.texi (Copying and Concatenation): Add missing
41516 variable in concat example.
41517 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41518
c044d724
L
415192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41520
144c5467 41521 [BZ #14103]
c044d724
L
41522 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41523 __builtin_clzl with __builtin_clzll.
41524
2523c62b
L
415252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41526
41527 [BZ #14104]
41528 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41529 libc_freeres_ptr.
41530
d7bb4c42
LD
415312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41532
41533 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41534 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41535 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41537
9dc4e1fb
MF
415382012-05-14 Mike Frysinger <vapier@gentoo.org>
41539
41540 * NEWS: Update ia64 info.
41541
c7df0112
AS
415422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41543
41544 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41545 used as bcopy.
41546
dc70356c
TS
415472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41548
41549 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41550 * sysdeps/unix/syscalls.list (dup3): Likewise.
41551 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41552 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41553
9fb1a21f
L
415542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41555
41556 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41557 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41558
4822a2a5
L
415592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41560
41561 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41562 thread pointer.
41563 (TLS_IE): Use mov/add instead of movq/addq to load thread
41564 pointer.
41565 (TLS_GD_PREFIX): New.
41566 (TLS_GD): Use it.
41567
842b81d6
DM
415682012-05-11 David S. Miller <davem@davemloft.net>
41569
41570 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41571 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41572 (_FPU_SETCW): Likewise.
41573
1cf463cd
L
415742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41575
41576 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41577 is 32-byte aligned.
41578
60cc4a18
AS
415792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41580
41581 [BZ #11837]
41582 * iconvdata/gb18030.c: Update tables.
41583 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41584 characters specially.
41585 (BODY for TO_LOOP): Add encoding of missing ranges.
41586
febb44a4
TS
415872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41588
41589 [BZ #13673]
41590 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41591 * sysdeps/mach/hurd/dup3.c: Likewise.
41592 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41593 * sysdeps/powerpc/memmove.c:: Likewise.
41594
0a10fb9e
L
415952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41596
41597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41598 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41599
df8a552f
L
416002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41601
41602 * elf/elf.h (R_X86_64_RELATIVE64): New.
41603 (R_X86_64_NUM): Updated.
41604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41605 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41606 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41607 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41608 tst-quad1pie tst-quad2pie
41609 (modules-names): Add tst-quadmod1 tst-quadmod2.
41610 ($(objpfx)tst-quad1): New dependency.
41611 ($(objpfx)tst-quad2): Likewise.
41612 ($(objpfx)tst-quad1pie): Likewise.
41613 ($(objpfx)tst-quad2pie): Likewise.
41614 * sysdeps/x86_64/tst-quad1.c: New file.
41615 * sysdeps/x86_64/tst-quad1pie.c: New file.
41616 * sysdeps/x86_64/tst-quad2.c: Likewise.
41617 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41618 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41619 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41620 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41621 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41622
f34d6f84
ST
416232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41624
f42d41d1
ST
41625 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41626 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41627 * streams/stropts.h (t_scalar_t): Define type.
41628
3c3571fc
ST
41629 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41630 (_PATH_PRESERVE): Set to "/var/lib".
41631 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41632
61f06bd3
ST
41633 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41634 instead of int.
41635
918d4d71
ST
41636 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41637 if __dir_mkfile succeeded.
41638
f34d6f84
ST
41639 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41640 checking for _hurd_dtablesize. Unlock it right after having
41641 finished _hurd_dtable allocation.
41642
10589b4a
TS
416432012-05-10 Thomas Schwinge <thomas@schwinge.name>
41644
674cdbc7
TS
41645 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41646 * sysdeps/mach/hurd/configure: Regenerated.
41647 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41648 special-casing to...
41649 * sysdeps/gnu/configure.in: ... this new file.
41650 * sysdeps/unix/sysv/linux/configure: Regenerated.
41651 * sysdeps/gnu/configure: New generated file.
41652
8e41b99f
TS
41653 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41654 for Linux: use nsec instead of usec, as well as:
41655 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41656 members of type struct timespec.
41657 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41658 New macros.
41659 (struct stat64): Likewise.
41660 (_STATBUF_ST_NSEC): New macro.
41661 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41662
10589b4a
TS
41663 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41664 __strtoul_internal rather than strtoul.
41665
63643c85
PT
416662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41667
41668 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41669 and reject them.
41670
3faebe6a
ST
416712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41672
41673 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41674 which preserves existing values.
41675 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41676
c6474b07
PT
416772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41678
41679 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41680 TIMEOUT values. Return EINVAL for NFDS values either negative or
41681 greater than FD_SETSIZE.
41682
1043890b
ST
416832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41684
41685 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41686 allocated, call __vm_protect to finish enabling the existing space, and
41687 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41688 allocate the remainder.
41689
37ed8b9b
PT
416902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41691
41692 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41693 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41694
db653660
ST
416952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41696
37ed8b9b
PT
41697 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41698 sysdeps/mach/hurd/readlink.c.
b29d4053 41699
db653660
ST
41700 * posix/tst-sysconf.c (posix_options): Only use
41701 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41702 _POSIX_SYNCHRONIZED_IO when they are defined
41703 * sysdeps/mach/hurd/bits/posix_opt.h:
41704 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41705 (_XOPEN_REALTIME): Undefine macro.
41706 (_XOPEN_REALTIME_THREADS): Undefine macro.
41707 (_XOPEN_SHM): Undefine macro.
41708 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41709 macro to -1.
41710 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41711 macro to -1.
41712 (_POSIX_ASYNC_IO): Undefine macro.
41713 (_POSIX_PRIORITIZED_IO): Undefine macro.
41714 (_POSIX_SPIN_LOCKS): Define macro to -1.
41715
ee16e894
ST
41716 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41717 SA_NODEFER, SA_RESETHAND.
41718 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41719 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41720 F_DUPFD_CLOEXEC.
41721
6103ae3b
TS
417222012-05-10 Thomas Schwinge <thomas@schwinge.name>
41723
41724 * elf/Makefile (pldd-modules): Define unconditionally.
41725
80b4e5f3
TS
417262012-05-10 Thomas Schwinge <thomas@schwinge.name>
41727
41728 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41729
edadcbd6
ST
417302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41731
41732 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41733 Return ENOENT when name is empty.
41734 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41735
80694780
TS
417362012-05-10 Thomas Schwinge <thomas@schwinge.name>
41737
1792c087
TS
41738 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41739
80694780
TS
41740 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41741
6b645f0d
ST
417422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41743
80694780
TS
41744 Fix mlock in all cases except non-readable pages.
41745 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41746 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 41747
6b645f0d
ST
41748 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41749 (__mkdir): When path is `/', just fail with EEXIST.
41750 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41751
e468f8a3
TS
417522012-05-10 Thomas Schwinge <thomas@schwinge.name>
41753
41754 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41755 <sys/uio.h> (for writev).
41756 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41757 and <sys/param.h> (for MIN).
41758
a4186cff
PT
417592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41760
41761 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41762 REQUESTED_TIME. Properly set the remaining time and return EINTR
41763 if interrupted.
41764
510bbf14
TS
417652012-05-10 Thomas Schwinge <thomas@schwinge.name>
41766
41767 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41768 Depend on against $(link-rpcuserlibs).
41769
5d5722e8
ST
417702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41771
a4186cff
PT
41772 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41773 (__libc_stack_end): Do not use attribute_relro.
41774 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41775 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 41776 to libthread-provided value.
a4186cff
PT
41777 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41778 attribute_relro.
5d5722e8 41779
37233df9
TS
417802012-05-10 Thomas Schwinge <thomas@schwinge.name>
41781
be971a2b
TS
41782 [BZ #3748]
41783 * bits/libc-lock.h (__libc_once_get): New macro.
41784 * sysdeps/mach/bits/libc-lock.h: Likewise.
41785 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41786 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41787 instead of using implementation details.
41788
37233df9
TS
41789 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41790 * libio/freopen.c: Likewise.
41791 * libio/freopen64.c: Likewise.
41792 * misc/syslog.c: Likewise.
41793 * nscd/connections.c: Likewise.
41794 * nscd/netgroupcache.c: Likewise.
41795 * sysdeps/posix/getcwd.c: Likewise.
41796
38de94a5
RM
417972012-05-10 Roland McGrath <roland@hack.frob.com>
41798
41799 * math/w_ilogbf.c: Add #include <limits.h>.
41800
67530489
ST
418012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41802
a4186cff 41803 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
41804 path instead of returning without unlocking.
41805
67530489
ST
41806 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41807 immediate-write ioctls.
41808 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41809
5aa3a74a
TS
418102012-05-10 Thomas Schwinge <thomas@schwinge.name>
41811
18bad2ae
TS
41812 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41813 __builtin_frame_address instead of making assumptions about the
41814 location of the return address relative to DATA. Force early load of
41815 the return address.
41816 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41817 __builtin_frame_address.
41818
5aa3a74a
TS
41819 dup3 for GNU Hurd.
41820 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41821 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41822 implement dup3 and do some further code clean-ups.
41823 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41824 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41825
ecd0de9a
ST
418262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41827
cd9fa985
ST
41828 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41829
a4186cff
PT
41830 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41831 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41832 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41833 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41834 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41835 d->port.lock.
802ca5a5 41836
a4186cff
PT
41837 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41838 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41839 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 41840
bcf55240
TS
418412012-05-10 Thomas Schwinge <thomas@schwinge.name>
41842
6960eb42
TS
41843 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41844 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41845 definitions.
41846
eb43375f
TS
41847 accept4 for GNU Hurd.
41848 * include/sys/socket.h (__libc_accept4): New prototype.
41849 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41850 to implement __libc_accept4.
41851 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41852 __libc_accept4.
41853 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41854
bcf55240
TS
41855 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41856 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41857 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41858 signal-defines.sym.
41859
6178c55b
ST
418602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41861
a4186cff 41862 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 41863
6f080c2f
TS
418642012-05-10 Thomas Schwinge <thomas@schwinge.name>
41865
41866 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41867 assertion on O_CLOEXEC flag.
41868 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41869 * hurd/intern-fd.c: Likewise.
41870 * hurd/port2fd.c: Likewise.
41871
bcfe3a54
ST
418722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41873
41874 [BZ #3906]
41875 * bits/in.h (IPV6_PKTINFO): Define new macro.
41876 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41877
89c9aa49
AZ
418782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41879
41880 [BZ #13954]
41881 [BZ #13955]
41882 [BZ #13956]
41883 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41885 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41886 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41888 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41889 * math/libm-test.inc (logb_test) : Additional logb tests.
41890
021db4be
AJ
418912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41892 Andreas Jaeger <aj@suse.de>
41893
41894 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41895 * configure: Regenerated.
41896 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41897 * config.make.in (link-obsolete-rpc): New substituted variable.
41898 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41899 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41900 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41901 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41902 so that libc.a contains the symbols.
41903 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41904 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41905 * sunrpc/auth_none.c: Likewise.
41906 * sunrpc/auth_unix.c: Likewise.
41907 * sunrpc/authdes_prot.c: Likewise.
41908 * sunrpc/authuxprot.c: Likewise.
41909 * sunrpc/clnt_gen.c: Likewise.
41910 * sunrpc/clnt_perr.c: Likewise.
41911 * sunrpc/clnt_raw.c: Likewise.
41912 * sunrpc/clnt_simp.c: Likewise.
41913 * sunrpc/clnt_tcp.c: Likewise.
41914 * sunrpc/clnt_udp.c: Likewise.
41915 * sunrpc/clnt_unix.c: Likewise.
41916 * sunrpc/des_crypt.c: Likewise.
41917 * sunrpc/des_soft.c: Likewise.
41918 * sunrpc/get_myaddr.c: Likewise.
41919 * sunrpc/key_call.c: Likewise.
41920 * sunrpc/key_prot.c: Likewise.
41921 * sunrpc/netname.c: Likewise.
41922 * sunrpc/pm_getmaps.c: Likewise.
41923 * sunrpc/pm_getport.c: Likewise.
41924 * sunrpc/pmap_clnt.c: Likewise.
41925 * sunrpc/pmap_prot.c: Likewise.
41926 * sunrpc/pmap_prot2.c: Likewise.
41927 * sunrpc/pmap_rmt.c: Likewise.
41928 * sunrpc/publickey.c: Likewise.
41929 * sunrpc/rpc_cmsg.c: Likewise.
41930 * sunrpc/rpc_common.c: Likewise.
41931 * sunrpc/rpc_dtable.c: Likewise.
41932 * sunrpc/rpc_prot.c: Likewise.
41933 * sunrpc/rpc_thread.c: Likewise.
41934 * sunrpc/rtime.c: Likewise.
41935 * sunrpc/svc.c: Likewise.
41936 * sunrpc/svc_auth.c: Likewise.
41937 * sunrpc/svc_raw.c: Likewise.
41938 * sunrpc/svc_run.c: Likewise.
41939 * sunrpc/svc_tcp.c: Likewise.
41940 * sunrpc/svc_udp.c: Likewise.
41941 * sunrpc/svc_unix.c: Likewise.
41942 * sunrpc/svcauth_des.c: Likewise.
41943 * sunrpc/xcrypt.c: Likewise.
41944 * sunrpc/xdr.c: Likewise.
41945 * sunrpc/xdr_array.c: Likewise.
41946 * sunrpc/xdr_float.c: Likewise.
41947 * sunrpc/xdr_intXX_t.c: Likewise.
41948 * sunrpc/xdr_mem.c: Likewise.
41949 * sunrpc/xdr_rec.c: Likewise.
41950 * sunrpc/xdr_ref.c: Likewise.
41951 * sunrpc/xdr_sizeof.c: Likewise.
41952 * sunrpc/xdr_stdio.c: Likewise.
41953
b5c086a2
RM
419542012-05-10 Roland McGrath <roland@hack.frob.com>
41955
41956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41957 change. Update copyright years.
41958
6d74dd09
JM
419592012-05-10 Joseph Myers <joseph@codesourcery.com>
41960
41961 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41962
28e72501
MK
419632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41964 Joseph Myers <joseph@codesourcery.com>
41965 Paul Pluzhnikov <ppluzhnikov@google.com>
41966
41967 [BZ #14012]
41968 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41969 requiring rpcgen.
41970 [cross-compiling] (extra-libs): Likewise.
41971 [cross-compiling] (extra-libs-others): Likewise.
41972 [cross-compiling] (librpcsvc-routines): Likewise.
41973 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41974 [cross-compiling] (omit-deps): Likewise.
41975 (sunrpc-CPPFLAGS): New variable.
41976 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41977 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41978 (cross-rpcgen-objs): New variable.
41979 (extra-objs): Append $(cross-rpcgen-objs).
41980 ($(cross-rpcgen-objs)): New rule.
41981 ($(objpfx)cross-rpcgen): Likewise.
41982 (rpcgen-cmd): Define to use $(built-program-file). Expand
41983 comment.
41984 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41985 ($(objpfx)x%.stmp): Likewise.
41986 * sunrpc/proto.h [IS_IN_build] (_): Define.
41987 [IS_IN_build] (_libc_intl_domainname): Likewise.
41988
c8c59454
L
419892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41990
41991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41992 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41993 and R_X86_64_TPOFF64.
41994
6f27cd16
JM
419952012-05-10 Joseph Myers <joseph@codesourcery.com>
41996
41997 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41998 sysdeps/unix/sysv/syscalls.list.
41999 (stime): Likewise.
42000 (utime): Likewise.
42001 * sysdeps/unix/sysv/syscalls.list: Remove file.
42002
02467e1c
PE
420032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42004
42005 [BZ #3440]
42006 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42007 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42008 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42009 (__LC_IDENTIFICATION): Make these macros useful in #if
42010 expressions, as required by C99.
42011
da392631
AS
420122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42013
42014 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42015 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42016 after this.
42017
8115f29b
L
420182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42019
42020 * stdlib/longlong.h: Updated from GCC.
42021
bdd74070
AJ
420222012-05-09 Andreas Jaeger <aj@suse.de>
42023
edfe0dbe
AJ
42024 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42025 default is first entry.
42026 (run_mode): Set type.
42027 (main): Remove informal message about syslog.
42028 (options): Fix typo.
42029
bcfe3a54
ST
42030 [BZ #14053]
42031 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42032 to asm.
bcfe3a54
ST
42033 (lrint): Likewise.
42034 (llrintf): Likewise.
42035 (llrint): Likewise.
42036 (rint): Likewise.
42037 (rintf): Likewise.
42038 (nearbyint): Likewise.
42039 (nearbyintf): Likewise.
bdd74070 42040
91d8d69e
AJ
420412012-05-09 Andreas Jaeger <aj@suse.de>
42042 Pedro Alves <palves@redhat.com>
42043
42044 * nscd/nscd.c (run_mode): Use enum.
42045 (main): Cleanup coding style issue.
42046
bb90b80b
AJ
420472012-05-09 Alexandre Oliva <aoliva@redhat.com>
42048 Andreas Jaeger <aj@suse.de>
42049
bcfe3a54
ST
42050 * nscd/nscd.c (go_background): Replaced with...
42051 (run_mode): ... this.
bb90b80b 42052 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42053 (options): Add -F --foreground.
42054 (main): Implement it.
42055 (parse_opt): Parse it.
bb90b80b 42056
1a4b75a1
AJ
420572012-05-09 Andreas Jaeger <aj@suse.de>
42058
42059 [BZ #14083]
42060 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42061 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42062 -Wconversion warning.
42063 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42064 Likewise.
42065
b1cc2472
JM
420662012-05-09 Joseph Myers <joseph@codesourcery.com>
42067
42068 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42069 == 0.
42070 (LC_ALL): Use macro-int-constant.
42071 (LC_COLLATE): Likewise.
42072 (LC_CTYPE): Likewise.
42073 (LC_MESSAGES): Likewise.
42074 (LC_MONETARY): Likewise.
42075 (LC_NUMERIC): Likewise.
42076 (LC_TIME): Likewise.
42077 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42078 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42080 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42081 Specify type.
42082 [C99-based standards] (float_t): Expect type.
42083 [C99-based standards] (double_t): Expect type.
42084 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42085 type.
42086 [C99-based standards] (HUGE_VALL): Likewise.
42087 [C99-based standards] (INFINITY): Likewise.
42088 [C99-based standards] (NAN): Likewise.
42089 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42090 [C99-based standards] (FP_NAN): Likewise.
42091 [C99-based standards] (FP_NORMAL): Likewise.
42092 [C99-based standards] (FP_SUBNORMAL): Likewise.
42093 [C99-based standards] (FP_ZERO): Likewise.
42094 [C99-based standards] (FP_FAST_FMA): Use
42095 optional-macro-int-constant. Specify type. Require == 1.
42096 [C99-based standards] (FP_FAST_FMAF): Likewise.
42097 [C99-based standards] (FP_FAST_FMAL): Likewise.
42098 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42099 [C99-based standards] (FP_ILOGBNAN): Likewise.
42100 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42101 Specify type.
42102 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42103 [C99-based standards] (math_errhandling): Specify type.
42104 [ISO99 || ISO11] (signgam): Do not allow.
42105 [non-C99-based standards] (copysignf): Do not allow.
42106 [non-C99-based standards] (exp2f): Likewise.
42107 [non-C99-based standards] (log2f): Likewise.
42108 [non-C99-based standards] (modff): Allow.
42109 [non-C99-based standards] (erff): Do not allow.
42110 [non-C99-based standards] (erfcf): Likewise.
42111 [non-C99-based standards] (gammaf): Likewise.
42112 [non-C99-based standards] (hypotf): Likewise.
42113 [non-C99-based standards] (j0f): Likewise.
42114 [non-C99-based standards] (j1f): Likewise.
42115 [non-C99-based standards] (jnf): Likewise.
42116 [non-C99-based standards] (lgammaf): Likewise.
42117 [non-C99-based standards] (tgammaf): Likewise.
42118 [non-C99-based standards] (y0f): Likewise.
42119 [non-C99-based standards] (y1f): Likewise.
42120 [non-C99-based standards] (ynf): Likewise.
42121 [non-C99-based standards] (isnanf): Likewise.
42122 [non-C99-based standards] (acoshf): Likewise.
42123 [non-C99-based standards] (asinhf): Likewise.
42124 [non-C99-based standards] (atanhf): Likewise.
42125 [non-C99-based standards] (cbrtf): Likewise.
42126 [non-C99-based standards] (expm1f): Likewise.
42127 [non-C99-based standards] (ilogbf): Likewise.
42128 [non-C99-based standards] (log1pf): Likewise.
42129 [non-C99-based standards] (logbf): Likewise.
42130 [non-C99-based standards] (nextafterf): Likewise.
42131 [non-C99-based standards] (remainderf): Likewise.
42132 [non-C99-based standards] (rintf): Likewise.
42133 [non-C99-based standards] (scalbf): Likewise.
42134 [non-C99-based standards] (copysignl): Likewise.
42135 [non-C99-based standards] (exp2l): Likewise.
42136 [non-C99-based standards] (log2l): Likewise.
42137 [non-C99-based standards] (modfl): Allow.
42138 [non-C99-based standards] (erfl): Do not allow.
42139 [non-C99-based standards] (erfcl): Likewise.
42140 [non-C99-based standards] (gammal): Likewise.
42141 [non-C99-based standards] (hypotl): Likewise.
42142 [non-C99-based standards] (j0l): Likewise.
42143 [non-C99-based standards] (j1l): Likewise.
42144 [non-C99-based standards] (jnl): Likewise.
42145 [non-C99-based standards] (lgammal): Likewise.
42146 [non-C99-based standards] (tgammal): Likewise.
42147 [non-C99-based standards] (y0l): Likewise.
42148 [non-C99-based standards] (y1l): Likewise.
42149 [non-C99-based standards] (ynl): Likewise.
42150 [non-C99-based standards] (isnanl): Likewise.
42151 [non-C99-based standards] (acoshl): Likewise.
42152 [non-C99-based standards] (asinhl): Likewise.
42153 [non-C99-based standards] (atanhl): Likewise.
42154 [non-C99-based standards] (cbrtl): Likewise.
42155 [non-C99-based standards] (expm1l): Likewise.
42156 [non-C99-based standards] (ilogbl): Likewise.
42157 [non-C99-based standards] (log1pl): Likewise.
42158 [non-C99-based standards] (logbl): Likewise.
42159 [non-C99-based standards] (nextafterl): Likewise.
42160 [non-C99-based standards] (remainderl): Likewise.
42161 [non-C99-based standards] (rintl): Likewise.
42162 [non-C99-based standards] (scalbl): Likewise.
42163 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42164 [non-C99-based standards] (FP_*): Do not allow.
42165 [C99-based standards] (FP_*): Change to
42166 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42167 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42168 allow.
42169 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42170 (SIG_ERR): Likewise.
42171 [X/Open-based standards] (SIG_HOLD): Likewise.
42172 (SIG_IGN): Likewise.
42173 (SIGABRT): Use macro-int-constant. Specify type. Require
42174 positive value.
42175 (SIGFPE): Likewise.
42176 (SIGILL): Likewise.
42177 (SIGINT): Likewise.
42178 (SIGSEGV): Likewise.
42179 (SIGTER): Likewise.
42180 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42181 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42182 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42183 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42184 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42185 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42186 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42187 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42188 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42189 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42190 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42191 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42192 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42193 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42194 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42195 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42196 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42197 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42198 [X/Open-based standards] (SIGTRAP): Likewise.
42199 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42200 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42201 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42202 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42203 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42204 allow.
42205
b9f1922d
IW
422062012-05-08 Ian Wienand <ianw@vmware.com>
42207
42208 [BZ #14080]
42209 * time/tzset.c (__tzset_parse_tz): Update default rules for
42210 daylight time changes in the Energy Policy Act of 2005.
42211
1db86e88
AJ
422122012-05-09 Andreas Jaeger <aj@suse.de>
42213
42214 [BZ #13983]
42215 * elf/ldconfig.c (parse_conf): Change string to make clear that
42216 ldconfig only issued a warning if ld.so.conf does not exist.
42217
dee4a4e3
DM
422182012-05-08 David S. Miller <davem@davemloft.net>
42219
ee0db190
DM
42220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42221 movxtod instead of popping the value on the stack.
42222
dee4a4e3
DM
42223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42224
6a43ec98
CD
422252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42226
42227 * config.h.in: Add HAVE_ARM_PCS_VFP.
42228
05c2c961
RMG
422292012-05-08 Roland Mc Grath <roland@hack.frob.com>
42230
bcfe3a54
ST
42231 [BZ #13979]
42232 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42233 checking but the checks are disabled for any reason.
05c2c961 42234
4b30f61a
L
422352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42236
42237 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42238 and ELF64_R_TYPE with ELFW(R_TYPE).
42239
eee2bc67
JM
422402012-05-08 Joseph Myers <joseph@codesourcery.com>
42241
7ea5391a
JM
42242 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42243 (ulimit): Likewise.
42244
eee2bc67
JM
42245 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42246 (settimeofday): Likewise.
42247
abb66a67
MF
422482012-05-08 Mike Frysinger <vapier@gentoo.org>
42249
42250 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42251 a struct th_u2 inside the union, and move tu_block/tu_code into
42252 a new th_u3 union of tu_block/tu_code inside of that. Move
42253 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42254 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42255 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42256 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42257 (th_stuff): Change to th_u1.tu_stuff.
42258 (th_data): Define.
42259 (th_msg): Change to th_u1.th_u2.tu_data.
42260
7f18b530
DM
422612012-05-07 David S. Miller <davem@davemloft.net>
42262
05760585
DM
42263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42264
7f18b530
DM
42265 [BZ #14074]
42266 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42267 (SETUP_PIC_REG): Use it.
42268 (SETUP_PIC_REG_LEAF): Use it.
42269
495fd99f
JM
422702012-05-07 Joseph Myers <joseph@codesourcery.com>
42271
42272 [BZ #13885]
42273 [BZ #13923]
42274 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42275 USE_AS_EXPM1L.
42276 (EXPL_FINITE): Likewise.
42277 (FLDLOG): Likewise.
42278 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42279 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42280 e_expl.S.
42281 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42282 USE_AS_EXPM1L.
42283 (EXPL_FINITE): Likewise.
42284 (FLDLOG): Likewise.
42285 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42286 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42287 e_expl.S.
42288 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42289 test of -max_value argument for long double.
42290 * sysdeps/i386/fpu/libm-test-ulps: Update.
42291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42292
6693d694
DM
422932012-05-06 David S. Miller <davem@davemloft.net>
42294
42295 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42296 quad soft-float symbols whose references which are compiler
42297 generated.
42298 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42299
6c23e11c
JM
423002012-05-06 Joseph Myers <joseph@codesourcery.com>
42301
d8b82cad
JM
42302 [BZ #13884]
42303 [BZ #13914]
42304 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42305 USE_AS_EXP10L.
42306 (EXPL_FINITE): Likewise.
42307 (FLDLOG): Likewise.
42308 (c0): Likewise.
42309 (c1): Likewise.
42310 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42311 Adjust comments for base varying.
42312 (__expl_finite): Change alias to EXPL_FINITE.
42313 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42314 e_expl.S.
42315 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42316 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42317 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42318 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42320 USE_AS_EXP10L.
42321 (EXPL_FINITE): Likewise.
42322 (FLDLOG): Likewise.
42323 (c0): Likewise.
42324 (c1): Likewise.
42325 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42326 Adjust comments for base varying.
42327 (__expl_finite): Change alias to EXPL_FINITE.
42328 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42329 tests for bugs.
42330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42331
6c23e11c
JM
42332 [BZ #14064]
42333 * math/libm-test.inc (check_float_internal): Correct ulp
42334 calculation for subnormal expected results.
42335
29ba805c
AJ
423362012-05-06 Andreas Jaeger <aj@suse.de>
42337
42338 * Makeconfig (+math-flags): New, set to -frounding-math.
42339 (+cflags): Add +math-flags so that all of glibc gets compiled with
42340 it.
42341
42342 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42343
7b17aeda
JM
423442012-05-05 Joseph Myers <joseph@codesourcery.com>
42345
5779f134
JM
42346 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42347 Disable one test.
42348
41498f4d
JM
42349 [BZ #13787]
42350 [BZ #13922]
42351 [BZ #14036]
42352 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42353 (__ieee754_expl): Allow for and saturate large arguments.
42354 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42355 (u_threshold): Likewise.
42356 (__exp): Call __ieee754_exp before checking for overflow and
42357 underflow.
42358 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42359 (u_threshold): Likewise.
42360 (__expf): Call __ieee754_expf before checking for overflow and
42361 underflow.
42362 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42363 (u_threshold): Likewise.
42364 (__expl): Call __ieee754_expl before checking for overflow and
42365 underflow.
42366 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42367 (__ieee754_expl): Allow for and saturate large arguments.
42368 * math/libm-test.inc (exp_test): Add another test. Do not allow
42369 missing overflow exception on overflow.
42370 (expm1_test): Do not allow missing overflow exception on overflow.
42371
6698b8bf
JM
42372 * sysdeps/i386/fpu/e_expl.c: Move to ...
42373 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42374 rather than using inline asm.
42375 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42376 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42377 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42378
7b17aeda
JM
42379 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42380 (nice): Likewise.
42381 (poll): Likewise.
42382 (signal): Likewise.
42383 (time): Likewise.
42384 (times): Likewise.
42385
f7c85819
JM
423862012-05-04 Joseph Myers <joseph@codesourcery.com>
42387
42388 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42389 sysdeps/unix/common/syscalls.list.
42390 (fchmod): Likewise.
42391 (fchown): Likewise.
42392 (ftruncate): Likewise.
42393 (getrusage): Likewise.
42394 (gettimeofday): Likewise.
42395 (setpgid): Likewise.
42396 (setregid): Likewise.
42397 (setreuid): Likewise.
42398 (sigaction): Likewise.
42399 (truncate): Likewise.
42400 (vhangup): Likewise.
42401 * sysdeps/unix/common/syscalls.list: Remove file.
42402 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42403 * sysdeps/unix/sysv/linux/Implies: Likewise.
42404
336270d0
L
424052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42406
42407 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42409 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42410 Moved to ...
42411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42412 Here.
42413 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42414 to ...
42415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42416 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42417 to ...
42418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42419 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42420 to ...
42421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42422 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42423 to ...
42424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42425 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42426 to ...
42427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42428 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42429 to ...
42430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42431 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42432 to ...
42433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42434 Here.
42435 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42436 to ...
42437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42438 Here.
42439 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42440 to ...
42441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42442 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42443 Moved to ...
42444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42445 Here.
42446 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42447 to ...
42448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42449
d128e450
JM
424502012-05-04 Joseph Myers <joseph@codesourcery.com>
42451
fa8ee516
JM
42452 * sysdeps/unix/common/bits/dirent.h: Remove file.
42453 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42454
d128e450
JM
42455 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42456 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42457 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42458 * sysdeps/unix/bsd/isatty.c: Likewise.
42459 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42460 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42461 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42462
ff8faaf0 424632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 42464
62881be4 42465 [BZ #13563]
31dc8730
AZ
42466 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42467 long double comparison inaccuracies.
42468 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42470
6fef930c
AS
424712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42472
42473 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42475
8f203e6c
JM
424762012-05-04 Joseph Myers <joseph@codesourcery.com>
42477
42478 [BZ #14049]
42479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42480 nonzero digits before rounding a hex value.
42481 * stdlib/tst-strtod.c (tests): Add another test.
42482
5197d9c2
AK
424832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42484
42485 * sysdeps/s390/fpu/libm-test-ulps: Update.
42486
f0c1dedf
AJ
424872012-05-03 Andreas Jaeger <aj@suse.de>
42488
42489 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42490 does not get optimized out.
42491 (malloc_opt_barrier): New.
42492
a65ef2ae 424932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 42494 Roland McGrath <roland@hack.frob.com>
a65ef2ae 42495
2b942cb7 42496 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 42497 intermediate file deletion.
2b942cb7 42498 (generated): Add .symlist files.
a65ef2ae 42499
54b71e02
JM
425002012-05-03 Joseph Myers <joseph@codesourcery.com>
42501
42502 [BZ #13775]
42503 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42504 Redirect under this condition.
42505 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42506 [__USE_GNU] (__dprintf_chk): Not under this condition.
42507 [__USE_GNU] (__vdprintf_chk): Likewise.
42508 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42509 under this condition.
42510 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42511 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42512 [__USE_XOPEN2K8] (vdprintf): Likewise.
42513 [__USE_GNU] (__dprintf_chk): Not under this condition.
42514 [__USE_GNU] (__vdprintf_chk): Likewise.
42515 [__USE_GNU] (dprintf): Likewise.
42516 [__USE_GNU] (vdprintf): Likewise.
42517
d3dfcc41
RM
425182012-05-03 Roland McGrath <roland@hack.frob.com>
42519
42520 * elf/Makefile (common-generated): Set this instead of generated for
42521 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42522 $(all-built-dso)-derived lists.
42523
7ac30cc5
AJ
425242012-05-03 Andreas Jaeger <aj@suse.de>
42525
0c51e550
AJ
42526 * sysdeps/i386/fpu/libm-test-ulps: Update.
42527
7ac30cc5
AJ
42528 * FAQ: Removed.
42529 * FAQ.in: Likewise.
42530 * scripts/gen-FAQ.pl: Likewise.
42531 * manual/install.texi (Installation): Point to online location of
42532 FAQ.
42533 * Makefile (files-for-dist): Remove FAQ.
42534 (FAQ): Remove.
42535
d4c2917f
AM
425362012-05-02 Allan McRae <allan@archlinux.org>
42537
42538 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42539 (LDFLAGS-reldepmod5.so): Likewise.
42540 (LDFLAGS-reldep6mod1.so): Likewise.
42541 (LDFLAGS-reldep6mod4.so): Likewise.
42542 (LDFLAGS-reldep8mod3.so): Likewise.
42543 (LDFLAGS-unload4mod1.so): Likewise.
42544 (LDFLAGS-unload4mod2.so): Likewise.
42545 (LDFLAGS-tst-initorder): Likewise.
42546 (LDFLAGS-tst-initordera2.so): Likewise.
42547 (LDFLAGS-tst-initordera3.so): Likewise.
42548 (LDFLAGS-tst-initordera4.so): Likewise.
42549 (LDFLAGS-tst-initorderb2.so): Likewise.
42550 (LDFLAGS-noload): Likewise.
42551 (LDFLAGS-next): Likewise.
42552 (LDFLAGS-order2mod1.so): Likewise.
42553 (LDFLAGS-order2mod2.so): Likewise.
42554 (LDFLAGS-tst-initorder2): Likewise.
42555 (LDFLAGS-tst-initorder2a.so): Likewise.
42556 (LDFLAGS-tst-initorder2b.so): Likewise.
42557 (LDFLAGS-tst-initorder2c.so): Likewise.
42558 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42559
d77f993f
DM
425602012-05-02 David S. Miller <davem@davemloft.net>
42561
42562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42563
171a70b4
PP
425642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42565
42566 [BZ #14055]
42567 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42568
0be196ad
AJ
425692012-05-02 Andreas Jaeger <aj@suse.de>
42570
42571 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42572 since we manipulate rounding mode.
42573 (CPPFLAGS-test-idouble.c): Likewise.
42574 (CPPFLAGS-test-ifloat.c): Likewise.
42575 (CFLAGS-test-ldouble.c): Likewise.
42576 (CFLAGS-test-double.c): Likewise.
42577 (CFLAGS-test-float.c): Likewise.
42578 (CFLAGS-test-misc.c): Likewise.
42579 (CFLAGS-test-test-fenv.c): Likewise.
42580
4f9d04aa
AZ
425812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42582
2b942cb7
RM
42583 [BZ #2550]
42584 [BZ #2570]
42585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42586 comparisons to determine direction to adjust input.
4f9d04aa 42587
82a79e7d
RM
425882012-05-01 Roland McGrath <roland@hack.frob.com>
42589
f5a01ca9
RM
42590 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42591 output to the target.
42592
90fe4186
RM
42593 * scripts/localplt.awk: New file.
42594 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42595 (check-localplt-CFLAGS): Variable removed.
42596 ($(all-built-dso:=.jmprel)): New static pattern rule.
42597 (generated): Add those targets.
42598 (localplt-built-dso): New variable.
42599 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42600
42601 * elf/check-localplt.c: File removed.
42602
82397ed6
RM
42603 * scripts/check-execstack.awk: New file.
42604 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42605 (check-execstack-CFLAGS): Variable removed.
42606 ($(objpfx)check-execstack.h): Target removed.
42607 ($(objpfx)execstack-default): New target.
42608 (generated): Add that instead of check-execstack.h.
42609 ($(all-built-dso:=.phdr)): New static pattern rule.
42610 (generated): Add those targets.
42611 * elf/check-execstack.c: File removed.
42612
82a79e7d
RM
42613 * scripts/check-textrel.awk: New file.
42614 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42615 (check-textrel-CFLAGS): Variable removed.
42616 (all-built-dso): Use := to define.o
42617 ($(all-built-dso:=.dyn)): New static pattern rule.
42618 (generated): Add those targets.
42619 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42620 * config.make.in (READELF): New substituted variable.
42621 * elf/check-textrel.c: File removed.
42622
62fde54f 426232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 42624
615605c9
JM
42625 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42626 allow.
42627 * conform/data/ctype.h-data [C99-based standards] (isblank):
42628 Expect function.
42629 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42630 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42632 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42633 Specify type. Require positive value.
42634 (EILSEQ): Likewise.
42635 (ERANGE): Likewise.
42636 [ISO || POSIX] (EILSEQ): Do not expect.
42637 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42638 Specify type. Require positive value.
42639 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42640 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42641 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42642 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42643 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42644 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42645 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42646 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42647 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42648 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42649 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42650 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42651 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42652 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42653 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42654 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42655 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42656 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42657 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42658 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42659 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42660 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42661 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42662 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42663 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42664 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42665 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42666 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42667 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42668 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42669 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42670 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42671 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42672 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42673 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42674 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42675 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42676 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42677 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42678 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42679 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42680 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42681 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42682 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42683 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42684 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42685 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42686 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42687 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42688 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42689 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42690 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42691 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42692 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42693 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42694 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42695 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42696 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42697 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42698 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42699 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42700 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42701 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42702 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42703 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42704 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42705 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42706 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42707 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42708 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42709 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42710 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42711 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42712 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42713 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42714 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42715 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42716 Require >= 2.
42717 (FLT_ROUNDS): Expect as macro, not constant.
42718 (FLT_MANT_DIG): Use macro-int-constant.
42719 (DBL_MANT_DIG): Likewise.
42720 (LDBL_MANT_DIG): Likewise.
42721 (FLT_DIG): Likewise.
42722 (DBL_DIG): Likewise.
42723 (LDBL_DIG): Likewise.
42724 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42725 (DBL_MIN_EXP): Likewise.
42726 (LDBL_MIN_EXP): Likewise.
42727 (FLT_MAX_EXP): Use macro-int-constant.
42728 (DBL_MAX_EXP): Likewise.
42729 (LDBL_MAX_EXP): Likewise.
42730 (FLT_MAX_10_EXP): Likewise.
42731 (DBL_MAX_10_EXP): Likewise.
42732 (LDBL_MAX_10_EXP): Likewise.
42733 (FLT_MAX): Use macro-constant.
42734 (DBL_MAX): Likewise.
42735 (LDBL_MAX): Likewise.
42736 (FLT_EPSILON): Use macro-constant. Give upper bound.
42737 (DBL_EPSILON): Likewise.
42738 (LDBL_EPSILON): Likewise.
42739 (FLT_MIN): Likewise.
42740 (DBL_MIN): Likewise.
42741 (LDBL_MIN): Likewise.
42742 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42743 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42744 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42745 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42746 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42747 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42748 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42749 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42750 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42751 [ISO11] (FLT_TRUE_MIN): Likewise.
42752 [ISO11] (LDBL_TRUE_MIN): Likewise.
42753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42754 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42755 (SCHAR_MIN): Use macro-int-constant. Specify type.
42756 (SCHAR_MAX): Likewise.
42757 (UCHAR_MAX): Likewise.
42758 (CHAR_MIN): Likewise.
42759 (CHAR_MAX): Likewise.
42760 (MB_LEN_MAX): Use macro-int-constant.
42761 (SHRT_MIN): Use macro-int-constant. Specify type.
42762 (SHRT_MAX): Likewise.
42763 (USHRT_MAX): Likewise.
42764 (INT_MAX): Likewise.
42765 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42766 bound negative.
42767 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42768 bound with "U".
42769 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42770 bound with "L".
42771 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42772 bound negative. Suffix upper bound with "L".
42773 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42774 bound with "UL".
42775 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42776 Specify type.
42777 [C99-based standards] (LLONG_MAX): Likewise.
42778 [C99-based standards] (ULLONG_MAX): Likewise.
42779 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42780 == 0.
42781 [ISO11] (max_align_t): Require type.
42782 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42783
c9140a62
JM
42784 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42785 from $CFLAGS, without defining away __attribute__ calls.
42786 (checknamespace): Use $CFLAGS_namespace.
42787
9af0bf29
JM
42788 * conform/conformtest.pl (@keywords): Only include C99 keywords
42789 for standards based on C99 or C11.
42790
343222a2
JM
42791 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42792 Disable tests.
42793 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42794 UNIX98]: Likewise.
42795
661f8cf0
JM
42796 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42797 usability of symbols in #if.
42798
ee74b9cb
JM
42799 * conform/conformtest.pl: If macro or constant types start
42800 "promoted:", expect the symbol to be of the following type
42801 promoted by the integer promotions.
62fde54f 42802
aafc49b3
JM
42803 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42804 in one place. Also handle "macro-constant".
42805
fefdf574
JM
42806 * conform/conformtest.pl: Only accept expected macro values with
42807 "==". Parse all "macro" lines in one place.
42808 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42809
f2d922fe
JM
42810 * conform/conformtest.pl: Handle braced types on "constant" lines
42811 instead of handling "typed-constant".
42812 * conform/data/signal.h-data: Use "constant" instead of
42813 "typed-constant".
42814
d22956c9
JM
42815 * conform/conformtest.pl: Handle "optional-" at start of lines in
42816 one place rather than duplicating several cases. Handle each
42817 format of "macro" line with initial "optional-".
42818
028e2e38
JM
42819 * conform/conformtest.pl: Only accept expected constant or
42820 optional-constant values with "==". Parse all "constant" lines in
42821 one place. Parse all "optional-constant" lines in one place.
42822 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42823 * conform/data/fmtmsg.h-data: Likewise.
42824 * conform/data/netinet/in.h-data: Likewise.
42825 * conform/data/tar.h-data: Likewise.
42826 * conform/data/limits.h-data: Use "==" form on "constant" and
42827 "optional-constant" lines.
42828
1b8f2850
JM
42829 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42830 Use -std=c99 for XOPEN2K.
42831 (@knownproblems): Remove.
42832 (newtoken): Don't check %isknown.
42833
a05a144b
JM
42834 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42835 Do not expect macro.
42836 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42837 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42838 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42839 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42840 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42841 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42842 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42843 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42844 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42845 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42846 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42847 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42848 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42849 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42850 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42851 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42852 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42853 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42854 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42855 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42856 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42857 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42858 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42859 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42860 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42861 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42862 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42863 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42864 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42865 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42866 [XPG3] (acosh): Likewise.
42867 [XPG3] (asinh): Likewise.
42868 [XPG3] (atanh): Likewise.
42869 [XPG3] (cbrt): Likewise.
42870 [XPG3] (expm1): Likewise.
42871 [XPG3] (ilogb): Likewise.
42872 [XPG3] (log1p): Likewise.
42873 [XPG3] (logb): Likewise.
42874 [XPG3] (nextafter): Likewise.
42875 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42876 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42877 [XPG3] (remainder): Likewise.
42878 [XPG3] (rint): Likewise.
42879 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42880 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42881 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42882 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42883 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42884 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42885 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42886 [UNIX98 || XOPEN2K] (scalb): Expect.
42887 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42888 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42889 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42890 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42891 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42892 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42893 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42894 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42895 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42896 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42897 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42898 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42899 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42900 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42901 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42902 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42903 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42904 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42905 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42906 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42907 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42908 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42909 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42910 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42911 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42912 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42915 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42916 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42917 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42918 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42919 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42920 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42921 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42922 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42923 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42924 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42925 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42926 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42927 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42928 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42929 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42930 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42931 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42932 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42933 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42934 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42935 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42936 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42937 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42938 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42939 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42940 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42941 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42942 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42943 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42944 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42945 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42946 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42947 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42955 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42956 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42957 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42958 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42959 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42975 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42976 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42977 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42978 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42979 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42980 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42981 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42982 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42983 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42984 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42985 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42986 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42987 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42988 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42989 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42990 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42993 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42994 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42995 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42996 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42997 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42998 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42999 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43000 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43003 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43004 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43005 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43009 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43012 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43013 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43014 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43015 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43020 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43021 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43022 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43023 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43024
73c5ebe3
JM
43025 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43026 _XOPEN_SOURCE_EXTENDED for XPG4.
43027
39c33b6c
JM
43028 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43029
62fde54f
JM
43030 * Makeconfig (localtime): Remove variable.
43031 (inst_localtime-file): Likewise.
43032
0741d64c
AS
430332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43034
43035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43036 Update.
43037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43038 Update.
43039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43040 Update.
43041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43042 Update.
43043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43044 Update.
43045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43046 Update.
43047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43048 Update.
43049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43050 Update.
43051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43052 Update.
43053
7cb029ee
JM
430542012-05-01 Joseph Myers <joseph@codesourcery.com>
43055
43056 [BZ #2550]
43057 [BZ #2570]
43058 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43059 comparisons to determine direction to adjust input.
43060 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43061 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43062 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43063 Likewise.
43064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43065 Likewise.
43066 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43067 Likewise.
43068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43070 Likewise.
43071 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43072 Likewise.
43073 * math/libm-test.inc (nexttoward_test): Add more tests.
43074
412bd966
AS
430752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43076
43077 [BZ #14040]
43078 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43079 in version GLIBC_2.1, not GLIBC_2.0.
43080 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43081 Likewise.
43082
9568c0c2
JM
430832012-04-30 Joseph Myers <joseph@codesourcery.com>
43084
adfbc8ac
JM
43085 [BZ #13942]
43086 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43087 (1 - x) * (1 + x).
43088 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43089 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43090 * math/libm-test.inc (acos_test): Add more tests.
43091 (asin_test): Likewise.
43092 * sysdeps/i386/fpu/libm-test-ulps: Update.
43093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43094
5ba3cc69
JM
43095 [BZ #14034]
43096 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43097 of square root.
43098 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43099 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43100 * math/libm-test.inc (acos_test_tonearest): New function.
43101 (acos_test_towardzero): Likewise.
43102 (acos_test_downward): Likewise.
43103 (acos_test_upward): Likewise.
43104 (asin_test_tonearest): Likewise.
43105 (asin_test_towardzero): Likewise.
43106 (asin_test_downward): Likewise.
43107 (asin_test_upward): Likewise.
43108 (main): Call the new functions.
43109 * sysdeps/i386/fpu/libm-test-ulps: Update.
43110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43111
9568c0c2
JM
43112 [BZ #13884]
43113 [BZ #13924]
43114 * math/e_exp10.c: Include <float.h>.
43115 (__ieee754_exp10): Handle underflow here rather than multiplying
43116 large negative argument by M_LN10.
43117 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43118 of __ieee754_expf.
43119 * math/e_exp10l.c: Include <float.h>.
43120 (__ieee754_exp10l): Handle underflow here rather than multiplying
43121 large negative argument by M_LN10l.
43122 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43123 spurious overflow exception on underflow.
43124
5ac3ea17
MP
431252012-04-29 Marek Polacek <polacek@redhat.com>
43126
43127 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43128 (__fortify_function): New macro.
43129 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43130 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43131 __extern_always_inline.
43132 * libio/bits/stdio2.h: Likewise.
43133 * libio/bits/stdio.h: Likewise.
43134 * string/string.h: Likewise.
43135 * string/bits/string3.h: Likewise.
43136 * include/stdio.h: Likewise.
43137 * stdlib/bits/stdlib.h: Likewise.
43138 * stdlib/stdlib.h: Likewise.
43139 * rt/bits/mqueue2.h: Likewise.
43140 * rt/mqueue.h: Likewise.
43141 * posix/bits/unistd.h: Likewise.
43142 * posix/unistd.h: Likewise.
43143 * io/bits/poll2.h: Likewise.
43144 * io/bits/fcntl2.h: Likewise.
43145 * io/fcntl.h: Likewise.
43146 * io/sys/poll.h: Likewise.
43147 * misc/bits/syslog.h: Likewise.
43148 * misc/bits/syslog-ldbl.h: Likewise.
43149 * misc/sys/syslog.h: Likewise.
43150 * socket/bits/socket2.h: Likewise.
43151 * socket/sys/socket.h: Likewise.
43152 * debug/tst-chk1.c: Likewise.
43153 * wcsmbs/bits/wchar2.h: Likewise.
43154 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43155 * wcsmbs/wchar.h: Likewise.
43156
ecf0ebfb
AJ
431572012-04-29 Andreas Jaeger <aj@suse.de>
43158
43159 * Makerules (tests): Remove enable-check-abi protection.
43160 (check-abi-warn): Remove.
43161 (check-abi-%): Remove check-abi-warn usage.
43162
43163 * configure.in: Remove check-abi configure option.
43164 * configure: Regenerated.
43165 * config.make.in (enable-check-abi): Remove.
43166
6d5c57fa
AS
431672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43168
24c5d07e 43169 [BZ #14033]
ded5180a
AS
43170 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43171 double functions to double *_finite functions.
43172
7e0d315d
AS
43173 [BZ #13941]
43174 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43175 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43176 LDBL_MIN_EXP.
43177 * stdio-common/Makefile (tests): Add tst-sprintf3.
43178 * stdio-common/tst-sprintf3.c: New file.
43179
6d5c57fa
AS
43180 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43181 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43182
0749ff8b
JM
431832012-04-28 Joseph Myers <joseph@codesourcery.com>
43184
43185 * conform/conformtest.pl: Remove duplicate typed-constant
43186 handling.
43187
8dbd5d7b
DM
431882012-04-28 David S. Miller <davem@davemloft.net>
43189
43190 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43191 (check-abi-%): Remove AWK script prerequisite and explicit
43192 abilist directory.
43193 (check-abi): Rewrite to just diff the symlist with the abilist.
43194 (config-tls, config-abi-config): Delete, no longer used.
43195 (update-abi-%): Remove AWK script and explicit abilist directory.
43196 (update-abi): Rewrite to simply compare and conditionally copy the
43197 symlist and the sysdep abilist file. Remove update-abi-config
43198 checks.
43199 * abilist/ld.abilist: Remove.
43200 * abilist/libBrokenLocale.abilist: Remove.
43201 * abilist/libanl.abilist: Remove.
43202 * abilist/libcrypt.abilist: Remove.
43203 * abilist/libdl.abilist: Remove.
43204 * abilist/librt.abilist: Remove.
43205 * abilist/libthread_db.abilist: Remove.
43206 * abilist/libutil.abilist: Remove.
43207 * scripts/extract-abilist.awk: Remove.
43208 * scripts/merge-abilist.awk: Remove.
43209 * sysdeps/generic/libcidn.abilist: New file.
43210 * sysdeps/generic/libnss_compat.abilist: New file.
43211 * sysdeps/generic/libnss_db.abilist: New file.
43212 * sysdeps/generic/libnss_dns.abilist: New file.
43213 * sysdeps/generic/libnss_files.abilist: New file.
43214 * sysdeps/generic/libnss_hesiod.abilist: New file.
43215 * sysdeps/generic/libnss_nis.abilist: New file.
43216 * sysdeps/generic/libnss_nisplus.abilist: New file.
43217 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43218 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43219 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43220 file.
43221 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43222 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43223 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43224 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43225 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43226 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43227 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43228 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43229 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43230 file.
43231 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43232 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43233 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43234 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43235 file.
43236 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43237 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43238 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43239 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43240 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43241 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43242 file.
43243 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43244 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43245 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43246 file.
43247 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43249 New file.
43250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43251 New file.
43252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43253 New file.
43254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43255 New file.
43256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43257 New file.
43258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43259 New file.
43260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43261 New file.
43262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43263 New file.
43264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43265 New file.
43266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43267 New file.
43268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43269 New file.
43270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43271 New file.
43272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43273 New file.
43274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43275 file.
43276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43277 New file.
43278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43279 New file.
43280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43281 file.
43282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43283 New file.
43284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43285 New file.
43286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43287 file.
43288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43289 New file.
43290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43291 New file.
43292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43293 New file.
43294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43295 New file.
43296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43297 New file.
43298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43299 New file.
43300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43302 file.
43303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43304 New file.
43305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43306 file.
43307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43308 file.
43309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43310 file.
43311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43312 file.
43313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43314 file.
43315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43316 New file.
43317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43318 file.
43319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43320 file.
43321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43322 New file.
43323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43324 file.
43325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43327 file.
43328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43329 New file.
43330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43331 file.
43332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43333 file.
43334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43335 file.
43336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43337 file.
43338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43339 file.
43340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43341 New file.
43342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43343 file.
43344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43345 file.
43346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43347 New file.
43348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43349 file.
43350 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43351 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43352 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43353 file.
43354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43355 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43356 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43357 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43358 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43359 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43360 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43361 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43362 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43363 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43366 file.
43367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43368 New file.
43369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43370 file.
43371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43372 file.
43373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43374 file.
43375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43376 file.
43377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43378 file.
43379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43380 New file.
43381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43382 New file.
43383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43384 file.
43385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43386 New file.
43387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43388 file.
43389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43391 file.
43392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43393 New file.
43394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43395 file.
43396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43397 file.
43398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43399 file.
43400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43401 file.
43402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43403 file.
43404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43405 New file.
43406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43407 New file.
43408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43409 file.
43410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43411 New file.
43412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43413 file.
43414
41d73a1b
JM
434152012-04-28 Joseph Myers <joseph@codesourcery.com>
43416
43417 * conform/conformtest.pl: Fix typo in handling typed-constant from
43418 allow-header.
43419
28aeeda4
JM
434202012-04-27 Joseph Myers <joseph@codesourcery.com>
43421
adae8f5e
JM
43422 * README: Cut down references to pre-2.6 Linux kernels and
43423 Linuxthreads. Update lists of configurations in libc and ports
43424 and sort alphabetically. Say "or newer" with Linux kernel version
43425 requirements.
43426
28aeeda4
JM
43427 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43428
a462cb63
RA
434292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43430
43431 [BZ #887]
43432 * math/libm-test.inc (logb_test_downward): New test to expose
43433 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43434 rounding mode.
43435
6ad3493e
JM
434362012-04-27 Joseph Myers <joseph@codesourcery.com>
43437
43438 [BZ #14027]
43439 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43440 to be done.
43441 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43442 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43443
2ce4f015
JM
434442012-04-26 Joseph Myers <joseph@codesourcery.com>
43445
5aeb141a
JM
43446 * sysdeps/unix/i386/brk.S: Remove file.
43447 * sysdeps/unix/i386/dl-brk.S: Likewise.
43448 * sysdeps/unix/i386/pipe.S: Likewise.
43449 * sysdeps/unix/i386/sigreturn.S: Likewise.
43450 * sysdeps/unix/i386/syscall.S: Likewise.
43451 * sysdeps/unix/i386/vfork.S: Likewise.
43452 * sysdeps/unix/i386/wait.S: Likewise.
43453
7143acae
JM
43454 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43455 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43456
2ce4f015
JM
43457 * configure.in (arm*-none*): Do not allow without
43458 --enable-hacker-mode.
43459 (netbsd*): Remove case setting base_os.
43460 (386bsd*): Likewise.
43461 (freebsd*): Likewise.
43462 (bsdi*): Likewise.
43463 (osf*): Likewise.
43464 (sunos*): Likewise.
43465 (ultrix*): Likewise.
43466 (newsos*): Likewise.
43467 (dynix*): Likewise.
43468 (*bsd*): Likewise.
43469 (sysv*): Likewise.
43470 (isc*): Likewise.
43471 (esix*): Likewise.
43472 (sco*): Likewise.
43473 (minix*): Likewise.
43474 (irix4*): Likewise.
43475 (irix6*): Likewise.
43476 (solaris[2-9]*): Likewise.
43477 (none): Likewise.
43478 * configure: Regenerated.
43479
0ac229c8
AZ
434802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43481
43482 [BZ #11521]
43483 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43484 overflow or cancellation in calculating denominator.
43485 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43487 down expression to avoid unexpected rounding in newer GCCs.
43488 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43489
33f244f4
DM
434902012-04-26 David S. Miller <davem@davemloft.net>
43491
43492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43493 long-double compat symbols.
43494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43507
cfa1f3e8
DM
435082012-04-25 David S. Miller <davem@davemloft.net>
43509
43510 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43511 HWCAP_* values only after the memory barriers have been defined.
43512 (atomic_full_barrier): Define.
43513 (atomic_read_barrier): Define.
43514 (atomic_write_barrier): Define.
43515
6e236b92
SP
435162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43517
43518 * shlib-versions: Add libgcc_s version information.
43519 * sysdeps/generic/libgcc_s.h: Remove.
43520 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43521 libgcc_s.h.
43522 * sysdeps/gnu/unwind-resume.c: Likewise.
43523 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43524
aab39a09
DM
435252012-04-25 David S. Miller <davem@davemloft.net>
43526
43527 * sysdeps/unix/sparc/brk.S: Delete.
43528 * sysdeps/unix/sparc/dl-brk.S: Delete.
43529 * sysdeps/unix/sparc/pipe.S: Delete.
43530 * sysdeps/unix/sparc/sysdep.S: Delete.
43531 * sysdeps/unix/sparc/sysdep.h: Delete.
43532 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
43533 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43534 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43536 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
43537 (JUMPTARGET): Remove.
43538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43539 sysdeps/unix/sparc/sysdep.h
43540 (ENTRY, END): Remove.
43541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43542
a3cc4f48
JM
435432012-04-25 Joseph Myers <joseph@codesourcery.com>
43544
2ed8cda2
JM
43545 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43546 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43547 -DIS_IN_build.
43548
35d76d59
JM
43549 * timezone/README: Update upstream location and email address for
43550 tzcode and tzdata.
43551 * timezone/zdump.c: Update from tzcode 2012b.
43552 * timezone/zic.c: Likewise.
43553
a3cc4f48
JM
43554 * configure.in (libc_cv_as_needed): Remove test.
43555 * configure: Regenerated.
43556 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43557 conditional definition.
43558 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43559 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43560 * config.make.in (have-as-needed): Remove variable.
43561
ceab42c3
SP
435622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43563 Paul Pluzhnikov <ppluzhnikov@google.com>
43564
43565 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43566 strings correctly.
43567
3ce2865f
CLT
435682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43569
43570 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43571 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43572 * sysdeps/sh/strlen.S: Likewise.
43573
f37e0d68
JM
435742012-04-24 Joseph Myers <joseph@codesourcery.com>
43575
ae186e9a
JM
43576 * sysdeps/unix/fork.S: Remove file.
43577 * sysdeps/unix/i386/fork.S: Likewise.
43578 * sysdeps/unix/sparc/fork.S: Likewise.
43579
b96914af
JM
43580 * sysdeps/unix/system.c: Remove file.
43581 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43582
f37e0d68
JM
43583 * sysdeps/unix/getegid.S: Remove file.
43584 * sysdeps/unix/geteuid.S: Likewise.
43585
87ef29ca
RM
435862012-04-24 Roland McGrath <roland@hack.frob.com>
43587
83bcd236
RM
43588 * scripts/check-localplt.awk: New file.
43589 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43590 of diff.
43591 * scripts/data/localplt-generic.data: Add a comment.
43592
87ef29ca
RM
43593 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43594 NODE when __dir_mkfile failed.
43595 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43596 Reported by Ludovic Courtès <ludo@gnu.org>.
43597
e5a6e567
AJ
435982012-04-24 Andreas Jaeger <aj@suse.de>
43599
43600 * Makerules (common-clean): Also remove gen-as-const-headers
43601 files.
43602
c1820385
JM
436032012-04-24 Joseph Myers <joseph@codesourcery.com>
43604
43605 * Makerules (native-compile): Do not change working directory for
43606 build. Use $(OUTPUT_OPTION) in command.
43607 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43608
94e02fc4
AZ
436092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43610
43611 [BZ #13886]
43612 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43613 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43614 * math/libm-test.inc (floor_test): Add more tests.
43615 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43616
3a533ca3
JM
436172012-04-24 Joseph Myers <joseph@codesourcery.com>
43618
940ab4b3
JM
43619 * sysdeps/unix/getdents.c: Remove file.
43620 * sysdeps/unix/sysv/getdents.c: Likewise.
43621 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43622
90e037bd
JM
43623 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43624 sysdeps/unix/mman/syscalls.list.
43625 (mmap): Likewise.
43626 (mprotect): Likewise.
43627 (msync): Likewise.
43628 (munmap): Likewise.
43629 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43630 * sysdeps/unix/mman/syscalls.list: Remove.
43631 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43632
3a533ca3
JM
43633 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43634 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43635 * configure: Regenerated.
43636 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43637 $(libgcc_s_suffix).
43638 * config.make.in (libgcc_s_suffix): Remove variable.
43639
1ad743de
JM
436402012-04-23 Joseph Myers <joseph@codesourcery.com>
43641
4ad451e2
JM
43642 * sysdeps/unix/sysv/gethostname.c: Move to ...
43643 * sysdeps/posix/gethostname.c: ... here.
43644
5e37ce39
JM
43645 * sysdeps/unix/execve.S: Remove file.
43646
1ad743de
JM
43647 * sysdeps/unix/_exit.S: Remove file.
43648
4e681b5b
AJ
436492012-04-23 Andreas Jaeger <aj@suse.de>
43650
43651 [BZ #13739]
43652 * manual/Makefile: Remove make dist support, there's no
43653 need for a stand-alone documentation tar ball.
43654 (TEXI2DVI): Define always, it's not in Makeconfig.
43655 (dist): Removed.
43656 (tar-it): Removed.
43657 (edition): Removed.
43658 (glibc-doc-$(edition).tar): Removed
43659 (%.Z): Removed.
43660 (%.gz): Removed.
43661 (%.uu): Removed.
43662 (ETAGS): Remove, it's in Makeconfig.
43663 (move-if-change): Remove, it's in Makeconfig.
43664
38686a03 436652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
43666
43667 [BZ #13970]
43668 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43669 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43670 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43671 (strtod_l, strtof_l, strtold_l): Remove __wur.
43672 It is not necessarily an error to ignore strtol's return value.
43673 One can reliably look at the stored endptr to decide whether
43674 the number had valid syntax.
43675
7c0616fa
AJ
436762012-04-21 Andreas Jaeger <aj@suse.de>
43677
803cb6b7 43678 [BZ #13739]
7c0616fa
AJ
43679 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43680
b0fe253f
JM
436812012-04-21 Joseph Myers <joseph@codesourcery.com>
43682
43683 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43684 * sysdeps/unix/sysv/Versions: Remove file.
43685
8280f22d
MT
436862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43687
43688 [BZ #13927]
43689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43690
75ce411f 436912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
43692
43693 [BZ #7064]
43694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43695 version from __vm86.
43696
097d59fa
JM
436972012-04-20 Joseph Myers <joseph@codesourcery.com>
43698
a90f3bcb
JM
43699 * sysdeps/unix/common/lxstat.c: Remove file.
43700 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43701
edc7ea78
JM
43702 * sysdeps/unix/sysv/Makefile: Remove file.
43703
cb78c221
JM
43704 * sysdeps/unix/sysv/direct.h: Remove file.
43705
efa6a45f
JM
43706 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43707 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43708 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43709 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43710 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43711 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43712 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43713
9c9f2d0c
JM
43714 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43715
4541c83b
JM
43716 * sysdeps/unix/xmknod.c: Remove file.
43717 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43718
f5d153a0
JM
43719 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43720
aa746595
JM
43721 * sysdeps/unix/sysv/i386/time.S: Remove file.
43722
cce5905e
JM
43723 * sysdeps/unix/fxstat.c: Remove file.
43724 * sysdeps/unix/xstat.c: Likewise.
43725 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43726
37fa3841
JM
43727 * sysdeps/unix/sysv/sigaction.c: Remove file.
43728
ff1962a3
JM
43729 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43730 (sysdep_headers): Remove variable.
43731 [termio.h not in sysdep_headers] (generated): Likewise.
43732 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43733 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43734 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43735 * sysdeps/unix/sysv/tcflow.c: Likewise.
43736 * sysdeps/unix/sysv/tcflush.c: Likewise.
43737 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43738 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43739 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43740 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43741 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43742
e7740d31
JM
43743 * sysdeps/unix/siglist.c: Remove file.
43744
ee06f18b
JM
43745 * sysdeps/unix/getppid.S: Remove file.
43746
097d59fa
JM
43747 * sysdeps/unix/mkdir.c: Remove file.
43748 * sysdeps/unix/rmdir.c: Likewise.
43749
ff3d51ec
AS
437502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43751
43752 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43753 ERR_MAX value.
43754 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43755 errlist-compat value.
43756
50f81fd7
DM
437572012-04-18 David S. Miller <davem@davemloft.net>
43758
43759 * sysdeps/generic/memcopy.h (reg_char): Delete.
43760 * debug/strcat_chk.c: Use char, not reg_char.
43761 * debug/strcpy_chk.c: Likewise.
43762 * debug/strncat_chk.c: Likewise.
43763 * debug/strncpy_chk.c: Likewise.
43764 * string/memchr.c: Likewise.
43765 * string/memrchr.c: Likewise.
43766 * string/rawmemchr.c: Likewise.
43767 * string/strcat.c: Likewise.
43768 * string/strchr.c: Likewise.
43769 * string/strchrnul.c: Likewise.
43770 * string/strcmp.c: Likewise.
43771 * string/strcpy.c: Likewise.
43772 * string/strncat.c: Likewise.
43773 * string/strncmp.c: Likewise.
43774 * string/strncpy.c: Likewise.
43775
8ff41c46
WS
437762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43777
43778 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43779 __builtin_memcopy is called when src and dest ranges are known to not
43780 overlap.
43781
6b652f46
WS
437822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43783
43784 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43785 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43786 fwd_align_merge macro call.
43787 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43788 bwd_align_merge macro call.
43789 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43790
b282631e
WS
437912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43792
43793 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43794 bwd_align_merge macros.
43795 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43796 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43798
95aa737c
DM
437992012-04-18 David S. Miller <davem@davemloft.net>
43800
43801 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43802
7a99a614
AJ
438032012-04-18 Andreas Jaeger <aj@suse.de>
43804
43805 [BZ# 6794]
43806 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43807 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43808 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43809
43810 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43811 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43812 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43813
43814 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43815 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43816 Adjust for changed ldbl-128 files.
43817
43818 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43819 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43820 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43821
e5270c23
DM
438222012-04-17 David S. Miller <davem@davemloft.net>
43823
43824 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43825
fb5e92c9
AS
438262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43827
43828 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43829 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43830 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43831 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43832 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43833 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43834
76da7265
AZ
438352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43836
43837 [BZ #6794]
43838 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43839 * math/libm-test.inc: Add ilogb errno and exception tests.
43840 * math/w_ilogb.c: New file: ilogb wrapper.
43841 * math/w_ilogbf.c: New file: ilogbf wrapper.
43842 * math/w_ilogbl.c: New file: ilogbl wrapper.
43843 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43844 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43845 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43846 exception being thrown with 0.0 as argument.
43847 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43848 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43849 exception being thrown with 0.0 as argument.
43850 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43851 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43852 exception being thrown with 0.0 as argument.
43853 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43854 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43855 exception being thrown with 0.0 as argument.
43856 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43857 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 43858 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
43859 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43860 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43861 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43862 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43863 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43864 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43865
0396e69d
PB
438662012-04-17 Petr Baudis <pasky@ucw.cz>
43867
43868 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43869 with altivec.
43870
750b5926
MP
438712012-04-16 Marek Polacek <polacek@redhat.com>
43872
43873 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43874
751728a1
MP
438752012-04-16 Marek Polacek <polacek@redhat.com>
43876
43877 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43878 operands of fdivp instruction.
43879
34a27407
L
438802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43881
43882 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43883 * elf/tst-auditmod3b.c: Likewise.
43884 * elf/tst-auditmod4b.c: Likewise.
43885 * elf/tst-auditmod5b.c: Likewise.
43886 * elf/tst-auditmod6b.c: Likewise.
43887 * elf/tst-auditmod6c.c: Likewise.
43888 * elf/tst-auditmod7b.c: Likewise.
43889 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43890 * sysdeps/x86_64/preconfigure.in: Likewise.
43891 * sysdeps/x86_64/preconfigure: Regenerated.
43892
7e73e17d
L
438932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43894
43895 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43896 __ILP32__.
43897
c7a6ab72
AB
438982012-04-13 Antoine Balestrat <merkil33@gmail.com>
43899
43900 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43901 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43902
a9e8e0e0
CL
439032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43904
43905 [BZ #13973]
43906 * locale/iso-639.def: Fix gl language name. Spotted by
43907 Yaron Shahrabani.
43908
ec98af7d
RM
439092012-04-12 Roland McGrath <roland@hack.frob.com>
43910
43911 [BZ #2074]
43912 * libio/libio.h (__io_write_fn): Update comment.
43913
247c3ede
PB
439142012-04-12 Petr Baudis <pasky@ucw.cz>
43915
43916 [BZ #2074]
43917 * stdio.texi (Hook Functions): The user provided writer function
43918 is not allowed to return -1.
43919
55939d6d
DM
439202012-04-11 David S. Miller <davem@davemloft.net>
43921
43922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43923
90020f5a
MF
439242012-04-11 Mike Frysinger <vapier@gentoo.org>
43925
43926 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43927 Add a leading slash to rtkaio.
43928
288f9098
JM
439292012-04-11 Jim Meyering <meyering@redhat.com>
43930
90020f5a
MF
43931 [BZ #11959]
43932 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43933 It is not necessarily an error to ignore fwrite's return
43934 value. One can reliably use ferror to test for errors after
43935 the fact.
288f9098 43936
4be2b570
L
439372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43938
43939 * bits/types.h (__snseconds_t): New type.
43940 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43941
43942 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43944 (__SNSECONDS_T_TYPE): Likewise.
43945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43946 (__SNSECONDS_T_TYPE): Likewise.
43947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43948 (__SNSECONDS_T_TYPE): Likewise.
43949
288f9098 439502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
43951
43952 [BZ #2636]
43953 * manual/time.texi (Processor Time): Return type of times is
43954 elapsed real time since an arbitrary point in the past.
43955 (CPU Time): Move CLK_TCK from here...
43956 (Processor Time): ...to here. Correct description.
43957 * manual/conf.texi (Constants for Sysconf): Correct description of
43958 _SC_CLK_TCK.
43959
d7dd4413
DM
439602012-04-10 David S. Miller <davem@davemloft.net>
43961
43962 [BZ #13967]
43963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43964 where the is a gap between DT_REL(A) and DT_JMPREL.
43965
b46068fc
L
439662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43967
43968 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43969 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43970 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43971
73d65cc3
SP
439722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43973
43974 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43975 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43976 (dl_main): Handle --inhibit-cache.
43977 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43978 _dl_inhibit_cache.
43979 * elf/dl-load.c (_dl_map_object): Use it.
43980 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43981
bcc8d661
JM
439822012-04-09 Joseph Myers <joseph@codesourcery.com>
43983
8f9a2fae
JM
43984 [BZ #13872]
43985 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43986 (__ieee754_powl): Saturate large exponents rather than testing for
43987 overflow of y*log2(x).
43988 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43989 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43990 exceptions.
43991
bcc8d661
JM
43992 [BZ #11521]
43993 * math/s_ctan.c: Include <float.h>.
43994 (__ctan): Avoid internal overflow or cancellation in calculating
43995 denominator.
43996 * math/s_ctanf.c: Likewise.
43997 * math/s_ctanl.c: Likewise.
43998 * math/s_ctanh.c: Likewise.
43999 * math/s_ctanhf.c: Likewise.
44000 * math/s_ctanhl.c: Likewise.
44001 * math/libm-test.inc (ctan_test): Add more tests.
44002 (ctanh_test): Likewise.
44003 * sysdeps/i386/fpu/libm-test-ulps: Update.
44004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44005
823fbbb4
AJ
440062012-04-09 Andreas Jaeger <aj@suse.de>
44007
03879793
AJ
44008 [BZ #6894]
44009 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44010 is an optional BSD extension.
44011
823fbbb4
AJ
44012 [BZ #10254]
44013 * manual/stdio.texi (Opening Streams): Document additional fopen
44014 parameters.
44015
8de131cb
RM
440162012-04-09 Roland McGrath <roland@hack.frob.com>
44017
44018 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44019 %eax without telling the compiler.
44020
c0ed9d7d
CD
440212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44022
44023 [BZ # 13963]
44024 * manual/install.texi: Use sourceware.org.
44025
c483f6b4
JM
440262012-04-09 Joseph Myers <joseph@codesourcery.com>
44027
d7dd9453
JM
44028 [BZ #13873]
44029 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44030 (__ieee754_pow): Generate overflow and underflow using huge*huge
44031 and tiny*tiny rather than just returning constant infinity or zero
44032 for large exponents.
44033 * math/libm-test.inc (pow_test): Require overflow exceptions for
44034 applicable cases of large exponents.
44035
c483f6b4
JM
44036 [BZ #706]
44037 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44038 (__ieee754_pow): Use iterative multiplication algorithm only for
44039 integer exponents with absolute value below 1024. Check for odd
44040 integer exponents when using algorithm for real exponents.
44041 * math/libm-test.inc (pow_test): Add more tests.
44042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44043
d2de7579
JM
440442012-04-08 Joseph Myers <joseph@codesourcery.com>
44045
44046 [BZ #13705]
44047 * math/libm-test.inc (exp_test): Do not allow overflow exception
44048 on underflow test.
44049
f77f1232
AJ
440502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44051
44052 [BZ #13705]
44053 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44054 instead of __kernel_standard_f.
44055
3884932b
MF
440562012-04-08 Mike Frysinger <vapier@gentoo.org>
44057
44058 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44059 * sysdeps/x86_64/memset_chk.S: Likewise.
44060
54472e9c
AJ
440612012-04-08 Andreas Jaeger <aj@suse.de>
44062
6ab0fbfc
AJ
44063 [BZ #10153]
44064 * manual/startup.texi (Environment Access): Describe return value
44065 for putenv and setenv.
44066
61efba8c
AJ
44067 [BZ #6895]
44068 * manual/filesys.texi (Directory Entries): Add description for
44069 DT_LNK.
44070
95c3f29a
AJ
44071 [BZ #6890]
44072 * manual/filesys.texi (Directory Entries): Clarify that it's file
44073 system not operating system in the description of DT_UNKNOWN.
44074
54472e9c
AJ
44075 [BZ #6578]
44076 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44077
624254b1
SC
440782012-04-08 Stephen Compall <s11@member.fsf.org>
44079
44080 [BZ #6649]
44081 * manual/llio.texi (Opening and Closing Files): Add cross
44082 reference to explain mode argument.
44083
1e4920e0
MF
440842012-04-07 Mike Frysinger <vapier@gentoo.org>
44085
44086 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44087 * sysdeps/x86_64/memset_chk.S: Likewise.
44088
5ed848f3
DM
440892012-04-07 David S. Miller <davem@davemloft.net>
44090
44091 * elf/elf.h (R_SPARC_WDISP10): Define.
44092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44093 R_SPARC_SIZE32.
44094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44095 R_SPARC_SIZE64 and R_SPARC_H34.
44096
96154cd8
CD
440972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44098
44099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44100 conditions and remove no longer applicable assertion.
44101
9904dc47
L
441022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44103
44104 * bits/byteswap.h: Include <features.h>.
44105 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44106 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44107
f8887d0a
L
441082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44109
44110 * bits/byteswap.h (__bswap_16): Removed.
44111 Include <bits/byteswap-16.h> to get __bswap_16.
44112 * sysdeps/i386/bits/byteswap.h: Likewise.
44113 * sysdeps/s390/bits/byteswap.h: Likewise.
44114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44115 * bits/byteswap-16.h: New file.
44116 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44117 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44118 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44119 * string/Makefile (headers): Add bits/byteswap-16.h.
44120
62470f60
PP
441212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44122
44123 [BZ #13895]
44124 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44125 extra indirection.
44126 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44127 * nss/tst-nss-static.c: New.
44128
4dad7bab
RM
441292012-04-06 Robert Millan <rmh@gnu.org>
44130
44131 [BZ #6486]
44132 * manual/llio.texi (File Position Primitive): lseek
44133 refers to WHENCE when it really means OFFSET.
44134
e9142a17
AJ
441352012-04-06 Andreas Jaeger <aj@suse.de>
44136
2c040eff
AJ
44137 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44138 strncmp declarations.
44139
e9142a17
AJ
44140 * abilist/libc.abilist: Add __poll and __ppoll.
44141
ff9f1c5f
DM
441422012-04-05 David S. Miller <davem@davemloft.net>
44143
dcd2ae90
DM
44144 * scripts/check-local-headers.sh: Accept a host triplet in the
44145 path matched by the exclude regexp.
44146
993eb054
DM
44147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44148 definition.
44149 * sysdeps/powerpc/powerpc32/dl-machine.h
44150 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44151 * sysdeps/s390/s390-32/dl-machine.h
44152 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44153 * sysdeps/sparc/sparc32/dl-machine.h
44154 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44155 * sysdeps/sparc/sparc64/dl-machine.h
44156 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44157
ff9f1c5f
DM
44158 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44159 lazy binding.
48e2e132 44160 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44161 undefined symbol errors.
44162
48e2e132 44163 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44164 DT_NEEDED entries.
44165
e80d6f94
MM
441662012-04-05 Michael Matz <matz@suse.de>
44167
44168 [BZ #13592]
44169 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44170
349fa79f
AJ
441712012-04-05 Andreas Jaeger <aj@suse.de>
44172
44173 [BZ #13908]
44174 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44175 comment.
44176
f402708f
KK
441772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44178
44179 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44180 which ROUND is no valid rounding mode.
44181
2ecccfc9
KK
441822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44183
44184 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44185 read again.
44186 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44187
8a53f50f
KK
441882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44189
44190 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44191 an exception using FPU order intentionally.
44192
441932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44194
44195 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44196 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44197 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44198 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44199
d653abb7
SJ
442002012-04-05 Simon Josefsson <simon@josefsson.org>
44201
44202 [BZ #12340]
44203 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44204 EINVAL when BUFLEN is too smal.
44205
c3b1bf7d
TS
442062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44207
44208 [BZ #13553]
44209 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44210 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44211
b1aa60f3
AJ
442122012-04-03 Andreas Jaeger <aj@suse.de>
44213
c3b1bf7d 44214 [BZ #13938]
67f60a26
AJ
44215 * manual/setjmp.texi (System V contexts): Fix sentence.
44216
b1aa60f3
AJ
44217 [BZ #13926]
44218 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44219 New macro for this case.
44220 [!__GNUC__] (__bswap_64): New inline function for this case.
44221 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44222 * bits/byteswap.h: Likewise.
44223 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44224 ull, guard with __GLIBC_HAVE_LONG_LONG.
44225
44226 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44227 __GLIBC_HAVE_LONG_LONG.
44228
44229 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44230 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44231
39c59c35
TMQMF
442322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44233
44234 [BZ #13691]
44235 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44236 inptr and inend, rather than using last_ch.
44237
135ffda8
DM
442382012-04-02 David S. Miller <davem@davemloft.net>
44239
44240 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44241 * stdio-common/printf-parse.h (read_int): Change return type to
44242 'int', return -1 on INT_MAX overflow.
44243 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44244 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44245 overflows INT_MAX. Check for overflow of in-format-string precision
44246 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44247 SIZE_MAX not INT_MAX for integer overflow test.
44248 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44249 skip the construct in the format string but do not record anything.
44250 * stdio-common/bug22.c: Adjust to test both width/prevision
44251 INT_MAX overflow as well as total length INT_MAX overflow. Check
44252 explicitly for proper errno values.
44253
228c019e
TS
442542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44255
302cadd3
TS
44256 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44257 CHAR_MAX.
44258 * string/test-strcmp.c [! WIDE]: Likewise.
44259 * time/tst-mktime2.c: Likewise for INT_MAX.
44260 * string/test-string.h: #include <sys/param.h> for MIN.
44261
228c019e
TS
44262 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44263 * sysdeps/i386/init-first.c (init): Likewise.
44264 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44265 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44266 * sysdeps/sh/init-first.c (init): Likewise.
44267
cfa633f5
UD
442682012-04-01 Ulrich Drepper <drepper@gmail.com>
44269
44270 * po/ru.po: Update from translation team.
d1635ef8 44271 * po/vi.po: Likewise.
cfa633f5 44272
6cd0a5ea
SP
442732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44274
44275 * resolv/nss_dns/dns-host.c: Merge copyright years.
44276
4b43400f
LD
442772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44278
44279 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44280 Optimize memcpy with prefetch if
44281 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44282 src, dst pointers have unequal 16 byte alignments.
44283
48c41d04
SP
442842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44285
44286 [BZ #13928]
44287 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44288 from a CNAME entry and return the minimum ttl for the query.
44289 (gaih_getanswer_slice): Likewise.
44290
b8dc394d
JL
442912012-03-30 Jeff Law <law@redhat.com>
44292
44293 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44294 due to long keys.
44295 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44296 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44297
2f5a5ed0
JL
44298 * resolv/nss_dns/dns-host.c: Update copyright year.
44299
1d39e359
UD
443002012-03-30 Ulrich Drepper <drepper@gmail.com>
44301
c030f70c 44302 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44303 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44304
1d39e359
UD
44305 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44306 comments for sendmmsg.
44307
443082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44309
44310 [BZ #13691]
44311 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44312 with only 1 character between 0x0041 and 0x01b0.
44313 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44314 * wcsmbs/tst-mbsnrtowcs.c: New file.
44315
20fde227
DM
443162012-03-29 David S. Miller <davem@davemloft.net>
44317
44318 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44319 small copies by hand.
44320
984a4237
JL
443212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44322
44323 [BZ #13761]
57f41c40
AS
44324 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44325 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44326 group memberships.
984a4237 44327
18c9d62b
DM
443282012-03-28 David S. Miller <davem@davemloft.net>
44329
88d85d4f
DM
44330 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44331 that branches into memcpy.
44332 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44335 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44337 bits.
44338 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44339 implementation too.
44340 * sysdeps/sparc/mempcpy.S: New file.
44341
e5aa83e1
DM
44342 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44343 the IFUNC routine in the libc case.
44344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44345
88570753
DM
44346 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44347 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44348 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44349 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44350 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44351 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44352 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44353 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44354
249d7567
DM
44355 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44356 loop to 256 bytes instead of 64 bytes and fix test signedness.
44357
18c9d62b
DM
44358 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44359 * sysdeps/sparc/sparc32/Makefile: rather than here...
44360 * sysdeps/sparc/sparc64/Makefile: and here.
44361
05f3d1f6
UD
443622012-03-28 Ulrich Drepper <drepper@gmail.com>
44363
44364 * malloc/mallocbug.c: Avoid warnings about unused variables.
44365
86ae07a8
JL
443662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44367
44368 [BZ #13760]
44369 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44370 in the right place. Discard and retry query if response is
44371 larger than input buffer size.
44372
41bf21a1
JM
443732012-03-28 Joseph Myers <joseph@codesourcery.com>
44374
d6270972
JM
44375 [BZ #369]
44376 [BZ #2678]
44377 [BZ #3866]
44378 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44379 x for large integer exponent.
44380 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44381 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44382 sign of result as needed afterwards.
44383 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44384 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44385 result for underflowing pow the same as for overflow.
44386 (__kernel_standard_l): Handle powl overflow and underflow here
44387 rather than calling __kernel_standard.
44388 * math/libm-test.inc (pow_test): Add more tests.
44389
414fca03 44390 [BZ #3868]
41bf21a1
JM
44391 [BZ #13879]
44392 [BZ #13910]
44393 [BZ #13911]
44394 [BZ #13912]
44395 [BZ #13913]
44396 [BZ #13915]
44397 [BZ #13916]
44398 [BZ #13917]
44399 [BZ #13918]
44400 [BZ #13919]
44401 [BZ #13920]
44402 [BZ #13921]
44403 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44404 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44405 (__kernel_standard_l): New function.
44406 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44407 __kernel_standard.
44408 * math/w_acosl.c (__acosl): Likewise.
44409 * math/w_asinl.c (__asinl): Likewise.
44410 * math/w_atan2l.c (__atan2l): Likewise.
44411 * math/w_atanhl.c (__atanhl): Likewise.
44412 * math/w_coshl.c (__coshl): Likewise.
44413 * math/w_exp10l.c (__exp10l): Likewise.
44414 * math/w_exp2l.c (__exp2l): Likewise.
44415 * math/w_fmodl.c (__fmodl): Likewise.
44416 * math/w_hypotl.c (__hypotl): Likewise.
44417 * math/w_j0l.c (__j0l, __y0l): Likewise.
44418 * math/w_j1l.c (__j1l, __y1l): Likewise.
44419 * math/w_jnl.c (__jnl, __ynl): Likewise.
44420 * math/w_lgammal.c (__lgammal): Likewise.
44421 * math/w_log10l.c (__log10l): Likewise.
44422 * math/w_log2l.c (__log2l): Likewise.
44423 * math/w_logl.c (__logl): Likewise.
44424 * math/w_powl.c (__powl): Likewise.
44425 * math/w_remainderl.c (__remainderl): Likewise.
44426 * math/w_scalbl.c (sysv_scalbl): Likewise.
44427 * math/w_sinhl.c (__sinhl): Likewise.
44428 * math/w_sqrtl.c (__sqrtl): Likewise.
44429 * math/w_tgammal.c (__tgammal): Likewise.
44430 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44431 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44432 * math/libm-test.inc (acos_test): Add more tests.
44433 (acosh_test): Likewise.
44434 (asin_test): Likewise.
44435 (atanh_test): Likewise.
44436 (exp_test): Likewise.
44437 (exp10_test): Likewise.
44438 (exp2_test): Likewise.
44439 (expm1_test): Likewise.
44440 (lgamma_test): Likewise.
44441 (log_test): Likewise.
44442 (log10_test): Likewise.
44443 (log1p_test): Likewise.
44444 (log2_test): Likewise.
44445 (pow_test): Do not allow some spurious overflow exceptions.
44446 (sqrt_test): Add more tests.
44447 (tgamma_test): Likewise.
44448 (y0_test): Likewise.
44449 (y1_test): Likewise.
44450 (yn_test): Likewise.
44451
dd62fda6
AB
444522012-03-27 Anton Blanchard <anton@samba.org>
44453
44454 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44455 MAP_HUGETLB.
44456 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44457 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44459
1e3cdfda
AJ
444602012-03-27 David S. Miller <davem@davemloft.net>
44461
b855ab85
DM
44462 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44463
1e3cdfda
AJ
44464 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44465 have-as-vis3 check.
44466
444672012-03-27 Andreas Jaeger <aj@suse.de>
44468
44469 * sysdeps/x86_64/elf/configure.in: Moved to ...
44470 * sysdeps/x86_64/configure.in: ... here.
44471 * sysdeps/x86_64/elf/start.S: Moved to ...
44472 * sysdeps/x86_64/start.S: ... here.
44473 * sysdeps/x86_64/elf/configure: Delete.
44474
44475 * sysdeps/x86_64/configure.in: Merge contents from
44476 sysdeps/i386/configure.in (without i686 check).
44477
44478 * sysdeps/i386/elf/Versions: Merge into ...
44479 * sysdeps/i386/Versions: ... this.
44480 * sysdeps/i386/elf/Versions: Delete file.
44481 * sysdeps/i386/elf/start.S: Moved to ...
44482 * sysdeps/i386/start.S: ...here.
44483 * sysdeps/i386/elf/configure.in: Merge into...
44484 * sysdeps/i386/configure.in: ...here.
44485 * sysdeps/i386/elf/configure.in: Delete file.
44486 * sysdeps/i386/elf/configure: Delete file.
44487
44488 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44489 * debug/backtracesyms.c: ... here.
44490 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44491 * debug/backtracesymsfd.c: ... here.
44492 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44493 * sysdeps/generic/ifunc-sel.h: ... here.
44494
44495 * sysdeps/unix/i386/start.c: Delete file.
44496 * sysdeps/unix/sparc/start.c: Delete file.
44497 * sysdeps/unix/start.c: Delete file.
44498
44499 * sysdeps/sh/elf/configure.in: Moved to ...
44500 * sysdeps/sh/configure.in: ... here.
44501 * sysdeps/sh/elf/start.S: Moved to ...
44502 * sysdeps/sh/start.S: ... here.
44503 * sysdeps/sh/elf/configure: Delete file.
44504
44505 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44506 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44507 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44508 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44509 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44510 * sysdeps/powerpc/powerpc64/start.S: here.
44511 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44512 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44513 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44514 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44515 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44516
44517 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44518 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44519 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44520 * sysdeps/powerpc/powerpc32/start.S: ... here.
44521 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44522 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44523 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44524
44525 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44526 * sysdeps/powerpc/ifunc-sel.h: ... here.
44527 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44528 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44529
44530 * sysdeps/sparc/elf/configure.in: Moved to ...
44531 * sysdeps/sparc/configure.in: ... here.
44532 * sysdeps/sparc/elf/configure: Delete file.
44533 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44534 * sysdeps/sparc/sparc32/start.S: ... here.
44535 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44536 * sysdeps/sparc/sparc64/start.S: ... here.
44537 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44538 * sysdeps/sparc/sparc32/Makefile: ... this.
44539 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44540 * sysdeps/sparc/sparc64/Makefile: ... this.
44541
44542 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44543 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44544 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44545 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44546 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44547 * sysdeps/s390/s390-32/setjmp.S: ... here.
44548 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44549 * sysdeps/s390/s390-32/configure.in: ... here.
44550 * sysdeps/s390/s390-32/elf/configure: Delete file.
44551 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44552 * sysdeps/s390/s390-32/start.S: ... here.
44553
44554 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44555 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44556 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44557 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44558 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44559 * sysdeps/s390/s390-64/setjmp.S: ... here.
44560 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44561 * sysdeps/s390/s390-64/configure.in: ... here
44562 * sysdeps/s390/s390-64/elf/configure: Delete file.
44563 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44564 * sysdeps/s390/s390-64/start.S: ... here.
44565 * sysdeps/s390/s390-64/elf/configure: Delete.
44566
44567 * configure.in: Remove support for elf directories in sysdeps.
44568
44569 * configure: Regenerated.
44570 * sysdeps/i386/configure: Regenerated.
44571 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44572 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44573 * sysdeps/s390/s390-32/configure: Regenerated.
44574 * sysdeps/s390/s390-64/configure: Regenerated.
44575 * sysdeps/sh/configure: Regenerated.
44576 * sysdeps/sparc/configure: Regenerated.
44577 * sysdeps/x86_64/configure: Regenerated.
44578
a3f61311
AS
445792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44580
c876e002
AS
44581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44582
a3f61311
AS
44583 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44584 denormal result into account.
44585
ac4c54f0
RM
445862012-03-25 Roland McGrath <roland@hack.frob.com>
44587
44588 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44589 Reported by Allan McRae <allan@archlinux.org>.
44590
6a9b9c02
JL
445912012-03-23 Jeff Law <law@redhat.com>
44592
44593 * nss/getnssent.c (__nss_getent): Fix typo.
44594
4c42a0c1
DM
445952012-03-23 David S. Miller <davem@davemloft.net>
44596
44597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44598
1532c7ac
L
445992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44600
44601 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44602 to pad to uint64_t for each field.
44603 (dl_tls_index): Replace unsigned long with uint64_t.
44604
3ff42526
PP
446052012-03-23 Daniel Jacobowitz <dmj@google.com>
44606 Paul Pluzhnikov <ppluzhnikov@google.com>
44607
44608 [BZ #6528]
44609 * grp/Makefile (otherlibs): Don't set it.
44610 * inet/Makefile (otherlibs): Likewise.
44611 * login/Makefile (otherlibs): Likewise.
44612 * nscd/Makefile (otherlibs): Likewise.
44613 * posix/Makefile (otherlibs): Likewise.
44614 * pwd/Makefile (otherlibs): Likewise.
44615 * rt/Makefile (otherlibs): Likewise.
44616 * sunrpc/Makefile (otherlibs): Likewise.
44617 * nss/Makefile (otherlibs): Likewise.
44618 Add libnss_files to routines and static-only-routines.
44619 ($(objpfx)getent): Remove rule.
44620 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44621 static-only-routines.
44622
7c69cd14
JM
446232012-03-22 Joseph Myers <joseph@codesourcery.com>
44624
44625 [BZ #13892]
44626 * math/s_cexp.c: Include <float.h>.
44627 (__cexp): Handle exp result overflowing not necessarily
44628 overflowing both real and imaginary parts of result.
44629 * math/s_cexpf.c: Likewise.
44630 * math/s_cexpl.c: Likewise.
44631 * math/libm-test.inc (cexp_test): Add more tests.
44632 * sysdeps/i386/fpu/libm-test-ulps: Update.
44633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44634
81b035fe
L
446352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44636
44637 * include/link.h (ELFW): New macro.
44638 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44639 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44640
1da7940c
L
446412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44642
44643 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44644 with uint64_t.
44645
b749dbb9
L
446462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44647
44648 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44649 declaration.
44650 (struct La_x32_retval): Likewise.
44651
2ff87f3f
L
446522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44653
44654 * sysdeps/x86_64/preconfigure.in: New file.
44655 * sysdeps/x86_64/preconfigure: New generated file.
44656
c0df8e69
JM
446572012-03-22 Joseph Myers <joseph@codesourcery.com>
44658
48e44791
JM
44659 [BZ #13824]
44660 * math/e_exp2l.c: Include <float.h>.
44661 (__ieee754_exp2l): Handle overflow and underflow cases
44662 separately. Only pass fractional part of argument to
44663 __ieee754_expl.
44664 * math/libm-test.inc (exp2_test): Add more tests.
44665
c0df8e69
JM
44666 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44667 negating x to take absolute value.
44668 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44669 Likewise.
44670 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44671 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44672 Likewise.
44673 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44674 computing low part if x was negated.
44675 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44676
c8e43ba7
L
446772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44678
44679 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44680 la_x32_gnu_pltexit.
44681 (pltexit): Cast int_retval to ptrdiff_t.
44682 * elf/tst-auditmod3b.c: Likewise.
44683 * elf/tst-auditmod4b.c: Likewise.
44684 * elf/tst-auditmod5b.c: Likewise.
44685 * elf/tst-auditmod6b.c: Likewise.
44686 * elf/tst-auditmod6c.c: Likewise.
44687 * elf/tst-auditmod7b.c: Likewise.
44688
44689 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44690 and x32_gnu_pltexit.
44691
44692 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44693 __ELF_NATIVE_CLASS.
44694 (La_x32_regs): New macro.
44695 (La_x32_retval): Likewise.
44696 (la_x32_gnu_pltenter): New function prototype.
44697 (la_x32_gnu_pltexit): Likewise.
44698
7998fa78
AS
446992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44700
dcb33988
AS
44701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44702 exponent.
44703
233fc563
AS
44704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44705
7998fa78
AS
44706 * configure.in (libc_cv_cc_nofma): Check for option to disable
44707 generation of FMA instructions.
44708 * configure: Regenerate.
44709 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44710 * sysdeps/ieee754/dbl-64/Makefile: New file.
44711 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44712 Remove brandred-fma4.
44713 (CFLAGS-brandred-fma4.c): Remove.
44714 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44715 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44716 define.
44717 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44718 define.
44719
8e95c99a
L
447202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44721
44722 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44723 LLONG_MAX != LONG_MAX.
44724 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44725 (_fitoa_word): Likewise.
44726 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44727 LLONG_MAX != LONG_MAX.
44728 * stdio-common/_itowa.h: Include <_itoa.h>.
44729 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44730 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44731 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44732 only if not defined.
44733 (_ITOA_WORD_TYPE): Likewise.
44734 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44735 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44736
6f4db457
DM
447372012-03-21 David S. Miller <davem@davemloft.net>
44738
44739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44740
7785fe5a
L
447412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44742
44743 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44744 of x86_64 when setting libc_cv_slibdir, libdir and
44745 libc_cv_localedir.
44746 * sysdeps/unix/sysv/linux/configure: Regenerated.
44747
4535cd55
JM
447482012-03-21 Joseph Myers <joseph@codesourcery.com>
44749
44750 * manual/lang.texi (Old Varargs): Remove section.
44751 (How Variadic): Update menu.
44752 (va_start): Do not mention varargs.h.
44753
17228132
TS
447542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44755 Joseph Myers <joseph@codesourcery.com>
44756
44757 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44758 link test.
44759 * configure: Regenerated.
44760
8149f976
TS
447612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44762
05f3d1f6
UD
44763 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44764 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44765 conformtest.pl
8149f976 44766
1a4ac776
JM
447672012-03-21 Joseph Myers <joseph@codesourcery.com>
44768
be22ce65
JM
44769 * NOTES: Remove.
44770 * Makefile (files-for-dist): Remove NOTES.
44771 (NOTES): Remove rule.
44772 * README: Don't refer to NOTES.
44773 * manual/creature.texi: Don't include macros.texi.
44774 * manual/intro.texi (creature.texi): Remove comment referring to
44775 NOTES.
44776
40b601fb
JM
44777 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44778 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44779 * configure: Regenerated.
44780 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44781 LIBC_TRY_CC_OPTION.
44782 (libc_cv_as_i686): Likewise.
44783 (libc_cv_cc_avx): Likewise.
44784 (libc_cv_cc_sse2avx): Likewise.
44785 (libc_cv_cc_fma4): Likewise.
44786 (libc_cv_cc_novzeroupper): Likewise.
44787 * sysdeps/i386/configure: Regenerated.
44788
1a4ac776
JM
44789 [BZ #13883]
44790 * sysdeps/i386/fpu/s_cexp.S: Remove.
44791 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44792 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44793 * math/libm-test.inc (cexp_test): Add more tests.
44794 * sysdeps/i386/fpu/libm-test-ulps: Update.
44795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44796
a458e7fe
AM
447972012-03-21 Allan McRae <allan@archlinux.org>
44798
44799 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44800
0cb7efc5
JM
448012012-03-21 Joseph Myers <joseph@codesourcery.com>
44802
44803 [BZ #13871]
44804 * math/w_exp2.c: Do not include <float.h>.
44805 (o_threshold, u_threshold): Remove.
44806 (__exp2): Calculate result before checking finiteness and calling
44807 __kernel_standard.
44808 * math/w_exp2f.c: Likewise.
44809 * math/w_exp2l.c: Likewise.
44810 * math/libm-test.inc (exp2_test): Require overflow exception for
44811 1e6 input.
2460d3aa
JM
44812
44813 [BZ #3866]
44814 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44815 range of signed 64-bit integers before using fistpll. Remove
44816 checks for whether integers fit in mantissa bits.
44817 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44818 the range of signed 32-bit integers before using fistpl. Remove
44819 checks for whether integers fit in mantissa bits.
44820 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44821 (__ieee754_powl): Test for y outside the range of signed 64-bit
44822 integers before using fistpll. Reduce 64-bit values to 63-bit
44823 ones as needed.
44824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44825 divide-by-zero is raised for zero to large negative powers.
44826 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44827 (__ieee754_powl): Test for y outside the range of signed 64-bit
44828 integers before using fistpll. Reduce 64-bit values to 63-bit
44829 ones as needed.
44830 * math/libm-test.inc (pow_test): Add more tests.
44831
eb96ffb0
L
448322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44833
44834 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44835 <stdio-common/_itoa.h>.
44836 * debug/segfault.c: Likewise.
44837 * elf/dl-cache.c: Likewise.
44838 * elf/dl-minimal.c: Likewise.
44839 * elf/dl-misc.c: Likewise.
44840 * elf/dl-sysdep.c: Likewise.
44841 * elf/dl-version.c: Likewise.
44842 * elf/rtld.c: Likewise.
44843 * hurd/hurdsock.c: Likewise.
44844 * hurd/lookup-retry.c: Likewise.
44845 * malloc/malloc.c: Likewise.
44846 * malloc/mtrace.c: Likewise.
44847 * nscd/nscd_getgr_r.c: Likewise.
44848 * nscd/nscd_getpw_r.c: Likewise.
44849 * nscd/nscd_getserv_r.c: Likewise.
44850 * posix/getopt_init.c: Likewise.
44851 * posix/wordexp.c: Likewise.
44852 * stdio-common/_itoa.c: Likewise.
44853 * stdio-common/printf_fphex.c: Likewise.
44854 * stdio-common/vfprintf.c: Likewise.
44855 * string/_strerror.c: Likewise.
44856 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44857 * sysdeps/i386/i686/hp-timing.h: Likewise.
44858 * sysdeps/mach/_strerror.c: Likewise.
44859 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44860 * sysdeps/mach/hurd/sethostid.c: Likewise.
44861 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44862 * sysdeps/mach/xpg-strerror.c: Likewise.
44863 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44864 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44865 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44866 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44867 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44868 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44869 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44870 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44871 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44872 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44873 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44874 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44875 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44876 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44877 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44878 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44879 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44880 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44881 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44882 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44883 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44884
44885 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44886
44887 * stdio-common/_itoa.h: Moved to ...
44888 * sysdeps/generic/_itoa.h: Here.
44889
44890 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44891
44892 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44893 instead of "_itoa.h" and "_itowa.h".
44894 * stdio-common/vfprintf.: Likewise.
44895
d1af992d
L
448962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44897
44898 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44899 <bits/wordsize.h>.
44900 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44901 (__signbit): Likwise.
44902 (llrintf): Likwise.
44903 (llrint): Likwise.
44904
114883e0
L
449052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44906
44907 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44908 __WORDSIZE != 64.
44909
c135cc1b
JM
449102012-03-20 Joseph Myers <joseph@codesourcery.com>
44911
44912 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44913 OVERFLOW_EXCEPTION_OK.
44914 * math/libm-test.inc ("Philosophy"): Update comment about
44915 exception testing.
44916 (OVERFLOW_EXCEPTION): Define.
44917 (OVERFLOW_EXCEPTION_OK): Likewise.
44918 (INVALID_EXCEPTION_OK): Renumber.
44919 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44920 (IGNORE_ZERO_INF_SIGN): Likewise.
44921 (test_exceptions): Handle FE_OVERFLOW.
44922 (exp10_test): Expect overflow exceptions.
44923 (exp2_test): Likewise.
44924 (expm1_test): Likewise.
44925 (nextafter_test): Likewise.
44926 (pow_test): Likewise.
44927 (scalbn_test): Likewise.
44928 (scalbln_test): Likewise.
44929
95443d88
L
449302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44931
44932 * sysdeps/x86_64/bits/atomic.h
44933 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44934 64bit integer.
44935 (atomic_exchange_acq): Likewise.
44936 (__arch_exchange_and_add_body): Likewise.
44937 (__arch_add_body): Likewise.
44938 (atomic_add_negative): Likewise.
44939 (atomic_add_zero): Likewise.
44940
490df6c4
L
449412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44942
c2722551 44943 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
44944 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44945
5e52b189
L
449462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44947
44948 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44949 Check __x86_64__ instead of __WORDSIZE.
44950
a9879d4c
L
449512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44952
44953 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44954
5df98260
DM
449552012-03-19 David S. Miller <davem@davemloft.net>
44956
e1497744
DM
44957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44958
5df98260
DM
44959 * sysdeps/sparc/fpu/fenv_private.h: New file.
44960 * sysdeps/sparc/fpu/math_private.h: Use it.
44961 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44962 Remove.
57f41c40 44963 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
44964 (libc_feholdexcept_setroundl): Remove.
44965 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44966 Remove.
44967 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44968 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44969
b4c35121
L
449702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44971
44972 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44973 int64_t instead of long int.
44974 (INSERT_WORDS64): Likwise.
44975
56965fd7
L
449762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44977
44978 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44979 _Unwind_GetCFA return to _Unwind_Ptr first.
44980
83d1aec8
JM
449812012-03-19 Joseph Myers <joseph@codesourcery.com>
44982
1897ad44
JM
44983 [BZ #13629]
44984 * math/s_clog.c: Include <float.h>.
44985 (__clog): Scale large or subnormal inputs.
44986 * math/s_clogf.c: Likewise.
44987 * math/s_clogl.c: Likewise.
44988 * math/s_clog10.c: Include <float.h>.
44989 (M_LOG10_2): Define.
44990 (__clog10): Scale large or subnormal inputs.
44991 * math/s_clog10f.c: Likewise.
44992 * math/s_clog10l.c: Likewise.
44993 * math/libm-test.inc (clog_test): Add more tests.
44994 (clog10_test): Likewise.
44995 * sysdeps/i386/fpu/libm-test-ulps: Update.
44996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44997
7726d6a9
JM
44998 [BZ #11451]
44999 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45000 x and y.
45001 * math/libm-test.inc (atan2_test): Add another test.
45002
83d1aec8
JM
45003 * Makerules (common-objdir-compile): Remove.
45004 * sysdeps/unix/Makefile (config-generated): Do not add
45005 $(unix-generated) to variable.
45006 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45007 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45008 Remove rule.
45009 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45010 Likewise.
45011 [generic bits/local_lim.h] (before-compile): Do not append to
45012 variable.
45013 [generic bits/local_lim.h] (common-generated): Likewise.
45014 [generic sys/param.h] (before-compile): Do not append to variable.
45015 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45016 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45017 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45018 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45019 include.
45020 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45021 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45022 [generic sys/param.h] ($(addprefix
45023 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45024 [generic sys/param.h] (common-generated): Do not append to
45025 variable.
45026 [generic sys/param.h] (sysdep_headers): Likewise.
45027 [generic bits/errno.h] (before-compile): Do not append to
45028 variable.
45029 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45030 rule.
45031 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45032 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45033 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45034 [generic bits/errno.h] (common-generated): Do not append to
45035 variable.
45036 [generic bits/ioctls.h] (before-compile): Do not append to
45037 variable.
45038 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45039 rule.
45040 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45041 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45042 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45043 rule.
45044 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45045 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45046 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45047 [generic bits/ioctls.h] (common-generated): Do not append to
45048 variable.
45049 [generic sys/syscall.h] (syscall.h): Remove variable.
45050 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45051 rule.
45052 [generic sys/syscall.h] (before-compile): Do not append to
45053 variable.
45054 [generic sys/syscall.h] (common-generated): Likewise.
45055 * sysdeps/unix/errnos-tmpl.c: Remove file.
45056 * sysdeps/unix/errnos.awk: Likewise.
45057 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45058 * sysdeps/unix/ioctls.awk: Likewise.
45059 * sysdeps/unix/mk-local_lim.c: Likewise.
45060 * sysdeps/unix/snarf-ioctls: Likewise.
45061
4851a949
RH
450622012-03-19 Richard Henderson <rth@twiddle.net>
45063
bd37f2ee
RH
45064 * sysdeps/i386/fpu/fenv_private.h: New file.
45065 * sysdeps/i386/fpu/math_private.h: Use it.
45066 (math_opt_barrier, math_force_eval): Remove.
45067 (libc_feholdexcept_setround_53bit): Remove.
45068 (libc_feupdateenv_53bit): Remove.
45069 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45070 (math_opt_barrier, math_force_eval): Remove.
45071 (libc_feholdexcept): Remove.
45072 (libc_feholdexcept_setround): Remove.
45073 (libc_fetestexcept, libc_fesetenv): Remove.
45074 (libc_feupdateenv_test): Remove.
45075 (libc_feupdateenv, libc_feholdsetround): Remove.
45076 (libc_feresetround): Remove.
45077
d0adc922
RH
45078 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45079 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45080
0fe0f1f8
RH
45081 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45082 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45083 (libc_feupdateenv_testl): New.
45084 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45085 (libc_feupdateenv_testf): New.
45086 (libc_feupdateenv): Use libc_feupdateenv_test.
45087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45088 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45089
eb92c487
RH
45090 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45091 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45092 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45093 (libc_feresetround_noex): New.
45094 (libc_feresetround_noexf): New.
45095 (libc_feresetround_noexl): New.
45096 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45097 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45098 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45099 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45100 SET_RESTORE_ROUND.
45101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45103 (__cos): Likewise.
45104 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45105 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45106 SET_RESTORE_ROUND_NOEX.
45107 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45108 SET_RESTORE_ROUND_NOEXF.
45109 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45110 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45111 (libc_feholdsetroundf): New.
45112 (libc_feresetround, libc_feresetroundf): New.
45113
7d2e8012
RH
45114 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45115 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45116 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45117
b4dabbb4
RH
45118 * sysdeps/generic/math_private.h: Include <fenv.h>.
45119 (default_libc_feholdexcept): New.
45120 (default_libc_feholdexcept_setround): New.
45121 (default_libc_fesetenv, default_libc_feupdateenv): New.
45122 (libc_feholdexcept): Only define if undefined.
45123 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45124 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45125 (libc_feholdexcept_setroundl): Likewise.
45126 (libc_feholdexcept_setround_53bit): Likewise.
45127 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45128 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45129 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45130 (libc_feupdateenv_53bit): Likewise.
45131 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45132 (libc_feholdexcept): Convert from macro to inline function.
45133 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45134 (libc_fesetenv, libc_feupdateenv): Likewise.
45135
4851a949
RH
45136 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45137 not previously defined.
45138 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45139 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45140 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45141 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45142 * sysdeps/ieee754/flt-32/math_private.h: New file.
45143 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45144 math_private.h below SET_FLOAT_WORD.
45145 (__isnan, __isinf_ns, __finite): Remove.
45146 (__isnanf, __isinf_nsf, __finitef): Remove.
45147
e79d442e
AS
451482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45149
45150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45151
90b80344
DM
451522012-03-17 David S. Miller <davem@davemloft.net>
45153
45154 [BZ #6471]
45155 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45156 for 2.16.
45157
edc21804
DM
451582012-03-16 David S. Miller <davem@davemloft.net>
45159
77e927af
DM
45160 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45161 warnings.
45162
374976dd
DM
45163 [BZ #6471]
45164 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45165 properly.
45166 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45167 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45168 sysdep_routines when subdir is sysvipc.
45169 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45170 __getshmlba helper.
45171
edc21804
DM
45172 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45173
473c3ef3
L
451742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45175
45176 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45177 [__LP64__].
45178
eb0f39b6
L
451792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45180
45181 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45182 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45183 (__lround): Renamed to ...
45184 (__llround): This. Replace long int with long long int.
45185 Define lround functions as aliases of llround functions.
45186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45187
6b6cd74b
L
451882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45189
45190 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45191 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45192 adresses to uintptr_t. Replace "long int" and "unsigned long
45193 int" with "greg_t" on va_arg.
45194
f1a77b01
L
451952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45196
45197 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45198 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45199
45200 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45201 Move e_machine check before EI_CLASS check. Handle x32
45202 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45203 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45204 SKIP_EM_IA_64 and include
45205 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45206
45207 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45208 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45209 (add_system_dir): New macro.
45210
45211 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45212 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45213
11b90b9f
JM
452142012-03-16 Joseph Myers <joseph@codesourcery.com>
45215
c36e1d23
JM
45216 [BZ #2551]
45217 [BZ #2552]
45218 [BZ #2553]
45219 [BZ #2554]
45220 [BZ #2562]
45221 [BZ #2563]
45222 [BZ #2565]
45223 [BZ #2566]
45224 [BZ #2576]
45225 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45226 (y0): Likewise.
45227 * math/w_j0f.c (j0f): Likewise.
45228 (y0f): Likewise.
45229 * math/w_j0l.c (__j0l): Likewise.
45230 (__y0l): Likewise.
45231 * math/w_j1.c (j1): Likewise.
45232 (y1): Likewise.
45233 * math/w_j1f.c (j1f): Likewise.
45234 (y1f): Likewise.
45235 * math/w_j1l.c (__j1l): Likewise.
45236 (__y1l): Likewise.
45237 * math/w_jn.c (jn): Likewise.
45238 (yn): Likewise.
45239 * math/w_jnf.c (jnf): Likewise.
45240 (ynf): Likewise.
45241 * math/w_jnl.c (__jnl): Likewise.
45242 (__ynl): Likewise.
45243 * math/libm-test.inc (j0_test): Add more tests.
45244 (j1_test): Likewise.
45245 (jn_test): Likewise. Add trailing semicolon to existing test.
45246 (y0_test): Likewise.
45247 (y1_test): Likewise.
45248 * sysdeps/i386/fpu/libm-test-ulps: Update.
45249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45250
11b90b9f
JM
45251 [BZ #13851]
45252 [BZ #13854]
45253 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45254 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45255 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45256 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45257 (__tanl): Set errno for infinite argument.
45258 * sysdeps/i386/fpu/mptan.c: Remove.
45259 * sysdeps/i386/fpu/s_tan.S: Likewise.
45260 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45261 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45262 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45263 * math/libm-test.inc (tan_test): Add more tests and enable more
45264 tests for double and long double.
45265 * sysdeps/i386/fpu/libm-test-ulps: Update.
45266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45267
6a1bd2a1
JK
452682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45269
45270 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45271 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45272
10a803e0
RM
452732012-03-16 Roland McGrath <roland@hack.frob.com>
45274
45275 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45276 * configure.in: Use it for both main tree and add-ons.
45277 * configure: Regenerated.
45278
f196c7f7
L
452792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45280
45281 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45282
8848d99d
JM
452832012-03-16 Joseph Myers <joseph@codesourcery.com>
45284
96cbe7f4
JM
45285 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45286 in comment.
45287
8848d99d
JM
45288 [BZ #13851]
45289 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45290 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45291 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45292 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45293 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45294 infinite argument.
45295 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45296 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45297 != 0 for prec == 2.
45298 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45299 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45300 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45301 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45302 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45303 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45304 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45305 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45306 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45307 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45308 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45309 * math/libm-test.inc (cos_test): Add more tests and enable more
45310 tests for long double.
45311 (sin_test): Likewise.
45312 (sincos_test): Likewise.
45313 * sysdeps/i386/fpu/libm-test-ulps: Update.
45314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45315
dd7f4703
DM
453162012-03-16 David S. Miller <davem@davemloft.net>
45317
45318 * sysdeps/sparc/fpu/math_private.h: New file.
45319
006f1daa
DM
453202012-03-15 David S. Miller <davem@davemloft.net>
45321
c0c83bc8
DM
45322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45323 file.
e6a62e18 45324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45326 file.
e6a62e18
DM
45327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45333 sysdep routines.
45334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45335
88cb87d9
DM
45336 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45337 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45338
006f1daa 45339 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
45340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45341 sparc-ifunc.h
006f1daa 45342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
45343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45344 Likewise.
45345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45346 Likewise.
006f1daa
DM
45347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
45350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45351 Likewise.
006f1daa
DM
45352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
45356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45357 Likewise.
45358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45359 Likewise.
006f1daa
DM
45360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45384
11e0098e
AS
453852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45386
45387 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45388 scaling.
45389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45390
e85b09d0
AJ
453912012-03-15 Andreas Jaeger <aj@suse.de>
45392
45393 [BZ #13852]
45394 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45395 ieee754/flt-32 implementation for sin, cos and sincos.
45396 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45397 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45398 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45399 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45400 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45401 ieee754/flt-32 implementation for tan.
45402
45403 * math/libm-test.inc (cos_test): Enable some large input tests for
45404 float as well
45405 (sin_test): Likewise.
45406 (sincos_test): Likewise.
45407 (tan_test): Add tests for large input.
45408
45409 * sysdeps/i386/fpu/libm-test-ulps: Update.
45410
81c64153
AJ
454112012-03-15 Andreas Jaeger <aj@suse.de>
45412
45413 [BZ #13658]
45414 * math/libm-test.inc (cos_test): Add more test cases.
45415 (sin_test): Likewise.
45416 (sincos_test): Likewise.
45417
7bbfa5c6
AJ
454182012-03-15 Andreas Jaeger <aj@suse.de>
45419
45420 [BZ #13837]
45421 * math/libm-test.inc (cos_test): Add a test case for large input
45422 value.
45423 (sin_test): Likewise.
45424 (sincos_test): Likewise.
45425
57f41c40
AS
454262012-03-15 Andreas Jaeger <aj@suse.de>
45427 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
45428
45429 [BZ #13658]
0671f479 45430 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
45431 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45432 * sysdeps/i386/fpu/branred.c: Likewise.
45433 * sysdeps/i386/fpu/dosincos.c: Likewise.
45434 * sysdeps/i386/fpu/mpa.c: Likewise.
45435 * sysdeps/i386/fpu/s_cos.S: Likewise.
45436 * sysdeps/i386/fpu/s_sin.S: Likewise.
45437 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45438 * sysdeps/i386/fpu/sincos32.c: Likewise.
45439
45440 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45441 Define.
45442 (libc_feupdateenv_53bit): Define.
45443 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45444 Define.
45445 (libc_feupdateenv_53bit): Define.
45446
45447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45448 53 bit (without extend i386 double precision).
45449
45450 * math/libm-test.inc (sincos_test): Add tests for large input.
45451 (sin): Likewise.
45452 (cos): Likewise.
45453
45454 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45455
9cad04ea
AS
454562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45457
45458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45459
f7062b9a
DM
454602012-03-15 David S. Miller <davem@davemloft.net>
45461
45462 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45463 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45464 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45465 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
45477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45478 file.
f7062b9a 45479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
45480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45481 file.
f7062b9a 45482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
45483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45484 file.
f7062b9a 45485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
45486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45487 file.
f7062b9a
DM
45488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45489 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45490 fmin/fmax sysdep routines.
45491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45492
7bd951ff
DM
454932012-03-14 David S. Miller <davem@davemloft.net>
45494
559398ab
DM
45495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45516 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45524 routines.
45525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45526 file.
559398ab 45527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
45528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45529 file.
559398ab 45530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
45531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45532 file.
559398ab 45533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
45534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45535 file.
559398ab 45536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
45537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45538 file.
559398ab 45539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
45540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45541 file.
45542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45543 file.
45544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45545 file.
45546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45547 file.
45548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45549 New file.
45550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45551 file.
45552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45553 file.
559398ab 45554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
45555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45556 file.
559398ab 45557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45559 file.
559398ab 45560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
45561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45562 file.
559398ab 45563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
45564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45565 VIS3 routines.
559398ab
DM
45566
45567 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45568 New file.
45569
5a1c1e32
DM
45570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45571
eae47a36
DM
45572 * sysdeps/sparc/configure.in: New file.
45573 * sysdeps/sparc/configure: Generate.
45574 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45575 * configure: Regenerate.
45576 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45577 * config.make.in (have-as-vis3): New.
45578 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45579 available use -Av9d instead of -Av9a.
45580 * sysdeps/sparc/sparc64/Makefile: Likewise.
45581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
45582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45583 New file.
45584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45585 file.
45586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45587 New file.
45588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45589 file.
eae47a36
DM
45590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45595
c0c83bc8
DM
45596 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45597 fzeros/fnegs to load 0x80000000 into a float register instead of
45598 using the stack.
7bd951ff
DM
45599 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45600
bd951ccb
JM
456012012-03-14 Joseph Myers <joseph@codesourcery.com>
45602
45603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45604 bits/syscall.h.
45605 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45606 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45607 ($(inst_includedir)/bits/syscall.h): Remove rule.
45608 ($(objpfx)bits/syscall.d): Include instead of
45609 $(objpfx)syscall-list.d.
45610 (generated): Change syscall-list.h and syscall-list.d to
45611 bits/syscall.h and bits/syscall.d.
45612
bb4e6db2
RM
456132012-03-14 Roland McGrath <roland@hack.frob.com>
45614
45615 [BZ #13846]
45616 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45617
aa4a2ae1
JM
456182012-03-14 Joseph Myers <joseph@codesourcery.com>
45619
e456826d
JM
45620 [BZ #13841]
45621 * math/s_csqrt.c: Include <float.h>.
45622 (__csqrt): Scale large or subnormal inputs.
45623 * math/s_csqrtf.c: Likewise.
45624 * math/s_csqrtl.c: Likewise.
45625 * math/libm-test.inc (csqrt_test): Add more tests.
45626 * sysdeps/i386/fpu/libm-test-ulps: Update.
45627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45628
aa4a2ae1
JM
45629 [BZ #13840]
45630 * math/libm-test.inc (hypot_test): Add more tests.
45631
7c10fd35
DM
456322012-03-13 David S. Miller <davem@davemloft.net>
45633
45634 [BZ #13840]
45635 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45636 double-precision for the calculation instead of scaling.
45637
f453b98b
JM
456382012-03-13 Joseph Myers <joseph@codesourcery.com>
45639
45640 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45641 manipulate bits before adding and subtracting TWO52[sx].
45642 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45644 Likewise.
45645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45646
09a3453f
DM
456472012-03-13 David S. Miller <davem@davemloft.net>
45648
8e59da90
DM
45649 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45650 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45652 rtld-global-offsets.h
45653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45654
2a8ab7f2
DM
45655 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45656 large parameters.
45657
10f62770
DM
45658 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45659
5f0bdb18
DM
45660 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45661 'err' in the ifdef scope in which it is actually used.
45662
09a3453f
DM
45663 * nss/nss_db/db-init.c: Include string.h
45664
b4b2eb5e
DM
456652012-03-12 David S. Miller <davem@davemloft.net>
45666
98bb2f1c
DM
45667 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45668 masking out of the most significant byte of random value used.
45669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45670 Fix coding style in previous change.
45671
b4b2eb5e
DM
45672 * sysdeps/unix/sysv/linux/kernel-features.h
45673 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45674 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45675 expression.
45676 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45677 later.
45678
6e226b09
DM
456792012-03-11 David S. Miller <davem@davemloft.net>
45680
a1bcbd40
DM
45681 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45682 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45684 for 'resultvar' otherwise things get truncated on 64-bit.
45685
cb9d6174
DM
45686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45687 Fix masking out of the most significant byte of random value used.
45688
6e226b09
DM
45689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45690
058c132d
AS
456912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45692
45693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45694
2d2cd515
DM
456952012-03-09 David S. Miller <davem@davemloft.net>
45696
45697 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45698 variables with appropriate CPP guards.
57f41c40
AS
45699 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45700 from the frame pointer, not the stack pointer. Correct layout
45701 comments. Fix test on resulting framesize and the management of
45702 the outregs buffer for pltexit. Preserve floating point return
45703 values across _dl_call_pltexit call.
2d2cd515
DM
45704 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45705 framesize and the management of the outregs buffer for pltexit.
45706 Preserve floating point return values across _dl_call_pltexit
45707 call.
57f41c40
AS
45708 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45709 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45710 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
45711 (print_exit): Fix format string for return register value.
45712
9a07f9d0
JM
457132012-03-10 Joseph Myers <joseph@codesourcery.com>
45714
45715 * sunrpc/Makefile (others): Add rpcgen.
45716 ($(objpfx)rpcgen): Remove special build rule and dependency on
45717 libc.
45718 * sunrpc/rpcgen.c: New file.
45719
547b5e30
PE
457202012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45721
c524201a
PE
45722 [BZ #13673]
45723 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45724 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45725 * sysdeps/i386/crti.S: Likewise.
45726 * sysdeps/i386/crtn.S: Likewise.
45727 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45728 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45729 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45730 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45731 * sysdeps/sh/crti.S: Likewise.
45732 * sysdeps/sh/crtn.S: Likewise.
45733 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45734
7b6235f2
PE
45735 [BZ #13673]
45736 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45737 with URL.
45738 * locale/programs/locfile-kw.gperf: Likewise.
45739 * locale/programs/charmap-kw.h: Regenerated.
45740 * locale/programs/locfile-kw.h: Likewise.
45741
547b5e30
PE
45742 [BZ #13673]
45743 * intl/plural.y: Replace FSF snail mail address with URL.
45744 * intl/plural.c: Regenerated.
45745
5f0a5dae
RH
457462012-03-09 Richard Henderson <rth@twiddle.net>
45747
45748 * include/math_private.h: Remove file.
45749 * math/math_private.h: Move file ...
45750 * sysdeps/generic/math_private.h: ... here.
45751
b8c03620
RH
45752 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45753 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45754 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45755
4e234f5d 45756 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
45757 and <math_private.h>.
45758 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45759 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45760 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45761 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45762 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45763 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45764 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45766 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45767 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45769 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45770 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45772 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45775 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45776 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45777 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45778 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45779 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45780 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45782 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45783 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45784 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45788 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45789 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45790 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45791 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45792 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45793 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45794 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45795 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45796 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45797 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45798 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45799 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45800 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45801 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45802 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45803 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45804 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45805 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45806 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45807 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45808 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45809 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45810 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45811 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45812 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45813 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45814 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45815 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45816 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45817 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45819 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45820 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45821 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45822 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45823 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45824 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45825 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45826 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45827 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45828 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45829 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45830 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45832 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45833 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45837 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45838 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45841 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45842 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45843 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45845 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45846 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45847 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45848 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45849 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45850 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45851 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45852 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45853 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45854 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45855 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45857 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45858 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45859 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45860 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45861 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45862 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45863 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45864 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45865 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45866 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45867 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45868 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45869 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45870 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45871 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45872 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45873 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45874 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45875 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45876 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45877 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45878 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45879 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45880 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45881 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45882 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45883 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45884 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45885 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45886 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45887 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45888 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45889 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45890 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45891 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45892 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45893 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45894 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45895 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45896 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45897 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45898 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45899 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45900 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45901 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45902 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45903 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45904 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45905 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45906 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45907 * sysdeps/ieee754/k_standard.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45912 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45913 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45914 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45915 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45918 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45921 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45922 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45923 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45924 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45925 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45926 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45927 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45928 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45929 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45930 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45931 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45936 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45937 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45938 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45941 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45943 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45944 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45945 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45958 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45959 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45961 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45964 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45966 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45967 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45968 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45969 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45970 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45972 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45973 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45974 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45975 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45976 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45977 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45978 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45981 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45984 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45985 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45986 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45987 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45992 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45994 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45995 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45996 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45997 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45998 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45999 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46001 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46002 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46004 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46005 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46012 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46013 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46014 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46019 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46020 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46022 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46023 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46024 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46025 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46027 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46028 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46030 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46032 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46034 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46035 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46037 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46039 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46040 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46044 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46047 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46048 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46049 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46050 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46051 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46052 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46053 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46054 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46055 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46056 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46057 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46058 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46059 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46060 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46061 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46062 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46063 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46065 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46066 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46068 * sysdeps/ieee754/s_lib_version.c: Likewise.
46069 * sysdeps/ieee754/s_matherr.c: Likewise.
46070 * sysdeps/ieee754/s_signgam.c: Likewise.
46071 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46072 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46073 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46074 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46075 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46076 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46077 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46078 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46079 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46080 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46081 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46082 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46083 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46084 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46085 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46086 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46087 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46088 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46089 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46091 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46092
1991fa03
JM
460932012-03-09 Joseph Myers <joseph@codesourcery.com>
46094
46095 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46096 * sunrpc/rpc_main.c: Likewise.
46097 * sunrpc/rpc_svcout.c: Likewise.
46098
60d6f5a6
DM
460992012-03-09 David S. Miller <davem@davemloft.net>
46100
46101 * include/math_private.h: New file.
46102
4962050e
JM
461032012-03-09 Joseph Myers <joseph@codesourcery.com>
46104
02a6f887
JM
46105 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46106 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46107 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46108 from <bits/socket_type.h>.
46109 (enum __socket_type): Don't define here.
46110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46112 bits/socket_type.h.
46113
c6e013c1
JM
46114 [BZ #13566]
46115 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46116 checking __USE_GNU.
46117
4962050e
JM
46118 * Makerules ($(inst_includedir)/%.h): New rule.
46119 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46120 (install-others): Remove variable setting.
46121 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46122
38842f45
RH
461232012-03-08 Richard Henderson <rth@twiddle.net>
46124
67bb6da6
RH
46125 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46126 from macro to inline function; merge with the
46127 !__LIBC_INTERNAL_MATH_INLINES version.
46128 (__ieee754_sqrtf): Likewise.
46129
15194b4b
RH
46130 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46131 to inline function.
46132 (__rintf, __floor, __floorf): Likewise.
46133
64e21ede
RH
46134 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46135 macro to inline function.
46136 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46137
38842f45
RH
46138 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46139 not <math/math_private.h>.
46140
c64bf5fe
DM
461412012-03-08 David S. Miller <davem@davemloft.net>
46142
46143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46144 copyright year.
46145 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46146
82d86f28
TS
461472012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46148
46149 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46150 normalization.
46151 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46152 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46153
aea5d727
UD
461542012-03-08 Ulrich Drepper <drepper@gmail.com>
46155
46156 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46157 be defined individually, they must be defined as a block. Define
46158 S for printing a string instead of hidint the different by using a
46159 macro for adding the 'l'.
46160 * stdio-common/tst-fphex-wide.c: Adjust.
46161
70bca0a3
MP
461622012-03-07 Marek Polacek <polacek@redhat.com>
46163
46164 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46165
65b81130
MP
461662012-03-08 Marek Polacek <polacek@redhat.com>
46167
46168 [BZ #13806]
46169 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46170 * stdio-common/tst-fphex.c: Define a few macros to make the
46171 test reusable. Use them.
46172 * stdio-common/tst-fphex-wide.c: New file.
46173
07037eeb
JM
461742012-03-08 Joseph Myers <joseph@codesourcery.com>
46175
a7a93d50
JM
46176 [BZ #6911]
46177 * manual/macros.texi (gnusystems): New macro.
46178 (nongnusystems): Likewise.
46179 (gnulinuxhurdsystems): Likewise.
46180 (gnuhurdsystems): Likewise..
46181 (gnulinuxsystems): Likewise.
46182 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46183 variants of the GNU system, not "GNU system".
46184 * manual/conf.texi: Likewise.
46185 * manual/errno.texi: Likewise. Update example of errno macro
46186 expansion.
46187 * manual/filesys.texi: Likewise.
46188 (getumask): Document as specific to GNU/Hurd.
46189 * manual/install.texi: Likewise. Reword some references to
46190 GNU/Linux.
46191 * manual/intro.texi: Likewise.
46192 * manual/io.texi: Likewise.
46193 (File Name Portability): Detail which constraints are inapplicable
46194 to all GNU systems and which are only inapplicable to GNU/Hurd.
46195 * manual/job.texi: Likewise.
46196 * manual/llio.texi: Likewise.
46197 (O_NOCTTY): Document as present on GNU/Linux.
46198 * manual/maint.texi: Likewise.
46199 * manual/memory.texi: Likewise.
46200 * manual/pattern.texi: Likewise.
46201 * manual/pipe.texi: Likewise.
46202 * manual/process.texi: Likewise.
46203 * manual/resource.texi: Likewise.
46204 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46205 child on GNU/Hurd.
46206 * manual/setjmp.texi: Likewise.
46207 * manual/signal.texi: Likewise.
46208 * manual/startup.texi: Likewise.
46209 * manual/stdio.texi: Likewise.
46210 * manual/terminal.texi: Likewise.
46211 (ONLCR): Document as POSIX.
46212 (OXTABS): Document availability on GNU/Linux as XTABS.
46213 (ONOEOT): Document availability separately from other bits.
46214 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46215 * manual/time.texi: Likewise.
46216 * manual/users.texi: Likewise.
46217 * INSTALL: Regenerated.
46218 * sysdeps/gnu/errlist.c: Regenerated.
46219
07037eeb
JM
46220 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46221 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46222 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46223 puts.
46224 * configure: Regenerated.
46225
d1d3431a
JM
462262012-03-07 Joseph Myers <joseph@codesourcery.com>
46227
af6a1e37
JM
46228 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46229 default includes instead of AC_HEADER_CHECK.
46230 * sysdeps/i386/configure: Regenerated.
46231
d1d3431a
JM
46232 [BZ #10716]
46233 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46234 * math/s_cacoshf.c (__cacoshf): Likewise.
46235 * math/s_cacoshl.c (__cacoshl): Likewise.
46236 * math/s_casinh.c (__casinh): Set signs of result from argument.
46237 * math/s_casinhf.c (__casinhf): Likewise.
46238 * math/s_casinhl.c (__casinhl): Likewise.
46239 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46240 (casinh_test): Add more tests.
46241 * sysdeps/i386/fpu/libm-test-ulps: Update.
46242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46243
482ff4da
UD
462442012-03-07 Ulrich Drepper <drepper@gmail.com>
46245
872fda05
UD
46246 * po/zh_TW.po: Update from translation team.
46247
a4300c7a
UD
46248 * login/Makefile (distribute): Remove variable.
46249 * catgets/Makefile: Likewise.
46250 * mach/Makefile: Likewise.
46251 * malloc/Makefile: Likewise.
46252 * misc/Makefile: Likewise.
46253 * iconv/Makefile: Likewise.
46254 * nscd/Makefile: Likewise.
46255 * hurd/Makefile: Likewise.
46256 * manual/Makefile: Likewise.
46257 * locale/Makefile: Likewise.
46258 * intl/Makefile: Likewise.
46259 * conform/Makefile: Likewise.
46260 * nss/Makefile: Likewise.
46261 * time/Makefile: Likewise.
46262 * soft-fp/Makefile: Likewise.
46263 * dirent/Makefile: Likewise.
46264 * gmon/Makefile: Likewise.
46265 * po/Makefile: Likewise.
46266 * rt/Makefile: Likewise.
46267 * socket/Makefile: Likewise.
46268 * math/Makefile: Likewise.
46269 * signal/Makefile: Likewise.
46270 * debug/Makefile: Likewise.
46271 * elf/Makefile: Likewise.
46272 * timezone/Makefile: Likewise.
46273 * stdlib/Makefile: Likewise.
46274 * iconvdata/Makefile: Likewise.
46275 * sunrpc/Makefile: Likewise.
46276 * io/Makefile: Likewise.
46277 * argp/Makefile: Likewise.
46278 * inet/Makefile: Likewise.
46279 * hesiod/Makefile: Likewise.
46280 * grp/Makefile: Likewise.
46281 * csu/Makefile: Likewise.
46282 * wctype/Makefile: Likewise.
46283 * crypt/Makefile: Likewise.
46284 * libio/Makefile: Likewise.
46285 * string/Makefile: Likewise.
46286 * nis/Makefile: Likewise.
46287 * resolv/Makefile: Likewise.
46288 * stdio-common/Makefile: Likewise.
46289 * wcsmbs/Makefile: Likewise.
46290 * dlfcn/Makefile: Likewise.
46291 * posix/Makefile: Likewise.
46292
3b7c4e74 46293 [BZ #6959]
482ff4da
UD
46294 * timezone/Makefile: Don't install timezone files, just the programs
46295 and scripts.
46296
f72ed77d
UD
462972012-03-06 Ulrich Drepper <drepper@gmail.com>
46298
a000466f
UD
46299 * nss/databases.def: Add missing gshadow entry.
46300
f72ed77d
UD
46301 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46302
a53b7a4e
MP
463032012-03-06 Marek Polacek <polacek@redhat.com>
46304
46305 [BZ #13726]
46306 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46307 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46308 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46309 * stdio-common/tst-long-dbl-fphex.c: New file.
46310
e9258400
DM
463112012-03-06 David S. Miller <davem@davemloft.net>
46312
46313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46314 (set_obp_int): New function.
46315 (get_obp_int): New function.
46316 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46317 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46318 Avoid unused variable warnings on 'val' and use builtin_expect.
46319 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46320 __builtin_expect.
e9258400
DM
46321 (INLINE_CLONE_SYSCALL): Likewise.
46322
3bd2c723
DM
463232012-03-05 David S. Miller <davem@davemloft.net>
46324
46325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46326
bbb78d03
AS
463272012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46328
884c5db4
AS
46329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46330
bbb78d03
AS
46331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46332 only for |x| >= 40.
46333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46334
1c9f702a 463352012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46336
46337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46338 Replace gettimeofday with __vdso_gettimeofday.
46339
7be16f82
RM
46340 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46341 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46342 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
46343
46344 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46345 time with __vdso_time.
46346
ed58a00f
JM
463472012-03-05 Joseph Myers <joseph@codesourcery.com>
46348
46349 * manual/lang.texi (size_t): Note types to which size_t may be
46350 equivalent with the GNU C Library, but do not describe when
46351 differences between them are significant.
46352
30ee4ced
AJ
463532012-03-05 Andreas Jaeger <aj@suse.de>
46354
46355 * sysdeps/i386/fpu/libm-test-ulps: Update.
46356
b7cd39e8
JM
463572012-03-05 Joseph Myers <joseph@codesourcery.com>
46358
46359 [BZ #3976]
46360 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46361 (__ieee754_pow): Save and restore rounding mode and use
46362 round-to-nearest for main computations.
46363 * math/libm-test.inc (pow_test_tonearest): New function.
46364 (pow_test_towardzero): Likewise.
46365 (pow_test_downward): Likewise.
46366 (pow_test_upward): Likewise.
46367 (main): Call the new functions.
46368 * sysdeps/i386/fpu/libm-test-ulps: Update.
46369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
46370
46371 [BZ #3976]
46372 * math/libm-test.inc (cosh_test_tonearest): New function.
46373 (cosh_test_towardzero): Likewise.
46374 (cosh_test_downward): Likewise.
46375 (cosh_test_upward): Likewise.
46376 (sinh_test_tonearest): Likewise.
46377 (sinh_test_towardzero): Likewise.
46378 (sinh_test_downward): Likewise.
46379 (sinh_test_upward): Likewise.
46380 (main): Call the new functions.
46381 * sysdeps/i386/fpu/libm-test-ulps: Update.
46382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46383
6c6a98c9
TV
463842012-03-05 Tom de Vries <tom@codesourcery.com>
46385
46386 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46387 default stack guard is set in last bytes.
46388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46389
21bb2d2e 463902012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 46391
21bb2d2e 46392 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 46393
21bb2d2e
AJ
46394 [BZ #13656]
46395 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46396 possibly allocate from heap instead of stack.
46397 * stdio-common/bug-vfprintf-nargs.c: New file.
46398 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 46399
c6922934
AS
464002012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46401
46402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46403
bc957d53
MP
464042012-03-03 Marek Polacek <polacek@redhat.com>
46405
46406 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46407 * math/math_private.h: Likewise.
46408 * stdlib/tst-strtod.c: Likewise.
46409 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46410 * sysdeps/x86_64/bits/atomic.h: Likewise.
46411
6358490d
DM
464122012-03-02 David S. Miller <davem@davemloft.net>
46413
46414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46418 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46419 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46420 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46421 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46422
01ae168d
RM
464232012-03-02 Roland McGrath <roland@hack.frob.com>
46424
d9a17c07
RM
46425 [BZ #13792]
46426 * manual/examples/README: New file, says the example source files
46427 can be used under GPL>=2.
46428 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46429 line containing just "*/".
46430 * manual/examples/add.c: Add copyright header (GPL>=2).
46431 * manual/examples/argp-ex1.c: Likewise.
46432 * manual/examples/argp-ex2.c: Likewise.
46433 * manual/examples/argp-ex3.c: Likewise.
46434 * manual/examples/argp-ex4.c: Likewise.
46435 * manual/examples/atexit.c: Likewise.
46436 * manual/examples/db.c: Likewise.
46437 * manual/examples/dir.c: Likewise.
46438 * manual/examples/dir2.c: Likewise.
46439 * manual/examples/execinfo.c: Likewise.
46440 * manual/examples/filecli.c: Likewise.
46441 * manual/examples/filesrv.c: Likewise.
46442 * manual/examples/fmtmsgexpl.c: Likewise.
46443 * manual/examples/genpass.c: Likewise.
46444 * manual/examples/inetcli.c: Likewise.
46445 * manual/examples/inetsrv.c: Likewise.
46446 * manual/examples/isockad.c: Likewise.
46447 * manual/examples/longopt.c: Likewise.
46448 * manual/examples/memopen.c: Likewise.
46449 * manual/examples/memstrm.c: Likewise.
46450 * manual/examples/mkfsock.c: Likewise.
46451 * manual/examples/mkisock.c: Likewise.
46452 * manual/examples/mygetpass.c: Likewise.
46453 * manual/examples/pipe.c: Likewise.
46454 * manual/examples/popen.c: Likewise.
46455 * manual/examples/rprintf.c: Likewise.
46456 * manual/examples/search.c: Likewise.
46457 * manual/examples/select.c: Likewise.
46458 * manual/examples/setjmp.c: Likewise.
46459 * manual/examples/sigh1.c: Likewise.
46460 * manual/examples/sigusr.c: Likewise.
46461 * manual/examples/stpcpy.c: Likewise.
46462 * manual/examples/strdupa.c: Likewise.
46463 * manual/examples/strftim.c: Likewise.
46464 * manual/examples/strncat.c: Likewise.
46465 * manual/examples/subopt.c: Likewise.
46466 * manual/examples/swapcontext.c: Likewise.
46467 * manual/examples/termios.c: Likewise.
46468 * manual/examples/testopt.c: Likewise.
46469 * manual/examples/testpass.c: Likewise.
46470 * manual/examples/timeval_subtract.c: Likewise.
46471
01ae168d
RM
46472 [BZ #13792]
46473 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46474 function to ...
46475 * manual/timeval_subtract.c.texi: ... here, new file.
46476
49efa33d
DM
464772012-03-02 David S. Miller <davem@davemloft.net>
46478
46479 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46480
28afd92d
JM
464812012-03-02 Joseph Myers <joseph@codesourcery.com>
46482
804360ed
JM
46483 [BZ #3976]
46484 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46485 (__sin): Save and restore rounding mode and use round-to-nearest
46486 for all computations.
46487 (__cos): Save and restore rounding mode and use round-to-nearest
46488 for all computations.
46489 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46490 <fenv.h>.
46491 (tan): Save and restore rounding mode and use round-to-nearest for
46492 all computations.
46493 * math/libm-test.inc (cos_test_tonearest): New function.
46494 (cos_test_towardzero): Likewise.
46495 (cos_test_downward): Likewise.
46496 (cos_test_upward): Likewise.
46497 (sin_test_tonearest): Likewise.
46498 (sin_test_towardzero): Likewise.
46499 (sin_test_downward): Likewise.
46500 (sin_test_upward): Likewise.
46501 (tan_test_tonearest): Likewise.
46502 (tan_test_towardzero): Likewise.
46503 (tan_test_downward): Likewise.
46504 (tan_test_upward): Likewise.
46505 (main): Call the new functions.
46506 * sysdeps/i386/fpu/libm-test-ulps: Update.
46507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46508
a6d06d7b
JM
46509 [BZ #10135]
46510 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46511 small n, then large n, before computing and testing k+n.
46512 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46514 Likewise.
46515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46516 Likewise.
46517 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46518 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46521 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46522 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46523 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46525 * math/libm-test.inc (scalbn_test): Add more tests.
46526 (scalbln_test): Likewise.
46527
07e12bb3
JM
46528 * manual/filesys.texi (mode_t): Describe constraints on size and
46529 signedness, not exact equivalence to a particular type.
46530 (ino_t): Likewise.
46531 (ino64_t): Likewise.
46532 (dev_t): Likewise.
46533 (nlink_t): Likewise.
46534 (blkcnt_t): Likewise.
46535 (blkcnt64_t): Likewise.
46536 * manual/llio.texi (off_t): Likewise.
46537
28afd92d
JM
46538 [BZ #3976]
46539 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46540 (__ieee754_exp): Save and restore rounding mode and use
46541 round-to-nearest for all computations.
46542 * math/libm-test.inc (exp_test_tonearest): New function.
46543 (exp_test_towardzero): Likewise.
46544 (exp_test_downward): Likewise.
46545 (exp_test_upward): Likewise.
46546 (main): Call the new functions.
46547 * sysdeps/i386/fpu/libm-test-ulps: Update.
46548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46549
b1eeb65d
CD
465502012-03-01 Chris Demetriou <cgd@google.com>
46551
46552 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46553 have predictable order.
46554
53362a4b
DM
465552012-03-01 David S. Miller <davem@davemloft.net>
46556
3c969083
DM
46557 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46558
759707de
DM
46559 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46560 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46561 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46562 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46563
dfdb8ff2
DM
46564 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46565 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46566 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46568 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46569 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46570 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46571 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46572 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46573
ead89f96
DM
46574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46575
7f66bd07
DM
46576 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46577 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46578 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46579
53362a4b
DM
46580 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46581 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46582 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46583 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46584 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46586 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46587 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46588 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46589 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46590 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46591 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46593 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46594 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46596 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46597 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46598 * sysdeps/sparc/elf/configure: Regenerated.
46599
7b1902cb
JM
466002012-03-01 Joseph Myers <joseph@codesourcery.com>
46601
bec039bc
JM
46602 * configure.in (AS, LD): Require binutils 2.20 or later.
46603 * configure: Regenerated.
46604 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46605 as required minimum version.
46606 * INSTALL: Regenerated.
46607
7b1902cb
JM
46608 [BZ #2541]
46609 [BZ #4108]
46610 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46611 before squaring exponent.
46612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46613 bottom long double and 27 bits of top long double before squaring
46614 exponent.
46615 * math/libm-test.inc (erfc_test): Add more tests.
46616 * sysdeps/i386/fpu/libm-test-ulps: Update.
46617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46619
f775c276
KT
466202012-03-01 Kai Tietz <ktietz@redhat.com>
46621
46622 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46623 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46624 containing bit-fields.
46625 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46626 * soft-fp/single.h (_FP_UNION_S): Likewise.
46627 * soft-fp/double.h (_FP_UNION_D): Likewise.
46628
5b8a4d4a
JM
466292012-02-29 Joseph Myers <joseph@codesourcery.com>
46630
0bab47b6
JM
46631 [BZ #13786]
46632 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46633 not include ../strcmp.S.
46634 [USE_AS_STRNCASECMP_L]: Likewise.
46635 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46636 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46637 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46638 (__strncasecmp_l_ia32): Define as alias to
46639 __strncasecmp_l_nonascii.
46640
0fcad3e2
JM
46641 [BZ #5794]
46642 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46643 * sysdeps/i386/fpu/libm-test-ulps: Update.
46644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46645
5b8a4d4a
JM
46646 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46648
8fdceb2e
JL
466492012-02-29 Jeff Law <law@redhat.com>
46650
46651 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46652 out of bounds read.
46653
1f393a11
MP
466542012-02-29 Marek Polacek <polacek@redhat.com>
46655
46656 [BZ #13706]
46657 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46658 * elf/Makefile: Add rules to run tst-unused-dep.out.
46659
8847f037
DM
466602012-02-28 David S. Miller <davem@davemloft.net>
46661
46662 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46663 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46664 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46665 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46666 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46667 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46668
169d7f11
JM
466692012-02-29 Joseph Myers <joseph@codesourcery.com>
46670
46671 * math/libm-test.inc (llround_test): Move one test from
46672 lround_test. Use TEST_f_L in moved test.
46673 (lround_test): Move misplaced test to llround_test. Add testcase
46674 from bug 2561.
46675
39adf059
UD
466762012-02-28 Ulrich Drepper <drepper@gmail.com>
46677
46678 * sysdeps/x86_64/fpu/e_expf.S: New file.
46679 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46680
71b5d1c5
SB
466812012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46682
46683 [BZ #13637]
46684 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46685 of remain_len that may cause incomplete multi-byte character and
46686 false match.
46687 * posix/bug-regex33.c: New file.
46688 * posix/Makefile (tests): Add bug-regex33.
46689
1f77f049
JM
466902012-02-28 Joseph Myers <joseph@codesourcery.com>
46691
46692 * manual/macros.texi: New file.
46693 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46694 * manual/libc.texinfo: Include macros.texi.
46695 * manual/creatute.texi: Likewise.
46696 * manual/install.texi: Likewise.
46697 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46698 @glibcadj{} in references to the GNU C Library.
46699 * manual/charset.texi: Likewise.
46700 * manual/conf.texi: Likewise.
46701 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46702 when not using those macros.
46703 * manual/creature.texi: Likewise.
46704 * manual/crypt.texi: Likewise.
46705 * manual/errno.texi: Likewise.
46706 * manual/filesys.texi: Likewise.
46707 * manual/header.texi: Likewise.
46708 * manual/install.texi: Likewise.
46709 * manual/intro.texi: Likewise.
46710 * manual/io.texi: Likewise.
46711 * manual/job.texi: Likewise.
46712 * manual/lang.texi: Likewise.
46713 * manual/libc.texiinfo: Likewise.
46714 * manual/llio.texi: Likewise.
46715 * manual/locale.texi: Likewise.
46716 * manual/maint.texi: Likewise.
46717 * manual/math.texi: Likewise.
46718 * manual/memory.texi: Likewise.
46719 * manual/message.texi: Likewise.
46720 * manual/nss.texi: Likewise.
46721 * manual/pattern.texi: Likewise.
46722 * manual/process.texi: Likewise.
46723 * manual/resource.texi: Likewise.
46724 * manual/search.texi: Likewise.
46725 * manual/setjmp.texi: Likewise.
46726 * manual/signal.texi: Likewise.
46727 * manual/socket.texi: Likewise.
46728 * manual/startup.texi: Likewise.
46729 * manual/stdio.texi: Likewise.
46730 * manual/string.texi: Likewise.
46731 * manual/sysinfo.texi: Likewise.
46732 * manual/syslog.texi: Likewise.
46733 * manual/terminal.texi: Likewise.
46734 * manual/time.texi: Likewise.
46735 * manual/users.texi: Likewise.
46736 * INSTALL: Regenerated.
46737 * NOTES: Regenerated.
d40c5d54 46738 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 46739
450bf206
AS
467402012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46741
46742 * include/dirent.h: Include <dirstream.h> before
46743 <dirent/dirent.h>.
46744
741a235b
DM
467452012-02-28 David S. Miller <davem@davemloft.net>
46746
46747 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46748 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46749 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46750 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46751
d6b5aa58
DM
467522012-02-27 David S. Miller <davem@davemloft.net>
46753
1aff59a3
DM
46754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46756 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46757 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46758
d6b5aa58
DM
46759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46760 frame pointer instead of stack pointer relative arg slot.
46761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46762 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46763 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46764
433f48bf
CD
467652012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46766
46767 [BZ #3992]
46768 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46769
d674b76d
DM
467702012-02-27 David S. Miller <davem@davemloft.net>
46771
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46776 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46777 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46778 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46779 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46780
0e7727f7
JM
467812012-02-27 Joseph Myers <joseph@codesourcery.com>
46782
46783 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46784 later. Allow versions 5-9.
43be4ca2 46785 * configure: Regenerated.
0e7727f7
JM
46786 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46787 required minimum version and 4.6 as recommended version. Do not
46788 mention bugs in GCC 2.7 and 2.8.
43be4ca2 46789 * INSTALL: Regenerated.
0e7727f7 46790
a78bc654
DM
467912012-02-27 David S. Miller <davem@davemloft.net>
46792
428d5830
DM
46793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46797 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46798 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46799 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46800 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46801
a78bc654
DM
46802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46803 manipulate bits before adding and subtracting TWO112[sx].
46804 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46805
4579f81c
RM
468062012-02-27 Roland McGrath <roland@hack.frob.com>
46807
36c8acb4
RM
46808 [BZ #13775]
46809 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46810 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46811 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46812 being in POSIX, because they are in 1003.1-2008.
46813
84ad622b
RM
46814 * rt/tst-aio.c: Include <fcntl.h>.
46815 * rt/tst-aio7.c: Likewise.
46816 * rt/tst-aio64.c: Likewise.
46817
4579f81c
RM
46818 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46819
abd923db
JM
468202012-02-27 Joseph Myers <joseph@codesourcery.com>
46821
46822 * manual/install.texi (--with-headers): Describe headers as
46823 interface headers, not private headers.
46824 (Specific advice for GNU/Linux systems): Describe use of headers
46825 from "make headers_install", not private headers from older
46826 kernels.
43be4ca2 46827 * INSTALL: Regenerated.
abd923db
JM
46828 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46829 Change to 2.6.19.
46830 * sysdeps/unix/sysv/linux/configure: Regenerated.
46831
6664049b
JM
46832 * manual/llio.texi (fclean): Remove documentation.
46833
bb8b6697
JM
46834 * manual/Makefile (libc-texi-generated): New variable. Include
46835 version.texi.
46836 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46837 $(libc-texi-generated), not duplicated list of files.
46838 (version.texi, stamp-version): New rules.
46839 (realclean): Remove $(libc-texi-generated), not individual files
46840 from that list. Do not remove dir-add.texinfo.
46841 * manual/libc.texinfo: Comment out uses of edition numbers and
46842 references to printed manual. Remove last-updated dates.
46843 (EDITION): Comment out.
46844 (ISBN): Likewise.
46845 (VERSION, UPDATED): Remove.
46846 (version.texi): Include.
46847
12e5c3b9
AS
468482012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46849
46850 * sysdeps/posix/spawni.c: Include <signal.h>.
46851 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46852 * sysdeps/pthread/aio_fsync.c: Likewise.
46853
4efeffc1 468542012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 46855
ba63ba08
UD
46856 * conform/Makefile (tests): Run only when not cross-compiling and
46857 when fast-check is not defined.
46858
d94a4670
UD
46859 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46860 * conform/data/limits.h-data: Fixes for POSIX2008.
46861 * conform/run-conformtest.sh: Run all tests.
46862 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46863 headers.
46864 * include/bits/dlfcn.h: Likewise.
46865 * include/langinfo.h: Likewise.
46866 * include/monetary.h: Likewise.
46867 * include/sys/poll.h: Likewise.
46868
46869 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46870 for __USE_GNU.
46871 * posix/spawn.h: Define __need_sigset_t.
46872 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46873 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46874 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46875 to get sigevent_t only.
46876 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46877 only for __USE_GNU.
46878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46879 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46880 process_vm_writev only for __USE_GNU.
46881 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
46882
46883 * conform/Makefile: For now ignore errors from run-conformtest.
46884 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46885 POSIX to avoid namespace pollution. Don't prepend headers.
46886 * conform/data/aio.h-data: Fixes for POSIX testing.
46887 * conform/data/fcntl.h-data: Likewise.
46888 * conform/data/glob.h-data: Likewise.
46889 * conform/data/grp.h-data: Likewise.
46890 * conform/data/pthread.h-data: Likewise.
46891 * conform/data/pwd.h-data: Likewise.
46892 * conform/data/signal.h-data: Likewise.
46893 * conform/data/spawn.h-data: Likewise.
46894 * conform/data/stdio.h-data: Likewise.
46895 * conform/data/stdlib.h-data: Likewise.
46896 * conform/data/stropts.h-data: Likewise.
46897 * conform/data/sys/mman.h-data: Likewise.
46898 * conform/data/sys/stat.h-data: Likewise.
46899 * conform/data/sys/types.h-data: Likewise.
46900 * conform/data/sys/wait.h-data: Likewise.
46901 * conform/data/time.h-data: Likewise.
46902 * conform/data/unistd.h-data: Likewise.
46903 * conform/data/utime.h-data: Likewise.
46904
46905 * io/sys/stat.h: fchmod was always in POSIX.
46906 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46907 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46908 * rt/aio.h: Define __need_timespec before including <time.h>.
46909 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46910 struct. Add forward declaration of pthread_attr_t and use it in
46911 sigevent.
46912 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46913 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46914 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46915 always remove CLK_TCK definition.
46916
c20105c3
AS
469172012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46918
46919 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46920
7a270350
UD
469212012-02-25 Ulrich Drepper <drepper@gmail.com>
46922
31341567
UD
46923 * conform/run-conformtest.sh: New file.
46924 * conform/Makefile: Run run-conformtest for tests.
46925 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46926 support.
46927
46928 * conform/data/uchar.h-data: New file.
46929 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46930 * conform/data/arpa/inet.h-data: Likewise.
46931 * conform/data/assert.h-data: Likewise.
46932 * conform/data/complex.h-data: Likewise.
46933 * conform/data/cpio.h-data: Likewise.
46934 * conform/data/ctype.h-data: Likewise.
46935 * conform/data/dirent.h-data: Likewise.
46936 * conform/data/dlfcn.h-data: Likewise.
46937 * conform/data/errno.h-data: Likewise.
46938 * conform/data/fcntl.h-data: Likewise.
46939 * conform/data/float.h-data: Likewise.
46940 * conform/data/fmtmsg.h-data: Likewise.
46941 * conform/data/fnmatch.h-data: Likewise.
46942 * conform/data/ftw.h-data: Likewise.
46943 * conform/data/glob.h-data: Likewise.
46944 * conform/data/grp.h-data: Likewise.
46945 * conform/data/iconv.h-data: Likewise.
46946 * conform/data/inttypes.h-data: Likewise.
46947 * conform/data/langinfo.h-data: Likewise.
46948 * conform/data/libgen.h-data: Likewise.
46949 * conform/data/limits.h-data: Likewise.
46950 * conform/data/locale.h-data: Likewise.
46951 * conform/data/math.h-data: Likewise.
46952 * conform/data/monetary.h-data: Likewise.
46953 * conform/data/mqueue.h-data: Likewise.
46954 * conform/data/ndbm.h-data: Likewise.
46955 * conform/data/net/if.h-data: Likewise.
46956 * conform/data/netdb.h-data: Likewise.
46957 * conform/data/netinet/in.h-data: Likewise.
46958 * conform/data/nl_types.h-data: Likewise.
46959 * conform/data/poll.h-data: Likewise.
46960 * conform/data/pthread.h-data: Likewise.
46961 * conform/data/pwd.h-data: Likewise.
46962 * conform/data/regex.h-data: Likewise.
46963 * conform/data/sched.h-data: Likewise.
46964 * conform/data/search.h-data: Likewise.
46965 * conform/data/semaphore.h-data: Likewise.
46966 * conform/data/setjmp.h-data: Likewise.
46967 * conform/data/signal.h-data: Likewise.
46968 * conform/data/spawn.h-data: Likewise.
46969 * conform/data/stdarg.h-data: Likewise.
46970 * conform/data/stdio.h-data: Likewise.
46971 * conform/data/stdlib.h-data: Likewise.
46972 * conform/data/string.h-data: Likewise.
46973 * conform/data/strings.h-data: Likewise.
46974 * conform/data/stropts.h-data: Likewise.
46975 * conform/data/sys/ipc.h-data: Likewise.
46976 * conform/data/sys/mman.h-data: Likewise.
46977 * conform/data/sys/msg.h-data: Likewise.
46978 * conform/data/sys/resource.h-data: Likewise.
46979 * conform/data/sys/select.h-data: Likewise.
46980 * conform/data/sys/sem.h-data: Likewise.
46981 * conform/data/sys/shm.h-data: Likewise.
46982 * conform/data/sys/socket.h-data: Likewise.
46983 * conform/data/sys/stat.h-data: Likewise.
46984 * conform/data/sys/statvfs.h-data: Likewise.
46985 * conform/data/sys/time.h-data: Likewise.
46986 * conform/data/sys/timeb.h-data: Likewise.
46987 * conform/data/sys/times.h-data: Likewise.
46988 * conform/data/sys/types.h-data: Likewise.
46989 * conform/data/sys/uio.h-data: Likewise.
46990 * conform/data/sys/un.h-data: Likewise.
46991 * conform/data/sys/utsname.h-data: Likewise.
46992 * conform/data/sys/wait.h-data: Likewise.
46993 * conform/data/syslog.h-data: Likewise.
46994 * conform/data/tar.h-data: Likewise.
46995 * conform/data/termios.h-data: Likewise.
46996 * conform/data/utime.h-data: Likewise.
46997 * conform/data/utmpx.h-data: Likewise.
46998 * conform/data/varargs.h-data: Likewise.
46999 * conform/data/wchar.h-data: Likewise.
47000 * conform/data/wctype.h-data: Likewise.
47001 * conform/data/wordexp.h-data: Likewise.
47002
47003 * include/stropts.h: New file.
47004 * include/uchar.h: New file.
47005 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47006 * include/assert.h: Likewise.
47007 * include/ctype.h: Likewise.
47008 * include/dirent.h: Likewise.
47009 * include/dlfcn.h: Likewise.
47010 * include/fcntl.h: Likewise.
47011 * include/fnmatch.h: Likewise.
47012 * include/glob.h: Likewise.
47013 * include/grp.h: Likewise.
47014 * include/libio.h: Likewise.
47015 * include/locale.h: Likewise.
47016 * include/math.h: Likewise.
47017 * include/net/if.h: Likewise.
47018 * include/netdb.h: Likewise.
47019 * include/netinet/in.h: Likewise.
47020 * include/pthread.h: Likewise.
47021 * include/pwd.h: Likewise.
47022 * include/regex.h: Likewise.
47023 * include/sched.h: Likewise.
47024 * include/search.h: Likewise.
47025 * include/setjmp.h: Likewise.
47026 * include/signal.h: Likewise.
47027 * include/stdio.h: Likewise.
47028 * include/stdlib.h: Likewise.
47029 * include/string.h: Likewise.
47030 * include/sys/cdefs.h: Likewise.
47031 * include/sys/mman.h: Likewise.
47032 * include/sys/msg.h: Likewise.
47033 * include/sys/resource.h: Likewise.
47034 * include/sys/select.h: Likewise.
47035 * include/sys/socket.h: Likewise.
47036 * include/sys/stat.h: Likewise.
47037 * include/sys/statvfs.h: Likewise.
47038 * include/sys/time.h: Likewise.
47039 * include/sys/times.h: Likewise.
47040 * include/sys/uio.h: Likewise.
47041 * include/sys/utsname.h: Likewise.
47042 * include/sys/wait.h: Likewise.
47043 * include/termios.h: Likewise.
47044 * include/time.h: Likewise.
47045 * include/ulimit.h: Likewise.
47046 * include/unistd.h: Likewise.
47047 * include/utime.h: Likewise.
47048 * include/wchar.h: Likewise.
47049 * include/wctype.h: Likewise.
47050 * include/wordexp.h: Likewise.
47051
47052 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47053
7a270350
UD
47054 * time/time.h: TIME_UTC must be a macro.
47055 Make timespec_get available for ISO C11 only as well.
47056
7724defc
UD
470572012-02-24 Ulrich Drepper <drepper@gmail.com>
47058
47059 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47060 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47061
6b1d1d46
JM
470622012-02-24 Joseph Myers <joseph@codesourcery.com>
47063
47064 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47065
0f8bbd69
JM
470662012-02-24 Joseph Myers <joseph@codesourcery.com>
47067
47068 * manual/texinfo.tex: Update to version 2012-01-19.16.
47069
66ab80bc
JM
470702012-02-24 Joseph Myers <joseph@codesourcery.com>
47071
47072 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47073
74981cc5
RM
470742012-02-24 Roland McGrath <roland@hack.frob.com>
47075
ee968201
RM
47076 [BZ #13738]
47077 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47078 * manual/fdl-1.3.texi: New file.
47079 * manual/fdl-1.1.texi: File removed.
47080
74981cc5
RM
47081 [BZ #13738]
47082 * manual/libc.texinfo (FDL_VERSION): New @set.
47083 Use it for mention of FDL in cover text.
47084 (Documentation License): Use it in @include file name.
47085
7bb764bc
JM
470862012-02-22 Joseph Myers <joseph@codesourcery.com>
47087 Roland McGrath <roland@hack.frob.com>
47088
47089 [BZ #5461]
57f41c40
AS
47090 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47091 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47092 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47093 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47094 name.
47095 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47096
6cbeae47
JM
470972012-02-22 Joseph Myers <joseph@codesourcery.com>
47098
47099 [BZ #2547]
47100 [BZ #11365]
47101 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47102 manipulate bits before adding and subtracting TWO23[sx].
47103 * math/libm-test.inc (nearbyint_test): Add more tests.
47104
fe45ce09
JM
471052012-02-22 Joseph Myers <joseph@codesourcery.com>
47106
47107 [BZ #2548]
47108 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47109 bits before adding and subtracting TWO23[sx].
47110 * math/libm-test.inc (rint_test): Add more tests.
47111 (rint_test_tonearest): Likewise.
47112 (rint_test_towardzero): Likewise.
47113 (rint_test_downward): Likewise.
47114 (rint_test_upward: Likewise.
47115
ff3b3d82
JM
471162012-02-22 Joseph Myers <joseph@codesourcery.com>
47117
47118 [BZ #10110]
47119 * include/stdc-predef.h: New file. Extracted from features.h.
47120 * include/features.h: Include stdc-predef.h.
47121 * Makefile (headers): Add stdc-predef.h.
47122 * CONFORMANCE (Compiler limitations): Update.
47123
ef0aab35
JM
471242012-02-22 Joseph Myers <joseph@codesourcery.com>
47125
47126 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47127
58639409
DM
471282012-02-21 David S. Miller <davem@davemloft.net>
47129
47130 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47131 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47132
c0e70b25
DM
471332012-02-20 David S. Miller <davem@davemloft.net>
47134
47135 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47136 using a normal save/restore sequence, rather than allocating a
47137 dummy stack frame just to store a frame pointer and restore.
47138 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47139
fb06851d
JM
471402012-02-21 Joseph Myers <joseph@codesourcery.com>
47141
47142 * manual/install.texi: Fix stray word in line-wrapped comment.
47143
7a8b71c3
DM
471442012-02-20 David S. Miller <davem@davemloft.net>
47145
d510c123
DM
47146 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47147 both binutils and gcc support GOTDATA.
47148
0722d7c2
DM
47149 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47150 "rd %pc" in the PIC register setup sequences.
47151
3d2b3019
DM
47152 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47153 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47154 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47155 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47156 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47158 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47159 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47161 (SYSCALL_ERROR_HANDLER): Likewise.
47162 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47163 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47165 (SYSCALL_ERROR_HANDLER): Likewise.
47166
c80098a9
DM
47167 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47168 (HAVE_GCC_GOTDATA): New.
47169 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47170 relocation support in both binutils and gcc.
47171 * sysdeps/sparc/elf/configure: Regenerate.
47172
3a2545a0
DM
47173 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47174 * sysdeps/sparc/sparc32/elf/configure: Delete.
47175 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47176 * sysdeps/sparc/sparc64/elf/configure: Delete.
47177 * sysdeps/sparc/elf/configure.in: New file.
47178 * sysdeps/sparc/elf/configure: Generate.
47179
7a8b71c3
DM
47180 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47181 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47182 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47183 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47184 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47185
f1e86fca
JM
471862012-02-21 Joseph Myers <joseph@codesourcery.com>
47187
47188 * manual/install.texi: Do not mention specific glibc version
47189 numbers.
47190 * manual/libc.texinfo (VERSION, UPDATED): Update.
47191 (@copying): Use @copyright{} and range of years.
47192
0e7dfaef
JM
471932012-02-21 Joseph Myers <joseph@codesourcery.com>
47194
47195 [BZ #13695]
47196 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47197 [crti.S not in sysdirs] (generated): Do not append.
47198 [crti.S not in sysdirs] (omit-deps): Likewise.
47199 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47200 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47201 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47202 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47203 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47204 Likewise.
47205 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47206 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47207 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47208 * csu/defs.awk: Remove file.
47209 * sysdeps/generic/initfini.c: Likewise.
47210 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47211 variable.
47212 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47213 Likewise.
47214
599af3ca
JM
472152012-02-20 Joseph Myers <joseph@codesourcery.com>
47216
47217 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47218 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47219 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47220 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47221 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47222 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47223 <bits/epoll.h>.
47224 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47225 (__EPOLL_PACKED): Define to empty if not defined by
47226 <bits/epoll.h>.
47227 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47229 bits/epoll.h.
47230
0e499750
JM
472312012-02-20 Joseph Myers <joseph@codesourcery.com>
47232
47233 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47234 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47235 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47236 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47237 <bits/timerfd.h>.
47238 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47240 bits/timerfd.h.
47241
5ad91f6e
JM
472422012-02-20 Joseph Myers <joseph@codesourcery.com>
47243
47244 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47245 in C locale.
47246 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47247 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47248 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47250
06b99b02
AJ
472512012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47252
47253 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47254 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47255
7638c0fd
AS
472562012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47257
47258 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47259 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47260 defined.
47261 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47262 Likewise.
47263 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47264 entry for 2.16.
47265
92221550
AJ
472662012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47267
47268 * math/w_acos.c: Use non-signaling floating-point comparisons.
47269 * math/w_acosf.c: Likewise.
47270 * math/w_acosh.c: Likewise.
47271 * math/w_acoshf.c: Likewise.
47272 * math/w_acoshl.c: Likewise.
47273 * math/w_acosl.c: Likewise.
47274 * math/w_asin.c: Likewise.
47275 * math/w_asinf.c: Likewise.
47276 * math/w_asinl.c: Likewise.
47277 * math/w_atanh.c: Likewise.
47278 * math/w_atanhf.c: Likewise.
47279 * math/w_atanhl.c: Likewise.
47280 * math/w_exp2.c: Likewise.
47281 * math/w_exp2f.c: Likewise.
47282 * math/w_exp2l.c: Likewise.
47283 * math/w_j0.c: Likewise.
47284 * math/w_j0f.c: Likewise.
47285 * math/w_j0l.c: Likewise.
47286 * math/w_j1.c: Likewise.
47287 * math/w_j1f.c: Likewise.
47288 * math/w_j1l.c: Likewise.
47289 * math/w_jn.c: Likewise.
47290 * math/w_jnf.c: Likewise.
47291 * math/w_log.c: Likewise.
47292 * math/w_log10.c: Likewise.
47293 * math/w_log10f.c: Likewise.
47294 * math/w_log10l.c: Likewise.
47295 * math/w_log2.c: Likewise.
47296 * math/w_log2f.c: Likewise.
47297 * math/w_log2l.c: Likewise.
47298 * math/w_logf.c: Likewise.
47299 * math/w_logl.c: Likewise.
47300 * math/w_sqrt.c: Likewise.
47301 * math/w_sqrtf.c: Likewise.
47302 * math/w_sqrtl.c: Likewise.
47303 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47304 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47305 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47306 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47307 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47308
ebaf36eb
JM
473092012-02-19 Joseph Myers <joseph@codesourcery.com>
47310
47311 [BZ #9739]
47312 * manual/string.texi (strnlen): Use correct parameter name in
47313 equivalent expression.
47314
71c254a6
JM
473152012-02-19 Joseph Myers <joseph@codesourcery.com>
47316
47317 [BZ #11174]
47318 * manual/users.texi (seteuid): Consistently use neweuid for
47319 argument name.
47320
16d2c631
JM
473212012-02-19 Joseph Myers <joseph@codesourcery.com>
47322
47323 [BZ #13704]
47324 * manual/nss.texi (Services in the NSS configuration): Correct
47325 list of services in example configuration file.
47326
cd837b09
NB
473272012-02-19 Nick Bowler <nbowler@draconx.ca>
47328
47329 [BZ #11322]
47330 * manual/arith.texi: Remove statements about negative zero
47331 behaving identically to zero.
47332
02c4bbad
JM
473332012-02-18 Joseph Myers <joseph@codesourcery.com>
47334
47335 [BZ #5993]
47336 * manual/install.texi: Do not document upgrading from libc5.
47337
366842e7
JM
473382012-02-18 Joseph Myers <joseph@codesourcery.com>
47339
47340 [BZ #4596]
47341 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47342
dd54084d
DM
473432012-02-18 David S. Miller <davem@davemloft.net>
47344
47345 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47346 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47347 %o7 across the call.
47348 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47349 instead.
47350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47351 SETUP_PIC_REG_LEAF.
47352 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47353 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47354 * sysdeps/sparc/crtn.S: Likewise.
47355
2bcc53a3
UD
473562012-02-17 Ulrich Drepper <drepper@gmail.com>
47357
47358 * aout/Makefile: Remove.
47359
09c093b5
RK
473602012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47361
47362 [BZ #13058]
47363 * manual/examples/argp-ex1.c (main): Format definition in GNU
47364 style.
47365 * manual/examples/argp-ex2.c (main): Likewise.
47366 * manual/examples/argp-ex3.c (main): Likewise.
47367 * manual/examples/argp-ex4.c (main): Likewise.
47368 * manual/examples/longopt.c (main): Use new-style prototype
47369 definition.
47370 * manual/examples/strncat.c (main): Specify return type and use
47371 (void) for arguments.
47372 * manual/examples/subopt.c (main): Use char **argv argument.
47373
2ee633a2
JM
473742012-02-17 Joseph Myers <joseph@codesourcery.com>
47375
47376 [BZ #5077]
47377 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47378 rounding modes.
47379
0520adde
FB
473802012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47381
47382 [BZ #6907]
47383 * manual/string.texi (strchr): Change when strchrnul is
47384 recommended.
47385
3f4081cd
DGM
473862012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47387
47388 [BZ #174]
47389 * manual/locale.texi (setlocale): Document LOCPATH.
47390
d1b10e78
JM
473912012-02-17 Joseph Myers <joseph@codesourcery.com>
47392
47393 [BZ #10210]
47394 * manual/process.texi (execle): Move @dots{} before last argument.
47395
79c6869c
PB
473962012-02-17 Paul Bolle <pebolle@tiscali.nl>
47397
47398 [BZ #12047]
47399 * manual/charset.texi (Generic Charset Conversion): Fix typo
47400 (LC_TYPE -> LC_CTYPE).
47401
cc6e48bc
NB
474022012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47403
47404 [BZ #5805]
47405 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47406 (scalbnf): Likewise.
47407 (scalbnl): Likewise.
47408 (scalbln): Likewise.
47409 (scalblnf): Likewise.
47410 (scalblnl): Likewise.
47411 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47412 (vwarnx): Likewise.
47413 (verr): Likewise.
47414 (verrx): Likewise.
47415 * manual/filesys.texi (telldir): Use braces around return type.
47416 * manual/llio.texi (mmap): Add space after comma.
47417 (mmap64): Likewise.
47418 * manual/math.texi (jn): Use @var{} on parameter names.
47419 (jnf): Likewise.
47420 (jnl): Likewise.
47421 (yn): Likewise.
47422 (ynf): Likewise.
47423 (ynl): Likewise.
47424 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47425 line.
47426 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47427 "...".
47428 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47429 (sched_get_priority_max): Likewise.
47430 * manual/signal.texi (sigvec): Add space after comma.
47431 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47432 names.
47433 (if_indextoname): Likewise.
47434 (if_freenameindex): Likewise.
47435 (sendto): Use ',' instead of '.' in prototype.
47436 * manual/startup.texi (syscall): Use @dots{} instead of literal
47437 "...".
47438 * manual/stdio.texi (__fpending): Separate initial words of
47439 paragraph from @deftypefun line.
47440 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47441 "...".
47442 (vsyslog): Use @var{} on parameter names.
47443 * manual/terminal.texi (stty): Use @var{} on parameter names.
47444 * manual/users.texi (getutmp): Use @var{} on parameter names.
47445 (getutmpx): Likewise.
47446
5b23062f
JM
474472012-02-17 Joseph Myers <joseph@codesourcery.com>
47448
47449 [BZ #6884]
47450 * manual/stdio.texi (fopen): Fix typos in description of
47451 ",ccs=STRING".
47452
8dee4833
AJ
474532012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47454
47455 [BZ #4026]
47456 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47457 get clock_id definition.
47458
9078ce93
TS
474592012-02-17 Thomas Schwinge <thomas@schwinge.name>
47460
47461 [BZ #4822]
47462 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47463 (madvise): Cast every argument to void on its own.
47464
3835c55f
JM
474652012-02-17 Joseph Myers <joseph@codesourcery.com>
47466
47467 [BZ #9902]
47468 * manual/startup.texi (Exit Status): Fix typo.
47469
35c47e37
JM
474702012-02-17 Joseph Myers <joseph@codesourcery.com>
47471
47472 [BZ #10140]
47473 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47474 * manual/examples/argp-ex2.c: Likewise.
47475 * manual/examples/argp-ex3.c: Likewise.
47476
e3b69ca7
RH
474772012-02-16 Richard Henderson <rth@redhat.com>
47478
47479 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47480 * sysdeps/s390/s390-32/initfini.c: Remove.
47481 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47482 * sysdeps/s390/s390-64/initfini.c: Remove.
47483
df83af67
KK
474842012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47485
47486 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47487 compiler output for sysdeps/generic/initfini.c.
47488 * sysdeps/sh/elf/initfini.c: Remove file.
47489
f63f3380
DM
474902012-02-16 David S. Miller <davem@davemloft.net>
47491
fb59b3a4
DM
47492 [BZ #11494]
47493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47494
f63f3380
DM
47495 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47496 * sysdeps/sparc/crti.S: New file.
47497 * sysdeps/sparc/crtn.S: New file.
47498 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47499 * sysdeps/sparc/sparc64/Makefile: Likewise.
47500
df6a4a4a
MF
475012012-02-15 Mike Frysinger <vapier@gentoo.org>
47502
6dd8f3dc 47503 [BZ #3335]
df6a4a4a
MF
47504 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47505
1cac7236
RM
475062012-02-15 Roland McGrath <roland@hack.frob.com>
47507
d2c736f8
RM
47508 [BZ #4822]
47509 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47510
1cac7236
RM
47511 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47512 (write, read, close): Likewise.
47513 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47514
8e475601
JM
475152012-02-15 Joseph Myers <joseph@codesourcery.com>
47516
47517 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47518 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47519 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47520 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47521 <bits/signalfd.h>.
47522 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47524 bits/signalfd.h.
47525
ed656b40
MP
475262012-02-14 Marek Polacek <polacek@redhat.com>
47527
47528 * sysdeps/x86_64/crti.S: New file.
47529 * sysdeps/x86_64/crtn.S: New file.
47530 * sysdeps/x86_64/elf/initfini.c: Remove file.
47531
2a979d3a
JM
475322012-02-13 Joseph Myers <joseph@codesourcery.com>
47533
47534 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47535 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47536 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47537 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47538 <bits/inotify.h>.
47539 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47541 bits/inotify.h.
47542
2a418ac3
JM
475432012-02-13 Joseph Myers <joseph@codesourcery.com>
47544
47545 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47546 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47547 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47548 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47549 <bits/eventfd.h>.
47550 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47552 bits/eventfd.h.
47553
fb779be7
TS
475542012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47555
e19e83c5
RM
47556 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47557 __feraiseexcept instead of feraiseexcept.
7c35ffed 47558
fb779be7
TS
47559 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47560 nanosleep invocations.
47561 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47562 strings, and add error checking for a nanosleep invocations.
47563
59ba27a6
PE
475642012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47565
47566 Replace FSF snail mail address with URLs, as per GNU coding standards.
47567 Most of the snail mail addresses were wrong anyway, and omitting
47568 them makes the source code easier to maintain. Almost all of the
47569 changes are to license notices and to locale LC_IDENTIFICATION
47570 addresses, except for this one:
47571 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47572 not its snail mail address.
47573
57b957eb
RH
475742012-02-09 Richard Henderson <rth@twiddle.net>
47575
af850b1c
RH
47576 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47577 of kernel-features.h.
47578
57b957eb
RH
47579 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47580
6b73181a
MP
475812012-02-08 Marek Polacek <polacek@redhat.com>
47582
47583 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47584 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47585 * sysdeps/gnu/_G_config.h: Likewise.
47586 * sysdeps/generic/_G_config.h: Likewise.
47587
26ecc33a
AS
475882012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47589
6c6dbc63
AS
47590 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47591 tests.
47592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47593
e216c012
AS
47594 * sysdeps/powerpc/powerpc32/crti.S: New file.
47595 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47596 * sysdeps/powerpc/powerpc64/crti.S: New file.
47597 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47598
26ecc33a
AS
47599 * Makeconfig (have-initfini): Don't set.
47600 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47601 * configure.in (nopic_initfini): Don't substitute.
47602 * config.h.in (HAVE_INITFINI): Don't #undef.
47603 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47604 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47605
3add8e13
JM
476062012-02-08 Joseph Myers <joseph@codesourcery.com>
47607
47608 Support crti.S and crtn.S provided directly by architectures.
47609 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47610 [crti.S in sysdirs] (omit-deps): Likewise.
47611 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47612 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47613 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47614 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47615 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47616 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47617 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47618 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47619 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47620 compiler output for sysdeps/generic/initfini.c.
47621 * sysdeps/i386/elf/Makefile: Remove file.
47622 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47623
a22f12b4
MP
476242012-02-07 Marek Polacek <polacek@redhat.com>
47625
47626 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47627 * sysdeps/gnu/_G_config.h: Likewise.
47628 * sysdeps/mach/hurd/_G_config.h: Likewise.
47629
148cf100
MP
476302012-02-07 Marek Polacek <polacek@redhat.com>
47631
47632 * math/Makefile (tests): Add tst-CMPLX2.
47633 * math/tst-CMPLX2.c: New file.
47634
cfdc0dd7
AS
476352012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47636
84ba42c4
AS
47637 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47638
cfdc0dd7
AS
47639 * math/libm-test.inc (jn_test): Add missing L suffix.
47640
622c86f4
MP
476412012-02-06 Marek Polacek <polacek@redhat.com>
47642
47643 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47644 * sysdeps/i386/fpu/e_powf.S: Likewise.
47645 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47646 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47648 * sysdeps/i386/fpu/e_pow.S: Likewise.
47649 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47651 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47652 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47653 * sysdeps/i386/fpu/e_log2.S: Likewise.
47654 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47656 * sysdeps/i386/fpu/e_powl.S: Likewise.
47657 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47658 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47659 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47660 * sysdeps/i386/fpu/e_logl.S: Likewise.
47661 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47662 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47663 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47664 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47665 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47666 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47667 * sysdeps/i386/fpu/e_log.S: Likewise.
47668 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47669 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47670 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47671 * sysdeps/i386/fpu/e_logf.S: Likewise.
47672 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47673 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47674 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47675 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47676 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47677 * sysdeps/i386/fpu/e_log10.S: Likewise.
47678 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47679 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47680 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47681 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47683 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47684 * sysdeps/i386/asm-syntax.h: Likewise.
47685 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47686 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47687 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47688 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47689 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47690 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47691 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47692 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47693 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47694 * sysdeps/powerpc/sysdep.h: Likewise.
47695 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47696 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47697
d4a54ac6
JM
476982012-02-06 Joseph Myers <joseph@codesourcery.com>
47699
47700 [BZ #411]
47701 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47702
314054ea
JM
477032012-02-06 Joseph Myers <joseph@codesourcery.com>
47704
47705 * sysdeps/i386/sysdep.h: Include <features.h>.
47706 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47707 version.
47708
d8e0ca50
JM
477092012-02-05 Joseph Myers <joseph@codesourcery.com>
47710
47711 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47712 Define.
47713 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47714 LOAD_PIC_REG_STR.
47715
b1da7dd9
JM
477162012-02-03 Joseph Myers <joseph@codesourcery.com>
47717
47718 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47719 (SETUP_PIC_REG): Use GET_PC_THUNK.
47720 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47721 macro.
47722
9a1d9254
JM
477232012-02-03 Joseph Myers <joseph@codesourcery.com>
47724
47725 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47726 for non-PIC compilation.
47727 (SETUP_PIC_REG): Add .p2align directive.
47728 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47729 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47730 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47731 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47732 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47733 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47734 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47736 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47737 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47738 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47739 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47740 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47741 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47742 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47743 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47744 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47745 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47746 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47747 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47748 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47749 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47750 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47751 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47754 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47755 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47756 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47757 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47758 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47759 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47760 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47761 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47762 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47763 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47764 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47765 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47766 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47767 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47768 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47769
65dc3b75
JM
477702012-02-03 Joseph Myers <joseph@codesourcery.com>
47771
47772 * math/tst-CMPLX.c: Include <stdio.h>.
47773
d55bf177
JM
477742012-01-31 Joseph Myers <joseph@codesourcery.com>
47775
47776 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47777 float.
47778 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47779 * sysdeps/sparc/bits/mathdef.h: Likewise.
47780
69db4f8f
MP
477812012-01-31 Marek Polacek <polacek@redhat.com>
47782
47783 * libio/libio.h: Don't define _PARAMS.
47784 * locale/programs/config.h: Don't define PARAMS.
47785 * stdlib/strtol_l.c: Likewise.
47786 (__strtol_l): Remove PARAMS from the prototype.
47787
41b81892
UD
477882012-01-31 Ulrich Drepper <drepper@gmail.com>
47789
3b49edc0
UD
47790 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47791 names. Just use the correct names. Remove unnecessary wrapper
47792 functions.
47793 * malloc/arena.c: Likewise.
47794 * malloc/hooks.c: Likewise.
47795
41b81892
UD
47796 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47797 ARENA_TEST says not to. Simplify test for creation of a new arena.
47798 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47799
27a25b6e
UD
478002012-01-30 Ulrich Drepper <drepper@gmail.com>
47801
47802 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47803 into tail calls.
47804 (update_get_addr): New function.
47805 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47806 GET_ADDR_MODULE parameter.
47807
c8a89e7d
JM
478082012-01-30 Joseph Myers <joseph@codesourcery.com>
47809
47810 * crypt/cert.c: Remove __STDC__ conditionals.
47811 * crypt/crypt-entry.c: Likewise.
47812 * crypt/crypt_util.c: Likewise.
47813 * libio/filedoalloc.c: Likewise.
47814 * libio/fileops.c: Likewise.
47815 * libio/genops.c: Likewise.
47816 * libio/iofclose.c: Likewise.
47817 * libio/iofdopen.c: Likewise.
47818 * libio/iofopen.c: Likewise.
47819 * libio/iofopen64.c: Likewise.
47820 * libio/iogetdelim.c: Likewise.
47821 * libio/iopopen.c: Likewise.
47822 * libio/obprintf.c: Likewise.
47823 * libio/oldfileops.c: Likewise.
47824 * libio/oldiofclose.c: Likewise.
47825 * libio/oldiofdopen.c: Likewise.
47826 * libio/oldiofopen.c: Likewise.
47827 * libio/oldiopopen.c: Likewise.
47828 * libio/wfiledoalloc.c: Likewise.
47829 * libio/wgenops.c: Likewise.
47830 * locale/programs/xmalloc.c: Likewise.
47831 * misc/syslog.c: Likewise.
47832 * stdio-common/xbug.c: Likewise.
47833 * string/memchr.c: Likewise.
47834 * string/memcmp.c: Likewise.
47835 * string/memrchr.c: Likewise.
47836 * string/rawmemchr.c: Likewise.
47837 * sysdeps/posix/getcwd.c: Likewise.
47838 * time/strftime_l.c: Likewise.
47839
3b100462
JM
478402012-01-30 Joseph Myers <joseph@codesourcery.com>
47841
47842 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
47843 * config.make.in (config-cflags-sse2avx): Define.
47844 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47845 Fix typo.
47846
607998af
CM
478472012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47848
47849 * scripts/config.guess: Update from upstream config git repository.
47850 * scripts/config.sub: Likewise.
47851
3601428f
CM
478522012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47853
3ac8b282
CM
47854 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47855 (EM_NUM): Update.
47856 (R_TILEPRO_*, R_TILEGX_*): New macros.
47857
e034841e
CM
47858 * scripts/firstversions.awk: Fix bug in version range handling.
47859
540d7568
CM
47860 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47861
3601428f
CM
47862 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47863
463de862
CM
47864 * include/sys/epoll.h: New file.
47865 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47866 libc_hidden_def.
47867
73139a76
UD
478682012-01-28 Ulrich Drepper <drepper@gmail.com>
47869
96bc5b45
UD
47870 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47871 Avoid unnecessary __WORDSIZE == 64 test.
47872 (fmaxf): Use VEX format if possible.
47873 (fmax): Likewise.
47874 (fminf): Likewise.
47875 (fmin): Likewise.
47876
56f6f6a2
UD
47877 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47878 * math/math_private.h: Remove libc_fegetround* and
47879 libc_fesetround*.
47880 * sysdeps/i386/configure.in: Check for -msse2avx.
47881 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47882 also if SSE2AVX is defined.
47883 Remove libc_fegetround* and libc_fesetround*.
47884 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47885 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47886 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47887 of HAS_YMM_USABLE.
47888 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47889 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47890 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47891 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47892 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47893
73139a76
UD
47894 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47895
d73f93a4
AZ
478962012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47897
47898 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47899 size is not set.
47900 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47901
6ee65ed6
UD
479022012-01-27 Ulrich Drepper <drepper@gmail.com>
47903
47904 [BZ #13618]
47905 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47906 relocation.
47907 * Makeconfig (libm): Define.
47908 * elf/Makefile: Add rules to build and run tst-relsort1.
47909 * elf/tst-relsort1.c: New file.
47910 * elf/tst-relsort1mod1.c: New file.
47911 * elf/tst-relsort1mod2.c: New file.
47912
8db21882
JM
479132012-01-27 Joseph Myers <joseph@codesourcery.com>
47914
47915 * math/s_ldexp.c: Remove __STDC__ conditionals.
47916 * math/s_ldexpf.c: Likewise.
47917 * math/s_ldexpl.c: Likewise.
47918 * math/s_nextafter.c: Likewise.
47919 * math/s_nexttowardf.c: Likewise.
47920 * math/s_significand.c: Likewise.
47921 * math/s_significandf.c: Likewise.
47922 * math/s_significandl.c: Likewise.
47923 * math/w_jnl.c: Likewise.
47924 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47925 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47926 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47927 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47928 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47930 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47931 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47932 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47933 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47934 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47935 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47936 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47937 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47938 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47939 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47940 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47941 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47943 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47944 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47945 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47946 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47948 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47949 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47950 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47951 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47952 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47953 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47954 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47955 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47956 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47957 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47958 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47960 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47961 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47962 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47963 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47964 * sysdeps/ieee754/k_standard.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47968 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47974 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47975 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47976 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47977 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47978 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47979 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47980 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47981 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47982 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47983 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47984 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47985 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47986 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47987 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47994 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47995 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47998 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47999 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48000 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48001 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48002 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48003 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48007 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48008 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48010 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48011 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48012 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48013 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48014 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48015 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48016 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48017 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48018 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48019 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48020 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48021 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48022 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48023 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48024 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48025 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48026 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48027 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48028 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48029 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48030 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48031 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48032 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48033 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48034 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48035 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48036 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48037 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48038 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48039 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48040 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48041 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48042 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48043 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48044 * sysdeps/ieee754/s_matherr.c: Likewise.
48045 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48046 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48048 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48049
965a54a4
JM
480502012-01-26 Joseph Myers <joseph@codesourcery.com>
48051
48052 * crypt/md5.h: Remove __STDC__ conditionals.
48053 * libio/libioP.h: Likewise.
48054 * locale/programs/config.h: Likewise.
48055 * sysdeps/generic/sysdep.h: Likewise.
48056 * sysdeps/i386/asm-syntax.h: Likewise.
48057 * sysdeps/s390/asm-syntax.h: Likewise.
48058 * sysdeps/unix/sysdep.h: Likewise.
48059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48061
7071ad79
JM
480622012-01-26 Joseph Myers <joseph@codesourcery.com>
48063
48064 * libio/libio.h: Remove __STDC__ conditionals.
48065 * malloc/obstack.h: Likewise.
48066 * math/complex.h: Likewise.
48067 * math/math.h: Likewise.
48068 * sysdeps/generic/_G_config.h: Likewise.
48069 * sysdeps/gnu/_G_config.h: Likewise.
48070 * sysdeps/mach/hurd/_G_config.h: Likewise.
48071 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48072 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48073 * sysdeps/sparc/bits/mathdef.h: Likewise.
48074
afc5ed09
UD
480752012-01-26 Ulrich Drepper <drepper@gmail.com>
48076
48077 [BZ #13583]
48078 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48079 Clean up HAS_* macros.
afc5ed09 48080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48081 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48082 possible.
48083 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48084 HAS_AVX.
48085 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48086 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48087 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48090
bdb6de1d
JM
480912012-01-25 Joseph Myers <joseph@codesourcery.com>
48092
48093 * elf/tst-unique3.cc (gets): Remove declaration.
48094 * elf/tst-unique3lib.cc (gets): Likewise.
48095 * elf/tst-unique3lib2.cc (gets): Likewise.
48096 * elf/tst-unique4.cc (gets): Likewise.
48097
b15549e6
UD
480982012-01-24 Ulrich Drepper <drepper@gmail.com>
48099
48100 * include/stdio.h: Add C++ protection. Add gets declarations and
48101 definitions.
48102 * debug/tst-chk1.c: Don't declare gets here.
48103 * stdio-common/tst-gets.c: Likewise.
48104
a037381f
JM
481052012-01-24 Joseph Myers <joseph@codesourcery.com>
48106
48107 * posix/glob: Remove directory.
48108
f1d4aa75
JM
481092012-01-24 Joseph Myers <joseph@codesourcery.com>
48110
48111 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48112
81c0c964
PT
481132012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48114
48115 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48116 of the non-standard EPFNOSUPPORT.
48117
0ea698ae
ST
481182011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48119
48120 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48121 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48122 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48123
d220b117
UD
481242012-01-21 Ulrich Drepper <drepper@gmail.com>
48125
48126 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48127
3e1aa84e
UD
481282012-01-20 Ulrich Drepper <drepper@gmail.com>
48129
48130 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48131 transient errors.
48132 * nscd/grpcache.c (cache_addgr): Likewise.
48133 * nscd/hstcache.c (cache_addhst): Likewise.
48134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48135 * nscd/pwdcache.c (cache_addpw): Likewise.
48136 * nscd/servicescache.c (cache_addserv): Likewise.
48137
400aa020
UD
481382012-01-16 Ulrich Drepper <drepper@gmail.com>
48139
d77e7869
UD
48140 * malloc/malloc.c: Various cleanups.
48141 * malloc/hooks.c: Likewise.
48142
400aa020
UD
48143 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48144 * stdlib/bug-fmtmsg1.c: New file.
48145
48146 * stdlib/fmtmsg.c (init): Add missing unlock.
48147 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48148
e0a309cf
MP
481492012-01-12 Marek Polacek <polacek@redhat.com>
48150
48151 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48152 and _GNU_SOURCE.
48153
929d11c7
WS
481542012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48155
48156 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48157 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48158 macro to ensure uniqueness of label name.
48159 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48160 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48161
41d0e869
UD
481622012-01-11 Ulrich Drepper <drepper@gmail.com>
48163
0cc5ed3b
UD
48164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48165
41d0e869
UD
48166 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48167 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48168 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48170
a47a831a
UD
481712012-01-10 Ulrich Drepper <drepper@gmail.com>
48172
daa891c0
UD
48173 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48174
48175 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48176 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48177 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48178
e58ef0f2
UD
48179 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48180
a47a831a 48181 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48182 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48183 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48185
48186 * math/bits/math-finite.h: Add ldexp support.
48187
a0bfc9c7
MP
481882012-01-10 Marek Polacek <polacek@redhat.com>
48189
48190 * locale/programs/localedef.h (show_archive_content): Add noreturn
48191 attribute.
48192
d6e97a1d
UD
481932012-01-09 Ulrich Drepper <drepper@gmail.com>
48194
48195 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48196
d5835c26
UD
481972012-01-08 Ulrich Drepper <drepper@gmail.com>
48198
e5f484c6
UD
48199 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48200
d5835c26
UD
48201 * io/Makefile (headers): Add bits/poll2.h.
48202
d1f741e9
WS
482032011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48204
48205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48206 typo #include statement.
48207
ec09c1c4
UD
482082012-01-08 Ulrich Drepper <drepper@gmail.com>
48209
48210 * include/sys/cdefs.h: Define __attribute_alloc_size.
48211 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48212 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48213 * elf/pldd.c: Likewise.
48214 * iconv/iconv_charmap.c: Likewise.
48215 * iconv/iconvconfig.c: Likewise.
48216 * iconv/strtab.c: Likewise.
48217 * locale/programs/locale.c: Likewise.
48218 * locale/programs/localedef.h: Likewise.
48219 * locale/programs/simple-hash.c: Likewise.
48220 * nscd/nscd.h: Likewise.
48221 * nss/makedb.c: Likewise.
48222 * sysdeps/generic/ldconfig.h: Likewise.
48223 * locale/programs/localedef.c: Remove xmalloc prototype.
48224 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48225
20b38e03
PP
482262012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48227
48228 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48229 appropriate.
48230
a0da5fe1
UD
482312012-01-08 Ulrich Drepper <drepper@gmail.com>
48232
1d5a644a 48233 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48234 * math/tst-CMPLX.c: New file.
1d5a644a 48235
8784a6db
UD
48236 * math/complex.h (CMPLXL): Fix typo.
48237
d9a216c0
UD
48238 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48239 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48240 GLIBC_2.16.
48241 * debug/tst-chk1.c: Add poll and ppoll tests.
48242 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48243 * include/sys/poll.h: Add hidden proto for ppoll.
48244 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48245 * sysdeps/mach/hurd/ppoll.c: Likewise.
48246 * io/ppoll.c: Likewise.
48247 * debug/poll_chk.c: New file.
48248 * debug/ppoll_chk.c: New file.
48249 * include/bits/poll2.h: New file.
48250 * io/bits/poll2.h: New file.
48251
ac097f5c
UD
48252 [BZ #1350]
48253 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48254
2119dcfa
UD
48255 * configure.in: static is always set to yes. Remove.
48256 * config.make.in: Don't set build-static.
48257 * Makeconfig: Remove use of build-static.
48258 * dlfcn/Makefile: Likewise.
48259 * elf/Makefile: Likewise.
48260 * math/Makefile: Likewise.
48261 * misc/Makefile: Likewise.
48262 * nptl/Makefile: Likewise.
48263 * sysdeps/mach/hurd/Makefile: Likewise.
48264
121766a9
UD
48265 * configure.in: PWD_P is not used anymore.
48266 * config.make.in: Remove PWD_P entry.
48267
51a1d39c 48268 * configure.in: Remove last remnants of RANLIB.
8720d066 48269 No need to check for signed size_t anymore.
215f4bdc
UD
48270 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48271 and IA-64.
3857022a 48272 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48273 * aclocal.m4: Likewise.
48274
d3ed7225
UD
48275 * wcsmbs/mbrtoc16.c: Implement using towc function.
48276 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48277 * wcsmbs/wcsmbsload.c: Likewise.
48278 * iconv/gconv_simple.c: Likewise.
48279 * iconv/gconv_int.h: Likewise.
48280 * iconv/gconv_builtin.h: Likewise.
48281 * iconv/iconv_prog.c: Remove CHAR16 handling.
48282
48283 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48284
48285 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48286
a0da5fe1
UD
48287 * configure.in: Remove --with-elf and --enable-bounded options.
48288 Dont set base_machine for ia64. More non-ELF conditions removed.
48289 Remove testing and setting of leading underscore information.
48290 * config.make.in (build-bounded): Set to no.
48291 * config.h.in: Remove NO_UNDERSCORES entry.
48292 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48293 them.
48294 * csu/start.c: Remove !NO_UNDERSCORE code.
48295 * locale/localeinfo.h: Likewise.
48296 * sysdeps/generic/machine-gmon.h: Likewise.
48297 * sysdeps/generic/sysdep.h: Likewise.
48298 * sysdeps/i386/sysdep.h: Likewise.
48299 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48300 * sysdeps/mach/sysdep.h: Likewise.
48301 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48302 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48303 * sysdeps/sh/sysdep.h: Likewise.
48304 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48305 * sysdeps/unix/i386/sysdep.S: Likewise.
48306 * sysdeps/unix/sparc/start.c: Likewise.
48307 * sysdeps/unix/sparc/sysdep.S: Likewise.
48308 * sysdeps/unix/sparc/sysdep.h: Likewise.
48309 * sysdeps/unix/start.c: Likewise.
48310 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48311 * sysdeps/x86_64/sysdep.h: Likewise.
48312
df78418a
UD
483132012-01-07 Ulrich Drepper <drepper@gmail.com>
48314
a784e502
UD
48315 [BZ #13553]
48316 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48317 for non-gcc.
48318 * argp/argp-fmtstream.h: Use const instead __const.
48319 * argp/argp.h: Likewise.
48320 * assert/assert.h: Likewise.
48321 * bits/fenv.h: Likewise.
48322 * bits/sched.h: Likewise.
48323 * bits/sigset.h: Likewise.
48324 * bits/sigthread.h: Likewise.
48325 * catgets/nl_types.h: Likewise.
48326 * conform/data/pthread.h-data: Likewise.
48327 * crypt/crypt-private.h: Likewise.
48328 * crypt/crypt.h: Likewise.
48329 * crypt/crypt_util.c: Likewise.
48330 * ctype/ctype.h: Likewise.
48331 * debug/execinfo.h: Likewise.
48332 * debug/mbsnrtowcs_chk.c: Likewise.
48333 * debug/mbsrtowcs_chk.c: Likewise.
48334 * debug/wcsnrtombs_chk.c: Likewise.
48335 * debug/wcsrtombs_chk.c: Likewise.
48336 * debug/wcstombs_chk.c: Likewise.
48337 * dirent/dirent.h: Likewise.
48338 * dlfcn/dlfcn.h: Likewise.
48339 * elf/neededtest4.c: Likewise.
48340 * grp/grp.h: Likewise.
48341 * gshadow/gshadow.h: Likewise.
48342 * iconv/gconv.h: Likewise.
48343 * iconv/gconv_int.h: Likewise.
48344 * iconv/gconv_simple.c: Likewise.
48345 * iconv/iconv.h: Likewise.
48346 * iconv/loop.c: Likewise.
48347 * iconv/skeleton.c: Likewise.
48348 * include/aio.h: Likewise.
48349 * include/aliases.h: Likewise.
48350 * include/argz.h: Likewise.
48351 * include/arpa/inet.h: Likewise.
48352 * include/assert.h: Likewise.
48353 * include/dirent.h: Likewise.
48354 * include/dlfcn.h: Likewise.
48355 * include/execinfo.h: Likewise.
48356 * include/fcntl.h: Likewise.
48357 * include/fenv.h: Likewise.
48358 * include/glob.h: Likewise.
48359 * include/grp.h: Likewise.
48360 * include/libintl.h: Likewise.
48361 * include/mntent.h: Likewise.
48362 * include/netdb.h: Likewise.
48363 * include/pwd.h: Likewise.
48364 * include/rpc/netdb.h: Likewise.
48365 * include/sched.h: Likewise.
48366 * include/search.h: Likewise.
48367 * include/shadow.h: Likewise.
48368 * include/signal.h: Likewise.
48369 * include/stdio.h: Likewise.
48370 * include/stdlib.h: Likewise.
48371 * include/string.h: Likewise.
48372 * include/sys/socket.h: Likewise.
48373 * include/sys/stat.h: Likewise.
48374 * include/sys/statfs.h: Likewise.
48375 * include/sys/statvfs.h: Likewise.
48376 * include/sys/syslog.h: Likewise.
48377 * include/sys/time.h: Likewise.
48378 * include/sys/uio.h: Likewise.
48379 * include/time.h: Likewise.
48380 * include/unistd.h: Likewise.
48381 * include/utmp.h: Likewise.
48382 * include/wchar.h: Likewise.
48383 * include/wctype.h: Likewise.
48384 * inet/aliases.h: Likewise.
48385 * inet/arpa/inet.h: Likewise.
48386 * inet/netinet/ether.h: Likewise.
48387 * inet/netinet/in.h: Likewise.
48388 * intl/libintl.h: Likewise.
48389 * io/bits/fcntl2.h: Likewise.
48390 * io/fcntl.h: Likewise.
48391 * io/ftw.h: Likewise.
48392 * io/sys/poll.h: Likewise.
48393 * io/sys/stat.h: Likewise.
48394 * io/sys/statfs.h: Likewise.
48395 * io/sys/statvfs.h: Likewise.
48396 * io/utime.h: Likewise.
48397 * libio/bits/stdio.h: Likewise.
48398 * libio/bits/stdio2.h: Likewise.
48399 * libio/libio.h: Likewise.
48400 * libio/libioP.h: Likewise.
48401 * libio/stdio.h: Likewise.
48402 * locale/lc-ctype.c: Likewise.
48403 * locale/locale.h: Likewise.
48404 * login/utmp.h: Likewise.
48405 * malloc/arena.c: Likewise.
48406 * malloc/malloc.c: Likewise.
48407 * malloc/malloc.h: Likewise.
48408 * malloc/mcheck.c: Likewise.
48409 * malloc/mtrace.c: Likewise.
48410 * math/bits/mathcalls.h: Likewise.
48411 * math/fenv.h: Likewise.
48412 * math/math_private.h: Likewise.
48413 * misc/bits/error.h: Likewise.
48414 * misc/bits/syslog.h: Likewise.
48415 * misc/err.h: Likewise.
48416 * misc/error.h: Likewise.
48417 * misc/fstab.h: Likewise.
48418 * misc/mntent.h: Likewise.
48419 * misc/regexp.h: Likewise.
48420 * misc/search.h: Likewise.
48421 * misc/sgtty.h: Likewise.
48422 * misc/sys/mman.h: Likewise.
48423 * misc/sys/syslog.h: Likewise.
48424 * misc/sys/uio.h: Likewise.
48425 * misc/sys/xattr.h: Likewise.
48426 * misc/ttyent.h: Likewise.
48427 * nis/rpcsvc/ypclnt.h: Likewise.
48428 * nss/nss.h: Likewise.
48429 * posix/bits/unistd.h: Likewise.
48430 * posix/fnmatch.h: Likewise.
48431 * posix/glob.h: Likewise.
48432 * posix/sched.h: Likewise.
48433 * posix/spawn.h: Likewise.
48434 * posix/sys/wait.h: Likewise.
48435 * posix/unistd.h: Likewise.
48436 * posix/wordexp.h: Likewise.
48437 * pwd/pwd.h: Likewise.
48438 * resolv/netdb.h: Likewise.
48439 * resource/sys/resource.h: Likewise.
48440 * rt/aio.h: Likewise.
48441 * rt/bits/mqueue2.h: Likewise.
48442 * rt/mqueue.h: Likewise.
48443 * shadow/shadow.h: Likewise.
48444 * signal/signal.h: Likewise.
48445 * socket/send.c: Likewise.
48446 * socket/sendto.c: Likewise.
48447 * socket/sys/socket.h: Likewise.
48448 * stdio-common/printf.h: Likewise.
48449 * stdlib/bits/stdlib.h: Likewise.
48450 * stdlib/fmtmsg.h: Likewise.
48451 * stdlib/monetary.h: Likewise.
48452 * stdlib/stdlib.h: Likewise.
48453 * stdlib/ucontext.h: Likewise.
48454 * streams/stropts.h: Likewise.
48455 * string/argz.h: Likewise.
48456 * string/bits/string2.h: Likewise.
48457 * string/string.h: Likewise.
48458 * string/strings.h: Likewise.
48459 * sunrpc/rpc/auth.h: Likewise.
48460 * sunrpc/rpc/auth_des.h: Likewise.
48461 * sunrpc/rpc/clnt.h: Likewise.
48462 * sunrpc/rpc/netdb.h: Likewise.
48463 * sunrpc/rpc/pmap_clnt.h: Likewise.
48464 * sunrpc/rpc/xdr.h: Likewise.
48465 * sysdeps/generic/inttypes.h: Likewise.
48466 * sysdeps/generic/net/if.h: Likewise.
48467 * sysdeps/generic/sys/swap.h: Likewise.
48468 * sysdeps/gnu/net/if.h: Likewise.
48469 * sysdeps/gnu/utmpx.h: Likewise.
48470 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48471 * sysdeps/i386/i486/bits/string.h: Likewise.
48472 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48473 * sysdeps/s390/bits/string.h: Likewise.
48474 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48475 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48476 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48477 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48478 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48479 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48480 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48481 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48482 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48483 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48484 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48485 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48486 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48487 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48488 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48489 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48490 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48492 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48493 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48495 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48496 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48497 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48498 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48499 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48500 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48501 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48502 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48503 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48504 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48505 * sysvipc/sys/ipc.h: Likewise.
48506 * sysvipc/sys/msg.h: Likewise.
48507 * sysvipc/sys/sem.h: Likewise.
48508 * sysvipc/sys/shm.h: Likewise.
48509 * termios/termios.h: Likewise.
48510 * time/sys/time.h: Likewise.
48511 * time/time.h: Likewise.
48512 * wcsmbs/bits/wchar2.h: Likewise.
48513 * wcsmbs/uchar.h: Likewise.
48514 * wcsmbs/wchar.h: Likewise.
48515 * wctype/wctype.h: Likewise.
48516
0269750c
UD
48517 [BZ #13551]
48518 * Makeconfig: Remove all but ELF support including AIX support.
48519 * Makerules: Likewise.
48520 * config.h.in: Likewise.
48521 * config.make.in: Likewise.
48522 * configure: Likewise.
48523 * configure.in: Likewise.
48524 * csu/Makefile: Likewise.
48525 * csu/version.c: Likewise.
48526 * debug/Makefile: Likewise.
48527 * dlfcn/Makefile: Likewise.
48528 * elf/Makefile: Likewise.
48529 * extra-lib.mk: Likewise.
48530 * iconv/Makefile: Likewise.
48531 * include/libc-symbols.h: Likewise.
48532 * include/shlib-compat.h: Likewise.
48533 * resolv/Makefile: Likewise.
48534 * resolv/res_libc.c: Likewise.
48535 * rt/Makefile: Likewise.
48536 * sysdeps/i386/asm-syntax.h: Likewise.
48537 * sysdeps/i386/sysdep.h: Likewise.
48538 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48539 * sysdeps/mach/sysdep.h: Likewise.
48540 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48541 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48542 * sysdeps/s390/asm-syntax.h: Likewise.
48543 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48544 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48545 * sysdeps/sh/sysdep.h: Likewise.
48546 * sysdeps/unix/sparc/sysdep.h: Likewise.
48547 * sysdeps/wordsize-32/divdi3.c: Likewise.
48548 * sysdeps/x86_64/sysdep.h: Likewise.
48549
00bbd29b
UD
48550 * argp/Versions: Remove _argp_unlock_xxx.
48551
48552 [BZ #13559]
48553 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48554 * abilist/libBrokenLocale.abilist: Likewise.
48555 * abilist/libanl.abilist: Likewise.
48556 * abilist/libc.abilist: Likewise.
48557 * abilist/libcrypt.abilist: Likewise.
48558 * abilist/libdl.abilist: Likewise.
48559 * abilist/libm.abilist: Likewise.
48560 * abilist/libnsl.abilist: Likewise.
48561 * abilist/libpthread.abilist: Likewise.
48562 * abilist/libresolv.abilist: Likewise.
48563 * abilist/librt.abilist: Likewise.
48564 * abilist/libthread_db.abilist: Likewise.
48565 * abilist/libutil.abilist: Likewise.
48566 * abilist/libnss_db.abilist: New file.
48567
48568 * scripts/abilist.awk: Add support for indirect functions.
48569
a2693a0e
UD
48570 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48571
3f05895f
UD
48572 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48573
ecb6fb48
UD
48574 * shlib-versions: Remove entries for ports architectures.
48575
664f8cb9
UD
48576 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48577 files in ports.
48578 * elf/stackguard-macros.h: Remove support for IA-64.
48579 * elf/tst-auditmod1.c: Likewise.
48580 * sysdeps/generic/ldsodefs.h: Likewise.
48581
7ae81d88
UD
48582 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48583 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48584 configure files.
48585
bdeba135
UD
48586 [BZ #13552]
48587 * configure.in: Remove --enable-omitfp support.
48588 * FAQ.in: Adjust.
48589 * config.make.in: Likewise.
48590 * Makeconfig: Likewise.
48591 * manual/install.texi: Likewise.
48592
d75a0a62
UD
48593 In case anyone cares, the IA-64 architecture could move to ports.
48594 * sysdeps/ia64/*: Removed.
48595 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 48596 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 48597
dcc9756b
UD
48598 [BZ #13555]
48599 * configure.in: Remove entries for unsupported architectures.
48600
d3761ebc 48601 [BZ #13533]
9954432e
UD
48602 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48603 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48604 routines.
48605 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48606 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48607 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48608 fall back to using wcrtomb.
48609 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48610 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48611 renaming.
48612 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48613 * wcsmbs/tst-c16c32-1.c: New file.
48614
48615 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48616 local variable.
48617
c3a87236
UD
48618 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48619
28926a1b
UD
48620 * elf/tst-unique3.cc: Add explicit declaration of gets.
48621 * elf/tst-unique3lib.cc: Likewise.
48622 * elf/tst-unique3lib2.cc: Likewise.
48623 * elf/tst-unique4.cc: Likewise.
48624
df78418a
UD
48625 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48626
8ecd6b2a
JM
486272012-01-06 Joseph Myers <joseph@codesourcery.com>
48628
48629 [BZ #13566]
48630 * assert/assert.h (static_assert): Don't define for C++.
48631 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48632 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48633
9f115170
UD
486342012-01-03 Ulrich Drepper <drepper@gmail.com>
48635
5e0d0300
UD
48636 * iconv/loop.c (single loop): Fix assertion in storing of
48637 remaining bytes.
48638
9f115170
UD
48639 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48640
81fb02b0
UD
486412012-01-01 Ulrich Drepper <drepper@gmail.com>
48642
48643 * posix/getconf.c: Update copyright year.
48644 * nss/getent.c: Likewise.
a316c1f6 48645 * nss/makedb.c: Likewise.
81fb02b0
UD
48646 * iconv/iconvconfig.c: Likewise.
48647 * iconv/iconv_prog.c: Likewise.
48648 * elf/ldconfig.c: Likewise.
a316c1f6
UD
48649 * elf/pldd.c: Likewise.
48650 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
48651 * catgets/gencat.c: Likewise.
48652 * csu/version.c: Likewise.
48653 * elf/ldd.bash.in: Likewise.
48654 * elf/sprof.c (print_version): Likewise.
48655 * locale/programs/locale.c: Likewise.
48656 * locale/programs/localedef.c: Likewise.
a316c1f6 48657 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
48658 * nscd/nscd.c (print_version): Likewise.
48659 * debug/xtrace.sh: Likewise.
48660 * malloc/memusage.sh: Likewise.
48661 * malloc/mtrace.pl: Likewise.
48662 * debug/catchsegv.sh: Likewise.
48663
2ba92745
JJ
486642011-12-30 Jakub Jelinek <jakub@redhat.com>
48665
48666 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48667 pure attribute.
48668
dadebdae
UD
486692011-12-24 Ulrich Drepper <drepper@gmail.com>
48670
d3761ebc 48671 [BZ #13533]
db6af3eb
UD
48672 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48673 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48674 transformations.
48675 * iconv/gconv_int.h: Likewise.
48676 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48677 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48678 from libc for GLIBC_2.16.
48679 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48680 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48681 * wcsmbs/uchar.h: Really define mbstate_t.
48682 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48683 * wcsmbs/c16rtomb.c: New file.
48684 * wcsmbs/mbrtoc16.c: New file.
48685 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48686 for C/POSIX locale.
48687 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48688 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48689
dadebdae
UD
48690 * wcsmbs/wchar.h: Add missing __restrict.
48691
67371b56
UD
486922011-12-23 Ulrich Drepper <drepper@gmail.com>
48693
74033a25
UD
48694 [BZ #13532]
48695 * time/Makefile (routines): Add timespec_get.
48696 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48697 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48698 timespec for ISO C11.
48699 * time/timespec_get.c: New file.
48700 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48701 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48702
380d7e87
UD
48703 [BZ #13531]
48704 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48705 * stdlib/stdlib.h: Declare aligned_alloc.
48706 * Versions.def: Add GLIBC_2.16 for libc.
48707 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48708
4e9e7a35
UD
48709 [BZ 13527]
48710 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48711 ISO C11.
48712
380d7e87 48713 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
48714 code.
48715
03a71829
UD
48716 [BZ #13528]
48717 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48718
839e283e
UD
48719 [BZ #13529]
48720 * assert/assert.h (static_assert): Define.
48721
ce5294e2 48722 * version.h: Update for 2.16 development version.
90fa7312 48723
8d44e150 48724 [BZ #13526]
d7809905
UD
48725 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48726 _ISOC11_SOURCE.
48727
c0da14cd
UD
48728 * version.h (RELEASE): Bump for 2.15 release.
48729 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48730
530a3249
MP
48731 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48732 Patch by Marek Polacek <mpolacek@redhat.com>.
48733
67371b56
UD
48734 * bits/byteswap.h: Protect long long constants with __extension__.
48735 * sysdeps/i386/bits/byteswap.h: Likewise.
48736 * sysdeps/ia64/bits/byteswap.h: Likewise.
48737 * sysdeps/s390/bits/byteswap.h: Likewise.
48738 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48739
15db4de1
LD
487402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48741
48742 [BZ #13540]
bbe315ea
LD
48743 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48744 destination buffer.
15db4de1
LD
48745 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48746
2b2596b1
MP
487472011-12-23 Marek Polacek <polacek@redhat.com>
48748
48749 * elf/dl-addr.c (determine_info): Add inline keyword.
48750 * elf/tst-auditmod4b.c (check_avx): Likewise.
48751 * elf/tst-auditmod6b.c (check_avx): Likewise.
48752 * elf/tst-auditmod6c.c (check_avx): Likewise.
48753 * elf/tst-auditmod7b.c (check_avx): Likewise.
48754
70c6c246
UD
487552011-12-23 Ulrich Drepper <drepper@gmail.com>
48756
48757 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48758 !__SSE_MATH__.
48759
c044cf14
LD
487602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48761
15db4de1 48762 [BZ #13540]
c044cf14
LD
48763 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48764 processing for last bytes.
48765
6b13d9d9
BH
487662011-08-06 Bruno Haible <bruno@clisp.org>
48767
d455f537
BH
48768 [BZ #13061]
48769 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48770 U+0385, not to U+1FEE.
48771
6b13d9d9
BH
48772 [BZ #13062]
48773 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48774 entry for U+00A5 U+0301.
48775
db910efd
UD
487762011-12-22 Ulrich Drepper <drepper@gmail.com>
48777
27deeafc
UD
48778 [BZ #13166]
48779 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48780 buffer for the output is too small.
48781
aed9d171
UD
48782 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48783 optimization.
48784
db910efd
UD
48785 [BZ #13185]
48786 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48787 SSE flags if possible.
48788
2bd779ae
LD
487892011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48790
e7f9dac3 48791 [BZ #13540]
2bd779ae
LD
48792 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48793 processing for last bytes.
48794
154bfc16
JM
487952011-12-22 Joseph Myers <joseph@codesourcery.com>
48796
48797 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48798 (syscall-list-default-options, syscall-list-default-condition)
48799 (syscall-list-includes): Define.
48800 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48801 list of ABIs and options and #if conditions for each ABI. Do not
48802 handle common syscalls between ABIs specially.
48803 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48804 Remove.
48805 (syscall-list-variants, syscall-list-32bit-options)
48806 (syscall-list-32bit-condition, syscall-list-64bit-options)
48807 (syscall-list-64bit-condition): Define.
48808 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48809 (syscall-list-variants, syscall-list-32bit-options)
48810 (syscall-list-32bit-condition, syscall-list-64bit-options)
48811 (syscall-list-64bit-condition): Define.
48812 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48813 Remove.
48814 (syscall-list-variants, syscall-list-32bit-options)
48815 (syscall-list-32bit-condition, syscall-list-64bit-options)
48816 (syscall-list-64bit-condition): Define.
48817 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48818 Remove.
48819 (syscall-list-variants, syscall-list-32bit-options)
48820 (syscall-list-32bit-condition, syscall-list-64bit-options)
48821 (syscall-list-64bit-condition): Define.
48822
21eaf3a5
UD
488232011-12-22 Ulrich Drepper <drepper@gmail.com>
48824
16c6f992
UD
48825 * locale/iso-639.def: Add brx entry.
48826
41043168
UD
48827 [BZ #13328]
48828 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48829 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48830
21eaf3a5
UD
48831 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48832 __feraiseexcept_renamed.
48833
e3a851a2
UD
488342011-12-21 Ulrich Drepper <drepper@gmail.com>
48835
4920765e
UD
48836 [BZ #13538]
48837 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48838 EPOLLET with unsigned values.
48839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48840 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48841
e3a851a2
UD
48842 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48843 to large cancellation.
48844 * math/s_cacoshf.c: Likewise.
48845 * math/s_cacoshl.c: Likewise.
48846
b27e24b8
RK
488472011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48848
48849 [BZ #13305]
aebefeee 48850 [BZ #12786]
b27e24b8
RK
48851 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48852 * math/s_cacoshf.c: Likewise.
48853 * math/s_cacoshl.c: Likewise.
48854
ee190f67
UD
488552011-12-21 Ulrich Drepper <drepper@gmail.com>
48856
48857 [BZ #13439]
48858 * iconv/gconv.h: Define __GCONV_SWAP.
48859 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48860 * iconvdata/utf-16.c: Likewise.
48861 * iconvdata/utf-32.c: Likewise.
48862
707f25df
AS
488632011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48864
48865 [BZ #13524]
48866 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48867 numerator after shifting it by one limb.
48868
d2daaa1e
RÁE
488692011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48870
48871 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48872 under [__USE_EXTERN_INLINES].
48873
a4647e72
UD
488742011-12-17 Ulrich Drepper <drepper@gmail.com>
48875
48876 [BZ #13446]
48877 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48878
f0b264f1
AZ
488792011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48880
48881 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48882 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48883 optimized code.
48884 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48885 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48886 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48887 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48888 for strncasecmp/strncasecmp_l compilation.
48889 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48890 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48891
8ef4f244
MP
488922011-12-08 Marek Polacek <mpolacek@redhat.com>
48893
48894 [BZ #13484]
48895 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48896 of __asm__.
48897
97ac2654
UD
488982011-12-17 Ulrich Drepper <drepper@gmail.com>
48899
48900 [BZ #13506]
48901 * time/tzfile.c (__tzfile_read): Check values from file header.
48902
91d2a845
WS
489032011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48904
48905 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48906 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48907 * powerpc/powerpc32/dl-start.S: Likewise.
48908 * powerpc/powerpc32/elf/start.S: Likewise.
48909 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48910 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48911 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48912 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48913 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48914 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48915 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48916 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48917 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48918 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48919 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48920 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48921 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48922 * powerpc/powerpc32/memset.S: Likewise.
48923 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48924 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48925 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48926 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48927 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48928 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48929 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48930 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48931 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48932 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48933 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48934 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48935 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48936
a1267ba1
AZ
489372011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48938
48939 * math/libm-test.inc: Added more nearbyint tests.
48940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48943 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48944
ad8ac1bd
RL
489452011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48946
48947 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48948 FD_CLOEXEC.
48949
1d3e4b61
UD
489502011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48951
48952 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48953 Add wcscpy-ssse3 wcscpy-c.
48954 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48955 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48956 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48957 * sysdeps/x86_64/wcschr.S: New file.
48958 * sysdeps/x86_64/wcsrchr.S: New file.
48959 * string/test-strcmp.c: Remove checking of wcscmp function for
48960 wrong alignments.
48961 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48962 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48963 wcsrchr-sse2 wcsrchr-c.
48964 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48965 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48966 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48967 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48968 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48969 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48970 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48971 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48972 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48973 * wcsmbc/wcschr.c (WCSCHR): New macro.
48974
5b330a2d
UD
489752011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48976
48977 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48978 * wcsmbs/test-wcsrchr.c: New file.
48979 * string/test-strrchr.c: Add wcsrchr support.
48980 (WIDE): New macro.
48981 * wcsmbs/test-wcscpy.c: New file.
48982 * string/test-strcpy.c: Add wcscpy support.
48983 (WIDE): New macro.
26428b7c 48984
f039c043
UD
489852011-12-10 Ulrich Drepper <drepper@gmail.com>
48986
48987 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48988 the inner loop.
48989
850fb039
AS
489902011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48991
48992 [BZ #13472]
48993 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48994
4efbd5cb
UD
489952011-12-04 Ulrich Drepper <drepper@gmail.com>
48996
52ff5dd0 48997 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 48998 Minor optimizations.
52ff5dd0 48999
4efbd5cb
UD
49000 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49001 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49002 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49003
8a426e12
UD
490042011-12-03 Ulrich Drepper <drepper@gmail.com>
49005
aff2453d
UD
49006 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49007 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49008 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49009 for gcc to avoid warnings.
49010 * inet/Makefile (tests): Add tst-checks.
49011 * inet/tst-checks.c: New file.
49012
49013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49014 warning.
49015
49016 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49017 __wmemcmp_sse2.
49018
49019 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49020 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49021
8a426e12
UD
49022 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49023
9bea3473
UD
490242011-12-02 Ulrich Drepper <drepper@gmail.com>
49025
3a965496
UD
49026 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49027 problem.
49028
9bea3473
UD
49029 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49030
f101631b
UD
490312011-11-29 Joseph Myers <joseph@codesourcery.com>
49032
49033 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49034 conditional on GCC version.
49035 (__arch_compare_and_exchange_val_8_acq)
49036 (__arch_compare_and_exchange_val_16_acq)
49037 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49038 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49039 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49040
a98275aa
UD
490412011-12-02 Joseph Myers <joseph@codesourcery.com>
49042
49043 * sysdeps/sh/backtrace.c: New file.
49044
d4cc29a2
AS
490452011-12-02 Andreas Schwab <schwab@redhat.com>
49046
49047 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49048 parenthesis.
49049
6257af2d
AS
490502011-12-01 Andreas Schwab <schwab@redhat.com>
49051
49052 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49053 falling back to utime.
49054
b5f44c1a
AS
490552011-11-30 Andreas Schwab <schwab@redhat.com>
49056
49057 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49058 expectations for float.
49059
f3a6cc0a
AS
490602011-11-29 Andreas Schwab <schwab@redhat.com>
49061
49062 * locale/weight.h (findidx): Add parameter len.
49063 * locale/weightwc.h (findidx): Likewise.
49064 * posix/fnmatch_loop.c (FCT): Adjust caller.
49065 * posix/regcomp.c (build_equiv_class): Likewise.
49066 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49067 * posix/regexec.c (check_node_accept_bytes): Likewise.
49068 * string/strcoll_l.c (STRCOLL): Likewise.
49069 * string/strxfrm_l.c (STRXFRM): Likewise.
49070
9d65ea3a
UD
490712011-11-17 Ulrich Drepper <drepper@gmail.com>
49072
49073 * Makefile.in: Remove CVSOPT handling.
49074 * configure.in: Remove use of AC_REVISION.
49075 * iconvdata/Makefile (distribute): No need to filter out CVS.
49076 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49077 handling.
49078
5583a086
AS
490792011-11-16 Andreas Schwab <schwab@redhat.com>
49080
49081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49082 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49083 [USE_AS_STRNCASECMP_L]: Likewise.
49084 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49085 NO_TLS_DIRECT_SEG_REFS.
49086 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49087 Fix argument offsets for non-PIC.
49088 [USE_AS_STRNCASECMP_L]: Likewise.
49089 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49090 NO_TLS_DIRECT_SEG_REFS.
49091
d62a8200
UD
490922011-11-15 Ulrich Drepper <drepper@gmail.com>
49093
9d65ea3a 49094 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49095 O_CLOEXEC.
49096 * locale/loadlocale.c (_nl_load_locale): Likewise.
49097
09f93bd3
AS
490982011-11-15 Andreas Schwab <schwab@redhat.com>
49099
446514f9
AS
49100 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49101 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49102 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49103 (SYSCALL_GETTIME): Set errno on error.
49104
09f93bd3
AS
49105 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49106 count references to noai6ai_cached.
49107
312be3f9
UD
491082011-11-15 Ulrich Drepper <drepper@gmail.com>
49109
49110 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49111
49112 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49113 FD_CLOEXEC for /proc/self/maps.
49114
49115 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49116 FD_CLOEXEC for /proc/meminfo.
49117
49118 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49119 gai.conf.
49120
49121 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49122 FD_CLOEXEC for given file.
49123
49124 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49125
49126 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49127 FD_CLOEXEC for /etc/hosts.
49128 (_gethtent): Likewise.
49129
49130 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49131
49132 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49133 cancellation and set FD_CLOEXEC for /etc/netgroup.
49134
49135 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49136 reading /etc/publickey.
49137
49138 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49139 allow cancellation when reading /etc/group.
49140
49141 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49142 cancellation.
49143 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49144
49145 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49146 when using data file.
49147
49148 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49149
49150 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49151 (write_nis_obj): Use "c" and "e" in fopen.
49152
49153 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49154
49155 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49156
49157 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49158
49159 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49160
49161 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49162 locale.alias.
49163
49164 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49165
49166 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49167
49168 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49169
49170 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49171 file parsing and set FD_CLOEXEC.
49172
82af0fa8
UD
491732011-11-14 Ulrich Drepper <drepper@gmail.com>
49174
49175 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49176
a5fb313c
AS
491772011-11-14 Andreas Schwab <schwab@redhat.com>
49178
49179 * malloc/arena.c (arena_get2): Don't call reused_arena when
49180 _int_new_arena failed.
49181
6abf3465
UD
491822011-11-14 Ulrich Drepper <drepper@gmail.com>
49183
49184 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49185 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49186 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49187 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49188 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49189 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49190 to compile strcasecmp and strncasecmp.
49191 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49192 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49193
49194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49195
76e3966e
UD
491962011-11-13 Ulrich Drepper <drepper@gmail.com>
49197
49198 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49199 locale-defines.sym to gen-as-const-headers.
49200 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49201 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49203 to compile strcasecmp and strncasecmp.
49204 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49205 strcasecmp_l and strncasecmp_l.
49206 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49207 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49208 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49209 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49210 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49211 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49212 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49213 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49214 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49215 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49216 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49217
ab26144e
UD
492182011-11-12 Ulrich Drepper <drepper@gmail.com>
49219
7edb22ef
UD
49220 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49221 result of SYSDEP_GETTIME_CPU to retval.
49222 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49223 parameter list to macro. Remove trailing semicolon. Adjust users.
49224
9694fc44
UD
49225 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49226 variable.
49227
8ad89ef8
UD
49228 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49229 mantissa words.
49230 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49231
0c822ef9
UD
49232 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49233 from unused variable.
49234
874e0564
UD
49235 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49236 DWARF definitions.
49237 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49238 for assembling.
49239
3a2edc79
UD
49240 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49241 over namespaces.
49242
f3c2577f
UD
49243 * sunrpc/rpc_prot.c (rejected): Fix case value.
49244
294ce126
UD
49245 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49246 unsigned long long int to avoid warnings in shift.
49247
5e2b63c6
UD
49248 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49249 of use of trans.
49250 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49251 variable tmp.
49252
e7f4b08e
UD
49253 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49254 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49255 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49256
ab26144e
UD
49257 * nis/nis_table.c (nis_list): Use variable of correct type for
49258 result of __follow_path call.
49259
8a6d5255
AZ
492602011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49261
49262 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49263 of math functions ceil, trunc, floor, round, and sqrt, when
49264 avaliable on the platform.
49265 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49266 name clash.
49267 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49268 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49269 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49270
aaddc98c
MP
492712011-10-30 Marek Polacek <mpolacek@redhat.com>
49272
49273 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49274 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49275
95b7042b
RM
492762011-11-11 Roland McGrath <roland@hack.frob.com>
49277
49278 * include/unistd.h: Fix __readlink return type.
49279 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49280
57769839
UD
492812011-11-11 Ulrich Drepper <drepper@gmail.com>
49282
49283 * stdlib/ucontext.h: Undo last change for makecontext.
49284
edc5984d
AS
492852011-11-11 Andreas Schwab <schwab@redhat.com>
49286
98591e58
AS
49287 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49288
edc5984d
AS
49289 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49290 * setjmp/setjmp.h: Mark functions as non-leaf.
49291 * setjmp/bits/setjmp2.h: Likewise.
49292 * stdlib/ucontext.h: Likewise.
49293
77cdc054
AS
492942011-11-10 Andreas Schwab <schwab@redhat.com>
49295
49296 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49297 (reused_arena): Don't check arena limit.
49298 (arena_get2): Atomically check arena limit.
49299
fe72eebd
UD
493002011-11-08 Ulrich Drepper <drepper@gmail.com>
49301
5f078c32
UD
49302 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49303 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49304
fe72eebd
UD
49305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49306 instructions.
49307
ae1bc2fa
AS
493082011-11-07 Andreas Schwab <schwab@redhat.com>
49309
7583a88d
AS
49310 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49311 handler when locking.
49312
ae1bc2fa
AS
49313 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49314 Fix size of allocated buffer.
49315
10fb0bfa
AS
493162011-11-04 Andreas Schwab <schwab@redhat.com>
49317
998832a4
AS
49318 [BZ #10103]
49319 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49320 declarations for long double functions.
49321 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49322
10fb0bfa
AS
49323 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49324
3d7ba52b
AS
493252011-11-03 Andreas Schwab <schwab@redhat.com>
49326
a9ae54a1
AS
49327 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49328 installed.
49329
3d7ba52b
AS
49330 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49331 is disabled.
49332
bc8db248
ST
493332011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49334
49335 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49336
45b96dd6
AS
493372011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49338
647776f6
AS
49339 * include/alloca.h (stackinfo_alloca_round): Define.
49340 (extend_alloca): Use it.
49341 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49342 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49343 here.
49344
d91a8b93
AS
49345 * scripts/check-local-headers.sh: Ignore libaudit.h.
49346
45b96dd6
AS
49347 * nscd/Makefile (extra-objs): Make recursively expanded.
49348
432d41ce
UD
493492011-11-01 Ulrich Drepper <drepper@gmail.com>
49350
34372fc6
UD
49351 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49352 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49353
fadb59f8
UD
49354 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49355 * posix/tst-rfc3484-2.c: Likewise.
49356 * posix/tst-rfc3484-3.c: Likewise.
49357
78239589
UD
49358 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49359 process_vm_writev.
49360 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49361 process_vm_writev.
49362 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49363 process_vm_writev from libc using GLIBC_2.15 version.
49364
432d41ce
UD
49365 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49366
02f9c6cf
PP
493672011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49368
49369 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49370 stack usage.
49371
3a2c0242
UD
493722011-10-31 Ulrich Drepper <drepper@gmail.com>
49373
f4ec4833
UD
49374 [BZ #13367]
49375 * nss/getent.c (initgroups_keys): Show error message in case no group
49376 names are given.
49377
3a2c0242
UD
49378 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49379 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49380 __bump_nl_timestamp.
49381 * nscd/connections (nscd_init): When host database is served open
49382 netlink socket and request notification about configuration changes.
49383 (main_loop_poll): Track netlink file descriptor and bump timestamp
49384 in case data becomes available.
49385 (main_loop_epoll): Likewise.
49386 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49387 (database_pers_head): Add extra_data fileds.
49388 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49389 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49390 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49391 Adjust caller.
49392 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49393 in6ai data, call __free_in6ai.
49394 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49395 Add -DHAVE_NETLINK.
49396 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49397 interface information. Reuse previous data if netlink timestamp
49398 is not changed.
49399 (__bump_nl_timestamp): New function.
49400 (__free_in6ai): New function.
49401
636064eb
UD
494022011-10-30 Ulrich Drepper <drepper@gmail.com>
49403
49404 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49405 close_not_cancel_no_status here.
49406 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49407
9beb2334
UD
494082011-10-29 Ulrich Drepper <drepper@gmail.com>
49409
6ef76f3b
UD
49410 [BZ #13276]
49411 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49412 return value.
49413
0ffc4f3e 49414 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
49415 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49416 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49417
cb95113e
UD
494182011-07-03 Andreas Jaeger <aj@suse.de>
49419
49420 [BZ #10709]
49421 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49422 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49423 * math/libm-test.inc (sin_test): Add test case.
49424
a1b560ff
UD
494252011-10-29 Ulrich Drepper <drepper@gmail.com>
49426
c9aaface
UD
49427 [BZ #13337]
49428 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49429 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49430
d272e7f1
UD
49431 * elf/chroot_canon.c (chroot_canon): Cleanups.
49432
1bc33071
UD
49433 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49434
1760874d
TJ
49435 [BZ #13335]
49436 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49437 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49438
51d91b18
UD
49439 * string/test-strchr.c: Make usable for strchrnul testing.
49440 * string/test-strchrnul.c: New file.
49441 * string/Makefile (strop-tests): Add strchrnul.
49442
a1b560ff 49443 * po/it.po: Update from translation team.
b611fb81 49444 * po/es.po: Likewise.
a1b560ff 49445
a5b81e1f
UD
494462011-10-28 Ulrich Drepper <drepper@gmail.com>
49447
fd52bc6d
UD
49448 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49449 the three constants needed as parameters. Drop the others.
49450 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49451 __m128i_strloadu_tolower.
52e4b9eb
UD
49452 Create and initialize variable zero and use it in all the places
49453 where _mm_setzero_si128 was used.
fd52bc6d 49454
a5b81e1f
UD
49455 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49456 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49457 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49459 anymore.
49460 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49461 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49462 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49463 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49464 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49465 __mpranred, __mptan.
49466 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49467 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49468 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49469 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49470 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49471 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49472 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49473 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49474 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49475
b4343346
AS
494762011-10-28 Andreas Schwab <schwab@redhat.com>
49477
0c92d8a8
AS
49478 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49479 redefine if SHARED.
49480 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49481
b4343346
AS
49482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49483 wide char related routines to wcsmbs subdir.
49484
3871f58f
AS
494852011-10-27 Andreas Schwab <schwab@redhat.com>
49486
49487 [BZ #13344]
49488 * misc/sys/cdefs.h (__THROWNL): Define.
49489 * posix/unistd.h: Use __THREADNL instead of __THREAD
49490 for memory synchronization functions.
49491
94d44d9f
RM
494922011-10-26 Roland McGrath <roland@hack.frob.com>
49493
21b64b15 49494 [BZ #13349]
94d44d9f
RM
49495 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49496 doesn't exist.
49497 * manual/stdio.texi (Obstack Streams): Node removed.
49498
f6ce9294
AS
494992011-10-26 Andreas Schwab <schwab@redhat.com>
49500
80479147
AS
49501 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49502 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49503 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49504
f6ce9294
AS
49505 * math/math_private.h (math_force_eval): Allow non-addressable
49506 arguments.
49507 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49508
618280a1
UD
495092011-10-25 Ulrich Drepper <drepper@gmail.com>
49510
e0016b11
UD
49511 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49512 file is not needed.
49513
49514 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49515 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49516 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49517 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49518 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49519 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49520 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49521 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49522 Add AVX variants.
49523 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49524 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49525 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49526 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49527 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49528 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49529 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49530 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49531 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49532 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49533 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49534 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49535 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49536 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49537 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49538 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49539 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49540 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49541 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49542
49543 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49544 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49545
618280a1
UD
49546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49547 place. Use VEX encoding when compiling for AVX.
49548
37822576
AS
495492011-10-25 Andreas Schwab <schwab@redhat.com>
49550
1f1e1947
AS
49551 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49552 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49553
37822576
AS
49554 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49555
31ea014d
UD
495562011-10-25 Ulrich Drepper <drepper@gmail.com>
49557
d7826aa1 49558 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 49559 useless if() expression.
d7826aa1
UD
49560 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49561 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49562 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49563 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49564 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49565 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49566 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49568 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49569 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49570 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49571 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49572 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49573 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49574 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49575 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49576 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49577 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49578 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49579
31ea014d
UD
49580 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49581
16437fec
AS
495822011-10-25 Andreas Schwab <schwab@redhat.com>
49583
49584 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49585 condition.
49586 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49587
31d3cc00
UD
495882011-10-25 Ulrich Drepper <drepper@gmail.com>
49589
49590 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49591 .text section. Avoid duplicate constants.
49592 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49594 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49596 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49600 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49601 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49602 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49603 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49604 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49605 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49606 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49608 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49609 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49610 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49612 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49613 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49614 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49615 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49616 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49617 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49618 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49619 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49620 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49621 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49622 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49623 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49624 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49625 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49626 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49627 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49628 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49629 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49630 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49631 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49632 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49633 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49634 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49635 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49636 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49637
58985aa9
UD
496382011-10-24 Ulrich Drepper <drepper@gmail.com>
49639
202c9deb
UD
49640 * sysdeps/x86_64/dla.h: Move to ...
49641 * sysdeps/x86_64/fpu/dla.h: ...here.
49642 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49643 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 49644
af968f62
UD
49645 * config.make.in: Add have-mfma4 entry.
49646 * configure.in: Substitute libc_cv_cc_fma4.
49647 * math/Makefile (dbl-only-routines): Add sincostab.
49648 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49649 Use __sincostab not sincos.
49650 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49651 name is a macro.
49652 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49656 using __copysign.
49657 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49658 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49659 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49660 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49661 and __inv.
49662 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49663 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49664 __copysign.
49665 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49666 define aliases when function name is a macro.
49667 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49668 sysdeps/ieee754/dbl-64/sincos.tbl.
49669 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49670 fma4-enabled routines.
49671 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49672 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49673 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49674 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49675 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49676 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49677 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49678 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49680 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49681 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49682 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49683 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49684 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49685 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49686 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49687 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49688 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49689 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49691 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49692 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49693 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49697 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49698 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49699 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49700 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49701
58985aa9
UD
49702 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49703 rename.
49704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49712
a201fbcf
AS
497132011-10-24 Andreas Schwab <schwab@redhat.com>
49714
49715 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49716
fc2ee42a
LD
497172011-10-23 Ulrich Drepper <drepper@gmail.com>
49718
bb3129bd
UD
49719 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49720
0275fff8
UD
49721 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49722 prediction.
49723 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49724
2fa2ae85
UD
49725 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49726 Remove unused variable magic_bits.
49727 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49728
fc2ee42a
LD
49729 * string/strnlen.c: Define and use STRNLEN macro.
49730 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49731 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49732 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49733 * wcsmbs/wcslen.c: Define and use WCSLEN.
49734 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49735 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49736 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49737 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49738 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49739 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49740 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49741
ce7dd29f
LD
497422011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49743
49744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49745 strnlen-sse2-no-bsf.
49746 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49748 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49749 Add strnlen support.
49750 (USE_AS_STRNLEN): New macro.
49751 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49753 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49754 * sysdeps/x86_64/wcslen.S: New file.
49755
979c70a3
MZ
497562011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49757
49758 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49759 XMM-moves are used for copying on small sizes.
49760
2d09f82f
LD
497612011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49762
49763 * wcsmbs/Makefile (strop-tests): Add wcschr.
49764 * wcsmbs/test-wcschr.c: New file.
49765 * string/test-strchr.c: Update.
49766 Add wcschr support.
49767 (WIDE): New macro.
49768
619fccca
LD
497692011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49770
2d09f82f 49771 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
49772 * wcsmbs/test-wcslen.c: New file.
49773 * string/test-strlen.c: Update.
49774 Add wcslen support.
49775 (WIDE): New macro.
49776
09f699ea
UD
497772011-10-23 Ulrich Drepper <drepper@gmail.com>
49778
49779 * po/it.po: Update from translation team.
49780
95584d3b
LD
497812011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49782
49783 * sysdeps/x86_64/wcscmp.S: Update.
49784 Fix wrong comparison semantics.
49785 wcscmp shall use signed comparison not unsigned.
49786 Don't use substraction to avoid overflow bug.
49787 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49788 * wcsmbc/wcscmp.c: Likewise.
49789 * string/test-strcmp.c: Likewise.
49790 Add new tests to check cases with negative values.
49791
c8b3296b
UD
497922011-10-23 Ulrich Drepper <drepper@gmail.com>
49793
49794 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49795 * sysdeps/x86_64/dla.h: ...here. New file.
49796 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49801 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49804 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49805
246ad57a
AS
498062011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49807
49808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49809 __ynl_finite aliases.
49810
a1a87169
UD
498112011-10-22 Ulrich Drepper <drepper@gmail.com>
49812
0d355eb7
UD
49813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49814
a1a87169
UD
49815 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49816 define DLA_FMA.
49817 [DLA_FMA] (EMULV): Use DLA_FMA.
49818 [DLA_FMA] (MUL12): Use EMULV.
49819 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49820 that are not needed.
49821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49824 * sysdeps/ieee754/dbl-64/e_pow.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
ee2aafe0
AS
498292011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49830
49831 * math/s_nan.c: Undef __nan.
49832 * math/s_nanf.c: Undef __nanf.
49833 * math/s_nanl.c: Undef __nanl.
49834 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49835 "math_private.h".
49836
bc62c2fb
UD
498372011-10-22 Ulrich Drepper <drepper@gmail.com>
49838
77425c63
UD
49839 * math/s_catan.c: Add branch predictions.
49840 * math/s_catanf.c: Likewise.
49841 * math/s_catanh.c: Likewise.
49842 * math/s_catanhf.c: Likewise.
49843 * math/s_catanhl.c: Likewise.
49844 * math/s_catanl.c: Likewise.
49845 * math/s_cexp.c: Likewise.
49846 * math/s_cexpf.c: Likewise.
49847 * math/s_cexpl.c: Likewise.
49848 * math/s_clog.c: Likewise.
49849 * math/s_clog10.c: Likewise.
49850 * math/s_clog10f.c: Likewise.
49851 * math/s_clog10l.c: Likewise.
49852 * math/s_clogf.c: Likewise.
49853 * math/s_clogl.c: Likewise.
49854 * math/s_csqrt.c: Likewise.
49855 * math/s_csqrtf.c: Likewise.
49856 * math/s_csqrtl.c: Likewise.
49857 * math/s_ctanf.c: Likewise.
49858 * math/s_ctanh.c: Likewise.
49859 * math/s_ctanhf.c: Likewise.
49860 * math/s_ctanhl.c: Likewise.
49861 * math/s_ctanl.c: Likewise.
49862
bc62c2fb
UD
49863 * math/math_private.h: Define __nan, __nanf, __nanl.
49864 * math/s_cacosh.c: Include <math_private.h>.
49865 * math/s_cacoshl.c: Likewise.
49866 * math/s_casinh.c: Likewise.
49867 * math/s_casinhf.c: Likewise.
49868 * math/s_casinhl.c: Likewise.
49869 * math/s_ccos.c: Rely entire on ccosh.
49870 * math/s_ccosf.c: Rely entire on ccoshf.
49871 * math/s_ccosl.c: Rely entirely on ccoshl.
49872 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49873 Remove tests for FE_INVALID.
49874 * math/s_ccoshf.c: Likewise.
49875 * math/s_ccoshl.c: Likewise.
49876 * math/s_csin.c: Likewise.
49877 * math/s_csinf.c: Likewise.
49878 * math/s_csinh.c Likewise.
49879 * math/s_csinhf.c: Likewise.
49880 * math/s_csinhl.c: Likewise.
49881 * math/s_csinl.c: Likewise.
49882 * math/s_ctan.c: Likewise.
49883 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49884 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49886
8ec250a4
UD
498872011-10-21 Ulrich Drepper <drepper@gmail.com>
49888
c196fed8
UD
49889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49890 compilation problems.
49891
8ec250a4
UD
49892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49893 __builtin_expect.
49894
8d4f46c6
UD
498952011-10-20 Ulrich Drepper <drepper@gmail.com>
49896
ed72b654
UD
49897 * sysdeps/i386/configure.in: Test for -mfma4 option.
49898 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49899 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49900 COMMON_CPUID_INDEX_80000001.
49901 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49902 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49903 use it if FMA3 is not supported.
49904 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49905
8d4f46c6
UD
49906 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49907 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49908
d45c60c2
AS
499092011-10-20 Andreas Schwab <schwab@redhat.com>
49910
49911 [BZ #12892]
49912 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49913 it would create a cycle with a link time dependency.
49914
d9a4d2ab
UD
499152011-10-19 Ulrich Drepper <drepper@gmail.com>
49916
855d1560
UD
49917 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49918 instruction.
49919 * string/Makefile (strop-tests): Add rawmemchr.
49920 * string/test-rawmemchr.c: New file.
49921
d9a4d2ab
UD
49922 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49923 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49924 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49925 when compiling str{,n}casecmp and when AVX is available. Hook up
49926 new optimized code in initializers.
49927
8f3b1ffe
AS
499282011-10-19 Andreas Schwab <schwab@redhat.com>
49929
49930 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49931 __feraiseexcept instead of feraiseexcept.
49932
d38f1dba
UD
499332011-10-18 Ulrich Drepper <drepper@gmail.com>
49934
d9a8d0ab
UD
49935 * math/math_private.h: Define defaults for libc_fetestexcept and
49936 libc_feupdateenv.
49937 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49938 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49939 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49940 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49941 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49942 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49943 libc_fetestexcept and libc_feupdateenv.
49944
4855e3dd
UD
49945 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49946 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49947 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49948 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49949 libc_feholdexcept_setround.
49950
581d30e3
UD
49951 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49952 Add s_nearbyint-c and s_nearbyintf-c.
49953 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49954 nearbyintf inlines.
49955 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49956 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49957 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49958 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49959
d38f1dba
UD
49960 * math/math_private.h: Define defaults for libc_fegetround,
49961 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49962 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49963 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49964 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49965 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49966 standard functions.
49967 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49968 Remove comments and hacks for old compiler versions.
49969 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49970 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49971 libc_feholdexceptl.
49972
caa6c9d8
AS
499732011-10-18 Andreas Schwab <schwab@redhat.com>
49974
49975 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
49976 (__feraiseexcept_renamed): Add __NTH.
49977 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
49978 namespace violations.
49979
97c066e6
UD
499802011-10-17 Ulrich Drepper <drepper@gmail.com>
49981
99ce7b04
UD
49982 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49983
1004d182
UD
49984 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49985
228a984d
UD
49986 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49987 recently added interfaces.
49988 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49989
c8553a6a
UD
49990 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49991 about macro parameter expansion.
49992
ed22dcf6
UD
49993 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49994 __NO_MATH_INLINES is defined. Cleanups.
49995
49996 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49997 and __floorf is target has SSE4.1.
49998 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49999 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50000 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50001 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50002
b171c137
UD
50003 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50004 name.
50005 (floorf): Likewise.
50006
97c066e6
UD
50007 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50008
629f62ef
AS
500092011-10-17 Andreas Schwab <schwab@redhat.com>
50010
49a43d80
AS
50011 * misc/sys/cdefs.h: Fix last change.
50012
629f62ef
AS
50013 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50014 database lookup.
50015
e453f6cd
UD
500162011-10-16 Ulrich Drepper <drepper@gmail.com>
50017
aa78043a
UD
50018 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50019
ad0f5cad
UD
50020 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50022 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50025 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50026 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50027 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50028 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50029 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50030 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50031 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50032 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50033 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50034 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50035 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50036 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50037 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50038 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50039 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50040 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50041 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50042
50043 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50044 ceil, ceilf, floor, floorf.
50045
50046 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50047 Perform IRELATIVE relocations last.
50048
e453f6cd
UD
50049 * elf/do-rel.h: Add another parameter nrelative, replacing the
50050 local variable with the same name. Change name of the function
50051 to end in Rel or Rela (uppercase).
50052 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50053 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50054 elf_dynamic_do_##reloc function.
50055
fd5bdc09
UD
500562011-10-15 Ulrich Drepper <drepper@gmail.com>
50057
79b195b5
UD
50058 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50059 is sufficient, at least on modern CPUs.
50060
d4a28569
UD
50061 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50062
b61099b5
UD
50063 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50064 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50065
bcf01e6d
UD
50066 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50067 __expl_finite.
50068 * math/bits/math-finite.h: Add entries for exp.
50069 * math/e_expl.c: Add __*_finite alias.
50070 * sysdeps/i386/fpu/e_exp.S: Likewise.
50071 * sysdeps/i386/fpu/e_expf.S: Likewise.
50072 * sysdeps/i386/fpu/e_expl.c: Likewise.
50073 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50074 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50075 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50077 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50078 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50079 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50080
ba1a0d59
UD
50081 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50082 is sufficient, at least on modern CPUs.
50083
fd5bdc09
UD
50084 * ctype/ctype-info.c (__ctype_init): Define.
50085 * include/ctype.h (__ctype_init): Declare.
50086 (__ctype_b_loc): The variable is always initialized.
50087 (__ctype_toupper_loc): Likewise.
50088 (__ctype_tolower_loc): Likewise.
50089 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50090 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50091
7872cfb0
AS
500922011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50093
b468825a
AS
50094 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50095
7872cfb0
AS
50096 * configure.in: Also look in $cxxmachine/include for C++ system
50097 headers.
50098
be13f7bf
LD
500992011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50100
50101 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50102 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50103 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50104 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50105 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50106 (USE_AS_WMEMCMP): New macro.
50107 Fixing indents.
50108 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50109 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50110 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50111 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50113 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50114 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50115 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50116 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50117 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50118 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50119 (USE_AS_WMEMCMP): New macro.
50120 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50121 * sysdeps/string/test-memcmp.c: Update.
50122 Fix simple_wmemcmp.
50123 Add new tests.
50124 * wcsmbs/wmemcmp.c: Update.
50125 (WMEMCMP): New macro.
50126 Fix overflow bug.
50127
556a2007
AJ
501282011-10-12 Andreas Jaeger <aj@suse.de>
50129
50130 [BZ #13268]
50131 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50132
538faaa7
UD
501332011-10-15 Ulrich Drepper <drepper@gmail.com>
50134
ab6737ff
UD
50135 * libio/iofwide.c (do_length): Avoid warning.
50136
538faaa7
UD
50137 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50138
396a21b1
UD
501392011-10-14 Ulrich Drepper <drepper@gmail.com>
50140
cdf2901f
UD
50141 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50142
38ad40ce
UD
50143 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50144 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50145 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50146 * sysdeps/i386/i686/fpu/e_log.S: New file.
50147 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50148 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50149
396a21b1
UD
50150 * ctype/ctype.h: Add support for inlined isXXX functions when
50151 compiling C++ code.
50152
6b1f68c9
AS
501532011-10-14 Andreas Schwab <schwab@redhat.com>
50154
349290c0
AS
50155 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50156
6b1f68c9
AS
50157 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50158
f2282d42
RM
501592011-10-13 Roland McGrath <roland@hack.frob.com>
50160
50161 [BZ #13291]
50162 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50163
5298ffa8
AS
501642011-10-13 Andreas Schwab <schwab@redhat.com>
50165
714fad23
AS
50166 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50167 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50168 feraiseexcept.
50169
81dcc7fb
AS
50170 * sysdeps/x86_64/memrchr.S: Check for zero size.
50171
5298ffa8
AS
50172 * string/stratcliff.c: Add memrchr tests.
50173
951fbcec
LD
501742011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50175
50176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50177 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50178 rawmemchr-sse2 rawmemchr-sse2-bsf.
50179 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50180 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50181 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50182 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50183 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50184 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50185 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50186 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50187 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50188 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50189 * string/memrchr.c (MEMRCHR): New macro.
50190
0ac5ae23
UD
501912011-10-12 Ulrich Drepper <drepper@gmail.com>
50192
50193 Add integration with gcc's -ffinite-math-only and optimize wrapper
50194 functions in libm.
50195 * Versions.def: Define GLIBC_2.15 version for libm.
50196 * math/Makefile (headers): Add bits/math-finite.h.
50197 * math/bits/math-finite.h: New file.
50198 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50199 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50200 * math/e_acoshl.c: Add __*_finite alias.
50201 * math/e_acosl.c: Likewise.
50202 * math/e_asinl.c: Likewise.
50203 * math/e_atan2l.c: Likewise.
50204 * math/e_atanhl.c: Likewise.
50205 * math/e_coshl.c: Likewise.
50206 * math/e_exp10.c: Likewise.
50207 * math/e_exp10f.c: Likewise.
50208 * math/e_exp10l.c: Likewise.
50209 * math/e_exp2l.c: Likewise.
50210 * math/e_fmodl.c: Likewise.
50211 * math/e_gammal_r.c: Likewise.
50212 * math/e_hypotl.c: Likewise.
50213 * math/e_j0l.c: Likewise.
50214 * math/e_j1l.c: Likewise.
50215 * math/e_jnl.c: Likewise.
50216 * math/e_lgammal_r.c: Likewise.
50217 * math/e_log10l.c: Likewise.
50218 * math/e_log2l.c: Likewise.
50219 * math/e_logl.c: Likewise.
50220 * math/e_powl.c: Likewise.
50221 * math/e_sinhl.c: Likewise.
50222 * math/e_sqrtl.c: Likewise.
50223 * math/e_scalb.c: Completely rewritten and optimized.
50224 * math/e_scalbf.c: Likewise.
50225 * math/e_scalbl.c: Likewise.
50226 * math/w_acos.c: Likewise.
50227 * math/w_acosf.c: Likewise.
50228 * math/w_acosl.c: Likewise.
50229 * math/w_acosh.c: Likewise.
50230 * math/w_acoshf.c: Likewise.
50231 * math/w_acoshl.c: Likewise.
50232 * math/w_asin.c: Likewise.
50233 * math/w_asinf.c: Likewise.
50234 * math/w_asinl.c: Likewise.
50235 * math/w_atan2.c: Likewise.
50236 * math/w_atan2f.c: Likewise.
50237 * math/w_atan2l.c: Likewise.
50238 * math/w_atanh.c: Likewise.
50239 * math/w_atanhf.c: Likewise.
50240 * math/w_atanhl.c: Likewise.
50241 * math/w_exp10.c: Likewise.
50242 * math/w_exp10f.c: Likewise.
50243 * math/w_exp10l.c: Likewise.
50244 * math/w_fmod.c: Likewise.
50245 * math/w_fmodf.c: Likewise.
50246 * math/w_fmodl.c: Likewise.
50247 * math/w_j0.c: Likewise.
50248 * math/w_j0f.c: Likewise.
50249 * math/w_j0l.c: Likewise.
50250 * math/w_j1.c: Likewise.
50251 * math/w_j1f.c: Likewise.
50252 * math/w_j1l.c: Likewise.
50253 * math/w_jn.c: Likewise.
50254 * math/w_jnf.c: Likewise.
50255 * math/w_log.c: Likewise.
50256 * math/w_logf.c: Likewise.
50257 * math/w_logl.c: Likewise.
50258 * math/w_log10.c: Likewise.
50259 * math/w_log10f.c: Likewise.
50260 * math/w_log10l.c: Likewise.
50261 * math/w_log2.c: Likewise.
50262 * math/w_log2f.c: Likewise.
50263 * math/w_log2l.c: Likewise.
50264 * math/w_pow.c: Likewise.
50265 * math/w_powf.c: Likewise.
50266 * math/w_powl.c: Likewise.
50267 * math/w_remainder.c: Likewise.
50268 * math/w_remainderf.c: Likewise.
50269 * math/w_remainderl.c: Likewise.
50270 * math/w_scalb.c: Likewise.
50271 * math/w_scalbf.c: Likewise.
50272 * math/w_scalbl.c: Likewise.
50273 * math/w_sqrt.c: Likewise.
50274 * math/w_sqrtf.c: Likewise.
50275 * math/w_sqrtl.c: Likewise.
50276 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50277 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50278 used.
50279 * math/math_private.h: Declare __kernel_standard_f.
50280 * math/w_cosh.c: Remove cruft and optimize a bit.
50281 * math/w_coshf.c: Likewise.
50282 * math/w_coshl.c: Likewise.
50283 * math/w_exp2.c: Likewise.
50284 * math/w_exp2f.c: Likewise.
50285 * math/w_exp2l.c: Likewise.
50286 * math/w_hypot.c: Likewise.
50287 * math/w_hypotf.c: Likewise.
50288 * math/w_hypotl.c: Likewise.
50289 * math/w_lgamma.c: Likewise.
50290 * math/w_lgamma_r.c: Likewise.
50291 * math/w_lgammaf.c: Likewise.
50292 * math/w_lgammaf_r.c: Likewise.
50293 * math/w_lgammal.c: Likewise.
50294 * math/w_lgammal_r.c: Likewise.
50295 * math/w_sinh.c: Likewise.
50296 * math/w_sinhf.c: Likewise.
50297 * math/w_sinhl.c: Likewise.
50298 * math/w_tgamma.c: Likewise.
50299 * math/w_tgammaf.c: Likewise.
50300 * math/w_tgammal.c: Likewise.
50301 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50302 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50303 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50304 Minor optimizations. Pretty printing. Remove cruft.
50305 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50306 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50307 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50308 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50309 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50310 * sysdeps/i386/fpu/e_asin.S: Likewise.
50311 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50312 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50313 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50314 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50315 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50316 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50317 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50318 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50319 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50320 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50321 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50322 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50323 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50324 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50325 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50326 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50327 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50328 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50329 * sysdeps/i386/fpu/e_log.S: Likewise.
50330 * sysdeps/i386/fpu/e_log10.S: Likewise.
50331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50332 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50333 * sysdeps/i386/fpu/e_log2.S: Likewise.
50334 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50335 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50336 * sysdeps/i386/fpu/e_logf.S: Likewise.
50337 * sysdeps/i386/fpu/e_logl.S: Likewise.
50338 * sysdeps/i386/fpu/e_pow.S: Likewise.
50339 * sysdeps/i386/fpu/e_powf.S: Likewise.
50340 * sysdeps/i386/fpu/e_powl.S: Likewise.
50341 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50342 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50343 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50344 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50345 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50346 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50347 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50348 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50349 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50350 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50351 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50353 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50354 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50355 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50356 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50357 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50358 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50359 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50360 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50361 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50364 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50366 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50367 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50368 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50370 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50371 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50372 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50373 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50374 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50375 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50376 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50377 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50378 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50379 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50380 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50381 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50382 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50383 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50384 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50385 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50386 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50387 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50388 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50389 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50390 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50391 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50392 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50393 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50395 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50396 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50397 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50398 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50399 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50400 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50401 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50405 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50406 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50407 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50408 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50409 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50410 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50411 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50414 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50415 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50416 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50418 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50420 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50421 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50422 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50424 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50425 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50426 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50427 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50428 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50429 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50430 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50431 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50432 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50433 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50434 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50435 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50436 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50437 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50438 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50439 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50440 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50441 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50442 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50443 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50444 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50445 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50446 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50447 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50448 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50449 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50450 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50451 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50452 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50453 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50454 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50455 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50456 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50457 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50458 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50459 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50460 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50461 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50462 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50463 (__isnanf): Likewise.
50464 (__isinf_ns): Likewise.
50465 (__isinf_nsf): Likewise.
50466 (__finite): Likewise.
50467 (__finitef): Likewise.
50468 (__ieee754_sqrt): Define as macro.
50469 (__ieee754_sqrtf): Define as macro.
50470 (__ieee754_sqrtl): Define as macro.
50471 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50472 inlined copy.
50473 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50474 __FINITE_MATH_ONLY__ consistent.
50475 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50476
12cc2fcd
AS
504772011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50478
a843a204
AS
50479 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50480 of rawmemchr.
50481
12cc2fcd
AS
50482 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50483
c853acd5
UD
504842011-10-09 Ulrich Drepper <drepper@gmail.com>
50485
50486 * po/ja.po: Update from translation team.
50487
c658d255
RM
504882011-10-08 Roland McGrath <roland@hack.frob.com>
50489
110946e4
RM
50490 * locale/programs/locarchive.c (prepare_address_space): New function.
50491 (create_archive, enlarge_archive, open_archive): Use it.
50492
50604220
RM
50493 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50494 inside [SHARED], where it is used.
50495
c658d255
RM
50496 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50497
50498 * nss/getent.c (netgroup_keys): Remove unused variable.
50499 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50500
6a621eb7
UD
505012011-10-08 Ulrich Drepper <drepper@gmail.com>
50502
7edb55ce
UD
50503 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50504 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50506 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50507 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50508 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50509 * math/Makefile (libm-calls): Add s_isinf_ns.
50510 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50511 * math/multc3.c: Likewise.
50512 * math/s_casin.c: Likewise.
50513 * math/s_casinf.c: Likewise.
50514 * math/s_casinl.c: Likewise.
50515 * math/s_ccos.c: Likewise.
50516 * math/s_ccosf.c: Likewise.
50517 * math/s_ccosl.c: Likewise.
50518 * math/s_ctan.c: Likewise.
50519 * math/s_ctanf.c: Likewise.
50520 * math/s_ctanh.c: Likewise.
50521 * math/s_ctanhf.c: Likewise.
50522 * math/s_ctanhl.c: Likewise.
50523 * math/s_ctanl.c: Likewise.
50524 * math/w_fmod.c: Likewise.
50525 * math/w_fmodf.c: Likewise.
50526 * math/w_fmodl.c: Likewise.
50527 * math/w_remainder.c: Likewise.
50528 * math/w_remainderf.c: Likewise.
50529 * math/w_remainderl.c: Likewise.
50530 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50531 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50532 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50534 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50535 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50536 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50537 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50538
187da0ae
UD
50539 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50540 of the number.
50541 * stdio-common/printf_fphex.c: Likewise.
50542 * stdio-common/printf_size.c: Likewise.
50543
9277c064
UD
50544 * math/e_exp10.c: Include math_private.h using <...> not "...".
50545 * math/e_exp10f.c: Likewise.
50546 * math/e_exp10l.c: Likewise.
50547 * math/e_exp2l.c: Likewise.
50548 * math/e_j0l.c: Likewise.
50549 * math/e_j1l.c: Likewise.
50550 * math/e_jnl.c: Likewise.
50551 * math/e_lgammal_r.c: Likewise.
50552 * math/e_rem_pio2l.c: Likewise.
50553 * math/e_scalb.c: Likewise.
50554 * math/e_scalbf.c: Likewise.
50555 * math/e_scalbl.c: Likewise.
50556 * math/k_cosl.c: Likewise.
50557 * math/k_sinl.c: Likewise.
50558 * math/k_tanl.c: Likewise.
50559 * math/s_cacoshf.c: Likewise.
50560 * math/s_catan.c: Likewise.
50561 * math/s_catanf.c: Likewise.
50562 * math/s_catanh.c: Likewise.
50563 * math/s_catanhf.c: Likewise.
50564 * math/s_catanhl.c: Likewise.
50565 * math/s_catanl.c: Likewise.
50566 * math/s_ccosh.c: Likewise.
50567 * math/s_ccoshf.c: Likewise.
50568 * math/s_ccoshl.c: Likewise.
50569 * math/s_cexp.c: Likewise.
50570 * math/s_cexpf.c: Likewise.
50571 * math/s_cexpl.c: Likewise.
50572 * math/s_clog.c: Likewise.
50573 * math/s_clog10.c: Likewise.
50574 * math/s_clog10f.c: Likewise.
50575 * math/s_clog10l.c: Likewise.
50576 * math/s_clogf.c: Likewise.
50577 * math/s_clogl.c: Likewise.
50578 * math/s_csin.c: Likewise.
50579 * math/s_csinf.c: Likewise.
50580 * math/s_csinh.c: Likewise.
50581 * math/s_csinhf.c: Likewise.
50582 * math/s_csinhl.c: Likewise.
50583 * math/s_csinl.c: Likewise.
50584 * math/s_csqrt.c: Likewise.
50585 * math/s_csqrtf.c: Likewise.
50586 * math/s_csqrtl.c: Likewise.
50587 * math/s_ctan.c: Likewise.
50588 * math/s_ctanf.c: Likewise.
50589 * math/s_ctanh.c: Likewise.
50590 * math/s_ctanhf.c: Likewise.
50591 * math/s_ctanhl.c: Likewise.
50592 * math/s_ctanl.c: Likewise.
50593 * math/s_ldexp.c: Likewise.
50594 * math/s_ldexpf.c: Likewise.
50595 * math/s_ldexpl.c: Likewise.
50596 * math/s_significand.c: Likewise.
50597 * math/s_significandf.c: Likewise.
50598 * math/s_significandl.c: Likewise.
50599 * math/w_acos.c: Likewise.
50600 * math/w_acosf.c: Likewise.
50601 * math/w_acosh.c: Likewise.
50602 * math/w_acoshf.c: Likewise.
50603 * math/w_acoshl.c: Likewise.
50604 * math/w_acosl.c: Likewise.
50605 * math/w_asin.c: Likewise.
50606 * math/w_asinf.c: Likewise.
50607 * math/w_asinl.c: Likewise.
50608 * math/w_atan2.c: Likewise.
50609 * math/w_atan2f.c: Likewise.
50610 * math/w_atan2l.c: Likewise.
50611 * math/w_atanh.c: Likewise.
50612 * math/w_atanhf.c: Likewise.
50613 * math/w_atanhl.c: Likewise.
50614 * math/w_cosh.c: Likewise.
50615 * math/w_coshf.c: Likewise.
50616 * math/w_coshl.c: Likewise.
50617 * math/w_dremf.c: Likewise.
50618 * math/w_exp10.c: Likewise.
50619 * math/w_exp10f.c: Likewise.
50620 * math/w_exp10l.c: Likewise.
50621 * math/w_exp2.c: Likewise.
50622 * math/w_exp2f.c: Likewise.
50623 * math/w_fmod.c: Likewise.
50624 * math/w_fmodf.c: Likewise.
50625 * math/w_fmodl.c: Likewise.
50626 * math/w_hypot.c: Likewise.
50627 * math/w_hypotf.c: Likewise.
50628 * math/w_hypotl.c: Likewise.
50629 * math/w_j0.c: Likewise.
50630 * math/w_j0f.c: Likewise.
50631 * math/w_j0l.c: Likewise.
50632 * math/w_j1.c: Likewise.
50633 * math/w_j1f.c: Likewise.
50634 * math/w_j1l.c: Likewise.
50635 * math/w_jn.c: Likewise.
50636 * math/w_jnf.c: Likewise.
50637 * math/w_jnl.c: Likewise.
50638 * math/w_lgamma.c: Likewise.
50639 * math/w_lgamma_r.c: Likewise.
50640 * math/w_lgammaf.c: Likewise.
50641 * math/w_lgammaf_r.c: Likewise.
50642 * math/w_lgammal.c: Likewise.
50643 * math/w_lgammal_r.c: Likewise.
50644 * math/w_log.c: Likewise.
50645 * math/w_log10.c: Likewise.
50646 * math/w_log10f.c: Likewise.
50647 * math/w_log10l.c: Likewise.
50648 * math/w_log2.c: Likewise.
50649 * math/w_log2f.c: Likewise.
50650 * math/w_log2l.c: Likewise.
50651 * math/w_logf.c: Likewise.
50652 * math/w_logl.c: Likewise.
50653 * math/w_pow.c: Likewise.
50654 * math/w_powf.c: Likewise.
50655 * math/w_powl.c: Likewise.
50656 * math/w_remainder.c: Likewise.
50657 * math/w_remainderf.c: Likewise.
50658 * math/w_remainderl.c: Likewise.
50659 * math/w_scalb.c: Likewise.
50660 * math/w_scalbf.c: Likewise.
50661 * math/w_scalbl.c: Likewise.
50662 * math/w_sinh.c: Likewise.
50663 * math/w_sinhf.c: Likewise.
50664 * math/w_sinhl.c: Likewise.
50665 * math/w_sqrt.c: Likewise.
50666 * math/w_sqrtf.c: Likewise.
50667 * math/w_sqrtl.c: Likewise.
50668 * math/w_tgamma.c: Likewise.
50669 * math/w_tgammaf.c: Likewise.
50670 * math/w_tgammal.c: Likewise.
50671
6a621eb7
UD
50672 * po/ja.po: Update from translation team.
50673
bf582445
AJ
506742011-09-29 Andreas Jaeger <aj@suse.de>
50675
f9efbf3a
AJ
50676 [BZ #13179]
50677 * sunrpc/netname.c (netname2host): Fix logic.
50678
bf582445
AJ
50679 [BZ #6779]
50680 [BZ #6783]
50681 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50682 correctly.
50683 * math/w_remainder.c (__remainder): Likewise.
50684 * math/w_remainderf.c (__remainderf): Likewise.
50685 * math/libm-test.inc (remainder_test): Add test cases.
50686
48693bea
AK
506872011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50688
50689 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50690 sdiv_qrnnd.
50691
42622229
LD
506922011-10-07 Ulrich Drepper <drepper@gmail.com>
50693
50694 * string/test-memcmp.c: Avoid unncessary #defines.
50695 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50696
093ecf92
LD
506972011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50698
50699 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50700 Use new sse2 version for core i3 - i7 as it's faster
50701 than sse42 version.
50702 (bit_Prefer_PMINUB_for_stringop): New.
50703 * sysdeps/x86_64/rawmemchr.S: Update.
50704 Replace with faster SSE2 version.
50705 * sysdeps/x86_64/memrchr.S: New file.
50706 * sysdeps/x86_64/memchr.S: Update.
50707 Replace with faster SSE2 version.
50708
fde56e5c
MP
507092011-09-12 Marek Polacek <mpolacek@redhat.com>
50710
50711 * elf/dl-load.c (lose): Add cast to avoid warning.
50712
21fd49a9
UD
507132011-10-07 Ulrich Drepper <drepper@gmail.com>
50714
5a06e643
UD
50715 * po/ca.po: Update from translation team.
50716
684ae515
UD
50717 * inet/getnetgrent_r.c: Hook up nscd.
50718 * nscd/Makefile (routines): Add nscd_netgroup.
50719 (nscd-modules): Add netgroupcache.
50720 (CFLAGS-netgroupcache.c): Define.
50721 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50722 (cache_search): Add const to second parameter.
50723 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50724 INNETGR.
50725 (dbs): Add netgrdb entry.
50726 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50727 (verify_persistent_db): Handle netgrdb.
50728 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50729 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50730 GETFDNETGR.
50731 (netgroup_response_header): Define.
50732 (innetgroup_response_header): Define.
50733 (datahead): Add netgroup_response_header and innetgroup_response_header
50734 elements.
50735 * nscd/nscd.conf: Add entries for netgroup cache.
50736 * nscd/nscd.h (dbtype): Add netgrdb.
50737 (_PATH_NSCD_NETGROUP_DB): Define.
50738 (netgroup_iov_disabled): Declare.
50739 (xmalloc, xcalloc, xrealloc): Move declarations here.
50740 (cache_search): Adjust prototype.
50741 Add netgroup-related prototypes.
50742 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50743 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50744 (__nscd_innetgr): Declare.
50745 * nscd/selinux.c (perms): Use access_vector_t as element type and
50746 add netgroup-related initializers.
50747 * nscd/netgroupcache.c: New file.
50748 * nscd/nscd_netgroup.c: New file.
50749 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50750 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50751 For four parameters use innetgr.
50752 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50753 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50754 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50755 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50756
21fd49a9
UD
50757 * nscd/connections.c (register_traced_file): Don't register file
50758 for disabled databases.
50759
054c0457
UD
507602011-10-06 Ulrich Drepper <drepper@gmail.com>
50761
32b63198
UD
50762 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50763
054c0457
UD
50764 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50765 from tree and freeing node.
50766
64031225
JO
507672011-09-25 Jiri Olsa <jolsa@redhat.com>
50768
50769 * nss/nsswitch.c (__nss_database_lookup): Handle
50770 nss_parse_service_list out of memory case.
50771
0490345c
JO
507722011-09-15 Jiri Olsa <jolsa@redhat.com>
50773
50774 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50775 out of memory case.
50776
3a62d00d
AS
507772011-10-04 Andreas Schwab <schwab@redhat.com>
50778
50779 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50780 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50781 pass it down.
50782 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50783 elf_machine_rela, elf_machine_lazy_rel.
50784 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50785 (ELF_DYNAMIC_DO_REL): Likewise.
50786 (ELF_DYNAMIC_DO_RELA): Likewise.
50787 (ELF_DYNAMIC_RELOCATE): Likewise.
50788 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50789 to ELF_DYNAMIC_DO_REL.
50790 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50791 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50792 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50793 elf_machine_rela.
50794 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50795 skip_ifunc, don't call ifunc function if non-zero.
50796 (elf_machine_rela): Likewise.
50797 (elf_machine_lazy_rel): Likewise.
50798 (elf_machine_lazy_rela): Likewise.
50799 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50800 (elf_machine_lazy_rel): Likewise.
50801 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50802 Likewise.
50803 (elf_machine_lazy_rel): Likewise.
50804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50805 Likewise.
50806 (elf_machine_lazy_rel): Likewise.
50807 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50808 (elf_machine_lazy_rel): Likewise.
50809 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50810 (elf_machine_lazy_rel): Likewise.
50811 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50812 (elf_machine_lazy_rel): Likewise.
50813 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50814 (elf_machine_lazy_rel): Likewise.
50815 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50816 (elf_machine_lazy_rel): Likewise.
50817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50818 (elf_machine_lazy_rel): Likewise.
50819
68577918
UD
508202011-09-28 Ulrich Drepper <drepper@gmail.com>
50821
50822 * nss/nss_files/files-init.c (_nss_files_init): Use static
50823 initialization for all the *_traced_file variables.
50824
68822d74
AS
508252011-09-28 Andreas Schwab <schwab@redhat.com>
50826
50827 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50828
2056100b
RM
508292011-09-27 Roland McGrath <roland@hack.frob.com>
50830
50831 [BZ #13226]
50832 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50833
32c76b63
AS
508342011-09-27 Andreas Schwab <schwab@redhat.com>
50835
50836 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50837 Reread the line before reparsing it.
50838
bf972c9d
AS
508392011-09-26 Andreas Schwab <schwab@redhat.com>
50840
50841 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50842
e057a1b5
JM
508432011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50844 Maxim Kuvyrkov <maxim@codesourcery.com>
50845 Joseph Myers <joseph@codesourcery.com>
50846
50847 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50848 if needed for __stack_chk_guard.
50849
bc7e1c36
RM
508502011-09-19 Roland McGrath <roland@hack.frob.com>
50851
ecb1482f
RM
50852 * sysdeps/posix/spawni.c (script_execute): Always define it.
50853 It will be optimized away if unused.
50854 (maybe_script_execute): New function.
50855 (__spawni): Call it.
50856
bc7e1c36
RM
50857 * Makerules: Don't include tls.make.
50858 (config-tls): Always set to thread.
50859 * tls.make.c: File removed.
50860
1c3b002b
MF
508612011-09-19 Mike Frysinger <vapier@gentoo.org>
50862
50863 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50864 * config.make.in (CPPFLAGS-config): New substituted variable.
50865
2840865d
UD
508662011-09-15 Ulrich Drepper <drepper@gmail.com>
50867
88738eb6
UD
50868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50869
cbf645a6 50870 [BZ #13192]
2840865d
UD
50871 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50872 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50873
b402e91a
RM
508742011-09-15 Roland McGrath <roland@hack.frob.com>
50875
50876 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50877 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50879 (CALL_FAIL): Likewise.
50880 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50881 (CALL_FAIL): Macro removed.
50882 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50883
4c1a1f71
UD
508842011-09-15 Ulrich Drepper <drepper@gmail.com>
50885
50886 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50887 for __FINITE_MATH_ONLY__ == 1.
50888
edc121be
AS
508892011-09-15 Andreas Schwab <schwab@redhat.com>
50890
50891 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50892 __ieee754_sqrt instead of sqrt.
50893 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50894 __ieee754_sqrtf instead of sqrtf.
50895 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50896 __floorf instead of floorf.
50897 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50898 __floorf, __truncf instead of floorf, truncf.
50899
cd205654
UD
509002011-09-14 Ulrich Drepper <drepper@gmail.com>
50901
ee4d0315
UD
50902 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50903
cd205654
UD
50904 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50905 __extern_always_inline.
50906 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50907 32-bit.
50908
48b67d71
AS
509092011-09-14 Andreas Schwab <schwab@redhat.com>
50910
50911 * elf/rtld.c (dl_main): Also relocate in dependency order when
50912 doing symbol dependency testing.
50913
1ae12c75
AS
509142011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50915
50916 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50917 Always define `refsym'.
50918
995a80df
AS
509192011-09-13 Andreas Schwab <schwab@redhat.com>
50920
e529793b
AS
50921 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50922 (__FD_ELT): Renamed from __FDELT.
50923 * misc/bits/select2.h (__FD_ELT): Likewise.
50924 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50925 __FD_MASK instead of __FDELT, __FDMASK.
50926 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50927 Likewise.
50928 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50929 Likewise.
50930
52d4fef8
AS
50931 * elf/Makefile (gen-ldd): Fix pattern.
50932
995a80df
AS
50933 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50934 (init_tls): Likewise.
50935
8682f8b0
UD
509362011-09-12 Ulrich Drepper <drepper@gmail.com>
50937
50938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50939
de82006d
AS
509402011-09-12 Andreas Schwab <schwab@redhat.com>
50941
a7c8e6a1
AS
50942 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50943 `struct cmsghdr *' instead of `void *'.
50944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50945 Likewise.
50946
0f31fe77
AS
509472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50948
50949 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50950 if non-absolute.
50951 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50952 ldd_rewrite_script.
0f31fe77 50953
32b4c839
UD
509542011-09-11 Ulrich Drepper <drepper@gmail.com>
50955
83cd1420
UD
50956 * configure.in: Remove --with-tls option.
50957 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50958 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50959 out in case it is missing.
50960 * sysdeps/ia64/elf/configure.in: Likewise.
50961 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50962 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50963 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50964 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50965 * sysdeps/sh/elf/configure.in: Likewise.
50966 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50967 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50968 * sysdeps/x86_64/elf/configure.in: Likewise.
50969 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50970 * sysdeps/mach/hurd/tls.h: Likewise.
50971
633f745d
UD
50972 [BZ #13067]
50973 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50974
f318beb8
UD
50975 [BZ #13090]
50976 * configure.in: Fix use of AC_INIT.
50977
32b4c839
UD
50978 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50979
3ce1f295
UD
509802011-09-10 Ulrich Drepper <drepper@gmail.com>
50981
bb016596
UD
50982 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50983 __set_errno.
8e58439c
UD
50984 * malloc/hooks.c: Likewise.
50985
aebae053 50986 [BZ #11929]
02d46fc4
UD
50987 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50988 variables statically.
50989 (narenas): Initialize.
50990 (list_lock): Initialize.
bb016596
UD
50991 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50992 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
50993 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50994 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50995 Add initializers to main_arena and mp_.
50996 (malloc_state): Remove pagesize member. Change all users to use
50997 GLRO(dl_pagesize).
50998
50999 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51000 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51001 is always initialized.
51002
22a89187
UD
51003 * malloc/malloc.c: Removed unused configurations and dead code.
51004 * malloc/arena.c: Likewise.
51005 * malloc/hooks.c: Likewise.
02d46fc4 51006 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51007
d063d164
UD
51008 * include/tls.h: Removed. USE___THREAD must always be defined.
51009 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51010 * elf/dl-libc.c: Likewise.
51011 * elf/dl-tsd.c: Likewise.
51012 * include/errno.h: Likewise.
51013 * include/netdb.h: Likewise.
51014 * include/resolv.h: Likewise.
51015 * inet/herrno-loc.c: Likewise.
51016 * inet/herrno.c: Likewise.
51017 * malloc/arena.c: Likewise.
51018 * malloc/hooks.c: Likewise.
51019 * malloc/malloc.c: Likewise.
51020 * resolv/res-state.c: Likewise.
51021 * resolv/res_libc.c: Likewise.
51022 * sysdeps/i386/dl-machine.h: Likewise.
51023 * sysdeps/ia64/dl-machine.h: Likewise.
51024 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51025 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51026 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51027 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51028 * sysdeps/sh/dl-machine.h: Likewise.
51029 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51030 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51031 * sysdeps/unix/i386/sysdep.S: Likewise.
51032 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51033 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51037 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51038 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51042 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51043 * sysdeps/x86_64/dl-machine.h: Likewise.
51044 * tls.make.c: Likewise.
51045
3ce1f295
UD
51046 * configure.in: Remove --with-__thread option. Make tests for
51047 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51048 tls_model attribute fail if no support is available. Remove
51049 USE_IN_LIBIO.
51050 * Makeconfig: Adjust for dropped configure option. All features are
51051 now mandatory.
51052 * Makerules: Likewise.
51053 * Versions.def: Likewise.
51054 * argp/argp-fmtstream.c: Likewise.
51055 * argp/argp-fmtstream.h: Likewise.
51056 * argp/argp-help.c: Likewise.
51057 * assert/assert.c: Likewise.
51058 * config.h.in: Likewise.
51059 * config.make.in: Likewise.
51060 * configure: Likewise.
51061 * configure.in: Likewise.
51062 * csu/Versions: Likewise.
51063 * csu/init.c: Likewise.
51064 * elf/tst-audit2.c: Likewise.
51065 * elf/tst-tls10.c: Likewise.
51066 * elf/tst-tls10.h: Likewise.
51067 * elf/tst-tls11.c: Likewise.
51068 * elf/tst-tls12.c: Likewise.
51069 * elf/tst-tls14.c: Likewise.
51070 * elf/tst-tlsmod11.c: Likewise.
51071 * elf/tst-tlsmod12.c: Likewise.
51072 * elf/tst-tlsmod13.c: Likewise.
51073 * elf/tst-tlsmod13a.c: Likewise.
51074 * elf/tst-tlsmod14a.c: Likewise.
51075 * elf/tst-tlsmod15b.c: Likewise.
51076 * elf/tst-tlsmod16a.c: Likewise.
51077 * elf/tst-tlsmod16b.c: Likewise.
51078 * elf/tst-tlsmod7.c: Likewise.
51079 * elf/tst-tlsmod8.c: Likewise.
51080 * elf/tst-tlsmod9.c: Likewise.
51081 * gmon/gmon.c: Likewise.
51082 * grp/fgetgrent_r.c: Likewise.
51083 * grp/putgrent.c: Likewise.
51084 * hurd/fopenport.c: Likewise.
51085 * include/libc-symbols.h: Likewise.
51086 * include/tls.h: Likewise.
51087 * intl/gettextP.h: Likewise.
51088 * intl/loadinfo.h: Likewise.
51089 * locale/global-locale.c: Likewise.
51090 * locale/localeinfo.h: Likewise.
51091 * mach/devstream.c: Likewise.
51092 * malloc/arena.c: Likewise.
51093 * malloc/set-freeres.c: Likewise.
51094 * misc/err.c: Likewise.
51095 * misc/getttyent.c: Likewise.
51096 * misc/mntent_r.c: Likewise.
51097 * posix/getopt.c: Likewise.
51098 * posix/wordexp.c: Likewise.
51099 * pwd/fgetpwent_r.c: Likewise.
51100 * resolv/Versions: Likewise.
51101 * resolv/res_hconf.c: Likewise.
51102 * shadow/fgetspent_r.c: Likewise.
51103 * shadow/putspent.c: Likewise.
51104 * stdio-common/printf_fphex.c: Likewise.
51105 * stdio-common/tmpfile.c: Likewise.
51106 * stdlib/abort.c: Likewise.
51107 * stdlib/fmtmsg.c: Likewise.
51108 * sunrpc/auth_unix.c: Likewise.
51109 * sunrpc/clnt_perr.c: Likewise.
51110 * sunrpc/clnt_tcp.c: Likewise.
51111 * sunrpc/clnt_udp.c: Likewise.
51112 * sunrpc/clnt_unix.c: Likewise.
51113 * sunrpc/openchild.c: Likewise.
51114 * sunrpc/svc_simple.c: Likewise.
51115 * sunrpc/svc_tcp.c: Likewise.
51116 * sunrpc/svc_udp.c: Likewise.
51117 * sunrpc/svc_unix.c: Likewise.
51118 * sunrpc/xdr.c: Likewise.
51119 * sunrpc/xdr_array.c: Likewise.
51120 * sunrpc/xdr_rec.c: Likewise.
51121 * sunrpc/xdr_ref.c: Likewise.
51122 * sunrpc/xdr_stdio.c: Likewise.
51123
1248c1c4
PB
511242011-09-09 Ulrich Drepper <drepper@gmail.com>
51125
51126 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51127
511282011-07-03 Andreas Jaeger <aj@suse.de>
51129
51130 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51131 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51132 regenerate with gen-libm-tests.pl.
51133
511342010-05-12 Petr Baudis <pasky@suse.cz>
51135
51136 [BZ #11589]
51137 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51138 around j0() zero points by switching to j1().
51139 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51140 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51141 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51142 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51143
f22e1074
UD
511442011-09-09 Ulrich Drepper <drepper@gmail.com>
51145
f19009c1
UD
51146 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51147 instead of 0.
51148 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51149 instead of 0.
f19009c1
UD
51150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51151 Patch in part by Pavel Roskin <proski@gnu.org>.
51152
3f8cc204
UD
51153 [BZ #13138]
51154 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51155 realloc.
51156 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51157 Free memory block if necessary.
51158
f22e1074
UD
51159 [BZ #12847]
51160 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51161 be NULL. Don't lock in this case.
51162
0a2349f9
RM
511632011-09-09 Roland McGrath <roland@hack.frob.com>
51164
51165 * elf/elf.h (ELFOSABI_GNU): New macro.
51166 (ELFOSABI_LINUX): Define to that.
51167
f3cdd467
DZ
511682011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51169
51170 * string/strncat.c (strncat): Undef the symbol in case it has been
51171 defined in bits/string.h.
51172
74718d13
UD
511732011-09-09 Ulrich Drepper <drepper@gmail.com>
51174
633e9e0f
UD
51175 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51176
0a2349f9 51177 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51178 link map.
51179
f9924780
AJ
511802011-08-17 Andreas Jaeger <aj@suse.de>
51181
51182 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51183
7f5517aa
PP
511842011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51185 Ian Lance Taylor <iant@google.com>
51186
51187 * math/libm-test.inc (lround_test): New testcase.
51188 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51189
762011fe
UD
511902011-09-08 Ulrich Drepper <drepper@gmail.com>
51191
92963737
UD
51192 * Makefile: Remove support for automatic cvs check-ins.
51193 * Makerules: Likewise.
51194 * config.make.in: Likewise.
51195 * configure.in: Likewise.
51196 * intl/Makefile: Likewise.
51197 * locale/Makefile: Likewise.
51198 * po/Makefile: Likewise.
51199 * posix/Makefile: Likewise.
51200 * sysdeps/gnu/Makefile: Likewise.
51201 * sysdeps/mach/hurd/Makefile: Likewise.
51202 * sysdeps/sparc/sparc32/Makefile: Likewise.
51203
b0727fd8
JS
51204 [BZ #13118]
51205 * posix/Makefile (bug-regex32-ENV): Define.
51206 Patch by John Stanley <jpsinthemix@verizon.net>.
51207
a0f33f99
UD
51208 * misc/Makefile (headers): Add bits/select2.h.
51209 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51210 * misc/bits/select2.h: New file.
51211 * include/bits/select2.h: New file.
51212 * debug/Makefile (routines): Add fdelt_chk.
51213 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51214 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51215 FD_ISSET.
51216 * debug/fdelt_chk.c: New file.
51217
762011fe
UD
51218 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51219 * wcsmbs/test-wmemcmp.c: Likewise.
51220 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51221 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51222
512232011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51224
51225 * string/Makefile (strop-tests): Add memcmp.
51226 * string/test-wmemcmp.c: New file.
51227 * string/test-memcmp.c: Add wmemcmp support.
51228
7f513ec8
RM
512292011-09-08 Roland McGrath <roland@hack.frob.com>
51230
0442afb4
RM
51231 [BZ #13153]
51232 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51233 2011-07-19 change.
51234
7f513ec8
RM
51235 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51236 garbage value in a __mach_port_mod_refs call in the cases of the
51237 task-self and thread-self ports.
51238
a12b2239
ST
512392011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51240
51241 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51242
610f9ab4
AS
512432011-09-08 Andreas Schwab <schwab@redhat.com>
51244
7f513ec8 51245 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51246
48882a1a
LD
512472011-09-07 Ulrich Drepper <drepper@gmail.com>
51248
b49865be
UD
51249 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51250
fdc86bc9
UD
51251 * elf/dl-libc.c (dlerror_run): Pass back error code from
51252 dl_catch_error.
51253
c966526a
UD
51254 [BZ #13123]
51255 * elf/dl-load.c (lose): Free l_origin if it is valid.
51256
48882a1a
LD
51257 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51258 names.
51259 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51260 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51261 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51262 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51263 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51264 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51265
77a2a8b4
AZ
512662011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51267
51268 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51269 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51270 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51271 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51272 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51273 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51274 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51275 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51276 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51277 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51278
24f579d8
AM
512792011-08-15 Alan Modra <amodra@gmail.com>
51280
51281 [BZ #13092]
51282 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51283 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51284 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51285 ppc_mcount to static-only-routines.
51286 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51287 __mcount_internal.
51288 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51289 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51290
3d4837df
UD
512912011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51292
51293 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51294 for finite and infinity parameters.
51295
22700377
WS
512962011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51297
51298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51299 and add nop instructions for throughput optimization.
51300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51301
5025581e
WS
513022011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51303
51304 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51305 aligned copy for power7 with vector-scalar instructions.
51306 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51307
08a300c9
L
513082011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51309
51310 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51311 AVX check.
51312
59178ef9
AS
513132011-09-07 Andreas Schwab <schwab@redhat.com>
51314
51315 [BZ #13144]
51316 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51317 last change.
51318
e38ba7ab
UD
513192011-09-07 Ulrich Drepper <drepper@gmail.com>
51320
51321 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51322 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51323 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51324 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51325 clock_gettime.
51326
d53a73ac
UD
513272011-09-06 Ulrich Drepper <drepper@gmail.com>
51328
fc8bffcc
UD
51329 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51330 Forgot to demangle the pointer.
51331
ceaa0c5d
UD
51332 * sysdeps/i386/sysdep.h: Define atom_text_section.
51333 * sysdeps/x86_64/sysdep.h: Likewise.
51334 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51335 section with atom_text_section.
51336 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51337 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51338 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51340 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51341
a77d3c17
UD
51342 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51343 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51344 already be defined. Change to take two parameters and don't assign
51345 result to variable. Adjust all users.
51346 Define INTERNAL_GETTIME if not already defined.
51347 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51348 call.
51349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51350 HAVE_CLOCK_GETTIME_VSYSCALL.
51351 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51352
d53a73ac
UD
51353 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51354 gettimeofday vsyscall, just use time.
51355
a8f84144
AS
513562011-09-06 Andreas Schwab <schwab@redhat.com>
51357
51358 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51359 <errno.h>.
51360
ef606249
UD
513612011-09-06 Ulrich Drepper <drepper@gmail.com>
51362
51363 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51364 syscall on x86-64.
51365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51366 syscall.
51367 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51368 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51369 syscall if possible.
51370
6585cb60
UD
513712011-09-05 Ulrich Drepper <drepper@gmail.com>
51372
51373 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51374 e_ident. Don't pass to find_mapsXX.
51375 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51376
a5f524e4
LD
513772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51378
51379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51380 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51381 * sysdeps/x86_64/multiarch/strchr.S: Update.
51382 Check bit_slow_BSF bit.
51383 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51384 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51385 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51386
554881ef
UD
513872011-09-05 Ulrich Drepper <drepper@gmail.com>
51388
d96de963
UD
51389 [BZ #13134]
51390 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51391 before glibc 2.15.
51392 (tryshell): Define.
51393 (__spawni): Change last parameter to be flag. Test
51394 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51395 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51396 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51397 * posix/spawni.c: Likewise.
51398 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51399 * posix/spawnp.c: Likewise. Change normal version to use
51400 SPAWN_XFLAGS_USE_PATH.
51401 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51402 SPAWN_XFLAGS_TRY_SHELL.
51403
d48e5868
UD
51404 [BZ #13150]
51405 * posix/glob.h: Remove gcc 1.x support.
51406
554881ef
UD
51407 [BZ #13068]
51408 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51409
693fb948
LD
514102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51411
51412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51413 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51414 strrchr-sse2-bsf
51415 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51416 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51417 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51418 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51419 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51420 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51421
1b48c537
UD
514222011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51423
49d42c37
UD
51424 * sysdeps/x86_64/wcscmp.S: New file.
51425
1b48c537
UD
51426 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51427 wcscmp-c wcscmp-sse2
51428 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51429 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51430 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51431 * wcsmbs/wcscmp.c: Allow renaming.
51432
15c95c5d
DM
514332011-09-05 David S. Miller <davem@davemloft.net>
51434
51435 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51436 stack slot, rather than the struct return pointer slot.
51437 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51438 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51440 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51441
2f0ad8f3
UD
514422011-09-05 Ulrich Drepper <drepper@gmail.com>
51443
d88ae418
UD
51444 * po/ja.po: Update from translation team.
51445
2f0ad8f3
UD
51446 [BZ #13144]
51447 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51448 kernel in 64-bit binaries.
51449
5f4318d1
DM
514502011-09-01 David S. Miller <davem@davemloft.net>
51451
51452 * elf/elf.h (HWCAP_SPARC_*): Move to..
51453 * sysdeps/sparc/sysdep.h: this new file and add new values.
51454 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51455 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51456 _DL_HWCAP_COUNT to 24.
51457 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51458 entries.
51459 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51460 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51461 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51463 instead of magic constants.
51464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51465
3ba57516
DM
514662011-08-31 David S. Miller <davem@davemloft.net>
51467
51468 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51470 Reimplement to do errno handling inline.
51471 (SYSCALL_ERROR_HANDLER): New macro.
51472 (__SYSCALL_STRING): Do not do errno handling in asm.
51473 (__CLONE_SYSCALL_STRING): Delete.
51474 (__INTERNAL_SYSCALL_STRING): Delete.
51475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51476 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51477 (PSEUDO): Reimplement to do errno handling inline.
51478 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51479 (SYSCALL_ERROR_HANDLER): New macro.
51480 (__SYSCALL_STRING): Do not do errno handling in asm.
51481 (__CLONE_SYSCALL_STRING): Delete.
51482 (__INTERNAL_SYSCALL_STRING): Delete.
51483 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51484 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51485 i386.
51486 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51487 (inline_syscall*): Add 'err' argument.
51488 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51489 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51490 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51491 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51492
51493 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51494 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51495
2bc17433
AS
514962011-08-30 Andreas Schwab <schwab@redhat.com>
51497
51498 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51499
fbeb5f4d
JO
515002011-08-29 Jiri Olsa <jolsa@redhat.com>
51501
51502 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51503 directive.
51504
ad69cc26
DM
515052011-08-24 David S. Miller <davem@davemloft.net>
51506
51507 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51508
39dd69df
AS
515092011-08-24 Andreas Schwab <schwab@redhat.com>
51510
51511 * elf/Makefile: Add rules to build and run unload8 test.
51512 * elf/unload8.c: New file.
51513 * elf/unload8mod1.c: New file.
51514 * elf/unload8mod1x.c: New file.
51515 * elf/unload8mod2.c: New file.
51516 * elf/unload8mod3.c: New file.
51517
51518 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51519 it wasn't used.
51520
2c0b250a
DM
515212011-08-23 David S. Miller <davem@davemloft.net>
51522
51523 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51524 subtract stack bias.
51525 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51526 %sp not %fp in calculations.
51527 (_JMPBUF_UNWINDS_ADJ): Likewise.
51528
22044b48
DM
51529 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51530 (aio_suspend): Call it to force an exception region around the
51531 AIO_MISC_WAIT() invocation.
51532
2cae4995
AS
515332011-08-23 Andreas Schwab <schwab@redhat.com>
51534
51535 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51536 backslash.
51537
873a772e
AJ
515382011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51539
51540 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51541 protection macro.
51542 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51543 and <dl-machine.h>.
51544 (Elf64_FuncDesc): Remove.
51545
25ad0df1
DM
515462011-08-22 David S. Miller <davem@davemloft.net>
51547
51548 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51549 sigaltstack check, add missing cfi directives.
51550 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51551 missing cfi directives, and sigaltstack handling.
51552
e888bcbe
AS
515532011-08-16 Andreas Schwab <schwab@redhat.com>
51554
51555 [BZ #11724]
51556 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51557 object is seen twice.
51558 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51559
51560 * elf/Makefile (distribute): Add tst-initorder2.c.
51561 (tests): Add tst-initorder2.
51562 (modules-names): Add tst-initorder2a tst-initorder2b
51563 tst-initorder2c tst-initorder2d. Add rules to build them.
51564 ($(objpfx)tst-initorder2.out): New rule.
51565 * elf/tst-initorder2.c: New file.
51566 * elf/tst-initorder2.exp: New file.
51567
87162f46
AS
515682011-08-22 Andreas Schwab <schwab@redhat.com>
51569
70538b7f
AS
51570 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51571
f55ffe58
AS
51572 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51573 dependencies back to end of function.
51574
87162f46
AS
51575 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51576 $(elfobjdir)/ld.so.
51577
91b392a4
UD
515782011-08-21 Ulrich Drepper <drepper@gmail.com>
51579
51580 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51581 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51583 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51584 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51585 of __vdso_gettimeofday.
51586 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51587 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51588 attribute_hidden.
51589 (_libc_vdso_platform_setup): Remove initialization of
51590 __vdso_gettimeofday and __vdso_time.
51591
5c43483f
UD
515922011-08-20 Ulrich Drepper <drepper@gmail.com>
51593
775a77e7
UD
51594 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51595 and fgetc_unlocked.
51596 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51597 getc_unlocked.
89f447ed 51598
49c74ba9
UD
51599 * elf/dl-open.c (add_to_global): Report additions to the global scope
51600 for LD_DEBUG=scopes.
51601 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 51602 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 51603
5c43483f
UD
51604 [BZ #13114]
51605 * stdio-common/Makefile (tests): Add bug24.
51606 * stdio-common/bug24.c: New file.
51607
a101b025
AJ
516082011-08-19 Andreas Jaeger <aj@suse.de>
51609
51610 [BZ #13114]
51611 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51612 non-existant file when using close-on-exec mode.
51613
c88f1766
UD
516142011-08-20 Ulrich Drepper <drepper@gmail.com>
51615
0276a718
UD
51616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51617 the very first instruction.
51618
c88f1766
UD
51619 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51620 the CFI state in the end.
51621 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51622 inclusion of dl-trampoline.h.
51623 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51624
51ccffa0
AS
516252011-08-19 Andreas Schwab <schwab@redhat.com>
51626
94d7165f
AS
51627 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51628 expectations for long double.
51629
51ccffa0
AS
51630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51631 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51632
fd708658 516332011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
51634
51635 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51636 artificual limit depends upon the system page size.
51637
44f0a71e
UD
516382011-08-17 Ulrich Drepper <drepper@gmail.com>
51639
51640 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51641 * resolv/Makefile: Define CFLAGS-libresolv.
51642
8de79a24
AS
516432011-08-17 Andreas Schwab <schwab@redhat.com>
51644
51645 * nss/makedb.c (compute_tables): Make variables used in nested
51646 function static.
51647
27724598
UD
516482011-08-17 Ulrich Drepper <drepper@gmail.com>
51649
c5305d88
UD
51650 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51651 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51652 if buffer was too small.
51653
27724598
UD
51654 * elf/pldd.c (main): Attach to all threads in the process.
51655 Rewrite /proc handling to use *at functions.
51656
076fe015
UD
516572011-08-16 Ulrich Drepper <drepper@gmail.com>
51658
174baab3
UD
51659 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51660 specifies first scope to show.
51661 (dl_open_worker): Update callers. Move printing scope of new
51662 object to before the relocation.
44f0a71e 51663 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
51664 * sysdeps/generic/ldsodefs.h: Update declaration.
51665
076fe015
UD
51666 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51667 string for the scope number.
51668
a60df2c3
UD
516692011-08-14 Ulrich Drepper <drepper@gmail.com>
51670
51671 * nscd/servicescache.c (cache_addserv): Make sure written is always
51672 initialized.
51673
5e4287d1
RM
516742011-08-14 Roland McGrath <roland@hack.frob.com>
51675
85ae0589
RM
51676 * sysdeps/i386/i486/bits/atomic.h
51677 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51678 statement expression, so as to suppress "set but not used" warning.
51679 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51680
69f63097
RM
51681 * string/strncat.c (STRNCAT): Use prototype definition.
51682
675456ef
RM
51683 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51684 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51685 -Iprograms here.
51686 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51687 (localedef-modules): Add localedef.
51688 (locale-modules): Add locale.
51689
5e4287d1
RM
51690 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51691 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51692 to avoid a warning.
51693
9c96ff23
DM
516942011-08-14 David S. Miller <davem@davemloft.net>
51695
51696 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51697 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51698
f9ddf089
UD
516992011-08-13 Ulrich Drepper <drepper@gmail.com>
51700
44f0a71e 51701 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
51702 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51703 * elf/rtld.c (dl_main): Set l_name of vDSO.
51704 Call _dl_show_scope when DL_DEBUG_SCOPES.
51705 (process_dl_debug): Recognize scopes flag and also set it for all.
51706 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51707 Declare _dl_show_scope.
51708
1dc27704
UD
51709 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51710 (do_dlopen): Pass caller_dlopen to dl_open.
51711 (__libc_dlopen_mode): Initialize caller_dlopen.
51712
f9ddf089
UD
51713 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51714 of libc. Make tolower call locale-independent. Optimize a bit by
51715 using isdigit instead of isalnum.
51716 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51717
9ac533d3
UD
517182011-08-12 Ulrich Drepper <drepper@gmail.com>
51719
51720 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51721 was a dependency or dynamically loaded.
51722
89edf2e9
UD
517232011-08-11 Ulrich Drepper <drepper@gmail.com>
51724
8e999d29
UD
51725 * intl/l10nflist.c: Allow architecture-specific pop function.
51726 * sysdeps/x86_64/l10nflist.c: New file.
51727
89edf2e9
UD
51728 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51729 classification.
51730
14d96785
AS
517312011-08-10 Andreas Schwab <schwab@redhat.com>
51732
51733 * include/dirent.h: Add libc_hidden_proto for scandirat and
51734 scandirat64. Don't declare __scandirat64.
51735 * dirent/scandirat.c: Add libc_hidden_def.
51736 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51737 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51738
6761ac04
DM
517392011-08-10 David S. Miller <davem@davemloft.net>
51740
51741 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51742 enum.
51743 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51744 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51745 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51746
c55fbd1e
UD
517472011-08-09 Ulrich Drepper <drepper@gmail.com>
51748
51749 * Versions.def [libc]: Add GLIBC_2.15.
51750 * dirent/Makefile (routines): Add scandirat and scandirat64.
51751 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51752 GLIBC_2.15.
51753 * dirent/dirent.h: Declare scandirat and scandirat64.
51754 * dirent/scandirat.c: New file.
51755 * dirent/scandirat64.c: New file.
51756 * sysdeps/wordsize-64/scandirat.c: New file.
51757 * sysdeps/wordsize-64/scandirat64.c: New file.
51758 * dirent/opendir.c: Define opendirat.
51759 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51760 using scandirat.
51761 * dirent/scandir64.c: Adjust for scandir.c change.
51762 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51763 __scandirat64, and __scandir_cancel_handler.
51764 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51765 additional parameter and use openat instead of open (outside of ld.so).
51766 Add new __opendir as wrapper around __opendirat.
51767 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51768 here without requiring old scandirat implementation.
51769
879165f2
UD
517702011-08-08 Ulrich Drepper <drepper@gmail.com>
51771
51772 * dirent/scandir.c (cancel_handler): Renamed to
51773 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51774 defined. Adjust users.
51775 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51776 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51777
cb7e923b
UD
517782011-08-04 Ulrich Drepper <drepper@gmail.com>
51779
16292edd
UD
51780 * string/test-string.h (IMPL): Use __STRING to expand name and then
51781 stringify it.
51782
cb7e923b
UD
51783 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51784 of cleanups.
51785
cff82933
LD
517862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51787
51788 * string/Makefile: Update.
51789 (strop-tests): Append strncat.
51790 * string/test-wcscmp.c: New file.
51791 New comprehensive test for wcscmp.
51792 * string/test-strcmp.c: Update.
51793 (WIDE): New define.
51794
9be9bfcc
AS
517952011-07-22 Andreas Schwab <schwab@redhat.com>
51796
51797 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51798 line.
51799
2e96f1c7
AS
518002011-07-26 Andreas Schwab <schwab@redhat.com>
51801
51802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51803 encoding to ACE if AI_IDN.
51804
85188888
JJ
518052011-08-01 Jakub Jelinek <jakub@redhat.com>
51806
51807 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51808 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51809
5fa16e9b
LD
518102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51811
51812 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51813 Fix overflow bug in strncat.
51814 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51815
51816 * string/test-strncat.c: Update.
51817 Add new tests for checking overflow bugs.
51818
518192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51820
51821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51822 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51823 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51824 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51825 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51826 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51827 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51828 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51829 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51830
51831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51832 (USE_AS_STRCAT): Define.
51833 Add strcat and strncat support.
51834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51835
8c1a459f
AS
518362011-07-25 Andreas Schwab <schwab@redhat.com>
51837
51838 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51839 __n bigger than INT_MAX+1.
51840 (__strncmp_g): Likewise.
51841
bba33c28
UD
518422011-07-23 Ulrich Drepper <drepper@gmail.com>
51843
798be72d
UD
51844 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51845 * libio/stido.h: Likewise.
51846
8accd4dc
UD
51847 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51848 (AF_NFC): Define.
51849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51850 (AF_NFC): Define.
51851
cbff0d96
UD
51852 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51853 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51854 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51855 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51856 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51857
9191c04a
UD
51858 [BZ #13021]
51859 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51860 installed.
51861
bba33c28
UD
51862 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51863 typo.
51864 (_dl_x86_64_save_sse): Likewise.
51865
90f139dd
UD
518662011-07-22 Ulrich Drepper <drepper@gmail.com>
51867
1aae088a
UD
51868 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51869 OSXSAVE.
51870 (_dl_x86_64_save_sse): Likewise.
51871
8e2045f5
UD
51872 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51873
90f139dd
UD
51874 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51875
1d002f25
AS
518762011-07-21 Andreas Schwab <schwab@redhat.com>
51877
51878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51879 change.
51880 (_dl_x86_64_save_sse): Use correct AVX check.
51881
21137f89
UD
518822011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51883
51884 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51885 bug in strncpy/strncat.
51886 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51887
a65c0b7a
UD
518882011-07-21 Ulrich Drepper <drepper@gmail.com>
51889
51890 * string/tester.c (test_strcat): Add tests for different alignments
51891 of source and destination.
51892 (test_strncat): Likewise.
51893
6986b98a
UD
518942011-07-20 Ulrich Drepper <drepper@gmail.com>
51895
90bb2039
UD
51896 [BZ #12852]
51897 * posix/glob.c (glob): Check passed in values before using them in
51898 expressions to avoid some overflows.
51899 (glob_in_dir): Likewise.
51900
5644ef54
UD
51901 [BZ #13007]
51902 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51903 check for AVX enablement so that we don't crash with old kernels and
51904 new hardware.
51905 * elf/tst-audit4.c: Add same checks here.
51906 * elf/tst-audit6.c: Likewise.
51907
51908 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 51909
bfc9dc9b
AS
519102011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51911
51912 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51913
702e64bb
UD
519142011-07-20 Ulrich Drepper <drepper@gmail.com>
51915
51916 * po/cs.po: Update from translation team.
51917 * po/bg.po: Likewise.
51918
295e904f
MP
519192011-07-12 Marek Polacek <mpolacek@redhat.com>
51920
51921 * misc/sys/cdefs.h: Add support for const attribute.
51922 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51923 to gnu_dev_{major,minor,makedev} functions.
51924
3ff94596
MP
519252011-07-20 Marek Polacek <mpolacek@redhat.com>
51926
51927 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51928
28b59fca
AS
519292011-07-20 Andreas Schwab <schwab@redhat.com>
51930
51931 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51932 strlen results.
51933
19df733e
AK
519342011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51935
51936 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51937 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51938 register in order to avoid conflicts with the soft frame pointer
51939 being held in r11 when necessary.
51940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51941 (INTERNAL_VSYSCALL_NCS): Likewise.
51942
c8835729
MP
519432011-07-14 Marek Polacek <mpolacek@redhat.com>
51944
51945 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51946 * elf/dl-fini.c (_dl_fini): Adjust caller.
51947 * elf/dl-close.c (_dl_close_worker): Likewise.
51948 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51949
b902330c
MP
519502011-07-15 Marek Polacek <mpolacek@redhat.com>
51951
8991e135
MP
51952 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51953 "aux_cache->nlibs < 0".
51954
b902330c
MP
51955 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51956 in the reload-count case.
51957
99710781
LD
519582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51959
51960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51961 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51962 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51963 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51964 * sysdeps/x86_64/multiarch/strcat.S: New file.
51965 * sysdeps/x86_64/multiarch/strncat.S: New file.
51966 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51967 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51968 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51969 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51970 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51971 (USE_AS_STRCAT): Define.
51972 Add strcat and strncat support.
51973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51974 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51975 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51976 * string/strncat.c: Update.
51977 (USE_AS_STRNCAT): Define.
51978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51979 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51980 and i7.
51981 * sysdeps/x86_64/multiarch/init-arch.h
51982 (bit_Prefer_PMINUB_for_stringop): New.
51983 (index_Prefer_PMINUB_for_stringop): Likewise.
51984 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51985 bit_Prefer_PMINUB_for_stringop.
51986
7dc6bd90
UD
519872011-07-19 Ulrich Drepper <drepper@gmail.com>
51988
51989 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51990 buffer64.
51991 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51992 of casting of buffer.
51993 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51994 buffer32 and buffer64.
51995 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51996 writes instead of casting of buffer.
51997 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51998 buffer32.
51999 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52000 casting of buffer.
52001
e0e72284
AS
520022011-07-19 Andreas Schwab <schwab@redhat.com>
52003
52004 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52005
feb1eb0b
UD
520062011-07-19 Ulrich Drepper <drepper@gmail.com>
52007
52008 * nscd/nscd.c (termination_handler): Don't do anything for a database
52009 if it has not yet been initialized.
52010
298711ff
UD
520112011-07-18 Ulrich Drepper <drepper@gmail.com>
52012
52013 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52014
520152011-07-15 Marek Polacek <mpolacek@redhat.com>
52016
52017 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52018
f9d68389
UD
520192011-07-18 Ulrich Drepper <drepper@gmail.com>
52020
52021 * po/nl.po: Update from translation team.
52022 * po/sv.po: Likewise.
52023
db290cf5
RM
520242011-07-16 Roland McGrath <roland@hack.frob.com>
52025
52026 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52027 now disallowed by GCC.
5c550700 52028
fd5e21c7
RM
52029 * configure.in (use-default-link): Default to yes if a test -shared
52030 link meets our qualifications.
52031 * configure: Regenerated.
52032
5c550700
RM
52033 * config.make.in (output-format): New variable.
52034 * configure.in: Check for ld --print-output-format support.
52035 * configure: Regenerated.
52036 * Makerules ($(common-objpfx)format.lds)
52037 [$(output-format) != unknown]: Just use $(output-format),
52038 instead of the linker-script munging.
52039
9fa2c032
RM
520402011-07-14 Roland McGrath <roland@hack.frob.com>
52041
a6928d51
RM
52042 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52043 of $(common-objpfx)shlib.lds.
52044 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52045
661607b3
RM
52046 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52047 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52048
9fa2c032
RM
52049 * configure.in (-z relro check): Adjust test code to add a large
52050 writable data section after it.
52051 * configure: Regenerated.
52052
defe9061
RM
520532011-07-11 Roland McGrath <roland@hack.frob.com>
52054
52055 * configure.in (-z relro check): Fix test code to make the variable
52056 truly const.
52057 * configure: Regenerated.
52058
319b9ad4
UD
520592011-07-11 Ulrich Drepper <drepper@gmail.com>
52060
52061 * nscd/nscd.h (struct traced_file): Define.
52062 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52063 elements. Add traced_files.
52064 (inotify_fd): Declare.
52065 (register_traced_file): Declare.
52066 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52067 (inotify_fd): Export.
52068 (resolv_conf_descr): Remove.
52069 (nscd_init): Move inotify descriptor creation to main.
52070 Don't register files for notification here.
52071 (register_traced_file): New function.
52072 (invalidate_cache): Don't use reset_res to determine whether to call
52073 res_init, go through the list of registered files.
52074 (main_loop_poll): The inotify descriptors are now stored in the
52075 structures for the traced files.
52076 (main_loop_epoll): Likewise
52077 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52078 to __nss_disable_nscd.
52079 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52080 for a database anymore. Check the records for all the registered
52081 files instead.
52082 * nss/Makefile (libnss_files-routines): Add files-init.
52083 (libnss_db-routines): Add db-init.
52084 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52085 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52086 * nss/nss_db/db-init.c: New file.
52087 * nss/nss_files/files-init.c: New file.
52088 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52089 __nss_lookup_function.
52090 (__nss_lookup_function): Call nss_load_library.
52091 (nss_load_all_libraries): New function.
52092 (__nss_disable_nscd): Take parameter with callback function for files
52093 to register. Set is_nscd. Load all the DSOs for the NSS modules
52094 used for the cached services.
52095 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52096 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52097 options for features to all the files in nscd.
52098
52099 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52100
23bee3e8
RM
521012011-07-10 Roland McGrath <roland@hack.frob.com>
52102
52103 * csu/elf-init.c (__libc_csu_init): Comment typo.
52104
46a5b7f0
UD
521052011-07-09 Ulrich Drepper <drepper@gmail.com>
52106
52107 * po/pl.po: Update from translation team.
52108 * po/ja.po: Likewise.
52109 * po/ru.po: Likewise.
52110 * po/ko.po: Likewise.
52111 * po/fr.po: Likewise.
52112
d30cf5bb
RM
521132011-07-09 Roland McGrath <roland@hack.frob.com>
52114
113ddea4
RM
52115 * configure.in (.ctors/.dtors header and trailer check):
52116 Use an empirical test on a built program.
52117 * configure: Regenerated.
52118
574920b4
RM
52119 * configure.in (-z relro check): Use an empirical test on a built DSO.
52120 Detect, but do not require, on ia64.
52121 * configure: Regenerated.
52122
d30cf5bb
RM
52123 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52124 Update tests that use readelf to use $READELF instead.
52125 * configure: Regenerated.
52126
8538fdb3
UD
521272011-07-08 Ulrich Drepper <drepper@gmail.com>
52128
52129 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52130 if the result is not used.
52131
04d08991
AJ
521322011-07-05 Andreas Jaeger <aj@suse.de>
52133
52134 [BZ#9696]
52135 * stdlib/tst-strtod.c: Add testcase.
52136
de283087
AD
521372011-07-07 Ulrich Drepper <drepper@gmail.com>
52138
4e5f31c8 52139 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52140 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52141 The latter has a higher limit. Take additional parameter to pass to
52142 the new function.
52143 (__pathconf): Pass file to __statfs_link_max.
52144 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52145 __statfs_link_max.
52146 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52147 __statfs_link_max.
52148
de283087
AD
52149 [BZ #12868]
52150 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52151 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52152 Handle Lustre.
52153 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52154 (__statfs_filesize_max): Likewise.
52155 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52156
c75fa153
AJ
521572011-07-05 Andreas Jaeger <aj@suse.de>
52158
52159 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52160
1a544854
UD
521612011-07-06 Marek Polacek <mpolacek@redhat.com>
52162
52163 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52164 `status' variable.
52165 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52166 Likewise.
52167
6f0eec67
UD
521682011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52169
52170 * Makefile (strop-tests): Add strncat.
52171 * string/test-strncat.c: New file.
52172
aae30307
UD
521732011-06-30 Marek Polacek <mpolacek@redhat.com>
52174
52175 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52176
c0cfb5eb
UD
521772011-06-21 Andreas Jaeger <aj@suse.de>
52178
52179 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52180 Copy rule from iconvdata/Makefile.
52181
01636b21
UD
521822011-07-06 Ulrich Drepper <drepper@gmail.com>
52183
52184 [BZ #12922]
52185 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52186 but no long options are defined, just return 'W'.
52187
9895c8bc
UD
521882011-06-22 Marek Polacek <mpolacek@redhat.com>
52189
52190 [BZ #9696]
52191 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52192
5d4cf042
UD
521932011-07-06 Ulrich Drepper <drepper@gmail.com>
52194
52195 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52196 netgroups to read.
960e5535 52197 (innetgr): Likewise.
5d4cf042 52198
751eb97e
RM
521992011-07-05 Roland McGrath <roland@hack.frob.com>
52200
52201 * config.make.in (install_root): Default to $(DESTDIR).
52202
f15f1e45
UD
522032011-07-05 Ulrich Drepper <drepper@gmail.com>
52204
52205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52206
4e34ac6a
RM
522072011-07-02 Roland McGrath <roland@hack.frob.com>
52208
5e9b6af4
RM
52209 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52210
84f9ea0f
RM
52211 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52212 containing directory rather than embedding absolute directory names.
52213
ea5ee9f7
RM
52214 * scripts/check-local-headers.sh: Rewritten using awk.
52215 Match by word, not by line. Print error messages for matches.
52216 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52217
1b74661a
RM
52218 * Makerules [shlib-lds-flags empty]:
52219 ($(common-objpfx)libc_pic.opts): New target.
52220 ($(common-objpfx)libc_pic.os.clean): New target.
52221 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52222
52223 * config.make.in (OBJCOPY): New variable.
52224 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52225 * configure: Regenerated.
52226
f781ef40
RM
52227 * config.make.in (use-default-link): New variable.
52228 * configure.in (use_default_link): Grok --with-default-link to set it.
52229 * configure: Regenerated.
52230 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52231 (shlib-lds, shlib-lds-flags): Define to empty.
52232
2d4fa81e
RM
52233 * Makerules (shlib-lds): New variable.
52234 (shlib-lds-flags): New variable.
52235 (build-shlib, build-moduile, build-module-asneeded): Use it.
52236 ($(common-objpfx)libc.so): Use $(shlib-lds).
52237 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52238 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52239
31fffa6b
RM
52240 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52241 DT_FLAGS/DT_FLAGS_1 with zero flags.
52242
4e34ac6a
RM
52243 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52244 linker script munging.
52245
fcfc776b
UD
522462011-07-02 Ulrich Drepper <drepper@gmail.com>
52247
52248 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52249 as 128-bit value.
52250 * crypt/sha512.c (sha512_process_block): Perform total addition using
52251 128-bit if possible.
52252 (__sha512_finish_ctx): Likewise.
52253 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52254 as 64-bit value.
52255 * crypt/sha256.c (SWAP64): Define.
52256 (sha256_process_block): Perform total addition using 64-bit if
52257 possible.
52258 (__sha256_finish_ctx): Likewise.
52259
99231d9a
UD
522602011-07-01 Ulrich Drepper <drepper@gmail.com>
52261
52262 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52263 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52264 * nscd/hstcache.c (cache_addhst): Likewise.
52265 * nscd/grpcache.c (cache_addgr): Likewise.
52266 * nscd/aicache.c (addhstaiX): Likewise
52267 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52268
445b4a53
TK
522692011-07-01 Thorsten Kukuk <kukuk@suse.de>
52270
52271 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52272 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52273 * nscd/hstcache.c (cache_addhst): Likewise.
52274 * nscd/grpcache.c (cache_addgr): Likewise.
52275 * nscd/aicache.c (addhstaiX): Likewise
52276
6d4d8e8e
AS
522772011-07-01 Andreas Schwab <schwab@redhat.com>
52278
52279 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52280 domain only when needed.
52281
89f654c5
AS
522822011-06-30 Andreas Schwab <schwab@redhat.com>
52283
52284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52285 is always restored.
52286
cf3b23ff
UD
522872011-06-29 Ulrich Drepper <drepper@gmail.com>
52288
52289 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52290 are re-adding the entry.
52291 * nscd/servicescache.c (cache_addserv): Likewise.
52292
751626f9
AJ
522932011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52294
52295 * sysdeps/generic/dl-irel.h: fix protection against multiple
52296 inclusions.
52297 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52298
9113ea1f
UD
522992011-06-28 Ulrich Drepper <drepper@gmail.com>
52300
5c0b8d90
UD
52301 [BZ #12935]
52302 * malloc/memusage.sh: Fix quoting in message.
52303 * debug/xtrace.sh: Likewise.
52304
9113ea1f
UD
52305 * configure.in: Remove support for --experimental-malloc option, make
52306 it the default.
52307 * config.make.in: Likewise.
52308 * malloc/Makefile: Likewise.
52309
a4172181
AS
523102011-06-27 Andreas Schwab <schwab@redhat.com>
52311
52312 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52313 two-byte characters.
52314
78a7eee7
RM
523152011-06-27 Roland McGrath <roland@hack.frob.com>
52316
62bede13
RM
52317 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52318 AC_CACHE_CHECK invocation.
52319 * configure: Regenerated.
52320
78a7eee7
RM
52321 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52322
5ce33a62
UD
523232011-06-27 Ulrich Drepper <drepper@gmail.com>
52324
034807a9
UD
52325 [BZ #12350]
52326 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52327 bit from old_res_options.
52328
4902da17
UD
52329 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52330
5ce33a62
UD
52331 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52332 value type for setfct.
52333
c2344f56
L
523342011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52335
52336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52337 __gettimeofday instead of gettimeofday.
52338
68468076
UD
523392011-06-26 Ulrich Drepper <drepper@gmail.com>
52340
52341 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52342
acb0d739
L
523432011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52344
52345 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52346
52347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52348 info.
52349
8912479f
L
523502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52351
52352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52353 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52354 strcpy-sse2-unaligned strncpy-sse2-unaligned
52355 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52356 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52357 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52358 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52359 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52360 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52361 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52362 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52363 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52364 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52365 (STRCPY): Support SSE2 and SSSE3 versions.
52366
d5495a11
UD
523672011-06-24 Ulrich Drepper <drepper@gmail.com>
52368
52369 [BZ #12874]
52370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52371 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52372 kernels which artificially limit size of requests.
52373
0b1cbaae
L
523742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52375
52376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52377 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52378 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52379 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52380 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52381 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52382 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52383 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52384 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52386 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52387 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52388 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52389 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52390 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52392 Enable unaligned load optimization for Intel Core i3, i5 and i7
52393 processors.
52394 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52395 Define.
52396 (index_Fast_Unaligned_Load): Define.
52397 (HAS_FAST_UNALIGNED_LOAD): Define.
52398
07f494a0
MP
523992011-06-23 Marek Polacek <mpolacek@redhat.com>
52400
52401 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52402
fa3fc0fe
UD
524032011-06-22 Ulrich Drepper <drepper@gmail.com>
52404
52405 [BZ #12907]
52406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52407 until it is clear that the information is realy needed.
52408 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52409
e12df166
AS
524102011-06-22 Andreas Schwab <schwab@redhat.com>
52411
52412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52413
852eb34d
UD
524142011-06-22 Ulrich Drepper <drepper@gmail.com>
52415
84e2a551
UD
52416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52417 /sys/devices/system/cpu/online if it is usable.
52418
852eb34d
UD
52419 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52420 reading the information from the /proc filesystem to once a second.
52421
6e502e19
UD
524222011-06-21 Andreas Jaeger <aj@suse.de>
52423
52424 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52425 NULL after inclusion of kernel headers.
52426
75d39ff2
UD
524272011-06-21 Ulrich Drepper <drepper@gmail.com>
52428
51f9aa6a
UD
52429 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52430 calls to internal_setent.
52431
c0244a9d
UD
52432 [BZ #12885]
52433 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52434 addresses using gethostbyname4_r ignore IPv4 addresses.
52435
c5e3c2ae
UD
52436 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52437 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52438
75d39ff2
UD
52439 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52440
42675c6f
DM
524412011-06-20 David S. Miller <davem@davemloft.net>
52442
52443 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52444 inclusions.
52445 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52446
52447 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52448 (elf_irel): Use it.
52449 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52450 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52451 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52452 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52453 * sysdeps/x86_64/dl-irel.h: Likewise.
52454
52455 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52456 * elf/dl-sym.c: Likewise.
52457
57912a71
UD
524582011-06-15 Ulrich Drepper <drepper@gmail.com>
52459
52460 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52461 need to dereference resplen2.
52462
ee22793d
AS
524632011-06-14 Andreas Schwab <schwab@redhat.com>
52464
52465 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52466
a9e836b0
UD
524672011-06-15 Ulrich Drepper <drepper@gmail.com>
52468
77fb9117
UD
52469 * Makeconfig: Define vardbdir and inst_vardbdir.
52470 * nss/Makefile: Add rules to install db-Makefile.
52471
40c1b22c
UD
52472 * nss/nss_db/db-XXX.c: Cleanup.
52473
9f2da732
UD
52474 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52475 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52476 GLIBC_PRIVATE.
52477 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52478 * nss/makedb.c: Implement -g option to specify that value strings
52479 are generated and should not be added to table iterated over for
52480 get*ent calls.
52481 * nss/nss_db/db-initgroups.c: New file.
52482
82e9a1f7
UD
52483 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52484 interface.
52485
c41af17e
UD
52486 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52487 (internal_getgrouplist): Adjust to name change.
52488 Update use_initgroups_entry if this is not the first call.
52489 * nss/databases.def: Add initgroups entry.
52490
a9e836b0
UD
52491 * nss/makedb.c (compute_tables): Check result of multiple hash table
52492 sizes to minimize maximum chain length.
52493
2666d441
UD
524942011-06-14 Ulrich Drepper <drepper@gmail.com>
52495
52496 * Versions.def: Add entry for libnss_db.
52497 * shlib-versions: Likewise.
52498 * nss/Makefile: Add rules to build libnss_db.
52499 * nss/Versions: Add libnss_db information. Organize libnss_files
52500 entries better.
52501 * nss/db-Makefile: Add gshadow support. Change rules for the new
52502 makedb progra. Some minor improvements to generate smaller files.
52503 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52504 here from...
52505 * nss/makedb.c: ...here.
52506 Improve database format to be smaller and require less memory at
52507 runtime.
52508 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52509 db anymore.
52510 * nss/nss_db/db-netgrp.c: Likewise.
52511 * nss/nss_db/db-open.c: Likewise.
52512 * nss/nss_files/flies-XXX.x: Adjust comments.
52513 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52514 * nss/nss_files/files-grp.c: Likewise.
52515 * nss/nss_files/files-hosts.c: Likewise.
52516 * nss/nss_files/files-network.c: Likewise.
52517 * nss/nss_files/files-proto.c: Likewise.
52518 * nss/nss_files/files-pwd.c: Likewise.
52519 * nss/nss_files/files-rpc.c: Likewise.
52520 * nss/nss_files/files-service.c: Likewise.
52521 * nss/nss_files/files-sgrp.c: Likewise.
52522 * nss/nss_files/files-spwd.c: Likewise.
52523 * nss/nss_db/db-alias.c: Removed.
52524 * nss/nss_db/dummy-db.h: Removed.
52525
9ee76b5a
UD
525262011-06-02 Ulrich Drepper <drepper@gmail.com>
52527
52528 * nss/makedb.c: Rewritten to not use database library.
52529 * nss/Makefile: Update to build new makedb program.
52530
c71ca1f8
AJ
525312011-06-14 Andreas Jaeger <aj@suse.de>
52532
52533 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52534 memset declaration.
52535
3154bfb8
UD
525362011-06-10 Andreas Schwab <schwab@redhat.com>
52537
52538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52539 tmpbuf.
52540
b350afab
RM
525412011-06-10 Roland McGrath <roland@hack.frob.com>
52542
decd4e50
RM
52543 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52544 * elf/Makefile ($(objpfx)ld.so): Likewise.
52545
5615eaf2
RM
52546 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52547 Don't list ld.so twice in dependencies.
52548
52549 * posix/bug-regex31.c: Include <stdlib.h>.
52550
52551 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52552
52553 * nis/nss_compat/compat-spwd.c
52554 (getspent_next_nss_netgr): Remove unused variable.
52555 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52556
52557 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52558 nonmembers" output to use the right array.
52559
52560 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52561
52562 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52563
52564 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52565 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52566 * catgets/gencat.c (read_input_file): Likewise.
52567 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52568
52569 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52570 variable definition inside #if's controlling its use.
52571
52572 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52573
52574 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52575
52576 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52577
52578 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52579 unreachable code.
52580
52581 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52582
b68e08db
RM
52583 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52584 * configure: Regenerated.
52585
b350afab
RM
52586 * Makerules: Revert last change.
52587 * elf/Makefile: Likewise.
52588
28368601
RM
525892011-06-09 Roland McGrath <roland@hack.frob.com>
52590
52591 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52592 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52593 (reloc-link): Likewise.
52594
11988f8f
UD
525952011-06-09 Ulrich Drepper <drepper@gmail.com>
52596
52597 * elf/Makefile: Add rules to build pldd.
52598 * elf/pldd.c: New file.
52599 * elf/pldd-xx.c: New file.
52600
e80fab37
UD
526012011-06-07 Ulrich Drepper <drepper@gmail.com>
52602
52603 * version.h: Update for 2.15 development version.
52604
9b849836
DM
526052011-06-07 David S. Miller <davem@davemloft.net>
52606
52607 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52608 ifuncs.
52609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52610 elf_machine_lazy_rel): Likewise.
52611 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52613 elf_machine_lazy_rel): Likewise.
52614 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52615 dl_hwcap via passed in argument.
52616 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52617 Likewise.
52618
5a31b283
AK
526192011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52620
52621 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52622
069e52f8
RM
526232011-06-06 Roland McGrath <roland@hack.frob.com>
52624
52625 [BZ #12849]
52626 * manual/fdl-1.1.texi: New file, verbatim from:
52627 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52628 * manual/lgpl-2.1.texi: New file, verbatim from:
52629 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52630 * manual/Makefile (licenses): New variable, list those new file names.
52631 (texis): Use it.
52632 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52633
52634 * manual/fdl.texi: File removed.
52635 * manual/lesser.texi: File removed.
52636 * manual/libc.texinfo (Copying, Documentation License):
52637 Use new @include file names, put @appendix directive before @include.
52638
f16846a5
JJ
526392011-06-04 Jakub Jelinek <jakub@redhat.com>
52640
52641 [BZ #12841]
52642 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52643 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52644 (mq_open): Add __NTH.
52645
3d29045b
L
526462011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52647
52648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52649 Assume Intel Core i3/i5/i7 processor if AVX is available.
52650
8c297311
UD
526512011-05-31 Ulrich Drepper <drepper@gmail.com>
52652
52653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52654 typo.
52655
c8fc0c91
UD
526562011-05-31 Andreas Schwab <schwab@redhat.com>
52657
52658 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52659 memory. Use alloca_account. Fix memory leak when retrying.
52660
5b27a807
UD
526612011-05-31 Ulrich Drepper <drepper@gmail.com>
52662
356f8bc6
UD
52663 * version.h (RELEASE): Bump for 2.14 release.
52664 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52665
5b27a807
UD
52666 * config.make.in (RANLIB): Remove entry.
52667
01f16ab0
UD
526682011-05-30 Ulrich Drepper <drepper@gmail.com>
52669
41fce8bd
UD
52670 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52671 (libc.pot): Work around missing support for .ksh extension in xgettext.
52672
4769ae77
UD
52673 [BZ #12684]
52674 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52675 if both request failed.
52676 (send_dg): In case of server errors clear resplen or *resplen2.
52677
6b1e7d19
UD
52678 [BZ #12454]
52679 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52680 when there are multiple maps.
52681 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52682 (_dl_fini): Remove test here.
52683
01f16ab0
UD
52684 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52685
b1ebd700
UD
526862011-05-29 Ulrich Drepper <drepper@gmail.com>
52687
7ae22829
UD
52688 [BZ #12350]
52689 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52690 bit from old_res_options.
52691 (gaih_inet): Likewise.
52692
553149f6 52693 [BZ #11099]
18a84741 52694 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
52695 as signed.
52696
652ffab1
UD
52697 * resolv/res_init.c (res_setoptions): Make the code more compact.
52698
16985fd0
UD
52699 [BZ #11558]
52700 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52701 set RES_USEVC.
52702
0464f746
UD
52703 [BZ #11634]
52704 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52705
7d17596c
UD
52706 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52707
cf6bbbd7
UD
52708 [BZ #11781]
52709 * malloc/malloc.h: Declare malloc hook variables as volatile.
52710
13f1ab36
UD
52711 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52712 in last patch.
52713
b1ebd700
UD
52714 [BZ #11799]
52715 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 52716 raise in the comment.
80e2212d
UD
52717 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52718 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52719 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 52720
ce67228d
UD
527212011-05-28 Ulrich Drepper <drepper@gmail.com>
52722
8887a920
UD
52723 [BZ #12811]
52724 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52725 grow the buffers more if it already has to be sufficient.
52726 (build_wcs_upper_buffer): Likewise.
52727 * posix/regexec.c (check_matching): Likewise.
52728 (clean_state_log_if_needed): Likewise.
52729 (extend_buffers): Don't enlarge buffers beyond size of the input
52730 buffer.
52731 Patches mostly by Emil Wojak <emil@wojak.eu>.
52732 * posix/bug-regex32.c: New file.
52733 * posix/Makefile (tests): Add bug-regex32.
52734
4f031072
UD
52735 * locale/findlocale.c (_nl_find_locale): Return right away if
52736 _nl_explode_name failed.
52737 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52738
d0478f0c
UD
52739 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52740
de81b246
UD
52741 * debug/xtrace.sh: Unify messages.
52742 * malloc/memusage.sh: Likewise.
52743
c738465a
UD
52744 [BZ #12813]
52745 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52746 time symbol from vDSO. Substitute with vsyscall if not available.
52747 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52748 __vdso_time.
52749
f1f929d7
UD
52750 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52751 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52752 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52753 Add sendmmsg and internal_sendmmsg.
52754 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52755 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52756 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52757
ce67228d
UD
52758 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52759 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52760 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52761
e57420c6
UD
527622011-05-27 Ulrich Drepper <drepper@gmail.com>
52763
a8509ca5
UD
52764 [BZ #12813]
52765 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52766 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52767 available.
52768 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52769 __vdso_getcpu.
52770
e57420c6
UD
52771 [BZ #12814]
52772 * iconvdata/Makefile (tests): Add bug-iconv9.
52773 * iconvdata/bug-iconv9.c: New file.
52774
4d07db15
AS
527752011-05-27 Andreas Schwab <schwab@redhat.com>
52776
52777 [BZ #12814]
52778 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52779
ea486f69
JJ
527802011-05-25 Jakub Jelinek <jakub@redhat.com>
52781
52782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52783 (struct user_regs_struct): Change intcs field back to cs.
52784
6f038433
UD
527852011-05-25 Ulrich Drepper <drepper@gmail.com>
52786
52787 * po/ja.po: Update from translation team.
52788
67f86a25
UD
527892011-05-23 Ulrich Drepper <drepper@gmail.com>
52790
52791 [BZ #12795]
52792 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52793 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52794
def7fbd6
AS
527952011-05-20 Andreas Schwab <schwab@redhat.com>
52796
52797 * stdlib/longlong.h: Update from GCC.
52798
f50ef8f1
AS
527992011-05-23 Andreas Schwab <schwab@redhat.com>
52800
52801 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52802 parameter name.
52803 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52804 Add parameter name.
52805 (__sysconf): Pass it down.
52806
de7ce8f1
UD
528072011-05-22 Ulrich Drepper <drepper@gmail.com>
52808
f2962a71
UD
52809 [BZ #12671]
52810 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52811 some situations.
52812 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52813 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52814 add in in __libc_use_alloca calls. Adjust callers.
52815 (glob): Use malloc in some situations.
52816
de7ce8f1
UD
52817 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52818 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52819 pltexit.
52820
aec84f53
UD
528212011-05-21 Ulrich Drepper <drepper@gmail.com>
52822
05bb4a68
UD
52823 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52824 and CLOCK_BOOTTIME_ALARM.
52825
7ea72f99
UD
52826 [BZ #12782]
52827 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52828 is returned.
52829
7e4afad5
UD
52830 * string/_strerror.c (__strerror_r): Print negative errors as signed
52831 numbers.
52832
8e211fec
UD
52833 [BZ #12777]
52834 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52835 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52836 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52837
f7d82dc9
UD
52838 * configure.in: Fix typo in redirection and correct removal of test
52839 files in two cases.
52840
cc9e536d
UD
52841 [BZ #12788]
52842 * locale/setlocale.c (new_composite_name): Fix test to check for
52843 identical name of all categories.
52844
aec84f53
UD
52845 [BZ #12792]
52846 * libio/filedoalloc.c (local_isatty): New function.
52847 (_IO_file_doallocate): Use local_isatty.
52848 * stdio-common/perror.c (perror): In case a new stream is used
52849 forward the stream error.
52850 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52851 error flag.
52852
78e64fdc
RT
528532011-05-20 Ulrich Drepper <drepper@gmail.com>
52854
34a9094f
UD
52855 [BZ #11869]
52856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52857 alloca.
52858 * include/alloca.h (extend_alloca_account): Define.
52859
78e64fdc
RT
52860 [BZ #11857]
52861 * posix/regex.h: Fix comments with documentation of user-accessible
52862 fields after compilation and describe correct free'ing of pattern
52863 after re_compile_pattern.
52864 Patch by Reuben Thomas <rrt@sc3d.org>.
52865
457bddfc
RA
528662011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52867
52868 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52869 and -mno-altivec to prevent the compiler from using Altivec and/or
52870 VSX instructions when the corresponding registers are not available.
52871
a4527b51
AS
528722011-05-19 Andreas Schwab <schwab@redhat.com>
52873
52874 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52875
ed690b2f
UD
528762011-05-19 Ulrich Drepper <drepper@gmail.com>
52877
52878 * libio/freopen.c (freopen): Use __dup2, not dup2.
52879 * libio/freopen64.c (freopen64): Likewise.
52880
8db73634
L
528812011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52882
52883 [BZ #12775]
52884 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52885 * math/Makefile (tests): Add test-powl.
52886 (CFLAGS-test-powl.c): Define.
52887 * math/test-powl.c: New file.
52888
0a197a9d
L
528892011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52890
52891 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52892
ee30c380
UD
528932011-05-17 Ulrich Drepper <drepper@gmail.com>
52894
52895 [BZ #11837]
52896 * iconvdata/gb18030.c: Update to GB18020-2005.
52897
6ce75379
UD
528982011-05-16 Ulrich Drepper <drepper@gmail.com>
52899
a4b89fd8
AR
52900 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52901 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52902 Patch by Aharon Robbins <arnold@skeeve.com>.
52903
ea389b12
UD
52904 [BZ #11892]
52905 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52906 on the stack.
52907
68a3f91f
UD
52908 [BZ #11895]
52909 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52910 through underflows.
52911
15cc7dd1
UD
52912 [BZ #12766]
52913 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52914 point to strings before performing equality test for error_one_per_line
52915 mode.
52916
f3799213
UD
52917 [BZ #11697]
52918 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52919
d79a9c94
UD
52920 [BZ #11820]
52921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52922 (struct user_fpregs_struct): Avoid __uint*_t types.
52923
56e5eb46
UD
52924 [BZ #6420]
52925 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52926 symbol info. Use it instead of calling _dl_addr locally.
52927 (lock_and_info): New function.
52928 (tr_freehook): Call lock_and_info and pass symbol info as additional
52929 parameter to tr_where.
52930 (tr_mallochook): Likewise.
52931 (tr_reallochook): Likewise.
52932 (tr_memalignhook): Likewise.
52933
6ce75379
UD
52934 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52935 used and couldn't be at all thread-safe.
52936
f8a3b5bf
UD
529372011-05-15 Ulrich Drepper <drepper@gmail.com>
52938
94b7cc37
UD
52939 * libio/freopen.c (freopen): Don't close old file descriptor
52940 before the new one is opened. Instead dup the new file descriptor
52941 to the old one after the new stream is created.
52942 * libio/freopen64.c (freopen64): Likewise.
52943 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52944 * libio/fileops.c (_IO_new_file_close_it): Handle new
52945 _IO_FLAGS2_NOCLOSE flag.
52946 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52947 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52948 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52949 _IO_FLAGS2_NOCLOSE flag.
52950 * include/unistd.h: Add hidden_proto for dup3.
52951 Define __have_dup3.
52952 * io/dup3.c: Define hidden symbol.
52953 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52954
bd25564e
UD
52955 [BZ #7101]
52956 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52957 when an incomplete long option is used.
52958 * posix/tst-getopt_long1.c: New file.
52959 * posix/Makefile (tests): Add tst-getopt_long1.
52960
c84cfef4
UD
52961 [BZ #10138]
52962 * scripts/config.guess: Update from autoconf-2.68.
52963 * scripts/config.sub: Likewise.
52964
3b85df27
UD
52965 [BZ #10157]
52966 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52967 tests into ...
52968 (has_cpuclock): ...this. New function.
52969 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52970 macro here based on has_cpuclock code.
52971
15a856b1
UD
52972 [BZ #10149]
52973 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52974 First byte (not low byte) is now always NUL.
52975 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52976
05f399e6
UD
52977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52978 Use non-cancelable interfaces.
52979
10a52685 52980 [BZ #9809]
94ecc67d
UD
52981 * locale/iso-639.def: Add entry for Sorani.
52982
f8a3b5bf
UD
52983 [BZ #11901]
52984 * include/stdlib.h: Move include protection to the right place.
52985 Define abort_msg_s. Declare __abort_msg with it.
52986 * stdlib/abort.c (__abort_msg): Adjust type.
52987 * assert/assert.c (__assert_fail_base): New function. Majority
52988 of code from __assert_fail. Allocate memory for __abort_msg with
52989 mmap.
52990 (__assert_fail): Now call __assert_fail_base.
52991 * assert/assert-perr.c: Remove bulk of implementation. Use
52992 __assert_fail_base.
52993 * include/assert.hL Declare __assert_fail_base.
52994 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52995 mmap.
52996 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52997
1af4e298
UD
529982011-05-14 Ulrich Drepper <drepper@gmail.com>
52999
f8a3b5bf 53000 [BZ #11952]
d26dfc60
MG
53001 [BZ #12453]
53002 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53003 until all modules are registered in the DTV.
53004 * elf/Makefile: Add rules to build and run tst-tls19.
53005 * elf/tst-tls19.c: New file.
53006 * elf/tst-tls19mod1.c: New file.
53007 * elf/tst-tls19mod2.c: New file.
53008 * elf/tst-tls19mod3.c: New file.
53009 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53010
2fc54d6f
UD
53011 [BZ #12083]
53012 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53013 correctly.
53014
98d76b46
UD
53015 [BZ #12601]
53016 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53017 two-byte sequence errors.
53018 * iconvdata/Makefile (tests): Add bug-iconv8.
53019 * iconvdata/bug-iconv8.c: New file.
53020
da3c19ef
UD
53021 [BZ #12626]
53022 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53023 buf2 definition.
53024
ca408c15
UD
53025 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53026
d6f67f7d
UD
53027 [BZ #12432]
53028 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53029 (dummy_getcfa): New function.
53030 (init): Get _Unwind_GetCFA address, use dummy if not found.
53031 (backtrace_helper): In recursion check, also check whether CFA changes.
53032 (__backtrace): Completely initialize arg.
53033
1af4e298 53034 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53035 storing incomplete byte sequence in state object. Avoid testing for
53036 guaranteed too small input if we know there is enough data available.
1af4e298 53037
da62f81b
AS
530382011-05-11 Andreas Schwab <schwab@redhat.com>
53039
53040 * Makeconfig (+link-pie): Indent.
53041 * Rules (binaries-pie): Define if $(have-fpie) and
53042 $(build-shared).
53043 (binaries-shared): Also filter out $(binaries-pie).
53044 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53045 * nscd/Makefile (others-pie): Add nscd.
53046 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53047 ($(objpfx)nscd): Remove command override.
53048 * login/Makefile (others-pie): Add pt_chown.
53049 ($(objpfx)pt_chown): Remove command override.
53050 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53051 remove command overrides.
53052
fcabc0f8
UD
530532011-05-13 Ulrich Drepper <drepper@gmail.com>
53054
20030ae6
UD
53055 * libio/tst_putwc.c: Fix error messages.
53056
fcabc0f8
UD
53057 [BZ #12724]
53058 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53059 currently writing and seek to current position when not.
53060 * libio/Makefile (tests): Add bug-fclose1.
53061 * libio/bug-fclose1.c: New file.
53062
320a5dc0
PB
530632011-05-12 Ulrich Drepper <drepper@gmail.com>
53064
53065 [BZ #12511]
53066 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53067 don't set DF_1_NODELETE here.
53068 (do_lookup_x): When entering new entry test for copy relocation
53069 and if necessary set DF_1_NODELETE flag.
53070 * elf/tst-unique4.cc: New file.
53071 * elf/tst-unique4.h: New file.
53072 * elf/tst-unique4lib.cc: New file.
53073 * elf/Makefile: Add rules to build and run tst-unique4.
53074 Patch by Piotr Bury <pbury@goahead.com>.
53075
22836f52
UD
530762011-05-11 Ulrich Drepper <drepper@gmail.com>
53077
f574184a
UD
53078 [BZ #12052]
53079 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53080
e1fb097f
UD
53081 [BZ #12625]
53082 * misc/mntent_r.c (addmntent): Flush the stream after the output
53083
22836f52
UD
53084 [BZ #12393]
53085 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53086 (is_trusted_path_normalize): Skip initial colon. Append slash
53087 to empty buffer. Duplicate is_trusted_path code but allow
53088 constructed patch to be prefix.
53089 (is_dst): Allow $ORIGIN followed by /.
53090 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53091 Correct testing of result of is_trusted_path_normalize
53092 (decompose_rpath): Fix warning.
53093
7b3b0b2a
UD
530942011-05-10 Ulrich Drepper <drepper@gmail.com>
53095
53096 [BZ #11257]
53097 * grp/initgroups.c (internal_getgrouplist): When we found the service
53098 list through the initgroups entry in nsswitch.conf do not always
53099 continue on a successful lookup. Don't always use the
eac80ce2 53100 __nss_group_database value if it is set.
7b3b0b2a
UD
53101 * nss/nsswitch.conf (initgroups): Change action for successful db
53102 lookup to continue for compatibility.
53103
2a81eaa5
UD
531042011-05-09 Ulrich Drepper <drepper@gmail.com>
53105
be97a69e
UD
53106 [BZ #11532]
53107 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53108 and CP774 modules.
53109 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53110 and CP774 modules.
53111 * iconvdata/tst-tables.sh: Likewise.
53112 * iconvdata/cp770.c: New file.
53113 * iconvdata/cp771.c: New file.
53114 * iconvdata/cp772.c: New file.
53115 * iconvdata/cp773.c: New file.
53116 * iconvdata/cp774.c: New file.
53117 * iconvdata/testdata/CP770: New file.
53118 * iconvdata/testdata/CP770..UTF8: New file.
53119 * iconvdata/testdata/CP771: New file.
53120 * iconvdata/testdata/CP771..UTF8: New file.
53121 * iconvdata/testdata/CP772: New file.
53122 * iconvdata/testdata/CP772..UTF8: New file.
53123 * iconvdata/testdata/CP773: New file.
53124 * iconvdata/testdata/CP773..UTF8: New file.
53125 * iconvdata/testdata/CP774: New file.
53126 * iconvdata/testdata/CP774..UTF8: New file.
53127
53128 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53129 END CHARMAP line.
53130 * iconvdata/gen-8bit-gap.sh: Likewise.
53131 * iconvdata/gen-8bit.sh: Likewise.
53132
c1e9e399
UD
53133 * locale/iso-639.def: Add ary entry.
53134
24c55fb3 53135 [BZ #11258]
96b4b1b0
UD
53136 * locale/C-translit.h.in: Add U20A1 transliteration.
53137
bdc2f971
KB
53138 [BZ #12178]
53139 * locale/iso-639.def: Add wae entry.
53140 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53141
2952b117
UD
53142 [BZ #12545]
53143 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53144 for n.
53145
2a81eaa5
UD
53146 [BZ #12711]
53147 * locale/C-translit.h.in: Add entry for U20B9.
53148 Patch by pravin.d.s@gmail.com.
53149
28377d1b
UD
531502011-05-08 Ulrich Drepper <drepper@gmail.com>
53151
7fb90fb8
UD
53152 [BZ #12713]
53153 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53154 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53155 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53156 in rtld. Use *stat64.
7fb90fb8 53157 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53158 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53159 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53160 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53161 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53162 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53163 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53164 __fstatat64 macros.
7fb90fb8
UD
53165 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53166 * dirent/rewinddir.c: Add libc_hidden_def.
53167 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53168 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53169
28377d1b
UD
53170 * include/dirent.h (__alloc_dir): Add flags parameter.
53171 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53172 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53173 __alloc_dir.
53174 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53175 from fdopendir if O_CLOEXEC is already set.
53176
66bdbaa4
AM
531772011-03-15 Alan Modra <amodra@gmail.com>
53178
53179 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53180 l_tls_firstbyte_offset non-zero. Save padding offset in
53181 l_tls_firstbyte_offset for later use.
53182 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53183 freeing static tls block.
53184
95721191
JN
531852011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53186
53187 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53188 where #ifdef was intended. The intent is to prevent ARG_MAX from
53189 being defined by the kernel headers.
53190
f87dfb1f
UD
531912011-05-07 Ulrich Drepper <drepper@gmail.com>
53192
53193 [BZ #12734]
53194 * resolv/resolv.h: Define RES_NOTLDQUERY.
53195 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53196 no-tld-query and set RES_NOTLDQUERY.
53197 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53198 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53199 modern BIND to search name as TLD unless forbidden.
53200
47c3cd7a
UD
532012011-05-07 Petr Baudis <pasky@suse.cz>
53202 Ulrich Drepper <drepper@gmail.com>
53203
53204 [BZ #12393]
53205 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53206 (is_trusted_path): ...to here.
c1e9ea35 53207 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53208 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53209 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53210
8a35c912
PP
532112011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53212
53213 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53214 __BEGIN/__END_DECLS.
53215
acd41f47
UD
532162011-05-06 Ulrich Drepper <drepper@gmail.com>
53217
53218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53219 NSS_STATUS_NOTFOUND if no record was found.
53220
597df647
AS
532212011-05-05 Andreas Schwab <schwab@redhat.com>
53222
53223 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53224 (headers-not-in-tirpc): Remove rpc/netdb.h
53225 * resolv/netdb.h: Revert last change.
53226
b9af1301
PP
532272011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53228
53229 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53230 circular dependency between libgcc.a and libc.a.
53231
4e34d5f5
AS
532322011-05-05 Andreas Schwab <schwab@redhat.com>
53233
53234 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53235 * nis/Makefile: Don't install rpcsvc/*.
53236 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53237 instead of <rpc/types.h>.
53238 (MAXHOSTNAMELEN): Define.
53239
00ee369c
AS
532402011-05-03 Andreas Schwab <schwab@redhat.com>
53241
53242 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53243
0b592a30
MB
532442011-04-28 Maciej Babinski <mbabinski@google.com>
53245
53246 [BZ #12714]
53247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53248 gethostbyname4_r when IPv6 results are possible.
53249
6e04cbbe
UD
532502011-05-02 Ulrich Drepper <drepper@gmail.com>
53251
53252 [BZ #12723]
53253 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53254 _PC_PIPE_BUF handling.
53255
e4ecafe0
BH
532562011-04-30 Bruno Haible <bruno@clisp.org>
53257
53258 [BZ #12717]
53259 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53260 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53261 to 'int'.
53262 * inet/getnameinfo.c (getnameinfo): Likewise.
53263
125ee683
UD
532642011-04-29 Ulrich Drepper <drepper@gmail.com>
53265
53266 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53267 to groups setting in database lookup.
53268 * nss/nsswitch.conf: Add initgroups entry.
53269
b722481a
EB
532702011-04-22 Ulrich Drepper <drepper@gmail.com>
53271
53272 [BZ #12685]
53273 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53274 mode string.
53275 Patch by Eric Blake <eblake@redhat.com>.
53276
4df46dbd
L
532772011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53278
53279 * sunrpc/Makefile (need-export-routines): Add svc_run.
53280 (routines): Remove svc_run.
53281 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53282 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53283 * sunrpc/svc_run.c (svc_run): Likewise.
53284 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53285
e84142d2
UD
532862011-04-21 Ulrich Drepper <drepper@gmail.com>
53287
53288 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53289 problem in reallocation in last patch.
53290
877175d8
UD
532912011-04-20 Ulrich Drepper <drepper@gmail.com>
53292
53293 * sunrpc/Makefile: Move inclusion of Rules.
53294
ab8eed78
UD
532952011-04-19 Ulrich Drepper <drepper@gmail.com>
53296
53297 * nss/nss_files/files-initgroups.c: New file.
53298 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53299 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53300 _nss_files_initgroups_dyn.
53301
e3d8f584
RS
533022011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53303
53304 * elf/elf.h (R_ARM_IRELATIVE): Define.
53305
af190f45
UD
533062011-04-19 Ulrich Drepper <drepper@gmail.com>
53307
53308 * po/ru.po: Update from translation team.
53309
53cf59ef
UD
533102011-04-17 Ulrich Drepper <drepper@gmail.com>
53311
53312 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53313 dependencies.
53314
4c559bcd
MF
533152011-02-06 Mike Frysinger <vapier@gentoo.org>
53316
53317 [BZ #12653]
53318 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53319 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53320 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53321 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53323
4420675c
AS
533242011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53325
53326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53327 differing bytes.
53328 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53331
75ea32ab
UD
533322011-04-17 Ulrich Drepper <drepper@gmail.com>
53333
53334 [BZ #12420]
53335 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53336 storing it.
53337 * stdlib/bug-getcontext.c: New file.
53338 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53339
27390476
AK
533402011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53341
53342 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53343 instructions into .machine "z9-109".
53344 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53345 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53346
10442705
AK
533472011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53348
53349 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53350 between environment variables and auxiliary vector.
53351
7b57bfe5
UD
533522011-04-16 Ulrich Drepper <drepper@gmail.com>
53353
53354 * Makefile: Add rules to build linkobj/libc.so.
53355 * include/libc-symbols.h: Define libc_hidden_nolink.
53356 * include/rpc/auth.h: Mark functions which are to be hidden.
53357 * include/rpc/auth_des.h: Likewise.
53358 * include/rpc/auth_unix.h: Likewise.
53359 * include/rpc/clnt.h: Likewise.
53360 * include/rpc/des_crypt.h: Likewise.
53361 * include/rpc/key_prot.h: Likewise.
53362 * include/rpc/pmap_clnt.h: Likewise.
53363 * include/rpc/pmap_prot.h: Likewise.
53364 * include/rpc/pmap_rmt.h: Likewise.
53365 * include/rpc/rpc_msg.h: Likewise.
53366 * include/rpc/svc.h: Likewise.
53367 * include/rpc/svc_auth.h: Likewise.
53368 * include/rpc/xdr.h: Likewise.
53369 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53370 * nss/Makefile: Likewise.
53371 * sunrpc/Makefile: Don't install headers. Build library with normal
53372 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53373 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53374 for the compat linking library. Remove use of INTDEF/INTUSE.
53375 * sunrpc/auth_none.c: Likewise.
53376 * sunrpc/auth_unix.c: Likewise.
53377 * sunrpc/authdes_prot.c: Likewise.
53378 * sunrpc/authuxprot.c: Likewise.
53379 * sunrpc/clnt_gen.c: Likewise.
53380 * sunrpc/clnt_perr.c: Likewise.
53381 * sunrpc/clnt_raw.c: Likewise.
53382 * sunrpc/clnt_simp.c: Likewise.
53383 * sunrpc/clnt_tcp.c: Likewise.
53384 * sunrpc/clnt_udp.c: Likewise.
53385 * sunrpc/clnt_unix.c: Likewise.
53386 * sunrpc/des_crypt.c: Likewise.
53387 * sunrpc/des_soft.c: Likewise.
53388 * sunrpc/get_myaddr.c: Likewise.
53389 * sunrpc/key_call.c: Likewise.
53390 * sunrpc/key_prot.c: Likewise.
53391 * sunrpc/netname.c: Likewise.
53392 * sunrpc/pm_getmaps.c: Likewise.
53393 * sunrpc/pm_getport.c: Likewise.
53394 * sunrpc/pmap_clnt.c: Likewise.
53395 * sunrpc/pmap_prot.c: Likewise.
53396 * sunrpc/pmap_prot2.c: Likewise.
53397 * sunrpc/pmap_rmt.c: Likewise.
53398 * sunrpc/publickey.c: Likewise.
53399 * sunrpc/rpc_cmsg.c: Likewise.
53400 * sunrpc/rpc_common.c: Likewise.
53401 * sunrpc/rpc_dtable.c: Likewise.
53402 * sunrpc/rpc_prot.c: Likewise.
53403 * sunrpc/rpc_thread.c: Likewise.
53404 * sunrpc/rtime.c: Likewise.
53405 * sunrpc/svc.c: Likewise.
53406 * sunrpc/svc_auth.c: Likewise.
53407 * sunrpc/svc_authux.c: Likewise.
53408 * sunrpc/svc_raw.c: Likewise.
53409 * sunrpc/svc_run.c: Likewise.
53410 * sunrpc/svc_simple.c: Likewise.
53411 * sunrpc/svc_tcp.c: Likewise.
53412 * sunrpc/svc_udp.c: Likewise.
53413 * sunrpc/svc_unix.c: Likewise.
53414 * sunrpc/svcauth_des.c: Likewise.
53415 * sunrpc/xcrypt.c: Likewise.
53416 * sunrpc/xdr.c: Likewise.
53417 * sunrpc/xdr_array.c: Likewise.
53418 * sunrpc/xdr_float.c: Likewise.
53419 * sunrpc/xdr_intXX_t.c: Likewise.
53420 * sunrpc/xdr_mem.c: Likewise.
53421 * sunrpc/xdr_rec.c: Likewise.
53422 * sunrpc/xdr_ref.c: Likewise.
53423 * sunrpc/xdr_sizeof.c: Likewise.
53424 * sunrpc/xdr_stdio.c: Likewise.
53425
e6c61494
UD
534262011-04-10 Ulrich Drepper <drepper@gmail.com>
53427
53428 [BZ #12650]
53429 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53430 * sysdeps/ia64/dl-tls.h: Likewise.
53431 * sysdeps/powerpc/dl-tls.h: Likewise.
53432 * sysdeps/s390/dl-tls.h: Likewise.
53433 * sysdeps/sh/dl-tls.h: Likewise.
53434 * sysdeps/sparc/dl-tls.h: Likewise.
53435 * sysdeps/x86_64/dl-tls.h: Likewise.
53436 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53437
34fe483e
AS
534382011-03-14 Andreas Schwab <schwab@redhat.com>
53439
53440 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53441 rpath element also skip the following colon.
53442 (expand_dynamic_string_token): Add is_path parameter and pass
53443 down to DL_DST_REQUIRED and _dl_dst_substitute.
53444 (decompose_rpath): Call expand_dynamic_string_token with
53445 non-zero is_path. Ignore empty rpaths.
53446 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53447 with zero is_path.
53448
f12a32e6
AS
534492011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53450
53451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53452 Make cancelable.
53453
38a7d692
UD
534542011-04-09 Ulrich Drepper <drepper@gmail.com>
53455
53456 [BZ #12655]
53457 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53458 Patch by Filipe David Manana <fdmanana@apache.org>.
53459
e451d22b
AS
534602011-04-07 Andreas Schwab <schwab@redhat.com>
53461
53462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53463 Maintain aligned stack.
53464 (CHECK_RSP): Remove unused macro.
53465
dedc7c7b
UD
534662011-04-03 Ulrich Drepper <drepper@gmail.com>
53467
53468 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53469 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53470
94521213
UD
534712011-04-02 Ulrich Drepper <drepper@gmail.com>
53472
53473 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53474
8cb700c0 53475 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 53476
0354e355
L
534772011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53478
53479 [BZ #12518]
53480 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53481 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53482 * sysdeps/x86_64/memmove.c: New file.
53483 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53484 (memcpy): Renamed to ...
53485 (__new_memcpy): This.
53486 (memcpy): Provide GLIBC_2_14 memcpy.
53487 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53488 (memcpy): Provide GLIBC_2_2_5 memcpy.
53489
8593482f
UD
534902011-04-01 Ulrich Drepper <drepper@gmail.com>
53491
53492 [BZ #12631]
53493 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53494
81a5726b
AS
534952011-03-30 Andreas Schwab <schwab@redhat.com>
53496
53497 * misc/syncfs.c: New file.
53498 * misc/Makefile (routines): Add syncfs.
53499 * posix/unistd.h: Declare syncfs.
53500 * sysdeps/unix/syscalls.list: Add syncfs.
53501
00e5419f
AS
535022011-04-01 Andreas Schwab <schwab@redhat.com>
53503
53504 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53505 open_by_handle_at.
53506 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53507 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53509 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53511 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53513
748876bf
UD
535142011-04-01 Ulrich Drepper <drepper@gmail.com>
53515
658e451d
UD
53516 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53517 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53518 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53519 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53520 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53523
748876bf
UD
53524 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53525 sync_file_range.c with -fexceptions.
53526 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53527 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53528 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53529 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53530 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53531 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
53533 sync_file_range as cancellation point
53534 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53535 now a wrapper around __call_sync_file_range with cancellation handling.
53536 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53537 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53538 function name to __call_sync_file_range.
53539 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53540 Add call_sync_file_range.
748876bf 53541
6e63d5e1
AS
535422011-04-01 Andreas Schwab <schwab@redhat.com>
53543
53544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 53545 bits/timex.h.
6e63d5e1 53546
46998f74
UD
535472011-04-01 Ulrich Drepper <drepper@gmail.com>
53548
4c1423ed
UD
53549 * iconv/iconv.h: Fix typo in comment.
53550 * io/fcntl.h: Likewise.
53551 * libio/stdio.h: Likewise.
53552 * posix/spawn.h: Likewise.
53553 * posix/unistd.h: Likewise.
53554 * stdlib/stdlib.h: Likewise.
53555 * time/time.h: Likewise.
53556 * wcsmbs/wchar.h: Likewise.
53557
158648c0
UD
53558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53559 open_by_handle): Add.
53560 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53561 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53562 Augment a few comments.
53563 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53565 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53567 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53568 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53569 open_by_handle.
53570
46998f74
UD
53571 * io/fcntl.h (AT_EMPTY_PATH): Define.
53572
83fe108b
UD
535732011-03-30 Ulrich Drepper <drepper@gmail.com>
53574
53575 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53576 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53577 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53578 to...
53579 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
53580 * Versions.def: Add GLIBC_2.14.
53581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53582 Export.
83fe108b 53583
bb242059
UD
535842011-03-22 Ulrich Drepper <drepper@gmail.com>
53585
53586 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53587 round counter.
53588 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53589
c97a1282
L
535902011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53591
53592 [BZ #12597]
53593 * string/test-strncmp.c (do_page_test): New function.
53594 (check2): Likewise.
53595 (test_main): Call check2.
53596 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53597
2a115601
UD
535982011-03-20 Ulrich Drepper <drepper@gmail.com>
53599
53600 [BZ #12587]
53601 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53602 Handle cache information in CPU leaf 4.
53603 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53604
8126d904
UD
536052011-03-18 Ulrich Drepper <drepper@gmail.com>
53606
042c49c6 53607 [BZ #12583]
8126d904
UD
53608 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53609 character representation.
53610 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53611
ccfe366e
RA
536122011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53613
53614 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53615 END(__isnan) to END(__isnanf) to match function entry point/label
53616 EALIGN(__isnanf,...).
53617
c6e13027
JJ
536182011-03-10 Jakub Jelinek <jakub@redhat.com>
53619
53620 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53621
33f85a3f
UD
536222011-03-10 Ulrich Drepper <drepper@gmail.com>
53623
028478fa
UD
53624 [BZ #12510]
53625 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53626 copy from the symbol referenced in the relocation to initialize the
53627 used variable.
53628 Patch by Piotr Bury <pbury@goahead.com>.
53629 * elf/Makefile: Add rules to build and tst-unique3.
53630 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53631 * elf/tst-unique3.cc: New file.
53632 * elf/tst-unique3.h: New file.
53633 * elf/tst-unique3lib.cc: New file.
53634 * elf/tst-unique3lib2.cc: New file.
53635
33f85a3f
UD
53636 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53637
03592fc7
MF
536382011-03-10 Mike Frysinger <vapier@gentoo.org>
53639
53640 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53641 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53642 to _start.
03592fc7 53643
6a5ee102
UD
536442011-03-06 Ulrich Drepper <drepper@gmail.com>
53645
53646 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53647 to-be-loaded object along a path to loader is ld.so.
53648
7e4ba49c
HJ
536492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53650 Ulrich Drepper <drepper@gmail.com>
53651
53652 * sysdeps/x86_64/memset.S: After aligning destination, code
53653 branches to different locations depending on the value of
53654 misalignment, when multiarch is enabled. Fix this.
53655
536562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53657
53658 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53659 Set _x86_64_preferred_memory_instruction for AMD processsors.
53660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53661 Set bit_Prefer_SSE_for_memop for AMD processors.
53662
13a804de
UD
536632011-03-04 Ulrich Drepper <drepper@gmail.com>
53664
53665 * libio/fmemopen.c (fmemopen): Optimize a bit.
53666
9d25c392
AS
536672011-03-03 Andreas Schwab <schwab@redhat.com>
53668
53669 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53670
a5543c6a
RM
536712011-03-03 Roland McGrath <roland@redhat.com>
53672
53673 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53674
012d35f7
DM
536752011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53676
7e4ba49c 53677 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
53678 __bzero_ultra1 instead of __memset_ultra1.
53679
4bff6e01
AS
536802011-02-23 Andreas Schwab <schwab@redhat.com>
53681 Ulrich Drepper <drepper@gmail.com>
53682
53683 [BZ #12509]
53684 * include/link.h (struct link_map): Add l_orig_initfini.
53685 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53686 returning unsuccessfully.
53687 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53688 close of a file loaded at startup, restore the original l_initfini
53689 list.
53690 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53691 list, store the pointer.
53692 * elf/Makefile ($(objpfx)noload-mem): New rule.
53693 (noload-ENV): Define.
53694 (tests): Add $(objpfx)noload-mem.
53695 * elf/noload.c: Include <memcheck.h>.
53696 (main): Call mtrace. Close all opened handles.
53697
f2092faf
AS
536982011-02-17 Andreas Schwab <schwab@redhat.com>
53699
53700 [BZ #12454]
53701 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53702 dependencies are missing.
53703
6c8a2e88
ST
537042011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53705
f2092faf 53706 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
53707 Hurd needs munmap.
53708 * sysdeps/mach/hurd/ifreq.h: New file.
53709
84a42118
PB
537102011-01-27 Petr Baudis <pasky@suse.cz>
53711 Ulrich Drepper <drepper@gmail.com>
53712
071f805e 53713 [BZ 12445]#
84a42118
PB
53714 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53715 to extend_alloca().
53716 * stdio-common/bug23.c: New file.
53717 * stdio-common/Makefile (tests): Add bug23.
53718
e23fe25b
AS
537192010-09-28 Andreas Schwab <schwab@redhat.com>
53720 Ulrich Drepper <drepper@gmail.com>
53721
53722 [BZ #12489]
53723 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53724 before performing relro protection. At old place add assertion
53725 to make sure nothing changed.
53726
d3f02e10
NS
537272011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53728 Glauber de Oliveira Costa <glommer@gmail.com>
53729
53730 * elf/elf.h: Add new ARM TLS relocs.
53731
d55fd7a5
RA
537322011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53733
53734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53735 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53736 cast from r3.
53737 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53738 'tests' variable.
53739 * sysdeps/wordsize-64/tst-writev.c: New file.
53740
2206397e
RA
537412011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53742
53743 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53744 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53745 insns in _dl_start to prevent a TOC reference before relocs are
53746 resolved.
53747
e9433893
UD
537482011-02-15 Ulrich Drepper <drepper@gmail.com>
53749
53750 [BZ #12469]
53751 * Makeconfig: Remove RANLIB definition.
53752 * Makerules: Don't use RANLIB.
53753 * aclocal.m4: Remove ranlib test.
53754 * configure.in: No need to check for ranlib.
53755 * elf/rtld-Rules: Don't use RANLIB.
53756
f75286c6
ST
537572011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53758
8e31c82d
ST
53759 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53760 protection macro.
53761 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53762 inclusion protection macro.
53763
f75286c6
ST
53764 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53765 SIGRTMIN and SIGRTMAX and print information in that case only when
53766 SIGRTMIN is defined.
53767
c1d0e639
JJ
537682011-02-11 Jakub Jelinek <jakub@redhat.com>
53769
53770 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53771 arginfo fn returning -1.
53772
53773 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53774 and thousands string is zero terminated.
53775
edf9294e
AS
537762011-02-03 Andreas Schwab <schwab@redhat.com>
53777
53778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53779 sysdeps/unix/sysv/linux/bits/socket.h.
53780
2b7e92df
ST
537812011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53782
edf9294e
AS
53783 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53784 (__CPU_COUNT): Remove old macros.
53785 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53786 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53787 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
53788 (__sched_cpualloc, __sched_cpufree): Add declarations.
53789
a4c7ea7b
UD
537902011-02-05 Ulrich Drepper <drepper@gmail.com>
53791
53792 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53793 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53794 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53795 (readdhstai): Return value of addhstaiX call.
53796 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53797 (addgrbyX): Return value returned by cache_addgr.
53798 (readdgrbyname): Return value returned by addgrbyX.
53799 (readdgrbygid): Likewise.
53800 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53801 (addpwbyX): Return value returned by cache_addpw.
53802 (readdpwbyname): Return value returned by addhstbyX.
53803 (readdpwbyuid): Likewise.
53804 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53805 (addservbyX): Return value returned by cache_addserv.
53806 (readdservbyname): Return value returned by addservbyX:
53807 (readdservbyport): Likewise.
53808 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53809 (addhstbyX): Return value returned by cache_addhst.
53810 (readdhstbyname): Return value returned by addhstbyX.
53811 (readdhstbyaddr): Likewise.
53812 (readdhstbynamev6): Likewise.
53813 (readdhstbyaddrv6): Likewise.
53814 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53815 (readdinitgroups): Return value returned by addinitgroupsX.
53816 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53817 (prune_cache): Keep track of timeout value of re-added entries.
53818 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53819 * nscd/nscd.h: Adjust prototypes of readd* functions.
53820
a0bf67cc
RM
538212011-02-04 Roland McGrath <roland@redhat.com>
53822
53823 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53824 (nis_stats): Likewise.
53825 * nis/nis_modify.c (nis_modify): Likewise.
53826 * nis/nis_remove.c (nis_remove): Likewise.
53827 * nis/nis_add.c (nis_add): Likewise.
53828
53829 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53830
53831 * posix/fnmatch_loop.c: Add some consts.
53832
53833 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53834
435b95eb
L
538352011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53836
53837 [BZ #12460]
53838 * config.make.in (config-cflags-novzeroupper): Define.
53839 * configure.in: Substitute libc_cv_cc_novzeroupper.
53840 * elf/Makefile (AVX-CFLAGS): Define.
53841 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53842 (CFLAGS-tst-auditmod4a.c): Likewise.
53843 (CFLAGS-tst-auditmod4b.c): Likewise.
53844 (CFLAGS-tst-auditmod6b.c): Likewise.
53845 (CFLAGS-tst-auditmod6c.c): Likewise.
53846 (CFLAGS-tst-auditmod7b.c): Likewise.
53847 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53848
8517b15e
UD
538492011-02-02 Ulrich Drepper <drepper@gmail.com>
53850
53851 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53852 function to the callback.
53853 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53854
10a656fe
AS
538552011-02-02 Andreas Schwab <schwab@redhat.com>
53856
53857 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53858 of errno.
53859
968dad0a
UD
538602011-01-19 Ulrich Drepper <drepper@gmail.com>
53861
9f94d2ea 53862 [BZ #11724]
968dad0a
UD
53863 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53864 of constructors.
53865 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53866 of destructors.
53867 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53868
53869 [BZ #11724]
53870 * elf/Makefile: Add rules to build and run new test.
53871 * elf/tst-initorder.c: New file.
53872 * elf/tst-initorder.exp: New file.
53873 * elf/tst-initordera1.c: New file.
53874 * elf/tst-initordera2.c: New file.
53875 * elf/tst-initordera3.c: New file.
53876 * elf/tst-initordera4.c: New file.
53877 * elf/tst-initorderb1.c: New file.
53878 * elf/tst-initorderb2.c: New file.
53879 * elf/tst-order-a1.c: New file.
53880 * elf/tst-order-a2.c: New file.
53881 * elf/tst-order-a3.c: New file.
53882 * elf/tst-order-a4.c: New file.
53883 * elf/tst-order-b1.c: New file.
53884 * elf/tst-order-b2.c: New file.
53885 * elf/tst-order-main.c: New file.
53886 New test case by George Gensure <werkt0@gmail.com>.
53887
86e92359
UD
538882010-10-01 Andreas Schwab <schwab@redhat.com>
53889
53890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53891 decoding ACE if AI_CANONIDN.
53892
5d5732b0
UD
538932011-01-18 Ulrich Drepper <drepper@gmail.com>
53894
53895 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53896
a77e8cbc
UD
538972011-01-17 Ulrich Drepper <drepper@gmail.com>
53898
6392473f
UD
53899 * version.h (RELEASE): Bump for 2.13 release.
53900 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53901
620a0529
UD
53902 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53903
18ba70a5
UD
53904 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53905 MADV_NOHUGEPAGE.
32465c3e
UD
53906 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53907 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53908 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53909 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53910 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53911 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53912
c0dafcf1
UD
53913 * posix/getconf.c: Update copyright year.
53914 * catgets/gencat.c: Likewise.
53915 * csu/version.c: Likewise.
53916 * debug/catchsegv.sh: Likewise.
53917 * debug/xtrace.sh: Likewise.
53918 * elf/ldconfig.c: Likewise.
53919 * elf/ldd.bash.in: Likewise.
53920 * elf/sprof.c (print_version): Likewise.
53921 * iconv/iconv_prog.c: Likewise.
53922 * iconv/iconvconfig.c: Likewise.
53923 * locale/programs/locale.c: Likewise.
53924 * locale/programs/localedef.c: Likewise.
53925 * malloc/memusage.sh: Likewise.
53926 * malloc/mtrace.pl: Likewise.
53927 * nscd/nscd.c (print_version): Likewise.
53928 * nss/getent.c: Likewise.
53929
a77e8cbc
UD
53930 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53931 PF_CAIF, and PF_ALG.
53932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53933
77e8bddf
AS
539342011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53935
1f20b93a
AS
53936 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53937 (modules-names): Use them.
53938 (ifunc-test-modules, ifunc-pie-tests): Define.
53939 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53940 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53941 (test-extras): Likewise.
53942 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53943 $(compile-command.c).
53944 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53945 (all-built-dso): Define.
53946 (check-textrel.out, check-execstack.out): Depend on it.
53947
77e8bddf
AS
53948 * configure.in: Don't override --enable-multi-arch.
53949
bc425b33
UD
539502011-01-15 Ulrich Drepper <drepper@gmail.com>
53951
53952 [BZ #6812]
53953 * nscd/hstcache.c (tryagain): Define.
53954 (cache_addhst): Return tryagain not notfound for temporary errors.
53955 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53956 failed.
53957
794c3ad3
UD
539582011-01-14 Ulrich Drepper <drepper@gmail.com>
53959
70181fdd
UD
53960 [BZ #10563]
53961 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53962 to make the syscall.
53963 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53964
794c3ad3
UD
53965 [BZ #12378]
53966 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53967 and fall back to matching as normal character if the string ends before
53968 the matching ']' is found. This is what POSIX requires.
53969 * posix/testfnm.c: Adjust test result.
53970 * posix/globtest.sh: Adjust test result. Add new test.
53971 * posix/tst-fnmatch.input: Likewise.
53972 * posix/tst-fnmatch2.c: Add new test.
53973
68dc9497
AS
539742010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53975
53976 * elf/Makefile (check-execstack): Revert last change. Depend on
53977 check-execstack.h.
53978 (check-execstack.h): New target.
53979 (generated): Add check-execstack.h.
53980 * elf/check-execstack.c: Include "check-execstack.h".
53981 (main): Revert last change.
53982 (handle_file): Return zero if GNU_STACK is absent and
53983 DEFAULT_STACK_PERMS doesn't include PF_X.
53984
451f001b
UD
539852011-01-13 Ulrich Drepper <drepper@gmail.com>
53986
cfa28e56
UD
53987 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53988 in child fails because the descriptor is already closed.
8cf8ce17
UD
53989 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53990 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53991 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 53992
1086d70d
UD
53993 [BZ #12397]
53994 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53995 syscall.
53996
451f001b
UD
53997 [BZ #10484]
53998 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53999 temporary buffer used to handle multi lookups locally.
a85b5cb4 54000 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54001
08769175
UD
540022011-01-12 Ulrich Drepper <drepper@gmail.com>
54003
54004 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54005 loader is ld.so.
54006
5e49c52e
UD
540072011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54008
54009 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54010 alignment for SSE2.
54011
60522a5f
UD
540122011-01-12 Ulrich Drepper <drepper@gmail.com>
54013
54014 [BZ #12394]
54015 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54016 characters. When rounding increased number of integer digits recompute
54017 number of groups.
54018 * stdio-common/tst-grouping.c: New file.
54019 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54020
f257bbd7
UD
540212011-01-09 Ulrich Drepper <drepper@gmail.com>
54022
54023 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54024 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54025
54026 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54027 void.
54028 * bits/select.h: Likewise.
54029
fa9c15cb
UD
540302011-01-08 Ulrich Drepper <drepper@gmail.com>
54031
54032 * po/ja.po: Update from translation team.
54033
16c2895f
DM
540342011-01-04 David S. Miller <davem@sunset.davemloft.net>
54035
54036 [BZ #11155]
54037 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54038 implementation just like for lxstat, fxstatat, et al.
54039
2543fef2
JM
540402010-12-27 Jim Meyering <meyering@redhat.com>
54041
54042 [BZ #12348]
54043 * posix/regexec.c (build_trtable): Return failure indication upon
54044 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54045
98727dbe
UD
540462010-12-25 Ulrich Drepper <drepper@gmail.com>
54047
5bd6dc5c
UD
54048 [BZ #12201]
54049 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54050 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54051 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54052 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54053
97983464
UD
54054 [BZ #12207]
54055 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54056
98727dbe
UD
54057 [BZ #12204]
54058 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54059 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54060
4a531bb0
L
540612010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54062
54063 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54064 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54065 script has SORT_BY_INIT_PRIORITY.
54066 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54067 NO_CTORS_DTORS_SECTIONS is defined.
54068 * elf/soinit.c: Likewise.
54069 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54070 NO_CTORS_DTORS_SECTIONS is defined.
54071 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54072 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54073 * sysdeps/sh/init-first.c: Likewise.
54074 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54075
07eb4b71
UD
540762010-12-24 Ulrich Drepper <drepper@gmail.com>
54077
54078 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54079 always use the slow path.
54080
30950a5f
RA
540812010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54082
54083 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54084 similar rule which adds the sysdep directories to the header search in
54085 order to pick up the correct platform stackinfo.h.
54086 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54087 perform test if it is, otherwise return successfully without testing.
54088 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54089 DEFAULT_STACK_PERMS define in stackinfo.h.
54090 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54091 defined in stackinfo.h.
54092 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54093 DEFAULT_STACK_PERMS defined in stackinfo.h.
54094 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54095 * sysdeps/ia64/stackinfo.h: Likewise.
54096 * sysdeps/s390/stackinfo.h: Likewise.
54097 * sysdeps/sh/stackinfo.h: Likewise.
54098 * sysdeps/sparc/stackinfo.h: Likewise.
54099 * sysdeps/x86_64/stackinfo.h: Likewise.
54100 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54101 PF_X for powerpc64. Retain PF_X for powerpc32.
54102
db753e2c
UD
541032010-12-19 Ulrich Drepper <drepper@gmail.com>
54104
14b697f7
UD
54105 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54106 accurately.
db753e2c
UD
54107 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54108 GETDENTS_64BIT_ALIGNED.
54109
28300719
UD
541102010-12-14 Ulrich Drepper <dreper@gmail.com>
54111
14b697f7 54112 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54113
4f197237
AS
541142010-12-10 Andreas Schwab <schwab@redhat.com>
54115
dbb0472f
AS
54116 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54117 _GNU_SOURCE.
54118
4f197237
AS
54119 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54120 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54121 Remove __restrict.
54122 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54123 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54124
fb88ac72
UD
541252010-12-09 Ulrich Drepper <drepper@gmail.com>
54126
54127 [BZ #11655]
54128 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54129 are initialized.
54130
42acbb92
JJ
541312010-12-09 Jakub Jelinek <jakub@redhat.com>
54132
54133 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54134
c038d98d
UD
541352010-12-03 Ulrich Drepper <drepper@gmail.com>
54136
54137 * po/it.po: Update from translation team.
54138
3a4a2499
L
541392010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54140
54141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54142 unused codes.
54143
1e24cf6e
UD
541442010-11-30 Ulrich Drepper <drepper@gmail.com>
54145
54146 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54147
a7690819
AS
541482010-11-24 Andreas Schwab <schwab@redhat.com>
54149
54150 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54151 specially.
54152 (gaih_getanswer_slice): Likewise.
54153
3bf8d1b1
JJ
541542010-10-20 Jakub Jelinek <jakub@redhat.com>
54155
54156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54157
6db52fbb
PB
541582010-05-31 Petr Baudis <pasky@suse.cz>
54159
54160 [BZ #11149]
54161 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54162 silently even in the chroot mode.
54163
eaca7569
UD
541642010-11-22 Ulrich Drepper <drepper@gmail.com>
54165
54166 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54167 last patch a bit. Pretty printing
54168
3056dcdb
UD
541692010-05-31 Petr Baudis <pasky@suse.cz>
54170
54171 [BZ #10085]
54172 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54173 initialization of skip_initgroups_dyn.
54174
cf7c9078
UD
541752010-11-19 Ulrich Drepper <drepper@gmail.com>
54176
54177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54179
a1fb5e3e
UD
541802010-11-16 Ulrich Drepper <drepper@gmail.com>
54181
54182 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54183
3540d66b
AS
541842010-11-11 Andreas Schwab <schwab@redhat.com>
54185
54186 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54187 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54188 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54189 ($(objpfx)tst-fnmatch-mem): New rule.
54190 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54191 * posix/tst-fnmatch.c (main): Call mtrace.
54192
13b69574
L
541932010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54194
54195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54196 Support Intel processor model 6 and model 0x2c.
54197
da93d214
LM
541982010-11-10 Luis Machado <luisgpm@br.ibm.com>
54199
54200 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54201 signed comparison.
54202
8ca52c6e
L
542032010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54204
54205 [BZ #12205]
54206 * string/test-strncasecmp.c (check_result): New function.
54207 (do_one_test): Use it.
54208 (check1): New function.
54209 (test_main): Use it.
54210 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54211 Support strcasecmp and strncasecmp.
54212
69da074d
UD
542132010-11-08 Ulrich Drepper <drepper@gmail.com>
54214
54215 [BZ #12194]
54216 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54217 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54218
ff02d528
L
542192010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54220
54221 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54222 IFUNC support.
54223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54224 memset-x86-64.
54225 * sysdeps/x86_64/multiarch/bzero.S: New file.
54226 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54227 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54228 * sysdeps/x86_64/multiarch/memset.S: New file.
54229 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54231 Set bit_Prefer_SSE_for_memop for Intel processors.
54232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54233 Define.
54234 (index_Prefer_SSE_for_memop): Define.
54235 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54236
344d0b54
LM
542372010-11-04 Luis Machado <luisgpm@br.ibm.com>
54238
54239 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54240 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54241
c0dde15b
UD
542422010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54243
54244 [BZ #12191]
54245 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54246 (__x86_64_raw_data_cache_size_half): Likewise.
54247 (__x86_64_raw_shared_cache_size): Likewise.
54248 (__x86_64_raw_shared_cache_size_half): Likewise.
54249
54250 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54251 (__x86_64_raw_data_cache_size_half): Likewise.
54252 (__x86_64_raw_shared_cache_size): Likewise.
54253 (__x86_64_raw_shared_cache_size_half): Likewise.
54254 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54255 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54256 and __x86_64_raw_shared_cache_size_half. Round
54257 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54258 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54259 to multiple of 256 bytes.
54260
0e516e0e
MS
542612010-11-03 Ulrich Drepper <drepper@gmail.com>
54262
54263 [BZ #12167]
54264 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54265 of inacessible symlinks. Verify result of symlink before returning it.
54266 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54267 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54268
0e012e87
ER
542692010-10-28 Erich Ritz <erichritz@gmail.com>
54270
54271 * math/math.h (isinf): Fix typo in comment.
54272
de0ff7bc
UD
542732010-11-01 Ulrich Drepper <drepper@gmail.com>
54274
54275 * po/da.po: Update from translation team.
54276
fa41c84d
UD
542772010-10-26 Ulrich Drepper <drepper@gmail.com>
54278
54279 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54280 is added to the list.
54281
f0967738
AK
542822010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54283 Ulrich Drepper <drepper@gmail.com>
54284
54285 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54286 the global list here. Move code to...
54287 (_dl_add_to_namespace_list): ...here. New function.
54288 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54289 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54290 * elf/dl-load.c (lose): Don't remove the element from the list.
54291 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54292 (_dl_map_object): Likewise.
54293
542942010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54295
54296 [BZ #12159]
54297 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54298 into all bytes of SSE register.
54299 Patch by Richard Li <richardpku@gmail.com>.
54300
f0967738 543012010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54302
54303 [BZ #12140]
54304 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54305 perturbing.
54306
d0b9e94f
MB
543072010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54308
54309 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54310 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54311 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54312 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54314 submachine.
54315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54316
8e9f92e9
AS
543172010-10-22 Andreas Schwab <schwab@redhat.com>
54318
54319 * include/dlfcn.h (__RTLD_SECURE): Define.
54320 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54321 mode & __RTLD_SECURE instead.
54322 (open_path): Rename preloaded parameter to secure.
54323 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54324 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54325 * elf/dl-deps.c (openaux): Likewise.
54326 * elf/rtld.c (struct map_args): Remove is_preloaded.
54327 (map_doit): Don't use it.
54328 (dl_main): Likewise.
54329 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54330 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54331
bc96fbda
AS
543322010-09-09 Andreas Schwab <schwab@redhat.com>
54333
54334 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54335 (sysd-rules-targets): Remove duplicates.
54336 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54337 rtld-%.$o dependency.
54338
22cd1c9b
AS
543392010-10-18 Andreas Schwab <schwab@redhat.com>
54340
54341 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54342 _dl_map_object do it.
54343
18edac48
UD
543442010-10-19 Ulrich Drepper <drepper@gmail.com>
54345
54346 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54347 fast fma builtins, define the macros in the C99 standard.
54348 (FP_FAST_FMAF): Likewise.
54349 (FP_FAST_FMAL): Likewise.
54350 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54351
54352 * bits/mathdef.h: Update copyright year.
54353 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54354
d2050124
MM
543552010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54356
54357 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54358 builtins, define the macros in the C99 standard.
54359 (FP_FAST_FMAF): Likewise.
54360 (FP_FAST_FMAL): Likewise.
54361 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54362 multiply/add.
54363 (FP_FAST_FMAF): Likewise.
54364
475facd1
JJ
543652010-10-15 Jakub Jelinek <jakub@redhat.com>
54366
54367 [BZ #3268]
54368 * math/libm-test.inc (fma_test): Some new testcases.
54369 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54370 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54371 y and infinite z. Do multiplication by C already in long double.
54372 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54374 y and infinite z. Do bitwise or of inexact bit into u.d.
54375 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54376 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54377 * sysdeps/i386/fpu/s_fma.S: Removed.
54378 * sysdeps/i386/fpu/s_fmal.S: Removed.
54379
7c08a05c
JJ
543802010-10-16 Jakub Jelinek <jakub@redhat.com>
54381
54382 [BZ #3268]
54383 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54385 computation is not scheduled after fetestexcept. Fix value
54386 of minimum denormal long double.
54387
f3f7372d
JJ
543882010-10-14 Jakub Jelinek <jakub@redhat.com>
54389
54390 [BZ #3268]
54391 * math/libm-test.inc (fma_test): Add some more tests.
54392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54393 correctly.
54394
14d43591
AS
543952010-10-15 Andreas Schwab <schwab@redhat.com>
54396
54397 * scripts/data/localplt-s390-linux-gnu.data: New file.
54398 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54399
5e908464
JJ
544002010-10-13 Jakub Jelinek <jakub@redhat.com>
54401
54402 [BZ #3268]
54403 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54404 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54405 instead of dbl-64.
54406 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54407 inlines.
54408 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54410 if one of x and y is very large and the other is subnormal.
54411 * sysdeps/s390/fpu/s_fmaf.c: New file.
54412 * sysdeps/s390/fpu/s_fma.c: New file.
54413 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54414 * sysdeps/powerpc/fpu/s_fma.S: New file.
54415 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54416 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54417 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54418
544192010-10-12 Jakub Jelinek <jakub@redhat.com>
54420
54421 [BZ #3268]
54422 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54423 fma tests.
54424 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54425 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54426 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54427 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54428 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54429 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54430 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54431
b833d51f
UD
544322010-10-12 Ulrich Drepper <drepper@redhat.com>
54433
54434 [BZ #12078]
54435 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54436 * posix/bug-regex31.input: Add test case.
54437
1751705d
UD
544382010-10-11 Ulrich Drepper <drepper@gmail.com>
54439
e9b9cbf5
UD
54440 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54441 * posix/bug-regex31.input: New file.
54442
54443 [BZ #12078]
54444 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54445 (parse_sub_exp): Fix last change, use postorder.
54446
ef06edbe
UD
54447 * posix/bug-regex31.c: New file.
54448 * posix/Makefile: Add rules to build and run bug-regex31.
54449
a129c80d
UD
54450 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54451
54452 [BZ #12078]
54453 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54454
b76b818e
UD
54455 [BZ #12108]
54456 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54457 to have entries in sys_siglist.
54458
1751705d
UD
54459 [BZ #12093]
54460 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54461 be NULL.
54462
9ff8d36f
JJ
544632010-10-07 Jakub Jelinek <jakub@redhat.com>
54464
54465 [BZ #3268]
54466 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54467 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54468 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54469 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54470 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54471 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54472 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54473 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54474 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54475 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54476 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54477 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54478 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54479 * math/ftestexcept.c (fetestexcept): Likewise.
54480 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54481 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54482 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54483 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54484 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54485 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54486 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54487
af325969
UD
544882010-10-11 Ulrich Drepper <drepper@gmail.com>
54489
c579b202 54490 [BZ #12107]
af325969
UD
54491 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54492 newline.
54493
67a67b95
UD
544942010-10-06 Ulrich Drepper <drepper@gmail.com>
54495
54496 * string/bug-strstr1.c: New file.
54497 * string/Makefile: Add rules to build and run bug-strstr1.
54498
5fb308bc
EB
544992010-10-05 Eric Blake <eblake@redhat.com>
54500
54501 [BZ #12092]
54502 * string/str-two-way.h (two_way_long_needle): Always clear memory
54503 when skipping input due to the shift table.
54504
45db99c7
UD
545052010-10-03 Ulrich Drepper <drepper@gmail.com>
54506
3b111893
UD
54507 [BZ #12005]
54508 * malloc/mcheck.c: Handle large requests.
54509
45db99c7
UD
54510 [BZ #12077]
54511 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54512 for strncmp and strncasecmp.
54513 * string/stratcliff.c: Add tests for strcmp and strncmp.
54514 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54515
cf7a1eb8
NI
545162010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54517
54518 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54519 __set_fpscr.
54520
6484ba5e
AJ
545212010-09-30 Andreas Jaeger <aj@suse.de>
54522
54523 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54524 (CGROUP_SUPER_MAGIC): Define.
54525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54526 Handle btrfs and cgroup file systems.
54527 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54528 Likewise.
54529
91c42559
LM
545302010-09-27 Luis Machado <luisgpm@br.ibm.com>
54531
54532 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54533 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54534
87a97932
AK
545352010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54536
54537 [BZ #12067]
54538 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54539 trying to locate the ELF header.
54540
c21cc9bc
AS
545412010-09-27 Andreas Schwab <schwab@redhat.com>
54542
54543 [BZ #11611]
54544 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54545 Mask out sign-bit copies when constructing f_fsid.
54546
315970f6
PB
545472010-09-24 Petr Baudis <pasky@suse.cz>
54548
54549 * debug/stack_chk_fail_local.c: Add missing licence exception.
54550 * debug/warning-nop.c: Likewise.
54551
1ac7a2c7
JM
545522010-09-15 Joseph Myers <joseph@codesourcery.com>
54553
54554 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54555 implementing getdents64 using getdents syscall, set d_type if
54556 __ASSUME_GETDENTS32_D_TYPE.
54557
56801c50
AS
545582010-09-16 Andreas Schwab <schwab@redhat.com>
54559
54560 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54561 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54562
dda51327
UD
545632010-09-21 Ulrich Drepper <drepper@redhat.com>
54564
54565 [BZ #12037]
54566 * posix/unistd.h: Undo change of feature selection for ftruncate from
54567 2010-01-11.
54568
8ffcee4a
UD
545692010-09-20 Ulrich Drepper <drepper@redhat.com>
54570
a545ecd9 54571 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
54572 detection.
54573
e24f0a8b
AS
545742010-09-20 Andreas Schwab <schwab@redhat.com>
54575
54576 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54577 fanotify_mark.
54578 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54579
7291c56f
AS
545802010-09-14 Andreas Schwab <schwab@redhat.com>
54581
54582 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54583 variables after CHECK_SP call.
54584 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54585
bc5fb037
AS
545862010-09-13 Andreas Schwab <schwab@redhat.com>
54587 Ulrich Drepper <drepper@redhat.com>
54588
54589 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54590 re-relocationg ld.so.
54591 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54592 _dl_init_paths call.
54593 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54594 here anymore.
54595
e66e7419
UD
545962010-09-14 Ulrich Drepper <drepper@redhat.com>
54597
54598 * resolv/res_init.c (__res_vinit): Count the default server we added.
54599
c044aa75
CLT
546002010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54601 Ulrich Drepper <drepper@redhat.com>
54602
54603 [BZ #11968]
54604 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54605 (____longjmp_chk): Use %ebx for saving value across system call.
54606 Add unwind info.
54607
32cf4069
AS
546082010-09-06 Andreas Schwab <schwab@redhat.com>
54609
54610 * manual/Makefile: Don't mix pattern rules with normal rules.
54611
817328ee
AS
546122010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54613
54614 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54615 operation.
54616 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54617 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54618 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54619 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54621 Likewise.
54622
29fddf61
UD
546232010-09-04 Ulrich Drepper <drepper@redhat.com>
54624
54625 [BZ #11979]
54626 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54627 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54628
0959ffc9
UD
546292010-09-02 Ulrich Drepper <drepper@redhat.com>
54630
54631 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54632 * sysdeps/x86_64/addmul_1.S: Likewise.
54633 * sysdeps/x86_64/lshift.S: Likewise.
54634 * sysdeps/x86_64/mul_1.S: Likewise.
54635 * sysdeps/x86_64/rshift.S: Likewise.
54636 * sysdeps/x86_64/sub_n.S: Likewise.
54637 * sysdeps/x86_64/submul_1.S: Likewise.
54638
ece29840
ST
546392010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54640
0959ffc9
UD
54641 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54642 Define __sched_param instead of SCHED_* and sched_param when
ece29840 54643 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 54644 * bits/sched.h [__need_schedparam]
ece29840 54645 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
54646 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54647 (__defined_schedparam): Define to 1.
ece29840
ST
54648 (__sched_param): New structure, identical to sched_param.
54649 (__need_schedparam): Undefine.
54650
e53a31fe
MF
546512010-08-31 Mike Frysinger <vapier@gentoo.org>
54652
fdc0c10d
MF
54653 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54654 (epoll_create1): Declare.
54655
e53a31fe
MF
54656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54657
a726d796
AS
546582010-08-31 Andreas Schwab <schwab@redhat.com>
54659
54660 [BZ #7066]
54661 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54662 shifting retval into place.
54663
2f3e3dc7
UD
546642010-09-01 Ulrich Drepper <drepper@redhat.com>
54665
f2933da9
UD
54666 * nis/rpcsvc/nis.h: Update copyright notice.
54667 * nis/rpcsvc/nis.x: Likewise.
54668 * nis/rpcsvc/nis_callback.h: Likewise.
54669 * nis/rpcsvc/nis_callback.x: Likewise.
54670 * nis/rpcsvc/nis_object.x: Likewise.
54671 * nis/rpcsvc/nis_tags.h: Likewise.
54672 * nis/rpcsvc/yp.h: Likewise.
54673 * nis/rpcsvc/yp.x: Likewise.
54674 * nis/rpcsvc/ypupd.h: Likewise.
54675 * nis/yp_xdr.c: Likewise.
54676 * nis/ypupdate_xdr.c: Likewise.
54677
2f3e3dc7
UD
54678 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54679 mainly the body of pmap_getport. Add parameters to specify timeouts.
54680 (pmap_getport): Use __libc_rpc_getport.
54681 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54682 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54683 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54684
f3dcc2f9
AS
546852010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54686
54687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54688 fanotify_mark.
54689
6d34eb5b
RM
546902010-08-27 Roland McGrath <roland@redhat.com>
54691
54692 * sysdeps/i386/i686/multiarch/Makefile
54693 (CFLAGS-varshift.c): New variable.
54694
9ea3de11
UD
546952010-08-27 Ulrich Drepper <drepper@redhat.com>
54696
c96d23fc
UD
54697 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54698 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54699
9ea3de11
UD
54700 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54701
54702 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54703
623aac7f
L
547042010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54705
54706 * sysdeps/x86_64/strlen.S: Unroll the loop.
54707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54708 strlen-sse2 strlen-sse2-bsf.
54709 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54710 __strlen_no_bsf if bit_Slow_BSF is set.
54711 (__strlen_sse42): Removed.
54712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54713 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54714
8b2b7715
RM
547152010-08-25 Roland McGrath <roland@redhat.com>
54716
54717 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54718 * sysdeps/x86_64/multiarch/varshift.c: New file.
54719 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54720 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54721 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54722 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54723
e73015f2
L
547242010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54725
54726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54727 strlen-sse2 strlen-sse2-bsf.
54728 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54729 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54730 (__strlen_sse2): Removed.
54731 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54732 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54734 bit_Slow_BSF for Atom.
54735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54736 (index_Slow_BSF): Define.
54737 (HAS_SLOW_BSF): Define.
54738
df24a73e
UD
547392010-08-25 Ulrich Drepper <drepper@redhat.com>
54740
54741 [BZ #10851]
54742 * resolv/res_init.c (__res_vinit): When no server address at all
54743 is given default to loopback.
54744
f2ac4868
RM
547452010-08-24 Roland McGrath <roland@redhat.com>
54746
09055553
RM
54747 * configure.in: Remove config-name.h generation.
54748 * configure: Regenerated.
54749 * config-name.in: File removed.
54750 * scripts/config-uname.sh: New file.
54751 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54752 ($(objdir)config-name.h): New target.
54753
f2ac4868
RM
54754 * sunrpc/rpc_parse.h: Avoid nested comment.
54755
73f27d5e
RH
547562010-08-24 Richard Henderson <rth@redhat.com>
54757 Ulrich Drepper <drepper@redhat.com>
54758 H.J. Lu <hongjiu.lu@intel.com>
54759
54760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54762 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54763 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54764 _mm_alignr_epi8 with _mm_loadu_si128.
54765 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54766 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54767 (__m128i_shift_right): Removed.
54768 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54769 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54770 * sysdeps/x86_64/multiarch/varshift.h: New file.
54771 * sysdeps/x86_64/multiarch/varshift.S: New file.
54772
84b9230c
MF
547732010-08-21 Mike Frysinger <vapier@gentoo.org>
54774
54775 * configure.in: Move assembler checks to before sysdep dir checking.
54776
9bbd0ddc
PB
547772010-08-20 Petr Baudis <pasky@suse.cz>
54778
54779 * LICENSES: Sync the sunrpc license.
54780
9da4bb31
UD
547812010-08-19 Ulrich Drepper <drepper@redhat.com>
54782
a7ab6ec8
UD
54783 * sunrpc/auth_des.c: Update copyright notice once again.
54784 * sunrpc/auth_none.c: Likewise.
54785 * sunrpc/auth_unix.c: Likewise.
54786 * sunrpc/authdes_prot.c: Likewise.
54787 * sunrpc/authuxprot.c: Likewise.
54788 * sunrpc/bindrsvprt.c: Likewise.
54789 * sunrpc/clnt_gen.c: Likewise.
54790 * sunrpc/clnt_perr.c: Likewise.
54791 * sunrpc/clnt_raw.c: Likewise.
54792 * sunrpc/clnt_simp.c: Likewise.
54793 * sunrpc/clnt_tcp.c: Likewise.
54794 * sunrpc/clnt_udp.c: Likewise.
54795 * sunrpc/clnt_unix.c: Likewise.
54796 * sunrpc/des_crypt.c: Likewise.
54797 * sunrpc/des_soft.c: Likewise.
54798 * sunrpc/get_myaddr.c: Likewise.
54799 * sunrpc/getrpcport.c: Likewise.
54800 * sunrpc/key_call.c: Likewise.
54801 * sunrpc/key_prot.c: Likewise.
54802 * sunrpc/openchild.c: Likewise.
54803 * sunrpc/pm_getmaps.c: Likewise.
54804 * sunrpc/pm_getport.c: Likewise.
54805 * sunrpc/pmap_clnt.c: Likewise.
54806 * sunrpc/pmap_prot.c: Likewise.
54807 * sunrpc/pmap_prot2.c: Likewise.
54808 * sunrpc/pmap_rmt.c: Likewise.
54809 * sunrpc/rpc/auth.h: Likewise.
54810 * sunrpc/rpc/auth_unix.h: Likewise.
54811 * sunrpc/rpc/clnt.h: Likewise.
54812 * sunrpc/rpc/des_crypt.h: Likewise.
54813 * sunrpc/rpc/key_prot.h: Likewise.
54814 * sunrpc/rpc/netdb.h: Likewise.
54815 * sunrpc/rpc/pmap_clnt.h: Likewise.
54816 * sunrpc/rpc/pmap_prot.h: Likewise.
54817 * sunrpc/rpc/pmap_rmt.h: Likewise.
54818 * sunrpc/rpc/rpc.h: Likewise.
54819 * sunrpc/rpc/rpc_des.h: Likewise.
54820 * sunrpc/rpc/rpc_msg.h: Likewise.
54821 * sunrpc/rpc/svc.h: Likewise.
54822 * sunrpc/rpc/svc_auth.h: Likewise.
54823 * sunrpc/rpc/types.h: Likewise.
54824 * sunrpc/rpc/xdr.h: Likewise.
54825 * sunrpc/rpc_clntout.c: Likewise.
54826 * sunrpc/rpc_cmsg.c: Likewise.
54827 * sunrpc/rpc_common.c: Likewise.
54828 * sunrpc/rpc_cout.c: Likewise.
54829 * sunrpc/rpc_dtable.c: Likewise.
54830 * sunrpc/rpc_hout.c: Likewise.
54831 * sunrpc/rpc_main.c: Likewise.
54832 * sunrpc/rpc_parse.c: Likewise.
54833 * sunrpc/rpc_parse.h: Likewise.
54834 * sunrpc/rpc_prot.c: Likewise.
54835 * sunrpc/rpc_sample.c: Likewise.
54836 * sunrpc/rpc_scan.c: Likewise.
54837 * sunrpc/rpc_scan.h: Likewise.
54838 * sunrpc/rpc_svcout.c: Likewise.
54839 * sunrpc/rpc_tblout.c: Likewise.
54840 * sunrpc/rpc_util.c: Likewise.
54841 * sunrpc/rpc_util.h: Likewise.
54842 * sunrpc/rpcinfo.c: Likewise.
54843 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54844 * sunrpc/rpcsvc/key_prot.x: Likewise.
54845 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54846 * sunrpc/rpcsvc/mount.x: Likewise.
54847 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54848 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54849 * sunrpc/rpcsvc/rex.x: Likewise.
54850 * sunrpc/rpcsvc/rstat.x: Likewise.
54851 * sunrpc/rpcsvc/rusers.x: Likewise.
54852 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54853 * sunrpc/rpcsvc/spray.x: Likewise.
54854 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54855 * sunrpc/rtime.c: Likewise.
54856 * sunrpc/svc.c: Likewise.
54857 * sunrpc/svc_auth.c: Likewise.
54858 * sunrpc/svc_authux.c: Likewise.
54859 * sunrpc/svc_raw.c: Likewise.
54860 * sunrpc/svc_run.c: Likewise.
54861 * sunrpc/svc_simple.c: Likewise.
54862 * sunrpc/svc_tcp.c: Likewise.
54863 * sunrpc/svc_udp.c: Likewise.
54864 * sunrpc/svc_unix.c: Likewise.
54865 * sunrpc/svcauth_des.c: Likewise.
54866 * sunrpc/xcrypt.c: Likewise.
54867 * sunrpc/xdr.c: Likewise.
54868 * sunrpc/xdr_array.c: Likewise.
54869 * sunrpc/xdr_float.c: Likewise.
54870 * sunrpc/xdr_mem.c: Likewise.
54871 * sunrpc/xdr_rec.c: Likewise.
54872 * sunrpc/xdr_ref.c: Likewise.
54873 * sunrpc/xdr_sizeof.c: Likewise.
54874 * sunrpc/xdr_stdio.c: Likewise.
54875
9da4bb31
UD
54876 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54877 handling.
54878
bdaa77bc
AS
548792010-08-19 Andreas Schwab <schwab@redhat.com>
54880
54881 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54882
fe2f79db
LM
548832010-08-19 Luis Machado <luisgpm@br.ibm.com>
54884
54885 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54886 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54887 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54888 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54889 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54890 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54891 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54892 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54895 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54896 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54897 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54898 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54899
b9b42ee0
AB
549002010-07-26 Anton Blanchard <anton@samba.org>
54901
54902 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54903 * malloc/arena.c (heap_trim): Likewise.
54904
1c06ba31
UD
549052010-08-16 Ulrich Drepper <drepper@redhat.com>
54906
54907 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54908 here. Not...
54909 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54910 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54911
f8392f40
L
549122010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54913
54914 * sysdeps/i386/elf/Makefile: New file.
54915
3162f12e
AS
549162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54917
54918 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54919 from fanotify_init.
54920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54922
28c90b2c
UD
549232010-08-15 Ulrich Drepper <drepper@redhat.com>
54924
54925 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54926 of strncasecmp_l.
1feccb6c 54927 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 54928
ca6bb004
UD
549292010-08-14 Ulrich Drepper <drepper@redhat.com>
54930
e9f82e0d
UD
54931 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54932 strncase_l-nonascii.
54933 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54934 Add strncase_l-ssse3.
54935 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54936 * sysdeps/x86_64/strcmp.S: Likewise.
54937 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54938 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54939 * sysdeps/x86_64/strncase.S: New file.
54940 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54941 * sysdeps/x86_64/strncase_l.S: New file.
54942 * string/Makefile (strop-tests): Add strncasecmp.
54943 * string/test-strncasecmp.c: New file.
54944
54945 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54946 warning.
54947
ca6bb004
UD
54948 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54949 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54950
052fa7b3
AS
549512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54952
54953 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54954
962dba78
UD
549552010-08-12 Ulrich Drepper <drepper@redhat.com>
54956
54957 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54958 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54959 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54960
bebff237
AM
549612010-05-01 Alan Modra <amodra@gmail.com>
54962
54963 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54964 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54965 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54966 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54967 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54968 tidying. Don't tail-call __sigjmp_save for static lib.
54969 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54970 save location.
54971 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54972 (CALL_MCOUNT): Add eh info, and nop after bl.
54973 (TAIL_CALL_SYSCALL_ERROR): New macro.
54974 (PSEUDO_RET): Use it.
54975 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54976 Correct save location of integer regs and cr.
54977 (_dl_profile_resolve): Correct cr save location. Delete nops
54978 after bl when SHARED. Reduce cfi size a little by better
54979 placement of cfi directives.
54980 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54981 make a stack frame. Instead use parm save area as a temp.
54982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54983 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54985 Don't make a stack frame for parent, use parm save area.
54986 Increase child stack frame to 112 bytes. Don't save unused reg,
54987 and adjust reg usage. Set up cfi on error recovery and
54988 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54990 (__makecontext): Add dummy nop after jump to exit.
54991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54992 Use correct parm save area and cr save, reduce stack frame.
54993 Correct cfi for possible PSEUDO_RET frame setup.
54994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54995 Branch to local label emitted by PSEUDO_RET rather than
54996 __syscall_error.
54997
02637374
AS
549982010-08-12 Andreas Schwab <schwab@redhat.com>
54999
55000 [BZ #11904]
55001 * locale/programs/locale.c (print_assignment): New function.
55002 (show_locale_vars): Use it.
55003
c3e2f19b
UD
550042010-08-11 Ulrich Drepper <drepper@redhat.com>
55005
3cdaa6ad
UD
55006 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55007 field.
55008 (struct statfs64): Likewise.
55009 (_STATFS_F_FLAGS): Define.
55010 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55011 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55012 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55013 (ST_VALID): Define locally.
55014 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55015 __statvfs_getflags, use the provided value.
55016 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55017 __ASSUME_STATFS_F_FLAGS.
55018
754f7da3
UD
55019 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55020
10b3bedc
UD
55021 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55022 Add sys/fanotify.h.
55023 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55024 fanotify_mask for GLIBC_2.13.
55025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55026 fanotify_init and fanotify_mark.
55027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55028 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55029
c08fb0d7
UD
55030 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55031 Add prlimit.
55032 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55033 prlimit64 for GLIBC_2.13.
55034 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55035 prlimit64.
55036 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55037 syscall.
55038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55039 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55040 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55041 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55042 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55043 add prlimit alias.
55044 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55045
15bac72b
UD
55046 [BZ #11903]
55047 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55048 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55049
c3e2f19b
UD
55050 * nss/Makefile: Add rules to build and run tst-nss-test1.
55051 * shlib-versions: Add entry for libnss_test1.
55052 * nss/nss_test1.c: New file.
55053 * nss/tst-nss-test1.c: New file.
55054
55055 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55056 (__nss_configure_lookup): Set appropriate entry in
55057 __nss_configure_lookup to true.
55058 * nss/nsswitch.h: Define enum with indeces of databases in
55059 databases and __nss_database_custom arrays. Declare
55060 __nss_database_custom.
55061 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55062 to avoid using nscd when custom rules are installed.
55063 * nss/getXXbyYY_r.c: Likewise.
55064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55065
55066 * nss/nss_files/files-parse.c: Whitespace fixes.
55067
f15ce4d8
UD
550682010-08-09 Ulrich Drepper <drepper@redhat.com>
55069
55070 [BZ #11883]
55071 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55072 * posix/fnmatch_loop.c: Likewise.
55073
d22e4cc9
AK
550742010-07-17 Andi Kleen <ak@linux.intel.com>
55075
55076 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55077 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55078 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55079 * Versions.def [GLIBC_2.13]: Add.
55080
805bc17d
UD
550812010-08-06 Ulrich Drepper <drepper@redhat.com>
55082
55083 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55084 Also fail if tpwd after pwuid call is NULL.
55085
5a42321d
ST
550862010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55087
55088 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55089 when converting to ms.
55090
fd3ebeda
ST
550912010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55092
55093 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55094 EOPNOTSUPP errors with ENOTTY.
55095 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55096 EOPNOTSUPP errors with ENOTTY.
55097
73507d3a
UD
550982010-07-31 Ulrich Drepper <drepper@redhat.com>
55099
55100 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55101 Add strcasecmp_l-ssse3.
55102 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55103 strcasecmp.
55104 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55105 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55106 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55107
fe36dd02
UD
551082010-07-30 Ulrich Drepper <drepper@redhat.com>
55109
66f6765a
UD
55110 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55111
42e08a54
UD
55112 * string/Makefile (strop-tests): Add strcasecmp.
55113 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55114 strcasecmp_l-nonascii.
55115 (gen-as-const-headers): Add locale-defines.sym.
55116 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55117 * sysdeps/x86_64/strcasecmp.S: New file.
55118 * sysdeps/x86_64/strcasecmp_l.S: New file.
55119 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55120 * sysdeps/x86_64/locale-defines.sym: New file.
55121 * string/test-strcasecmp.c: New file.
55122
fe36dd02
UD
55123 * string/test-strcasestr.c: Test both ends of the range of characters.
55124 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55125
48cbc0d6
RM
551262010-07-29 Roland McGrath <roland@redhat.com>
55127
76e6d6bc 55128 [BZ #11856]
48cbc0d6
RM
55129 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55130
880113d9
UD
551312010-07-27 Ulrich Drepper <drepper@redhat.com>
55132
55133 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55134 for ld.so.
55135
deb9cabb
AS
551362010-07-27 Andreas Schwab <schwab@redhat.com>
55137
55138 * manual/memory.texi (Malloc Tunable Parameters): Document
55139 M_PERTURB.
55140
1c7570ff
RM
551412010-07-26 Roland McGrath <roland@redhat.com>
55142
55143 [BZ #11840]
55144 * configure.in (-fgnu89-inline check): Set and substitute
55145 gnu89_inline, not libc_cv_gnu89_inline.
55146 * configure: Regenerated.
55147 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55148
24fb0f88
UD
551492010-07-26 Ulrich Drepper <drepper@redhat.com>
55150
55151 * string/test-strnlen.c: New file.
55152 * string/Makefile (strop-tests): Add strnlen.
55153 * string/tester.c (test_strnlen): Add a few more test cases.
55154 * string/tst-strlen.c: Better error reporting.
55155
55156 * sysdeps/x86_64/strnlen.S: New file.
55157
8e96b93a
UD
551582010-07-24 Ulrich Drepper <drepper@redhat.com>
55159
55160 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55161 lower-latency instructions.
55162
dbc676d4
UD
551632010-07-23 Ulrich Drepper <drepper@redhat.com>
55164
55165 * string/test-strcasestr.c: New file.
55166 * string/test-strstr.c: New file.
55167 * string/Makefile (strop-tests): Add strstr and strcasestr.
55168 * string/str-two-way.h: Don't undefine MAX.
55169 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55170
f6a31e0e
AS
551712010-07-21 Andreas Schwab <schwab@redhat.com>
55172
55173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55174 strcasestr-nonascii.
55175 (CFLAGS-strcasestr-nonascii.c): Define.
55176 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55177 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55178 Remove unused attribute.
55179
5dbc3b6c
RM
551802010-07-20 Roland McGrath <roland@redhat.com>
55181
55182 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55183 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55184 ld.so.cache was broken. With it, there is no way to disable dsocaps
55185 like LD_HWCAP_MASK can disable hwcaps.
55186
23d101d8
EPM
551872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55188
55189 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55190
cc9f2e47
UD
551912010-07-16 Ulrich Drepper <drepper@redhat.com>
55192
55193 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55194 call in strcasestr.
55195 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55196 __strcasestr_sse42_nonascii.
55197 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55198 strcasestr-nonascii.c.
55199 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55200
77c1b069
LM
552012010-06-15 Luis Machado <luisgpm@br.ibm.com>
55202
55203 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55204 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55205 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55206 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55207
440566c3
UD
552082010-07-09 Ulrich Drepper <drepper@redhat.com>
55209
55210 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55211 fcntl.
55212
5be9d05d
AS
552132010-07-06 Andreas Schwab <schwab@redhat.com>
55214
c30b7ee2 55215 [BZ #11577]
5be9d05d
AS
55216 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55217 dl_signal_cerror.
55218
8a492a67
UD
552192010-07-06 Ulrich Drepper <drepper@redhat.com>
55220
55221 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55222 _PC_PIPE_BUF using F_GETPIPE_SZ.
55223
713df3d5
RM
552242010-07-05 Roland McGrath <roland@redhat.com>
55225
55226 * manual/arith.texi (Rounding Functions): Fix rint description
55227 implicit in round description.
55228
702e8f14
UD
552292010-07-02 Ulrich Drepper <drepper@redhat.com>
55230
55231 * elf/Makefile: Fix linking for a few tests to make recent linker
55232 happy.
55233
52ed8be9
AS
552342010-06-30 Andreas Schwab <schwab@redhat.com>
55235
55236 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55237 $(common-objpfx)libc_nonshared.a.
55238
f47c9a11
LM
552392010-06-21 Luis Machado <luisgpm@br.ibm.com>
55240
55241 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55242 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55243 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55244 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55245 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55246 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55247 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55248 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55263 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55264 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55265 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55266 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55267 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55268 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55269 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55270 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55271 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55272 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55273 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55274 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55289
6fb8cbcb
L
552902010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55291
55292 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55293 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55294 * string/memmove.c (memmove): Renamed to ...
55295 (MEMMOVE): ...this. Default to memmove.
55296 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55297 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55298 (END_CHK): Define.
55299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55300 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55301 mempcpy-ssse3-back memmove-ssse3-back.
55302 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55303 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55304 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55305 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55306 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55307 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55308 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55309 * sysdeps/x86_64/multiarch/memmove.c: New file.
55310 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55311 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55312 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55313 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55314 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55315 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55316 Define.
55317 (index_Fast_Copy_Backward): Define.
55318 (HAS_ARCH_FEATURE): Define.
55319 (HAS_FAST_REP_STRING): Define.
55320 (HAS_FAST_COPY_BACKWARD): Define.
55321
4e733bac 553222010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55323
55324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55325 Restore proper fallback handling.
55326
63c4ed22
UD
553272010-06-19 Ulrich Drepper <drepper@redhat.com>
55328
ac2b484c
UD
55329 [BZ #11701]
55330 * posix/group_member.c (__group_member): Correct checking loop.
55331
63c4ed22
UD
55332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55333 OOM in getpwuid_r correctly. Return error number when the caller
55334 should return, otherwise -1.
55335 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55336 call returning > 0 value.
55337 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55338
765ade4b
AS
553392010-06-07 Andreas Schwab <schwab@redhat.com>
55340
55341 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55342 libc_nonshared.a from targets in modules-names.
55343
80da2e09
KS
553442010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55345
55346 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55347 requires it.
55348
158db122
LM
553492010-06-10 Luis Machado <luisgpm@br.ibm.com>
55350
55351 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55352 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55353 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55354 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55355
caa78cf8
AS
553562010-06-02 Andreas Schwab <schwab@redhat.com>
55357
55358 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55359
b2ef2c01
UD
553602010-06-14 Ulrich Drepper <drepper@redhat.com>
55361
55362 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55363 and F_GETPIPE_SZ.
55364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55369 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55370
fbd643b6
RM
553712010-06-14 Roland McGrath <roland@redhat.com>
55372
55373 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55374
f32f2869
JJ
553752010-06-07 Jakub Jelinek <jakub@redhat.com>
55376
55377 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55378 __REDIRECT followed by __THROW.
55379 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55380 * posix/getopt.h (getopt): Likewise.
55381
2a50c078
EPM
553822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55383
55384 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55385 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55386 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55387 in AT_FLAGS.
55388 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55389 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55390
eb5ad2eb
LM
553912010-05-28 Luis Machado <luisgpm@br.ibm.com>
55392
55393 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55394
3c88fe1e
L
553952010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55396
55397 [BZ #11640]
55398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55399 Properly check family and model.
55400
d2f73151
TY
554012010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55402
55403 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55404
ebd2e13d
LM
554052010-05-24 Luis Machado <luisgpm@br.ibm.com>
55406
55407 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55408
b32b8b45
UD
554092010-05-21 Ulrich Drepper <drepper@redhat.com>
55410
55411 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55412 symbol reference.
55413
9acbe24d
AS
554142010-05-19 Andreas Schwab <schwab@redhat.com>
55415
55416 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55417 symbol reference.
55418
f0ccf6ea
AS
554192010-05-21 Andreas Schwab <schwab@redhat.com>
55420
3d04ff3a
AS
55421 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55422 and internal_recvmmsg.
55423 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55424 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55425 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55426 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55427
f0ccf6ea
AS
55428 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55429 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55430 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55431
5b08ac57
AS
554322010-05-20 Andreas Schwab <schwab@redhat.com>
55433
55434 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55435
4828935d
LM
554362010-05-17 Luis Machado <luisgpm@br.ibm.com>
55437
55438 POWER7 optimizations.
55439 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55440 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55441
373d545e
UD
554422010-05-19 Ulrich Drepper <drepper@redhat.com>
55443
55444 * version.h: Update for 2.13 development version.
55445
21a2b1ae
AS
554462010-05-12 Andrew Stubbs <ams@codesourcery.com>
55447
55448 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55449 exceptions. Return 0.
55450
3f7dcb2b
RM
554512010-05-07 Roland McGrath <roland@redhat.com>
55452
55453 * elf/ldconfig.c (main): Add a const.
55454
5f24d53a 554552010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 55456
a160f8d8
UD
55457 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55458 (args_options): Add no-idn option.
55459 (ahosts_keys_int): Add idn_flags to ai_flags.
55460 (parse_option): Handle 'i' option to clear idn_flags.
55461
5f24d53a
UD
55462 * malloc/malloc.c (_int_free): Possible race in the most recently
55463 added check. Only act on the data if no current modification
55464 happened.
265bb1ce
UD
55465
55466See ChangeLog.17 for earlier changes.
This page took 7.923297 seconds and 5 git commands to generate.